mirror of
https://github.com/lgandx/Responder.git
synced 2025-08-19 21:03:33 -07:00
minor bugfix
This commit is contained in:
parent
1079de052b
commit
ff90b786dd
1 changed files with 0 additions and 8 deletions
|
@ -949,7 +949,6 @@ Exec_Mode_On_Off
|
||||||
def PacketSequence(data,client):
|
def PacketSequence(data,client):
|
||||||
a = re.findall('(?<=Authorization: NTLM )[^\\r]*', data)
|
a = re.findall('(?<=Authorization: NTLM )[^\\r]*', data)
|
||||||
b = re.findall('(?<=Authorization: Basic )[^\\r]*', data)
|
b = re.findall('(?<=Authorization: Basic )[^\\r]*', data)
|
||||||
c = re.findall('(?<=wpad.dat )[^\\r]*', data)
|
|
||||||
if ServeEXEOrNot(Exe_On_Off) and re.findall('.exe', data):
|
if ServeEXEOrNot(Exe_On_Off) and re.findall('.exe', data):
|
||||||
payload = ServeEXE(data,client,FILENAME)
|
payload = ServeEXE(data,client,FILENAME)
|
||||||
buffer1 = ServerExeFile(Payload = payload,filename=FILENAME)
|
buffer1 = ServerExeFile(Payload = payload,filename=FILENAME)
|
||||||
|
@ -985,11 +984,6 @@ def PacketSequence(data,client):
|
||||||
buffer1 = IIS_Auth_Granted()
|
buffer1 = IIS_Auth_Granted()
|
||||||
buffer1.calculate()
|
buffer1.calculate()
|
||||||
return str(buffer1)
|
return str(buffer1)
|
||||||
if c:
|
|
||||||
GrabCookie(data,client)
|
|
||||||
buffer1 = IIS_Auth_Redir()
|
|
||||||
print "HTTP WPAD request detected, redirecting to SMB server"
|
|
||||||
return str(buffer1)
|
|
||||||
|
|
||||||
else:
|
else:
|
||||||
return str(Basic_Ntlm(Basic))
|
return str(Basic_Ntlm(Basic))
|
||||||
|
@ -1514,5 +1508,3 @@ if __name__ == '__main__':
|
||||||
raise
|
raise
|
||||||
raw_input()
|
raw_input()
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue