mirror of
https://github.com/lgandx/Responder.git
synced 2025-07-06 21:11:22 -07:00
MultiRelay now executes WMIC commands instead of bat files
This commit is contained in:
parent
62d7dc4080
commit
aff17ca9d3
3 changed files with 21 additions and 34 deletions
|
@ -36,7 +36,7 @@ from SMBFinger.Finger import RunFinger
|
|||
sys.path.append(os.path.abspath(os.path.join(os.path.dirname(__file__), '../')))
|
||||
from socket import *
|
||||
|
||||
__version__ = "1.0"
|
||||
__version__ = "1.1"
|
||||
|
||||
def UserCallBack(op, value, dmy, parser):
|
||||
args=[]
|
||||
|
@ -448,6 +448,10 @@ def RunShellCmd(data, s, clientIP, Host, Username, Domain):
|
|||
Logs.info(clientIP+":"+Username+":"+Domain+":"+Host[0]+":Logon Failure")
|
||||
return False
|
||||
|
||||
if data[8:10] == "\x73\x5e":
|
||||
print "[+] Relay failed, NO_LOGON_SERVER returned. Credentials are probably good, but the PDC is either offline or inexistant.\n"
|
||||
return False
|
||||
|
||||
## Ok, we are supposed to be authenticated here, so first check if user has admin privs on C$:
|
||||
## Tree Connect
|
||||
if data[8:10] == "\x73\x00":
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue