[thelist] Quick & Dirty
ashok at magicalkenya.com
ashok at magicalkenya.com
Thu Feb 28 04:02:01 CST 2002
just somethin interesting for anyone whos interested :
i tried accessing this recent article from my workplace comp:
http://www.evolt.org/article/Quick_and_Dirty_ASP_Array_Sorting/17/21724/index.html
unfortunately i got and access forbidden.... from the company
firewall..what i realize is
the admin of the proxy has decided to start blocking urls with words like
'dirty' and 'sex'...
what i realized then is :
http://www.evolt.org/article/Quick_and_D%69rty_ASP_Array_Sorting/17/21724/index.html
this url seems to go thru the proxy filter if i encode the word dirty ....
strangely it doesnt work when the word is part of the domain,for example if
i encode : www.dirty.org the proxy filters it out...
dont know if its somethin specific to the proxy (winroute pro) being used
or ...
so just wrote a small wsf script to
generate encoded versions of words... :
<job id="hexout">
'hexout.wsf
'execute syntax :
'cscript //Job:hexout hexout.wsf stringparam
<script language="VBScript">
Set objArgs = WScript.Arguments
strArgStr = objArgs(0)
strHexout = ""
For i=1 to Len(strArgStr)
strCharAt = Mid(strArgStr,i,1)
strHexout = strHexout & "%" & CStr(Hex(Asc(strCharAt)))
WScript.Echo strCharAt + " = %" + CStr(Hex(Asc(strCharAt)))
Next
WScript.Echo "Full output = " + strHexout
</script>
</job>
just thot might be useful for somebody else with similar filtering
admins....
ã$hØK hãRïhîÃñ
More information about the thelist
mailing list