diff --git a/modules/exploits/multi/http/phpldapadmin_query_engine.rb b/modules/exploits/multi/http/phpldapadmin_query_engine.rb index 1315ed710e..fb087c952d 100644 --- a/modules/exploits/multi/http/phpldapadmin_query_engine.rb +++ b/modules/exploits/multi/http/phpldapadmin_query_engine.rb @@ -87,13 +87,6 @@ class Metasploit3 < Msf::Exploit::Remote return res.get_cookies end - def cleanup - # We may not be using php/exe again, so clear the CMD option - if datastore['CMD'] - datastore['CMD'] = nil - end - end - def exploit # if we are using the exec CMD stager # important to check which php functions are disabled