msftidy found EOL spaces on new modules

This commit is contained in:
Tod Beardsley 2012-06-06 10:40:56 -05:00
parent 698e2eab68
commit 34be642f84
1 changed files with 1 additions and 1 deletions

View File

@ -159,7 +159,7 @@ class Metasploit3 < Msf::Auxiliary
return '' unless data.kind_of? String
encrypted = ''
encrypted << ( data.unpack('C')[0] ^ 0xab )
data.bytes.each_with_index do |byte, idx|
data.bytes.each_with_index do |byte, idx|
next if idx == 0
encrypted << ( encrypted[(idx - 1),1].unpack('C')[0] ^ byte ^ (idx - 1) )
end