Command Analysis

This document provides a detailed analysis of ProRT-IP's command-line interface patterns and options.

Command Structure

ProRT-IP follows nmap-compatible CLI conventions where possible:

prtip [SCAN TYPE] [OPTIONS] [TARGETS]

Scan Type Flags

TCP Scans

FlagNameDescriptionPrivileges
-sSSYN ScanHalf-open stealth scanRoot
-sTConnect ScanFull TCP connectionUser
-sFFIN ScanStealth via FIN flagRoot
-sNNULL ScanNo flags setRoot
-sXXmas ScanFIN+PSH+URG flagsRoot
-sAACK ScanFirewall detectionRoot
-sIIdle ScanAnonymous via zombieRoot

UDP Scans

FlagNameDescriptionPrivileges
-sUUDP ScanProtocol payloadsRoot

Port Specification

OptionExampleDescription
-p-p 80Single port
-p-p 1-1000Port range
-p-p 80,443,8080Port list
-p-p-All 65535 ports
-F-FFast (top 100)
--top-ports--top-ports 1000Most common N ports

Target Specification

FormatExampleDescription
Single IP192.168.1.1One host
CIDR192.168.1.0/24Network range
Range192.168.1.1-254IP range
Hostnameexample.comDNS resolution
List-iL targets.txtFile input
IPv6::1 or 2001:db8::1IPv6 addresses

Output Options

OptionFormatDescription
-oNNormalHuman-readable text
-oXXMLNmap-compatible XML
-oGGreppableGrep-friendly format
-oJJSONStructured JSON
-oPPCAPNGPacket capture
-oAAllAll formats at once

Timing Templates

FlagNameBehavior
-T0Paranoid5 min between probes
-T1Sneaky15 sec between probes
-T2Polite400ms between probes
-T3NormalDefault balanced
-T4AggressiveFaster, assumes good network
-T5InsaneMaximum speed

Evasion Options

OptionDescription
-fFragment packets (8 bytes)
--mtu NCustom fragment size
-D decoysDecoy scanning
-S addrSpoof source address
-g portSource port spoofing
--ttl NCustom TTL value
--badsumInvalid checksum

Service Detection

OptionDescription
-sVVersion detection
--version-intensity NProbe aggressiveness (0-9)
-AAggressive (OS + version + scripts)

Performance Options

OptionDescription
--min-rate NMinimum packets/second
--max-rate NMaximum packets/second
--adaptive-batchEnable adaptive batching
--min-batch-size NMinimum batch size
--max-batch-size NMaximum batch size

CDN Options

OptionDescription
--skip-cdnSkip all CDN IPs
--cdn-whitelistScan only CDN IPs
--cdn-blacklistExclude specific CDNs

Verbosity

OptionDescription
-vIncrease verbosity
-vvMore verbose
-vvvDebug level
-qQuiet mode

Option Compatibility Matrix

OptionSYNConnectUDPStealthIdle
-sVYesYesYesNoNo
-fYesNoYesYesYes
-DYesNoYesYesYes
-T0-T5YesYesYesYesYes

Common Patterns

Quick Network Discovery

prtip -sS -F 192.168.1.0/24

Full Service Scan

prtip -sS -sV -p- target.com

Stealth Assessment

prtip -sS -f -D RND:5 -g 53 target.com

Maximum Speed

prtip -sS -T5 --max-rate 100000 -p- target.com

See Also