Nmap-fingerprinting: Use Nmap fingerprinting rules, from Python and without call Nmap
Installing from Pypi
> python3.6 -m pip install nmap-fingerprinting
> git clone https://github.com/cr0hn/nmap-fingerprinting.git > cd nmap-fingerprinting/ > python3.6 Python 3.6.4 (default, Jan 6 2018, 11:51:59) [GCC 4.2.1 Compatible Apple LLVM 9.0.0 (clang-900.0.39.2)] on darwin Type "help", "copyright", "credits" or "license" for more information. >>> import nmap_fingerprinting >>> res = NmapServiceProbes() >>> p = res.get_probe(80) >>> for rule in p: f = rule.search_fingerprint(http_server) print(f)
You can see some examples in this repo, at examples/ folder
Any collaboration is welcome!
There're many tasks to do.You can check the Issues and send us a Pull Request.
This project is distributed under BSD 3