This commit is contained in:
Carlos Polop 2025-02-18 19:20:21 +01:00
parent df7e2418d3
commit f522001b32

View File

@ -68,6 +68,9 @@ In order to **run** it just press the _**Start button**_.
## Command Line tool
> [!WARNING]
> For macOS you can find the `avdmanager` tool in `/Users/<username>/Library/Android/sdk/tools/bin/avdmanager` and the `emulator` in `/Users/<username>/Library/Android/sdk/emulator/emulator` if you have them installed.
First of all you need to **decide which phone you want to use**, in order to see the list of possible phones execute:
```
@ -155,6 +158,9 @@ The following Android Virtual Devices could not be loaded:
### Run Virtual Machine
> [!WARNING]
> For macOS you can find the `avdmanager` tool in `/Users/<username>/Library/Android/sdk/tools/bin/avdmanager` and the `emulator` in `/Users/<username>/Library/Android/sdk/emulator/emulator` if you have them installed.
We have already seen how you can list the created virtual machines, but **you can also list them using**:
```bash
@ -189,6 +195,8 @@ However there are **a lot of different command line useful options** that you ca
- `-dns-server 192.0.2.0, 192.0.2.255` : Allow to indicate comma separated the DNS servers to the VM.
- **`-http-proxy 192.168.1.12:8080`** : Allow to indicate an HTTP proxy to use (very useful to capture the traffic using Burp)
- If the proxy settings aren't working for some reason, try to configure them internally or using an pplication like "Super Proxy" or "ProxyDroid".
- `-netdelay 200` : Set the network latency emulation in milliseconds.
- `-port 5556` : Set the TCP port number that's used for the console and adb.
- `-ports 5556,5559` : Set the TCP ports used for the console and adb.
- **`-tcpdump /path/dumpfile.cap`** : Capture all the traffic in a file