be consistent about naming

This commit is contained in:
Christian Mehlmauer
2015-04-16 21:44:56 +02:00
parent 69d3c26746
commit ba6548db75
20 changed files with 48 additions and 48 deletions
@@ -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