Welcome to the LBOX!
Before using this tool, ensure you have the following prerequisites:
- Python 3.x installed on your system.
- MariaDB installed and running as your database server.
-
Clone this repository to your local machine:
git clone https://github.com/yourusername/network-scanner-adb-exploiter.git
-
Install the required Python packages by running:
pip install -r requirements.txt
To utilize the Shodan functionality, you'll need to configure your Shodan API key:
-
Sign up at Shodan to obtain your API key.
-
Open the
server.py
file and locate theAPI_KEY
variable. Replace the empty string with your Shodan API key:API_KEY = "your_shodan_api_key_here"
To scan your local network and gather information about active devices:
python server.py
Use the following commands in the interactive shell:
-
scan port [IP] [start_port] [end_port]
: Scan a specific IP address for open ports within a given range. -
status
: Check the status of the autoscan feature and the number of devices found. -
devices
: Display information about devices found on the network. -
disable autoscan
: Disable autoscan. -
enable autoscan
: Enable autoscan. -
pingthemall
: Manually trigger a network scan.
To exploit ADB connections on Android devices:
adb-scan
This command will continuously search for ADB-enabled devices on the internet using Shodan. If a device is found, it will attempt to connect to it using the adb shell
command. If successful, the IP address of the device will be saved to the database.
You can check the list of exploited devices with:
adb-devices
-
clear
: Clear the terminal screen. -
connect
: Reconnect to the database if the connection is lost. -
exit
: Exit the program. -
hello
: Print a friendly greeting. -
help
: Display a list of available commands and their descriptions.
If you have suggestions or improvements for this script, feel free to open an issue or create a pull request.