GitBook: [master] one page and 7 assets modified

This commit is contained in:
CPol 2020-09-09 22:20:01 +00:00 committed by gitbook-bot
parent b6294455cf
commit 0db4e04dc2
No known key found for this signature in database
GPG key ID: 07D2180C7B12D0FF
8 changed files with 15 additions and 4 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 22 KiB

After

Width:  |  Height:  |  Size: 333 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 24 KiB

After

Width:  |  Height:  |  Size: 22 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 7.1 KiB

After

Width:  |  Height:  |  Size: 24 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 24 KiB

After

Width:  |  Height:  |  Size: 7.1 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 56 KiB

After

Width:  |  Height:  |  Size: 24 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 335 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 56 KiB

View file

@ -15,12 +15,12 @@ In Windows \(in my case\) **after installing Android Studio** I had the **SDK To
If you installed Android Studio, you can just open the main project view and access: _**Tools**_ --> _**AVD Manager.**_ If you installed Android Studio, you can just open the main project view and access: _**Tools**_ --> _**AVD Manager.**_
![](../../.gitbook/assets/image%20%28365%29.png) ![](../../.gitbook/assets/image%20%28366%29.png)
Then, click on _**Create Virtual Device**_, _**select** the phone you want to use_ and click on _**Next.**_ Then, click on _**Create Virtual Device**_, _**select** the phone you want to use_ and click on _**Next.**_
In the current view you are going to be able to **select and download the Android image** that the phone is going to run: In the current view you are going to be able to **select and download the Android image** that the phone is going to run:
![](../../.gitbook/assets/image%20%28367%29.png) ![](../../.gitbook/assets/image%20%28369%29.png)
So, select it and click on _**Download**_ **\(**now wait until the image is downloaded\). So, select it and click on _**Download**_ **\(**now wait until the image is downloaded\).
Once the image is downloaded, just select _**Next**_ and _**Finish**_. Once the image is downloaded, just select _**Next**_ and _**Finish**_.
@ -33,7 +33,7 @@ The virtual machine will be created. Now **every time that you access AVD manage
In order to **run** it just press the _**Start button**_. In order to **run** it just press the _**Start button**_.
![](../../.gitbook/assets/image%20%28363%29.png) ![](../../.gitbook/assets/image%20%28364%29.png)
## Command Line tool ## Command Line tool
@ -165,6 +165,11 @@ C:\Users\<UserName>\AppData\Local\Android\Sdk\tools\emulator.exe -avd "AVD9" -ht
However there are **a lot of different command line useful options** that you can use to initiate a virtual machine. Below you can find some interesting options but can ****[**find a complete list here**](https://developer.android.com/studio/run/emulator-commandline) However there are **a lot of different command line useful options** that you can use to initiate a virtual machine. Below you can find some interesting options but can ****[**find a complete list here**](https://developer.android.com/studio/run/emulator-commandline)
#### Boot
* `-snapshot name` : Start VM snapshot
* `-snapshot-list -snapstorage ~/.android/avd/Nexus_5X_API_23.avd/snapshots-test.img` : List all the snapshots recorded
#### Network #### Network
* `-dns-server 192.0.2.0, 192.0.2.255` : Allow to indicate comma separated the DNS servers to the VM. * `-dns-server 192.0.2.0, 192.0.2.255` : Allow to indicate comma separated the DNS servers to the VM.
@ -184,7 +189,7 @@ However there are **a lot of different command line useful options** that you ca
First of all you need to download the Der certificate from Burp. You can do this in _**Proxy**_ --&gt; _**Options**_ --&gt; _**Import / Export CA certificate**_ First of all you need to download the Der certificate from Burp. You can do this in _**Proxy**_ --&gt; _**Options**_ --&gt; _**Import / Export CA certificate**_
![](../../.gitbook/assets/image%20%28366%29.png) ![](../../.gitbook/assets/image%20%28367%29.png)
**Export the certificate in Der format** and lets **transform** it to a form that **Android** is going to be able to **understand.** Note that **in order to configure the burp certificate on the Android machine in AVD** you need to **run** this machine **with** the **`-writable-system`** option. **Export the certificate in Der format** and lets **transform** it to a form that **Android** is going to be able to **understand.** Note that **in order to configure the burp certificate on the Android machine in AVD** you need to **run** this machine **with** the **`-writable-system`** option.
For example you can run it like: For example you can run it like:
@ -208,3 +213,9 @@ adb reboot #Now, reboot the machine
Once the **machine finish rebooting** the burp certificate will be in use by it! Once the **machine finish rebooting** the burp certificate will be in use by it!
### Take a Snapshot
You can **use the GUI** to take a snapshot of the VM at any time:
![](../../.gitbook/assets/image%20%28363%29.png)