be consistent about naming
This commit is contained in:
@@ -496,7 +496,7 @@ class Metasploit3 < Msf::Exploit::Remote
|
||||
sock.put(create_packet(THREADSTATUS_SIG, format(@vars["objectid_size"], thread_id)))
|
||||
buf = read_reply(datastore['BREAK_TIMEOUT'])
|
||||
unless buf
|
||||
fail_with(Exploit::Failure::Unknown, "No network response")
|
||||
fail_with(Failure::Unknown, "No network response")
|
||||
end
|
||||
status, suspend_status = buf.unpack('NN')
|
||||
|
||||
@@ -513,7 +513,7 @@ class Metasploit3 < Msf::Exploit::Remote
|
||||
|
||||
response = read_reply(datastore['BREAK_TIMEOUT'])
|
||||
unless response
|
||||
fail_with(Exploit::Failure::Unknown, "No network response")
|
||||
fail_with(Failure::Unknown, "No network response")
|
||||
end
|
||||
|
||||
response
|
||||
@@ -529,7 +529,7 @@ class Metasploit3 < Msf::Exploit::Remote
|
||||
|
||||
response = read_reply
|
||||
unless response
|
||||
fail_with(Exploit::Failure::Unknown, "No network response")
|
||||
fail_with(Failure::Unknown, "No network response")
|
||||
end
|
||||
|
||||
response
|
||||
@@ -549,7 +549,7 @@ class Metasploit3 < Msf::Exploit::Remote
|
||||
sock.put(create_packet(EVENTSET_SIG, data))
|
||||
response = read_reply
|
||||
unless response
|
||||
fail_with(Exploit::Failure::Unknown, "#{peer} - No network response")
|
||||
fail_with(Failure::Unknown, "#{peer} - No network response")
|
||||
end
|
||||
return response.unpack('N')[0]
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user