modules/exploits/linux/http/webid_converter.rb
Method initialize
has 51 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
def initialize(info = {})
super(
update_info(
info,
'Name' => 'WeBid converter.php Remote PHP Code Injection',
Method exploit
has 31 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
def exploit
uri = target_uri.path
uri << '/' if uri[-1, 1] != '/'
peer = "#{rhost}:#{rport}"
Method on_new_session
has 28 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
def on_new_session(client)
peer = "#{client.peerhost}:#{client.peerport}"
if client.type != "meterpreter"
print_error("NOTE: you must use a meterpreter payload in order to automatically cleanup.")