We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
running on ARM host, used a simple command to route a single host:
meterpreter > route add 192.168.10.1 255.255.255.0 1 Creating route 192.168.10.1/255.255.255.0 -> 1 [-] stdapi_net_config_add_route: Operation failed: 1
Getting this in the logs:
[07/19/2012 10:51:48] [e(0)] meterpreter: stdapi_net_config_add_route: Operation failed: 1 [07/19/2012 10:51:48] [d(0)] meterpreter: Call stack: metasploit-framework/lib/rex/post/meterpreter/extensions/stdapi/net/config.rb:152:in `add_route' metasploit-framework/lib/rex/post/meterpreter/ui/console/command_dispatcher/stdapi/net.rb:212:in `cmd_route' metasploit-framework/lib/rex/ui/text/dispatcher_shell.rb:420:in `run_command' metasploit-framework/lib/rex/post/meterpreter/ui/console.rb:104:in `run_command' metasploit-framework/lib/rex/ui/text/dispatcher_shell.rb:382:in `block in run_single' metasploit-framework/lib/rex/ui/text/dispatcher_shell.rb:376:in `each' metasploit-framework/lib/rex/ui/text/dispatcher_shell.rb:376:in `run_single' metasploit-framework/lib/rex/post/meterpreter/ui/console.rb:68:in `block in interact' metasploit-framework/lib/rex/ui/text/shell.rb:190:in `call' metasploit-framework/lib/rex/ui/text/shell.rb:190:in `run' metasploit-framework/lib/rex/post/meterpreter/ui/console.rb:66:in `interact' metasploit-framework/lib/msf/base/sessions/meterpreter.rb:431:in `_interact' metasploit-framework/lib/rex/ui/interactive.rb:49:in `interact' metasploit-framework/lib/msf/ui/console/command_dispatcher/core.rb:1595:in `cmd_sessions' metasploit-framework/lib/rex/ui/text/dispatcher_shell.rb:420:in `run_command' metasploit-framework/lib/rex/ui/text/dispatcher_shell.rb:382:in `block in run_single' metasploit-framework/lib/rex/ui/text/dispatcher_shell.rb:376:in `each' metasploit-framework/lib/rex/ui/text/dispatcher_shell.rb:376:in `run_single' metasploit-framework/lib/rex/ui/text/shell.rb:200:in `run' ./msfconsole:143:in `<main>'
The text was updated successfully, but these errors were encountered:
route in meterpreter is not the same as route at the msfconsole prompt.
route
meterpreter > route list IPv4 network routes =================== Subnet Netmask Gateway Metric Interface ------ ------- ------- ------ --------- 192.168.99.3 255.255.252.0 0.0.0.0 127.0.0.1 0.0.0.0 0.0.0.0 IPv6 network routes =================== Subnet Netmask Gateway Metric Interface ------ ------- ------- ------ --------- ::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff :: fe80::a2b3:ccff:fec5:8648 ffff:ffff:ffff:ffff:: :: meterpreter > background [*] Backgrounding session 1... 14:52:28 1 10> route add 192.168.99.0 255.255.255.0 1 [*] Route added 14:52:51 1 10>
Works as expected.
Sorry, something went wrong.
No branches or pull requests
running on ARM host, used a simple command to route a single host:
Getting this in the logs:
The text was updated successfully, but these errors were encountered: