hegusung / netscan

Network scanner
MIT License
31 stars 12 forks source link

[portscan] add port file argument #12

Closed garatc closed 1 year ago

garatc commented 1 year ago

Would be useful to input a file with specific ports to target (e.g. SAP ports, industrial ports, or a custom list of ports commonly seen during pentests and not matching exactly the top-N ports from nmap)

hegusung commented 1 year ago

--port-file has been added to all tools

Files can have this format:

## Web ports ##
80,443,8080,8000   # usual web ports
4848               # Glassfish ([https://www.exploit-db.com/exploits/39241/](https://www.exploit-db.com/exploits/39241/))
50000              # SAP application
9200               # Elasticsearch
## Remote access ##
3389               # RDP