move autoroute to a more sensible location

This commit is contained in:
Brent Cook 2017-04-10 22:37:10 -05:00
parent 18d95b6625
commit 099fc0176a
4 changed files with 5 additions and 7 deletions

View File

@ -84,13 +84,13 @@ You need a Windows Meterpreter session on a host that has a different public IP
First set up a default route for the Meterpreter session.
```
meterpreter > run post/windows/manage/autoroute CMD=default
meterpreter > run post/multi/manage/autoroute CMD=default
```
or
```
msf > use post/windows/manage/autoroute
msf > use post/multi/manage/autoroute
msf post(autoroute) > set SESSION session-id
msf post(autoroute) > set CMD default
msf post(autoroute) > exploit

View File

@ -56,7 +56,7 @@ module Scriptable
#
def legacy_script_to_post_module(script_name)
{
'autoroute' => 'post/windows/manage/autoroute',
'autoroute' => 'post/multi/manage/autoroute',
'checkvm' => 'post/windows/gather/checkvm',
'duplicate' => 'post/windows/manage/multi_meterpreter_inject',
'enum_chrome' => 'post/windows/gather/enum_chrome',
@ -68,7 +68,7 @@ module Scriptable
'file_collector' => 'post/windows/gather/enum_files',
'get_application_list' => 'post/windows/gather/enum_applications',
'get_filezilla_creds' => 'post/windows/gather/credentials/filezilla_server',
'get_local_subnets' => 'post/windows/manage/autoroute',
'get_local_subnets' => 'post/multi/manage/autoroute',
'get_valid_community' => 'post/windows/gather/enum_snmp',
'getcountermeasure' => 'post/windows/manage/killav',
'getgui' => 'post/windows/manage/enable_rdp',

View File

@ -6,7 +6,6 @@
class MetasploitModule < Msf::Post
def initialize(info={})
super( update_info( info,
'Name' => 'Windows Manage Network Route via Meterpreter Session',
@ -24,7 +23,6 @@ class MetasploitModule < Msf::Post
'todb',
'Josh Hale <jhale85446[at]gmail.com>'
],
'Platform' => [ 'win' ],
'SessionTypes' => [ 'meterpreter']
))

View File

@ -145,7 +145,7 @@ def usage()
print_status " run autoroute -p # Print active routing table"
print_status " run autoroute -d -s 10.10.10.1 # Deletes the 10.10.10.1/255.255.255.0 route"
print_status "Use the \"route\" and \"ipconfig\" Meterpreter commands to learn about available routes"
print_error "Deprecation warning: This script has been replaced by the post/windows/manage/autoroute module"
print_error "Deprecation warning: This script has been replaced by the post/multi/manage/autoroute module"
end
# Validates the command options