You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
IdleTimeoutint`short:"i" long:"interval" description:"Delay interval for lines sent, ports scanned"`
40
+
// TODO: WTF is this?
41
+
// Gateway []string `short:"g" long:"gateway" description:"Source-routing hop point[s], up to 8"`
42
+
// TODO: WTF is this?
43
+
// Pointer int `short:"G" long:"pointer" description:"Source-routing pointer:4, 8, 12, ..."`
48
44
Listenbool`short:"l" long:"listen" description:"Listen mode, for inbound connects"`
49
-
// TODO
50
-
Tunnelstring`short:"L" long:"tunnel" description:"Forward local port to remote address"`
51
-
// TODO
52
-
DontResolvebool`short:"n" long:"dont-resolve" description:"Numeric-only IP addresses, no DNS"`
53
-
// TODO
54
-
Outputstring`short:"o" long:"output" description:"Output hexdump traffic to FILE (implies -x)"`
45
+
// TODO: Needs exposure of listen/dial conns
46
+
// DontResolve bool `short:"n" long:"dont-resolve" description:"Numeric-only IP addresses, no DNS"`
55
47
Portstring`short:"p" long:"local-port" description:"Local port number"`
56
-
Protocolstring`short:"P" long:"protocol" description:"Provide protocol in the form of tcp{,4,6}|udp{,4,6}|unix{,gram,packet}|ip{,4,6}[:<protocol-number>|:<protocol-name>]\nFor <protocol-number> check https://www.iana.org/assignments/protocol-numbers/protocol-numbers.xhtml"`
57
48
// Does not have any effect - even on netcat
58
49
Randomizebool`short:"r" long:"randomize" description:"Randomize local and remote ports"`
59
-
Rawbool`short:"R" long:"auto-raw" description:"Put local TTY in Raw mode on connect (action)"`
60
50
Sourcestring`short:"s" long:"source" description:"Local source address (ip or hostname)"`
Verbosebool`short:"v" long:"verbose" description:"-- Not effective, backwards compatibility"`
67
55
// TODO
68
56
Versionbool`short:"V" long:"version" description:"Output version information and exit"`
69
-
HexDumpbool`short:"x" long:"hexdump" description:"Hexdump incoming and outgoing traffic"`
70
-
// TODO
71
-
Waitint`short:"w" long:"wait" description:"Timeout for connects and final net reads"`
72
-
Zerobool`short:"z" long:"zero" description:"Zero-I/O mode (used for scanning)"`
57
+
// TODO: Needs exposure of listen/dial conns
58
+
// Wait int `short:"w" long:"wait" description:"Timeout for connects and final net reads"`
73
59
74
60
Positionalstruct {
75
61
Hostnamestring`positional-arg-name:"hostname"`
76
62
Portstring`positional-arg-name:"port"`
77
63
} `positional-args:"yes"`
78
64
}
79
65
66
+
varoptsServicestruct {
67
+
Protocolstring`short:"P" long:"protocol" description:"Provide protocol in the form of tcp{,4,6}|udp{,4,6}|unix{,gram,packet}|ip{,4,6}[:<protocol-number>|:<protocol-name>]\nFor <protocol-number> check https://www.iana.org/assignments/protocol-numbers/protocol-numbers.xhtml"`
0 commit comments