
我是新手ncat
,並且遇到了幾個選項的問題:-g -G -s --sctp
-g
選項
ncat -g proxy-source-IP -v remote-IP 31337
從 到source-IP
返回remote-IP
,source-IP
並且不是 proxy-source-IP
正如它應該的那樣。
例如,從 IP 為 1.0.0.0 的電腦執行命令
ncat -g 1.0.1.0 -v 1.1.0.0 31337
應該回傳 1.0.1.0,不是1.0.0.0
-G
選項
ncat -G 4 -v remote-IP 31337
這裡到底是什麼-G 4
意思?
-s
選項
ncat -s proxy-source-IP -v remote-IP 31337 #
從source-IP
到remote-IP
返回source-IP
,不是正如proxy-source-IP
它應該的那樣。例如,從 IP 為 1.0.0.0 的計算機:
ncat -s 1.0.1.0 -v 1.1.0.0 31337
應該回傳 1.0.1.0,不是1.0.0.0
--sctp
選項
ncat -v remote-IP --sctp 31338
輸入進入 shell,不是 ncat
作為STDERR
回復輸入(見下文)
Ncat: Version 6.00 ( http://nmap.org/ncat )
foo
No command 'foo' found, did you mean:
Command 'fio' from package 'fio' (main)
Command 'xoo' from package 'xoo' (main)
Command 'fop' from package 'fop' (main)
Command 'fox' from package 'objcryst-fox' (main)
Command 'zoo' from package 'zoo' (main)
Command 'goo' from package 'goo' (main)
foo: command not found
誰能解釋這些奇怪的行為?