# Core functionalities

![](https://891057776-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FFfczzabL9Z6aqUzkVYdN%2Fuploads%2Fgit-blob-e1239c9a42dd93e042737ac4058c90bcdb241e66%2Fhackndroid.png?alt=media)

## Advanced search

### Secrets finder

![](https://891057776-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FFfczzabL9Z6aqUzkVYdN%2Fuploads%2Fgit-blob-8fe78d9cf8a6aaa939db5a5203838da853f0c5a4%2Fsecrets_finder.png?alt=media)

Select one of the following secret finder:

* ***Full search***
* ***Light search***

The search is based on some regexes. The only difference between the two modalities is on the number of regexes that are processed and the related execution time.

The search can work on folder or files as shown below.

![](https://891057776-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FFfczzabL9Z6aqUzkVYdN%2Fuploads%2Fgit-blob-9aaf37f024f7f701874476dda6f8060d816530d0%2Fsecrets_finder_path_selection.png?alt=media)

For example, running ***Light Search*** the script shows the following results:

![](https://891057776-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FFfczzabL9Z6aqUzkVYdN%2Fuploads%2Fgit-blob-6a1972e607835064c58e1ccdcbcee3006c5cd9f7%2Fsecrets_finder_results_table.png?alt=media)

![](https://891057776-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FFfczzabL9Z6aqUzkVYdN%2Fuploads%2Fgit-blob-a4d550b38411aa07b171afd7b73e60a283d48f03%2Fsecrets_finder_results_table2.png?alt=media)

Moreover, it will create the file `results/advanced_search/YYYY-MM-DD_hh-mm-ss_light_secrets.csv` or `results/advanced_search/YYYY-MM-DD_hh-mm-ss_full_secrets.csv` with all the secrets found and the related file paths.

### Advanced Search/Replacement

#### Advanced search

A case-insensitive search of strings in the file specified or all the files found recursively in the folder specified:

![](https://891057776-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FFfczzabL9Z6aqUzkVYdN%2Fuploads%2Fgit-blob-f74ebcd362f5a1f4d258a23665ac27b857ca81ae%2Fsearch_results.png?alt=media)

The string to be searched can be:

* a normal string that will be converted in a case-insensitive byte sequence
* a byte sequence in hex format (e.g. 0xaabf)

#### Advanced Replacement

A case-sensitive search replacement of strings in the file specified or all the files found recursively in the folder specified:

![](https://891057776-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FFfczzabL9Z6aqUzkVYdN%2Fuploads%2Fgit-blob-9dbf1d2893e9caf5c09f3c3cc5814550cb996209%2Freplacement_results.png?alt=media)

The strings to be used in search or replacement can be:

* a normal string that will be converted in a case-insensitive byte sequence
* a byte sequence in hex format (e.g. 0xaabf)

## APK

### APK analysis

![](https://891057776-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FFfczzabL9Z6aqUzkVYdN%2Fuploads%2Fgit-blob-fecec625915d658454664c2a1e1ce0abde6cb764%2Fapk_analysis.png?alt=media)

You can specify the APK file path on the PC or the package name of the application installed on the device. In the second case, the script will transfer the apk from the device.

During the APK analysis, the script can perform several actions:

* ***Certificate Pinning Hints:*** search for the lines of code that can be related to Certificate Pinning
* ***Root Detection Hints:*** search for the lines of code that can be related to Root Detection
* ***Signature Scheme:*** analysis of the signature scheme
* ***Full Analysis:*** all the previous actions together

The results will be printed on terminal and then stored in `results/<package_name>/apk_analysis/YYYY-MM-DD_hh_mm_ss/`.

### App info

Print information about an application installed on the device or an APK file.

![](https://891057776-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FFfczzabL9Z6aqUzkVYdN%2Fuploads%2Fgit-blob-a0d683dc695123202d1770306f9506cb0cebcdf9%2Fapp_info.png?alt=media)

### APK from AAB

Create the APK from an AAB file

![](https://891057776-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FFfczzabL9Z6aqUzkVYdN%2Fuploads%2Fgit-blob-430197b0428f2789f03c71236484e7f2250ac097%2Fapk_from_aab.png?alt=media)

### Compilation and signature

* Compile the folder of an APK previously decompiled
* Sign an APK file
* Compile the folder of an APK previously decompiled and then sign it

![](https://891057776-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FFfczzabL9Z6aqUzkVYdN%2Fuploads%2Fgit-blob-8c591ebc3183803da5c06bd7f0aa665231dabf2d%2Fcompile_sign.png?alt=media)

### Custom URLs

Identify the custom URLs export in the AndroidManifest.xml by:

* analysing directly the AndroidManifest.xml file
* decompiling an APK file on the PC
* downloading and decompiling an application from the device

![](https://891057776-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FFfczzabL9Z6aqUzkVYdN%2Fuploads%2Fgit-blob-7f5890837f49c405df10f9942ab456326dc3fd99%2Fcustom_urls.png?alt=media)

### Decompilation

Decompile an application by:

* directly accessing an APK file on the PC
* downloading the APK file from the mobile device by specifing the package name of the installed application

![](https://891057776-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FFfczzabL9Z6aqUzkVYdN%2Fuploads%2Fgit-blob-bd9d4daf83aef512ae62cedaca810e9fe2706fe2%2Fdecompile.png?alt=media)

### Download APK from the mobile device

![](https://891057776-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FFfczzabL9Z6aqUzkVYdN%2Fuploads%2Fgit-blob-4e79c73fdbc35c0cd6ae33da5d24a8bf9dd00b43%2Fapk_from_mobile.png?alt=media)

### JADX

Run JADX on:

* an APK file on the PC
* the APK file downloaded from the mobile device by specifing the package name of the installed application

![](https://891057776-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FFfczzabL9Z6aqUzkVYdN%2Fuploads%2Fgit-blob-8b126d645568bd615de321354484311ad77e7324%2Fjadx.png?alt=media)

### JAR from APK

Create a JAR file from:

* an APK file on the PC
* the APK file downloaded from the mobile device by specifing the package name of the installed application

![](https://891057776-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FFfczzabL9Z6aqUzkVYdN%2Fuploads%2Fgit-blob-1166cec1b088431e3992b95c3b206f6aab71ca3e%2Fjar_from_apk.png?alt=media)

### Merge APKs

Create a new APK from:

* a list of APK files separated by spaces
* all the APK files in a folder

![](https://891057776-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FFfczzabL9Z6aqUzkVYdN%2Fuploads%2Fgit-blob-30e9458c2702e7c1fa61cc7bf31b91d4784b6f30%2Fmerge_apks.png?alt=media)

## App Data and Logs

### Backup

* Create the AB file `results/<package_name>/backup/YYYY-MM-DD_hh_mm_ss_backup.ab` and extract it to `results/<package_name>/backup/YYYY-MM-DD_hh_mm_ss_backup/` for the:
  * backup of the entire device
  * backup of a specific `<package_name>` installed on the mobile device
* Restore a backup on the mobile device from the AB file
* Extract the content of an AB file on the PC

![](https://891057776-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FFfczzabL9Z6aqUzkVYdN%2Fuploads%2Fgit-blob-fb706692eaba365a2019a5924d50751500192c9e%2Fbackup.png?alt=media)

### Data storage

* collect data of the installed application `<package_name>` stored in `/data/data/<package_name>`
* reset data of the installed application `<package_name>`

![](https://891057776-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FFfczzabL9Z6aqUzkVYdN%2Fuploads%2Fgit-blob-d8821830a8b1d19fd1f169e84732a8aadc3d8a54%2Fdata_storage.png?alt=media)

### Memory dump

* Run an installed application on the mobile device and dump memory
* Dump memory of a running application

![](https://891057776-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FFfczzabL9Z6aqUzkVYdN%2Fuploads%2Fgit-blob-a2e96f010c650fba18a43aa713792c564d872c6e%2Fmemory_dump.png?alt=media)

### Force Application Stop

![](https://891057776-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FFfczzabL9Z6aqUzkVYdN%2Fuploads%2Fgit-blob-65a1ccfac9c890cd5b8c1187cd02eb240b859f36%2Fforce_app_stop.png?alt=media)

### Logs

* Run an installed application on the mobile device and log it
* Log a running application on the mobile device ![](https://891057776-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FFfczzabL9Z6aqUzkVYdN%2Fuploads%2Fgit-blob-1b144a663b0b15db68fd0b07065463cb223b1f51%2Flogs.png?alt=media)

You can collect either default logs (`results/<package_name>/logs/YYY-MM-DD_hh_mm_ss_X_all.log`) or crash logs (`results/<package_name>/logs/YYY-MM-DD_hh_mm_ss_X_crash.log`). Moreover, you can monitor all the logging sessions in background.

Every log session is created when the option is selected and terminates when the selected app terminates its execution.

## Device information

Collect several information of the mobile device:

* the list of installed applications
* battery status
* CPU information
* General information
* Network information
* RAM information
* Storage information

![](https://891057776-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FFfczzabL9Z6aqUzkVYdN%2Fuploads%2Fgit-blob-f84ab6cbd29c701e232a5b5804b33c466a601283%2Fdevice_info.png?alt=media)

## Devices

List all the available devices (to be used also for emulators)

![](https://891057776-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FFfczzabL9Z6aqUzkVYdN%2Fuploads%2Fgit-blob-b27b3387f2f7faf6b02e3c5a920d3fccfaf564c5%2Fdevices.png?alt=media)

## Emulator

![](https://891057776-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FFfczzabL9Z6aqUzkVYdN%2Fuploads%2Fgit-blob-5c412ff8fc07131dffaf4f34aa67f4a0b5ffe3ab%2Fmenu.png?alt=media)

### Create an AVD

![](https://891057776-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FFfczzabL9Z6aqUzkVYdN%2Fuploads%2Fgit-blob-c8faa057c05e5324ad518e93756bc8162b8f66b4%2Fcreate_avd.png?alt=media)

The AVD files will be created in the folder `avds/`.

![](https://891057776-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FFfczzabL9Z6aqUzkVYdN%2Fuploads%2Fgit-blob-2752bcfb367723d839583935bb0112565bbf33e4%2Favd_files.png?alt=media)

### List AVDs

![](https://891057776-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FFfczzabL9Z6aqUzkVYdN%2Fuploads%2Fgit-blob-1dd98d1a71215675060e629b127a334ded3d3bd4%2Flist_avds.png?alt=media)

### Launch the emulator

![](https://891057776-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FFfczzabL9Z6aqUzkVYdN%2Fuploads%2Fgit-blob-449fdc355511c0885ed104d2139df3185c31e0a8%2Flaunch_emulator.png?alt=media)

### Delete an AVD

![](https://891057776-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FFfczzabL9Z6aqUzkVYdN%2Fuploads%2Fgit-blob-9bb000a5a611d6ddcc0b60cc8d4045c493dec0b3%2Favd_delete.png?alt=media)

The files related to the AVD in `avds/` were removed.

## File transfer

* Download a file/folder from the mobile device to a PC folder
* Upload a file/folder from the PC to the a mobile device folder

![](https://891057776-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FFfczzabL9Z6aqUzkVYdN%2Fuploads%2Fgit-blob-d7cfc0f108325d9c800f1732212430e6c10bc1b2%2Ffile_transfer.png?alt=media)

## Frida

* Install `frida-tools` on the PC and then the related Frida server on the mobile device
* Start the Frida server on the mobile device
* Run a Frida script
* Uninstall frida-tools and the related Frida server

![](https://891057776-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FFfczzabL9Z6aqUzkVYdN%2Fuploads%2Fgit-blob-037e4af0e8f51fa53001baa398cad47a99da7ba4%2Fmenu.png?alt=media)

### Run a Frida script

The frida script can be launched on a running application. Otherwise, Hackndroid can spawn the application and then run the frida script.

![](https://891057776-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FFfczzabL9Z6aqUzkVYdN%2Fuploads%2Fgit-blob-d0d6f063ffe1f564df19bcd07cbe0a963682da0a%2Frun_script.png?alt=media)

When selecting this functionality, you can choose one on more scripts of the ones in `frida-scripts` folder. In this way you can add also your favorite scripts.

![](https://891057776-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FFfczzabL9Z6aqUzkVYdN%2Fuploads%2Fgit-blob-a4f2b113bc42a39abe54ebe87b06618e15a3dc72%2Fscripts_list.png?alt=media)

## Install/Uninstall

![](https://891057776-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FFfczzabL9Z6aqUzkVYdN%2Fuploads%2Fgit-blob-6efcaafde63d46e8ec8c14bf6f4c05fb394f99f4%2Fmenu.png?alt=media)

* Install an APK file (if an application with the same package name is already installed, it will removed and then the new version will be installed)
* Install opening the PlayStore on the mobile device ![](https://891057776-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FFfczzabL9Z6aqUzkVYdN%2Fuploads%2Fgit-blob-353de1ce8a36a322b5e3d0e6b52a74355f631c61%2Fmcdonalds.png?alt=media)
* Uninstall an application

## Interactive shell

![](https://891057776-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FFfczzabL9Z6aqUzkVYdN%2Fuploads%2Fgit-blob-053b1124537d2bac688814b35b855b5abf0fa61e%2Finteractive_shell.png?alt=media)

## Mirroring

![](https://891057776-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FFfczzabL9Z6aqUzkVYdN%2Fuploads%2Fgit-blob-97ade89f92c9670dc2946d76e176708b5c69f2c4%2Fmirroring.png?alt=media)

* Start mirroring with `scrcpy`
* Stop the mirroring process
* Take a screenshot or record the screen of the mobile device

## Device settings

![](https://891057776-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FFfczzabL9Z6aqUzkVYdN%2Fuploads%2Fgit-blob-77050f6899e5fc99d48473b5205e1c9fcc5528a5%2Fdevice_settings.png?alt=media)

* Enable/disable Battery Saver mode
* Enable/disable Do Not Disturb mode
* Manage connectivity
  * Enable/Disable Wifi
  * Enable disable Airplane mode

## Processes List

![](https://891057776-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FFfczzabL9Z6aqUzkVYdN%2Fuploads%2Fgit-blob-4dac026b8e5a26b8a2e53f43e3490d669ed80ba4%2Fprocesses_list.png?alt=media)

## Proxy

### System Proxy

#### Set the proxy

Set the proxy on the mobile device with the current PC Wifi IP address (`192.168.1.14`) and port `8080`

![](https://891057776-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FFfczzabL9Z6aqUzkVYdN%2Fuploads%2Fgit-blob-7579d7542644e42f986de9d0b64cd966fb729da3%2Fsystem_proxy_set_on_current_ip.png?alt=media)

or on another IP and port (`192.168.1.31:8081`)

![](https://891057776-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FFfczzabL9Z6aqUzkVYdN%2Fuploads%2Fgit-blob-3c99048051afddc45f347308f3f2ee5f22c7c42e%2Fsystem_proxy_set_on_other_ip.png?alt=media)

#### Get the proxy

Get the current system proxy set on the mobile device

![](https://891057776-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FFfczzabL9Z6aqUzkVYdN%2Fuploads%2Fgit-blob-61b8557189f07aa83b197877b35fc49399ec24b2%2Fsystem_proxy_get.png?alt=media)

![](https://891057776-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FFfczzabL9Z6aqUzkVYdN%2Fuploads%2Fgit-blob-15912b003974c741f40bea303b143fece77601b9%2Fsystem_proxy_get2.png?alt=media)

#### Remove the proxy

Remove the current proxy previously set by using HacknDroid

![](https://891057776-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FFfczzabL9Z6aqUzkVYdN%2Fuploads%2Fgit-blob-661a324a8163124e5159ebb79bd6a3fcd239ca1e%2Fsystem_proxy_del.png?alt=media)

### Invisible proxy (iptables)

#### Set the proxy

Set the proxy on the mobile device with the current PC Wifi IP address (`192.168.1.14`):

![](https://891057776-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FFfczzabL9Z6aqUzkVYdN%2Fuploads%2Fgit-blob-9c2b4365a47b3831a6204195d34917073dd0b9ff%2Fiptables_proxy_set_on_current_ip.png?alt=media)

or on another IP (`192.168.1.31`):

![](https://891057776-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FFfczzabL9Z6aqUzkVYdN%2Fuploads%2Fgit-blob-067427781b238431cd06b03c339ff457e099823b%2Fiptables_proxy_set_on_other_ip.png?alt=media)

#### Get the proxy

Get the current invisible proxy set on the mobile device

![](https://891057776-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FFfczzabL9Z6aqUzkVYdN%2Fuploads%2Fgit-blob-bd364784ec1a19656fc401fc75c1d91fc395aa48%2Fiptables_proxy_get.png?alt=media)

![](https://891057776-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FFfczzabL9Z6aqUzkVYdN%2Fuploads%2Fgit-blob-72656d3a7576bbea8faec42974981cb103063adb%2Fiptables_proxy_get2.png?alt=media)

#### Remove the proxy

Remove the current proxy previously set by using HacknDroid

![](https://891057776-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FFfczzabL9Z6aqUzkVYdN%2Fuploads%2Fgit-blob-e35b00e82f3be3da5cafc9e547199fff223a505c%2Fiptables_proxy_del.png?alt=media)

### Invisible proxy (iptables) for specific app

#### Set the proxy

Set the proxy on the mobile device with the current PC Wifi IP address (`192.168.1.14`) for the application :

![](https://891057776-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FFfczzabL9Z6aqUzkVYdN%2Fuploads%2Fgit-blob-3cf853520939faa57848576a1341f72d57cd471d%2Fiptables_app_proxy_set_on_current_ip.png?alt=media)

or on another IP (`192.168.1.31`):

![](https://891057776-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FFfczzabL9Z6aqUzkVYdN%2Fuploads%2Fgit-blob-162fda7756e57263f92ea03e9cd0d2a251756135%2Fiptables_app_proxy_set_on_another_ip.png?alt=media)

#### Get the proxy

Get the current invisible proxy set on the mobile device

![](https://891057776-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FFfczzabL9Z6aqUzkVYdN%2Fuploads%2Fgit-blob-feacc1819b1fa87da4df489a4f8238e8ea6e78f3%2Fiptables_app_proxy_get.png?alt=media)

![](https://891057776-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FFfczzabL9Z6aqUzkVYdN%2Fuploads%2Fgit-blob-e29e67d6a4939a31a3c12e5b19a787767daabb27%2Fiptables_app_proxy_get2.png?alt=media)

#### Remove the proxy

Remove the current proxy previously set by using HacknDroid

![](https://891057776-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FFfczzabL9Z6aqUzkVYdN%2Fuploads%2Fgit-blob-5147da16d05074fe2c5ce4cce554bc2e77f3ded8%2Fiptables_app_proxy_del.png?alt=media)

### DNS spoofing

> ***NOTE*** To run DNS Server using the tool, ensure that the Windows Firewall is disabled on the PC where the script will be run:
>
> <img src="https://891057776-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FFfczzabL9Z6aqUzkVYdN%2Fuploads%2Fgit-blob-77910dfdc87c47f862b00eff1221d1c344c37fc7%2Fdisable_windows_firewall_0.png?alt=media" alt="" data-size="original">
>
> <img src="https://891057776-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FFfczzabL9Z6aqUzkVYdN%2Fuploads%2Fgit-blob-13c36de5efde4f53c95af7346f7eb99a24585b76%2Fdisable_windows_firewall_1.png?alt=media" alt="" data-size="original">

#### Set the proxy

1. Run the DNS service to inject fake DNS resolution on the current PC Wifi IP address:

   ![](https://github.com/RaffaDNDM/ToolkIT/blob/main/images/hackndroid/proxy/dns_proxy_run_on_current_pc.png)

   or on another IP:

   ![](https://891057776-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FFfczzabL9Z6aqUzkVYdN%2Fuploads%2Fgit-blob-35f498b5211f1b3d09c778dc23ec61ad1cec6030%2Fdns_proxy_run_on_other_ip.png?alt=media)
2. The script will open the Wifi settings on the mobile device to leave you insert the IP address specified in the script page `192.168.1.14`:

   ![](https://891057776-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FFfczzabL9Z6aqUzkVYdN%2Fuploads%2Fgit-blob-3d513a491bfe5c17504d7ba0f9af154e02310172%2Fdns_proxy_wifi_settings.png?alt=media)

   ![](https://891057776-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FFfczzabL9Z6aqUzkVYdN%2Fuploads%2Fgit-blob-9035b1e003e447dc332c1ec7a3c42ee9d8516efb%2Fdns_proxy_wifi_settings2.png?alt=media)

   ![](https://891057776-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FFfczzabL9Z6aqUzkVYdN%2Fuploads%2Fgit-blob-49986aac43464d986d66ef3e6010c268dee48f9b%2Fdns_proxy_wifi_settings3.png?alt=media)
3. If everything was set successfully, you can intercept the traffic on ports 80, 443 (for example by using Burp Suite invisible proxy): ![](https://891057776-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FFfczzabL9Z6aqUzkVYdN%2Fuploads%2Fgit-blob-c37059a1b4ad023ff181b6ef1c72350de915ee44%2Fdns_proxy_intercept.png?alt=media)

#### Stop the proxy

![](https://891057776-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FFfczzabL9Z6aqUzkVYdN%2Fuploads%2Fgit-blob-03651fde586024a4e573bbccf20cdae6ab5eb9eb%2Fdns_proxy_stop.png?alt=media)

![](https://891057776-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FFfczzabL9Z6aqUzkVYdN%2Fuploads%2Fgit-blob-3d32ca9f9fb8d2e249708f8cd1fd1fc559c1e52d%2Fdns_proxy_stop2.png?alt=media)

## Shutdown/Reboot

![](https://891057776-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FFfczzabL9Z6aqUzkVYdN%2Fuploads%2Fgit-blob-c25342285117157c52029a4145146228ccc20e6a%2Fshutdown_reboot.png?alt=media)
