Hi All
Season's Greetings
I am a bit confused about Web Proxy Auto-Discovery process. But aside from that can anyone tell me in 'layman's' terms what the following script actually performs?
I recived it as a download after pasting HTTP string I found in registry at SavedLegacySettings.
The contents of wpad.dat
---------------------------------------------------
function FindProxyForURL(url, host)
{
if (
shExpMatch(url, " ||
shExpMatch(url, "news://*") ||
shExpMatch(url, "snews://*") ||
shExpMatch(url, "ftp://*@*") ||
shExpMatch(url, " ||
shExpMatch(url, " ||
shExpMatch(url, " ||
shExpMatch(url, " ||
shExpMatch(url, "*.shaw.ca/*") ||
shExpMatch(url, " ||
shExpMatch(url, " ||
shExpMatch(url, " ||
0
)
{
return("DIRECT");
}
var hash = 0;
hash = (host.length % 2);
if (hash == 0)
{
return("PROXY 64.59.144.30:8080; PROXY 64.59.144.31:8080; DIRECT&quot
;
}
else
{
return("PROXY 64.59.144.31:8080; PROXY 64.59.144.30:8080; DIRECT&quot
;
}
}
---------------------------------------------------
I'm sort of curious about the Scotiabank reference. Tool is old 486 running Win95; various browser's but M$ IE 5.5sp2 was installed long ago and rarely used
Opera or OffbyOne..
Thanks for any and all responses :smile:
Versions of this posted at Auhma (no response), Broadband (no response), Lurkhere (1-response, essentially useless)
.
smitee
Season's Greetings
I am a bit confused about Web Proxy Auto-Discovery process. But aside from that can anyone tell me in 'layman's' terms what the following script actually performs?
I recived it as a download after pasting HTTP string I found in registry at SavedLegacySettings.
The contents of wpad.dat
---------------------------------------------------
function FindProxyForURL(url, host)
{
if (
shExpMatch(url, " ||
shExpMatch(url, "news://*") ||
shExpMatch(url, "snews://*") ||
shExpMatch(url, "ftp://*@*") ||
shExpMatch(url, " ||
shExpMatch(url, " ||
shExpMatch(url, " ||
shExpMatch(url, " ||
shExpMatch(url, "*.shaw.ca/*") ||
shExpMatch(url, " ||
shExpMatch(url, " ||
shExpMatch(url, " ||
0
)
{
return("DIRECT");
}
var hash = 0;
hash = (host.length % 2);
if (hash == 0)
{
return("PROXY 64.59.144.30:8080; PROXY 64.59.144.31:8080; DIRECT&quot
}
else
{
return("PROXY 64.59.144.31:8080; PROXY 64.59.144.30:8080; DIRECT&quot
}
}
---------------------------------------------------
I'm sort of curious about the Scotiabank reference. Tool is old 486 running Win95; various browser's but M$ IE 5.5sp2 was installed long ago and rarely used
Opera or OffbyOne..
Thanks for any and all responses :smile:
Versions of this posted at Auhma (no response), Broadband (no response), Lurkhere (1-response, essentially useless)
.
smitee