这就是我试图在VMware中使用CentOS 5运行的
/pwnat: invalid option -- p
usage: ./pwnat <-s | -c> <args>
-c client mode (default)
<args>: [local ip] <local port> <proxy host> [proxy port (def:2222)] <remote host> <remote port>
-s server mode
<args>: [local ip] [proxy port (def:2222)] [[allowed host]:[allowed port] ...]
-6 use IPv6
-v show debug output (up to 2)
-h show this help and exit
./pwnat -c 3.3.3.3 -p 4444 --proxyhost IP 3.3.3.4 -proxyport 2222 --remotehost IP 8.8.8.8 --remoteport 4444
resulting in this reply
invalid option -- p发布于 2011-03-27 21:37:46
你不正确地指定了参数。如果您查看pwnat主页 (或者实际上阅读了显示的帮助文本),您将看到没有-p、--proxyhost等args。(这些只需在单个-c选项的IP地址之后提供。)
在我上面链接到的pwnat主页上有一些示例,如果您仍然被困住了,这些示例应该会有所帮助。
发布于 2011-03-27 21:39:32
你从哪里得到--proxyhost的??
文档给出了一个例子:
./pwnat -c 8000 <pwnat.server.com> google.com 80所以试试这个:
./pwnat -c 4444 3.3.3.4 2222 8.8.8.8 4444https://unix.stackexchange.com/questions/10188
复制相似问题