removed unnecessary cleanup
parent
d67234bd03
commit
36be7cd9c4
|
@ -100,8 +100,6 @@ class Metasploit3 < Msf::Exploit::Remote
|
|||
|
||||
|
||||
def exploit
|
||||
@previous_basic_auth_user = datastore['BasicAuthUser']
|
||||
@previous_basic_auth_pass = datastore['BasicAuthPass']
|
||||
datastore['BasicAuthUser'] = datastore['USERNAME']
|
||||
datastore['BasicAuthPass'] = datastore['PASSWORD']
|
||||
|
||||
|
@ -346,9 +344,4 @@ EOT
|
|||
end
|
||||
res
|
||||
end
|
||||
|
||||
def cleanup
|
||||
datastore['BasicAuthUser'] = @previous_basic_auth_user
|
||||
datastore['BasicAuthPass'] = @previous_basic_auth_pass
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Reference in New Issue