mirror of
https://github.com/lgandx/Responder.git
synced 2025-08-14 02:27:12 -07:00
Removed MultiRelay binaries
This commit is contained in:
parent
cc3a5b5cff
commit
35b12b4832
7 changed files with 201 additions and 5 deletions
|
@ -59,6 +59,16 @@ Mimikatzx86Filename = "./MultiRelay/bin/mimikatz_x86.exe"
|
|||
RunAsFileName = "./MultiRelay/bin/Runas.exe"
|
||||
SysSVCFileName = "./MultiRelay/bin/Syssvc.exe"
|
||||
|
||||
def color(txt, code = 1, modifier = 0):
|
||||
return "\033[%d;3%dm%s\033[0m" % (modifier, code, txt)
|
||||
|
||||
if os.path.isfile(SysSVCFileName) is False:
|
||||
print(color("[!]MultiRelay/bin/ folder is empty. You need to run these commands:\n",1,1))
|
||||
print(color("apt-get install gcc-mingw-w64-x86-64",2,1))
|
||||
print(color("x86_64-w64-mingw32-gcc ./MultiRelay/bin/Runas.c -o ./MultiRelay/bin/Runas.exe -municode -lwtsapi32 -luserenv",2,1))
|
||||
print(color("x86_64-w64-mingw32-gcc ./MultiRelay/bin/Syssvc.c -o ./MultiRelay/bin/Syssvc.exe -municode",2,1))
|
||||
print(color("\nAdditionally, you can add your custom mimikatz executables (mimikatz.exe and mimikatz_x86.exe)\nin the MultiRelay/bin/ folder for the mimi32/mimi command.",3,1))
|
||||
sys.exit()
|
||||
|
||||
def UserCallBack(op, value, dmy, parser):
|
||||
args=[]
|
||||
|
@ -92,7 +102,7 @@ if options.ExtraPort is None:
|
|||
options.ExtraPort = 0
|
||||
|
||||
if not os.geteuid() == 0:
|
||||
print((color("[!] MultiRelay must be run as root.")))
|
||||
print(color("[!] MultiRelay must be run as root."))
|
||||
sys.exit(-1)
|
||||
|
||||
OneCommand = options.OneCommand
|
||||
|
@ -105,10 +115,6 @@ Cmd = []
|
|||
ShellOpen = []
|
||||
Pivoting = [2]
|
||||
|
||||
|
||||
def color(txt, code = 1, modifier = 0):
|
||||
return "\033[%d;3%dm%s\033[0m" % (modifier, code, txt)
|
||||
|
||||
def ShowWelcome():
|
||||
print(color('\nResponder MultiRelay %s NTLMv1/2 Relay' %(__version__),8,1))
|
||||
print('\nSend bugs/hugs/comments to: laurent.gaffie@gmail.com')
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue