Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/gh0st3rs/iot_detector
- Owner: GH0st3rs
- Created: 2020-03-03T09:53:16.000Z (almost 5 years ago)
- Default Branch: master
- Last Pushed: 2023-11-04T01:20:27.000Z (over 1 year ago)
- Last Synced: 2023-11-04T02:25:12.723Z (over 1 year ago)
- Topics: golang, iot, request-validation, scanner
- Language: Go
- Size: 11.7 KB
- Stars: 3
- Watchers: 4
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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 ...
```