The project aims to scan and record IP assets of TsingHua University with the help of whois, nmap and MySQL.
The whois is a WHOIS client. It is used to communicate with the WHOIS server, which returns information about registered domains, IP addresses, nameservers and so on. You can go to whois for detailed infomation.
Nmap ("Network Mapper") is a free and open source (license) utility for network discovery and security auditing. You can go to nmap for detailed instruction.
sudo apt install whois
python find_thu_ip.py
pip install python-nmap
sudo python scan_ip.py
install pymysql
python convert_to_mysql.py