Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/gh0st3rs/iot_detector

Multithreaded scanner for detecting IoT devices
https://github.com/gh0st3rs/iot_detector

golang iot request-validation scanner

Last synced: 3 months ago
JSON representation

Multithreaded scanner for detecting IoT devices

Awesome Lists containing this project

README

        

# iot_detector
A multithreaded scanner for detecting IoT devices, which allows you to identify a device on the Internet based on a specific request to it. This allows you to more accurately determine the device and avoid false positives or honeypot

> Note: It's better to split the input list by 150k lines

## Usage
```bash
Usage of ./iot_detector:
-a Auto URL scheme
-l string
List of ip,port
-p string
Ports to scan (e.g. 22,80,443,1000-2000)
-r string
Json request file
-t int
Thread count (default 1000)
-v Verbose
```

## JSON request format
```json
{
"path": "/cgi-bin/target.cgi",
"method": "POST",
"headers": {
"Content-Type": "text/xml; charset=utf-8",
"X-Requested-With": "XMLHttpRequest"
},
"data": "action=get_device_info&method=1",
"search": "DIR-123"
}
```

* `path` - A specific URL, when accessed, returns the model or version of the device
* `method` - Request method GET or POST
* `headers` - Request header
* `data` - Post request body
* `search` - Success detection pattern

## Run or install
```bash
$ go build .
$ ./iot_detector ...
```