Skip to content

Bash scripts to automate the burpsuite's certificate configuration and proxying of an Android device for penetration test.

Notifications You must be signed in to change notification settings

Commando-X/android-config

Folders and files

NameName
Last commit message
Last commit date

Latest commit

0f7e9ef Β· May 23, 2025

History

7 Commits
May 23, 2025
Feb 11, 2025
May 23, 2025

Repository files navigation

Android Proxy Configuration Scripts

This project provides automation scripts to simplify the process of configuring Android devices (emulator or physical) to proxy HTTP/S traffic through Burp Suite for security testing or debugging.

πŸ“ Project Structure

  • mobileconfig.sh: Automates configuration of Burp Certificte to capture traffic via Burp Suite.
  • set_proxy.sh: Enables or disables the proxy settings on the Android device without manual navigation.

πŸ”§ Prerequisites

  • Burp Suite must be running and configured to listen on all interfaces.
  • An Android device (either emulator or physical) must be connected to your machine.
  • Ensure ADB (Android Debug Bridge) is properly installed and accessible from your terminal.

πŸš€ Usage

1. Clone the Repository

git clone https://github.com/yourusername/android-proxy-config.git
cd android-proxy-config

2. Using mobileconfig.sh

This script configures the Android device to route all traffic through Burp Suite.

chmod +x mobileconfig.sh
./mobileconfig.sh

πŸ’‘ Tip: This eliminates the need for manual proxy setup on the Android device.


3. Using set_proxy.sh

This script allows you to toggle proxy settings on and off.

Enable Proxy:

chmod +x set_proxy.sh
./set_proxy.sh set

Disable Proxy:

./set_proxy.sh unset

πŸ“Έ Screenshot

Make sure your Burp Suite proxy is configured like this:

Burp Proxy Settings


🧠 Troubleshooting

If you're unable to intercept Google traffic or system-level requests:

  • Check that your Burp Suite is listening on all interfaces.

  • Replace the hardcoded IP address 172.17.0.1 in the scripts with your actual machine's IP address as shown in Burp.

  • image

  • Restart your device and re-run the script if changes don’t take effect.


πŸ™Œ Contribution & License

Feel free to fork, modify, and contribute. Happy hacking!

About

Bash scripts to automate the burpsuite's certificate configuration and proxying of an Android device for penetration test.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages