Nmap

details nmap usage

nmap -p- -A IP

// quick nmap scan with service identification
nmap -A -p- -T4 ip

This will scan all 65535 ports and perform version identification MongoDB identification

nmap -p- -script=mongodb-info 192.238.208.4 |less MongoDB Databases nmap -p- -script=mongodb-databases 192.238.208.4

MongoDB Bruteforce nmap -p- -script=mongodb-brute 192.238.208.4 Starting Nmap 7.91 ( https://nmap.org ) at 2022-01-13 11:31 IST Nmap scan report for target-2 (192.238.208.4) Host is up (0.000011s latency). Not shown: 65534 closed ports PORT STATE SERVICE 27017/tcp open mongod |_mongodb-brute: No authentication needed MySQL Version

nmap --script=mysql-* target-1

Ping sweep map -sn 192.238.208.0/24

Last updated

Was this helpful?