Metasploit mailing list archives
cmd_portfwd
From: aepereyra at gmail.com (Augusto Pereyra)
Date: Tue, 28 Apr 2009 01:02:25 -0300
Hi list: Anyone can tell me how to use the class cmd_portfwd? I'm tryng to use it in a meterpreter script to do some task automaticaly. I know how use it in console calling the command portfwd What's wrong in the following code used to test this class? @class = Console::CommandDispatcher::Stdapi::Net.new @class.cmd_portfwd "add -l 4445 -r 127.0.0.1 -p 3389" when i execute it in a meterpreter it showme the this: [-] Error in script: wrong number of arguments (0 for 1) Sorry if my english isn't clear Best Regard Augusto Pereyra CISSP-CEH
Current thread:
- cmd_portfwd Augusto Pereyra (Apr 27)
- Message not available
- cmd_portfwd Augusto Pereyra (May 02)
- cmd_portfwd H D Moore (May 03)
- cmd_portfwd Augusto Pereyra (May 02)
- Message not available
- <Possible follow-ups>
- cmd_portfwd Augusto Pereyra (May 03)
- cmd_portfwd H D Moore (May 03)