1 00:00:00,660 --> 00:00:03,510 ‫-: Hi. Within this lecture we are going to finish 2 00:00:03,510 --> 00:00:06,210 ‫setting up our Genymotion. 3 00:00:06,210 --> 00:00:09,390 ‫So if you run your Genymotion like this, 4 00:00:09,390 --> 00:00:11,499 ‫it will pop up over here 5 00:00:11,499 --> 00:00:14,009 ‫and you are gonna have to wait a little bit because 6 00:00:14,009 --> 00:00:17,370 ‫this will be the first time that you are running this. 7 00:00:17,370 --> 00:00:21,750 ‫And by the way, if it's not being downloaded for you yet, 8 00:00:21,750 --> 00:00:23,490 ‫you have to wait until it's finished 9 00:00:23,490 --> 00:00:25,380 ‫because we are going to run this 10 00:00:25,380 --> 00:00:29,610 ‫and have this headings ready for our CTF. 11 00:00:29,610 --> 00:00:31,110 ‫So that's it. 12 00:00:31,110 --> 00:00:33,270 ‫That's how you run Genymotion. 13 00:00:33,270 --> 00:00:36,540 ‫And it will boot in a little bit. 14 00:00:36,540 --> 00:00:39,450 ‫And we are going to test it to see 15 00:00:39,450 --> 00:00:41,340 ‫if it's really working or not. 16 00:00:41,340 --> 00:00:42,173 ‫Here we go. 17 00:00:42,173 --> 00:00:44,190 ‫Here is our phone. 18 00:00:44,190 --> 00:00:47,580 ‫So let me try to click something over here. 19 00:00:47,580 --> 00:00:50,370 ‫Yeah, it goes into albums. 20 00:00:50,370 --> 00:00:52,710 ‫So let me come out of here. 21 00:00:52,710 --> 00:00:56,970 ‫Yeah, as you can see it has the essential applications, 22 00:00:56,970 --> 00:00:59,070 ‫over here, not so much. 23 00:00:59,070 --> 00:01:02,130 ‫But we can see what's going on over there. 24 00:01:02,130 --> 00:01:03,990 ‫So far, so good. 25 00:01:03,990 --> 00:01:07,290 ‫So let me try to come over here 26 00:01:07,290 --> 00:01:10,080 ‫and if you want to stop it, you can stop it from here. 27 00:01:10,080 --> 00:01:12,720 ‫As you can see in this menu. 28 00:01:12,720 --> 00:01:15,572 ‫And if I go to this 29 00:01:15,572 --> 00:01:17,520 ‫three dots over here 30 00:01:17,520 --> 00:01:19,740 ‫you can see all the settings. 31 00:01:19,740 --> 00:01:21,570 ‫For example, if I come over here, 32 00:01:21,570 --> 00:01:25,890 ‫I can see the rotate, or I can see the menu, 33 00:01:25,890 --> 00:01:28,080 ‫I can see 'go back,' 34 00:01:28,080 --> 00:01:31,350 ‫and I can just increase the volume, decrease the volume 35 00:01:31,350 --> 00:01:34,290 ‫I can change the phone settings. 36 00:01:34,290 --> 00:01:38,460 ‫I can change the network settings, wifi settings over here. 37 00:01:38,460 --> 00:01:40,140 ‫Let me come over here and see. 38 00:01:40,140 --> 00:01:42,960 ‫As you can see, if you hover over with your mouse, 39 00:01:42,960 --> 00:01:45,810 ‫it will just display what's it used for. 40 00:01:45,810 --> 00:01:47,376 ‫Like GPS, you can just change, 41 00:01:47,376 --> 00:01:51,120 ‫try and change your location over here, 42 00:01:51,120 --> 00:01:53,850 ‫but it won't do much in our case, 43 00:01:53,850 --> 00:01:57,570 ‫'cause we don't have anything to do with GPS right now. 44 00:01:57,570 --> 00:02:01,140 ‫And that's it actually, that's the menu of the Genymotion. 45 00:02:01,140 --> 00:02:03,150 ‫However, we are interested 46 00:02:03,150 --> 00:02:06,750 ‫in the virtual box settings rather than these settings. 47 00:02:06,750 --> 00:02:10,470 ‫We're gonna have to make sure that it connects 48 00:02:10,470 --> 00:02:15,150 ‫to the internet and we are going to stop it for that reason. 49 00:02:15,150 --> 00:02:18,720 ‫And we are going to come over here to edit section. 50 00:02:18,720 --> 00:02:21,630 ‫As you can see, we can change actually rhythm 51 00:02:21,630 --> 00:02:26,160 ‫and the network mode like this from NAT to bridge, 52 00:02:26,160 --> 00:02:31,160 ‫but it only allows us to use bridge or NAT in the settings. 53 00:02:31,770 --> 00:02:32,656 ‫Okay? 54 00:02:32,656 --> 00:02:35,303 ‫So, we're not going to do that. 55 00:02:35,303 --> 00:02:38,610 ‫We, we're not going to change the settings from here, 56 00:02:38,610 --> 00:02:41,641 ‫but rather we are going to open the virtual box 57 00:02:41,641 --> 00:02:45,030 ‫and we're going to see the Google Pixel popping up 58 00:02:45,030 --> 00:02:47,040 ‫on the left-hand pane. 59 00:02:47,040 --> 00:02:50,442 ‫As I have said before, if you come over here to settings 60 00:02:50,442 --> 00:02:53,910 ‫for network, that's where you wanna change. 61 00:02:53,910 --> 00:02:56,970 ‫So over here we have multiple adapters 62 00:02:56,970 --> 00:02:59,720 ‫and actually the instructions on the CTF 63 00:02:59,720 --> 00:03:03,240 ‫is to change this to bridge adapter. 64 00:03:03,240 --> 00:03:06,000 ‫So, and choose your own wifi 65 00:03:06,000 --> 00:03:09,780 ‫and change the adapter 2 to NAT. 66 00:03:09,780 --> 00:03:12,870 ‫So, that's how actually 67 00:03:12,870 --> 00:03:15,750 ‫our server will transfer 68 00:03:15,750 --> 00:03:18,750 ‫the information to our emulator. 69 00:03:18,750 --> 00:03:23,190 ‫We have to use the bridge adapter and NAT together. 70 00:03:23,190 --> 00:03:24,870 ‫So after you do that, 71 00:03:24,870 --> 00:03:28,620 ‫you can just run your Genymotion one more time. 72 00:03:28,620 --> 00:03:31,950 ‫And in order to test to see if this works, 73 00:03:31,950 --> 00:03:34,830 ‫we're going to try and go to any website 74 00:03:34,830 --> 00:03:38,460 ‫using our browser in our Genymotion phone. 75 00:03:38,460 --> 00:03:41,130 ‫Okay. If it connects to the internet, 76 00:03:41,130 --> 00:03:43,320 ‫there shouldn't be any problem. 77 00:03:43,320 --> 00:03:47,310 ‫And then of course we are going to set our server up 78 00:03:47,310 --> 00:03:51,030 ‫and try to get the information from server as well. 79 00:03:51,030 --> 00:03:53,758 ‫So let me try to open any browser. 80 00:03:53,758 --> 00:03:57,450 ‫Let's see if we have any browser over here. 81 00:03:57,450 --> 00:04:01,740 ‫Yeah, I believe we have something called WebView, 82 00:04:01,740 --> 00:04:03,990 ‫but I don't think we have something 83 00:04:03,990 --> 00:04:08,820 ‫like Chrome or other browsers, but WebView will work for us. 84 00:04:08,820 --> 00:04:11,460 ‫So if you have any other version 85 00:04:11,460 --> 00:04:15,780 ‫like maybe Google Nexus or something, if you see Chrome 86 00:04:15,780 --> 00:04:18,720 ‫or any other browser, they will work fine as well. 87 00:04:18,720 --> 00:04:20,280 ‫All we have to do is just go 88 00:04:20,280 --> 00:04:23,700 ‫to google.com to see if it's working or not. 89 00:04:23,700 --> 00:04:25,140 ‫So far, so good. 90 00:04:25,140 --> 00:04:27,090 ‫So this is working for us. 91 00:04:27,090 --> 00:04:29,940 ‫Okay, so I'm gonna close this down. 92 00:04:29,940 --> 00:04:32,010 ‫Maybe close this one as well, 93 00:04:32,010 --> 00:04:35,640 ‫because I believe we are actually done with this 94 00:04:35,640 --> 00:04:37,680 ‫Genymotion settings. 95 00:04:37,680 --> 00:04:41,520 ‫So we are ready to install our app. 96 00:04:41,520 --> 00:04:44,640 ‫So let me try this with any APK. 97 00:04:44,640 --> 00:04:48,330 ‫So try to find any APK from previous sections. 98 00:04:48,330 --> 00:04:51,420 ‫Okay? And try to drag and drop it 99 00:04:51,420 --> 00:04:55,320 ‫on your gaining motion to see if it's working or not. 100 00:04:55,320 --> 00:04:58,740 ‫Okay, so here is an APK. 101 00:04:58,740 --> 00:05:01,860 ‫I'm not going to use it, but just for task purposes, 102 00:05:01,860 --> 00:05:03,930 ‫I'm just going to drag and drop it. 103 00:05:03,930 --> 00:05:07,830 ‫And again, if dragging and dropping doesn't work for you, 104 00:05:07,830 --> 00:05:11,130 ‫as you can see it says that you, 'do you want to scan it?' 105 00:05:11,130 --> 00:05:12,840 ‫I'm just gonna say don't send. 106 00:05:12,840 --> 00:05:14,040 ‫Okay. 107 00:05:14,040 --> 00:05:19,040 ‫And it will, I believe be successful to install. 108 00:05:19,140 --> 00:05:22,497 ‫Just, if dragging and dropping doesn't work for you, 109 00:05:22,497 --> 00:05:25,860 ‫you can always send an email to your account 110 00:05:25,860 --> 00:05:29,070 ‫and just download it in your Genymotion. 111 00:05:29,070 --> 00:05:32,220 ‫But most of the time it'll work for you. 112 00:05:32,220 --> 00:05:35,670 ‫And let's see if we can see the app itself. 113 00:05:35,670 --> 00:05:36,900 ‫Yeah, here you go. 114 00:05:36,900 --> 00:05:38,670 ‫The app works for us, 115 00:05:38,670 --> 00:05:42,990 ‫so we can actually install APKs on this Genymotion. 116 00:05:42,990 --> 00:05:45,330 ‫And we can connect to the internet and it works. 117 00:05:45,330 --> 00:05:46,800 ‫So far, so good. 118 00:05:46,800 --> 00:05:48,930 ‫And we are ready to stop. 119 00:05:48,930 --> 00:05:50,853 ‫So see you in the next lecture!