mirror of
https://github.com/lgandx/Responder.git
synced 2025-12-06 04:31:30 +00:00
added a check for exec file
This commit is contained in:
@@ -80,7 +80,7 @@ Serve-Html = Off
|
||||
HtmlFilename = files/AccessDenied.html
|
||||
|
||||
; Custom EXE File to serve
|
||||
ExeFilename = files/BindShell.exe
|
||||
ExeFilename = ;files/filetoserve.exe
|
||||
|
||||
; Name of the downloaded .exe that the client will see
|
||||
ExeDownloadName = ProxyClient.exe
|
||||
|
||||
@@ -142,6 +142,7 @@ class Settings:
|
||||
self.WPAD_Script = config.get('HTTP Server', 'WPADScript')
|
||||
self.HtmlToInject = config.get('HTTP Server', 'HtmlToInject')
|
||||
|
||||
if self.Serve_Exe is True:
|
||||
if not os.path.exists(self.Html_Filename):
|
||||
print(utils.color("/!\ Warning: %s: file not found" % self.Html_Filename, 3, 1))
|
||||
|
||||
|
||||
Reference in New Issue
Block a user