modules/exploits/linux/http/symmetricom_syncserver_rce.rb
Method initialize
has 45 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
def initialize(info = {})
super(
update_info(
info,
'Name' => 'Symmetricom SyncServer Unauthenticated Remote Command Execution',
Method exploit
has 28 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
def exploit
srvhost = datastore['SRVHOST']
srvport = datastore['SRVPORT']
filename = datastore['FILENAME']
resource_uri = '/' + filename