All Projects → Yardanico → adbscan

Yardanico / adbscan

Licence: MIT license
A @nim-lang utility for scanning IPs for unprotected ADB Android devices connected to the internet

Programming Languages

nim
578 projects

Projects that are alternatives of or similar to adbscan

MobyDroid
Android Device Manager with a Graphic User Interface (GUI) – Manage Android on Linux, Windows and MacOS.
Stars: ✭ 76 (+111.11%)
Mutual labels:  adb, android-debug-bridge
AdbNet
A tool that allows you to search for vulnerable android devices across the world and exploit them.
Stars: ✭ 112 (+211.11%)
Mutual labels:  adb, android-debug-bridge
Ghost
Ghost Framework is an Android post-exploitation framework that exploits the Android Debug Bridge to remotely access an Android device.
Stars: ✭ 1,934 (+5272.22%)
Mutual labels:  adb, android-debug-bridge
mec-ng
pentest toolbox
Stars: ✭ 28 (-22.22%)
Mutual labels:  masscan
TweakIt-Desktop
An Android Debugging Application
Stars: ✭ 33 (-8.33%)
Mutual labels:  adb
adb-alfred
adb alfred - all in one
Stars: ✭ 60 (+66.67%)
Mutual labels:  adb
nim-contra
Lightweight Self-Documenting Design by Contract Programming and Security Hardened mode.
Stars: ✭ 46 (+27.78%)
Mutual labels:  nim-lang
nimSocks
A filtering SOCKS proxy server and client library written in nim.
Stars: ✭ 51 (+41.67%)
Mutual labels:  nim-lang
ghost
Ghost Framework is an Android post-exploitation framework that exploits the Android Debug Bridge to remotely access an Android device. Ghost Framework gives you the power and convenience of remote Android device administration.
Stars: ✭ 156 (+333.33%)
Mutual labels:  adb
Droid-Explorer
Cross-platform root file explorer for Android phones.
Stars: ✭ 34 (-5.56%)
Mutual labels:  adb
nim-new-backend
Template to create a new Backend for Nim, based on the JavaScript Backend, as minimalistic as possible to focus on codegen
Stars: ✭ 40 (+11.11%)
Mutual labels:  nim-lang
geoguessrnim
GeoGuessr browser plugin, hide Ads, Filters for StreetView and Mapillary for Chromium and Firefox
Stars: ✭ 17 (-52.78%)
Mutual labels:  nim-lang
openstf-arm7-docker
Smartphone Test Farm using Docker on Raspberry Pi
Stars: ✭ 19 (-47.22%)
Mutual labels:  adb
ATA-GUI
ATA GUI is a project to make ATA available to all the users. ATA GUI is an Advance Tool for Android™ powered by SDK Platform Tools.
Stars: ✭ 40 (+11.11%)
Mutual labels:  adb
logcatf
A Command line tool for format Android Logcat.
Stars: ✭ 17 (-52.78%)
Mutual labels:  adb
answer ai
go实现西瓜视频,花椒直播,冲顶大会,芝士超人等平台智能答题。
Stars: ✭ 65 (+80.56%)
Mutual labels:  adb
nim-mod
A Nim MOD player just for fun
Stars: ✭ 40 (+11.11%)
Mutual labels:  nim-lang
genoiser
use the noise
Stars: ✭ 15 (-58.33%)
Mutual labels:  nim-lang
porteye
Detect alive host and open port .
Stars: ✭ 17 (-52.78%)
Mutual labels:  masscan
adb-interface-vscode
🔌 A tool that allows you to execute ADB.exe commands/actions without having to interact with the terminal.
Stars: ✭ 26 (-27.78%)
Mutual labels:  adb

adbscan

A simple utility for scanning IP addresses for unprotected ADB Android devices. Written in the Nim programming language, portable (works on most OSes and architectures out there)

Binary releases are available in GitHub Releases tab, for building from source install Nim (with nimble), clone the repository, then go to the repository directory, and run

nimble build

Current status

Currently the utility can send a simple ADB connection message to the device, receive an answer, and parse it

Output file format

Example file output:

ip: 1.2.3.4 name: Hi3798MV100, model: Hi3798MV100, device: Hi3798MV100
ip: 1.2.3.4 name: marlin, model: Pixel XL, device: marlin
ip: 1.2.3.4 name: rk322x_box, model: rk322x-box, device: rk322x_box
ip: 1.2.3.4 name: aosp_noa_8g, model: TV6586_DVB, device: noa_8g
ip: 1.2.3.4 name: NV501WAC, model: NV501WAC, device: NV501WAC
ip: 1.2.3.4 name: p281, model: Hybrid 2, device: p281
ip: 1.2.3.4 name: rk322x, model: UHD-G101_V2, device: rk322x

For devices which aren't able to be parsed by adbscan the entry will look like

ip: 1.2.3.4 device info: device::http://ro.product.name =starltexx;ro.product.model=SM-G960F;ro.product.device=starlte;features=cmd,stat_v2,shell_v2

This program also has a simple progress bar in the terminal. It's not 100% representative of real "found" count since with rescans two IPs can be scanned asynchronously.

165 / 313, found 1

Command line options

$ adbscan --help

Usage:
  cmdline [optional-params] 
Options:
  -h, --help                                  print this cligen-erated help
  --help-syntax                               advanced: prepend,plurals,..
  -i=, --input=        string      "ips.txt"  Input file
  -o=, --output=       string      "out.txt"  Output file
  -p=, --parseMode=    ParseMode   PlainText  Input file format: PlainText (default), Masscan
  -f=, --format=       OutputType  Auto       Format of the output file: Auto (based on the filename), Plain, Json, Csv
  -w=, --workers=      int         512        Amount of workers to use
  -r=, --rescanCount=  int         2          Amount of requests to be sent to a single IP (1 for a single scan)

Input modes

  • PlainText mode (which is the default) accepts input file as a line-delimited list of IPs. For example:
1.2.3.4
3.4.5.6
5.6.6.7
  • Masscan mode accepts output of a Masscan's -oL output file. For example:
#masscan
open tcp 5555 1.2.3.4 1611375649
open tcp 5555 4.5.6.7 1611375649
# end

Output modes

  • Auto - choose based on the filename (Text for .txt, JSON for .json, CSV for .csv, otherwise Text)
  • Plain:
ip: 1.2.3.4 name: rk3318, model: AndroidTV H96Max, device: rk3318, device info: device::ro.product.name=rk3318;ro.product.model=AndroidTV H96Max;ro.product.device=rk3318;features=cmd,stat_v2,shell_v2
ip: 1.2.3.4 name: rk3318, model: AndroidTV H96Max, device: rk3318, device info: device::ro.product.name=rk3318;ro.product.model=AndroidTV H96Max;ro.product.device=rk3318;features=cmd,stat_v2,shell_v2
  • Json:
[
  {
    "ip": "1.1.1.1",
    "name": "rk3318",
    "model": "AndroidTV H96Max",
    "device": "rk3318",
    "data": "device::ro.product.name=rk3318;ro.product.model=AndroidTV H96Max;ro.product.device=rk3318;features=cmd,stat_v2,shell_v2"
  },
  {
    "ip": "1.1.1.1",
    "name": "rk3318",
    "model": "HK1 Max",
    "device": "rk3318",
    "data": "device::ro.product.name=rk3318;ro.product.model=HK1 Max;ro.product.device=rk3318;features=cmd,stat_v2,shell_v2"
  }
]
  • Csv:
IP,Name,Model,Device,RawData
1.2.3.4,rk3318,AndroidTV H96Max,rk3318,"device::ro.product.name=rk3318;ro.product.model=AndroidTV H96Max;ro.product.device=rk3318;features=cmd,stat_v2,shell_v2"
1.2.3.4,rk3318,HK1 Max,rk3318,"device::ro.product.name=rk3318;ro.product.model=HK1 Max;ro.product.device=rk3318;features=cmd,stat_v2,shell_v2"
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].