mirror of
https://github.com/lgandx/Responder.git
synced 2025-08-19 21:03:33 -07:00
Minor fixes
This commit is contained in:
parent
26d205eb2e
commit
a882d397a8
13 changed files with 20 additions and 121 deletions
|
@ -85,13 +85,6 @@ def ParseSQLHash(data, client):
|
|||
'fullhash': WriteHash,
|
||||
})
|
||||
|
||||
#print text("[MSSQL] NTLMv1 Client : %s" % color(client, 3, 0))
|
||||
#print text("[MSSQL] NTLMv1 Domain : %s" % color(Domain, 3, 0))
|
||||
#print text("[MSSQL] NTLMv1 User : %s" % color(User, 3, 0))
|
||||
#print text("[MSSQL] NTLMv1 Hash : %s" % color(LMHash+":"+NTHash, 3, 0))
|
||||
#WriteHash = '%s::%s:%s:%s:%s' % (User, Domain, LMHash, NTHash, settings.Config.NumChal)
|
||||
#WriteData(settings.Config.MSSQLNTLMv1Log % client, User+"::"+Domain+":"+LMHash+":"+NtHash+":"+NumChal, User+"::"+Domain)
|
||||
|
||||
if NthashLen > 60:
|
||||
WriteHash = '%s::%s:%s:%s:%s' % (User, Domain, settings.Config.NumChal, NTHash[:32], NTHash[32:])
|
||||
|
||||
|
@ -104,13 +97,6 @@ def ParseSQLHash(data, client):
|
|||
'fullhash': WriteHash,
|
||||
})
|
||||
|
||||
#print text("[MSSQL] NTLMv2 Client : %s" % color(client, 3, 0))
|
||||
#print text("[MSSQL] NTLMv2 Domain : %s" % color(Domain, 3, 0))
|
||||
#print text("[MSSQL] NTLMv2 User : %s" % color(User, 3, 0))
|
||||
#print text("[MSSQL] NTLMv2 Hash : %s" % color(NTHash[:32]+":"+NTHash[32:], 3, 0))
|
||||
#WriteHash = '%s::%s:%s:%s:%s' % (User, Domain, settings.Config.NumChal, NTHash[:32], NTHash[32:])
|
||||
#WriteData(settings.Config.MSSQLNTLMv2Log % client, WriteHash,User+"::"+Domain)
|
||||
|
||||
def ParseSqlClearTxtPwd(Pwd):
|
||||
Pwd = map(ord,Pwd.replace('\xa5',''))
|
||||
Pw = []
|
||||
|
@ -132,14 +118,6 @@ def ParseClearTextSQLPass(data, client):
|
|||
'fullhash': TDS.UserName +':'+ ParseSqlClearTxtPwd(TDS.Password),
|
||||
})
|
||||
|
||||
#print text("[MSSQL] Client : %s (%s)" % (color(client, 3, 0) , color(TDS.ClientName, 3, 0)))
|
||||
#print text("[MSSQL] Server : %s" % color(TDS.ServerName, 3, 0))
|
||||
#print text("[MSSQL] Database : %s" % color(TDS.DatabaseName, 3, 0))
|
||||
#print text("[MSSQL] Username : %s" % color(TDS.UserName, 3, 0))
|
||||
#print text("[MSSQL] Password : %s" % color(ParseSqlClearTxtPwd(TDS.Password), 3, 0))
|
||||
#WritePass = TDS.UserName +':'+ ParseSqlClearTxtPwd(TDS.Password)
|
||||
#WriteData(settings.Config.MSSQLClearLog % client, WritePass, WritePass)
|
||||
|
||||
# MSSQL Server class
|
||||
class MSSQL(BaseRequestHandler):
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue