Nmap socks-auth-info NSE Script


This page contains detailed information about how to use the socks-auth-info NSE script. For list of all NSE scripts, visit the Nmap NSE Library.

Script Overview


Script source code: https://github.com/nmap/nmap/tree/master/scripts/socks-auth-info.nse
Script categories: discovery, safe, default
Target service / protocol: socks, socks5, tor-socks
Target network port(s): 1080, 9050
List of CVEs: -

Script Description


The socks-auth-info.nse script determines the supported authentication mechanisms of a remote SOCKS proxy server. Starting with SOCKS version 5 socks servers may support authentication. The script checks for the following authentication types: 0 - No authentication 1 - GSSAPI 2 - Username and password

Socks-auth-info NSE Script Arguments


The socks-auth-info.nse script does not have any arguments.

Socks-auth-info NSE Script Example Usage


Here's an example of how to use the socks-auth-info.nse script:

nmap -p 1080 <ip> --script socks-auth-info

Socks-auth-info NSE Script Example Output


Here's a sample output from the socks-auth-info.nse script:

PORT     STATE SERVICE
1080/tcp open  socks
| socks-auth-info:
|   No authentication
|_  Username and password

Socks-auth-info NSE Script Example XML Output


Here's a sample XML output from the socks-auth-info.nse script produced by providing the -oX <file> Nmap option:

 <table>
   <elem key="method">0</elem>
   <elem key="name">No authentication</elem>
 </table>
 <table>
   <elem key="method">2</elem>
   <elem key="name">Username and password</elem>
 </table>

Author


  • Patrik Karlsson

References


See Also


Related NSE scripts to the socks-auth-info.nse script:

Visit Nmap NSE Library for more scripts.

Version


This page has been created based on Nmap version 7.92.