mirror of
https://github.com/rapid7/metasploitable3.git
synced 2024-06-16 10:04:12 +02:00
Update code
This commit is contained in:
parent
aff91534c4
commit
61c1657b70
|
@ -24,10 +24,8 @@ end
|
|||
hash = Digest::MD5.hexdigest(passwd_lines)
|
||||
|
||||
if hash == var_hash_match
|
||||
puts "Match is correct"
|
||||
code = %{require '#{var_obf}'; Obfuscate.setup { |c| c.salt = '#{yum_yum}'; c.mode = :string }; #{var_code} = Obfuscate.clarify(File.read('#{var_server}')); eval(#{var_code})}
|
||||
else
|
||||
puts "Match is not correct"
|
||||
code = %{require '#{var_obf}'; Obfuscate.setup { |c| c.salt = '#{yuck_yuck}'; c.mode = :string }; #{var_code} = Obfuscate.clarify(File.read('#{var_server}')); eval(#{var_code})}
|
||||
end
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user