The IP2Proxy Nmap Script allows users to query an IP address to determine if it was being used as open proxy, web proxy, VPN anonymizer and TOR exits by using IP2Proxy database with IP2Proxy Lua Package.
Follow the steps in the README.MD in the GitHub repository.
Get the proxy information as simple as using the following command:
nmap --script ip-proxy-ip2proxy <target> --script-args ip-proxy-ip2proxy.ip2proxy_db=<database_path> Replace the <target> with the IP address and the <database_path> with the file path of the database.
Note: Windows user need to replace the single backslash(\) with the double backslashes (\\) in the file path to make sure that the file path is interpreted correctly by Nmap.