Skip to content

The project aims to scan and record IP resources of TsingHua University with the help of whois, nmap and MySQL.

Notifications You must be signed in to change notification settings

huilinbo/nmap-thu

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Introduction

The project aims to scan and record IP assets of TsingHua University with the help of whois, nmap and MySQL.

What is whois

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.

What is nmap

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.

How to

Find out all THU's IP spaces

sudo apt install whois python find_thu_ip.py

Scan each IP with multiprocess

pip install python-nmap sudo python scan_ip.py

Convert scanned results to MySQL database

install pymysql python convert_to_mysql.py

Thanks

About

The project aims to scan and record IP resources of TsingHua University with the help of whois, nmap and MySQL.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages