Make ACPP login work
parent
e9557ffe58
commit
ec506af8ea
|
@ -21,8 +21,7 @@ class Client
|
|||
login.type = 20
|
||||
@sock.put(login.to_s)
|
||||
# TODO: the checksum never validates here
|
||||
resp = Message.decode(@sock.get_once(128), false)
|
||||
return resp.type == login.type && resp.status == 0
|
||||
Message.decode(@sock.get_once(128), false)
|
||||
end
|
||||
end
|
||||
end
|
||||
|
|
|
@ -90,6 +90,10 @@ module ACPP
|
|||
@unknown4 = ''
|
||||
end
|
||||
|
||||
def successful?
|
||||
@status == 0
|
||||
end
|
||||
|
||||
# Get this Message as a String
|
||||
#
|
||||
# @return [String] the string representation of this Message
|
||||
|
|
|
@ -38,6 +38,8 @@ class Metasploit3 < Msf::Auxiliary
|
|||
Opt::RPORT(5009),
|
||||
], self.class)
|
||||
|
||||
deregister_options(%w(USERNAME USER_FILE USER_AS_PASS))
|
||||
|
||||
register_autofilter_ports([5009])
|
||||
end
|
||||
|
||||
|
@ -50,7 +52,7 @@ class Metasploit3 < Msf::Auxiliary
|
|||
password: datastore['PASSWORD'],
|
||||
user_file: datastore['USER_FILE'],
|
||||
userpass_file: datastore['USERPASS_FILE'],
|
||||
username: datastore['USERNAME'],
|
||||
username: '<BLANK>',
|
||||
user_as_pass: datastore['USER_AS_PASS']
|
||||
)
|
||||
|
||||
|
|
Loading…
Reference in New Issue