Sniper
Request parameters
Parameters |
---|
The ID of this tool. The value is
490 .
|
The IP address or hostname that will be scanned.
|
The type of scan that you want to be performed. The value can be
"sniper_auth" or false .
Port type. The value can be
"common_ports" , "port_range" or "port_list" .
Type of common ports. Used when
port_type is set to "common_ports" . The value can be "Top 10 ports" , "Top 100 ports" , "Top 1000 ports" or "Top 5000 ports" .
Start port used when
port_type is set to "port_range" .
Start port used when
port_type is set to "port_range" .
Comma separated list of ports. Used when
port_type is set to "port_list" . Example: "22,53,443" .
Protocol type used when
auth_type is set to "sniper_auth" . The value can be "ssh" or "winrm" .
Port used when
auth_type is set to "sniper_auth" . Example: "22" .
Username used when
auth_type is set to "sniper_auth" . Example: "admin" .
Password used when
auth_type is set to "sniper_auth" . Example: "password" .
SSH key used when
auth_type is set to "sniper_auth" and protocol_input is set to "ssh" . Example: "password" .
Authentication used when
auth_type is set to "sniper_auth" and protocol_input is set to "wirm" . The value can be "ntlm" or "basic" .
|
{
"op": "start_scan",
"tool_id": 490,
"target": "demo.pentest-tools.com",
"tool_params": {
"port_type": "common_ports",
"commons": "Top 1000 ports"
}
}
{
"op": "start_scan_by_targetid",
"tool_id": 490,
"target_id": 7585431,
"tool_params": {
"port_type": "port_list",
"list_of_ports": "22, 3389, 8080-8081"
}
}