[thelist] Quick & Dirty
Feingold Josh S
Josh.S.Feingold at irs.gov
Thu Feb 28 07:32:01 CST 2002
This message is in MIME format. Since your mail reader does not understand
this format, some or all of this message may not be legible.
--
[ Picked text/plain from multipart/alternative ]
That is great!
I changed one line of code to make it easier to copy the results.
Instead of:
WScript.Echo "Full output = " + strHexout
I used:
InputBox "You're Requested Output","Hexstring Output",strHexout
Josh
-----Original Message-----
From: ashok at magicalkenya.com [mailto:ashok at magicalkenya.com]
Sent: Thursday, February 28, 2002 4:51 AM
To: thelist at lists.evolt.org
Subject: [thelist] Quick & Dirty
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/inde
x.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/in
dex.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îÃñ
--
For unsubscribe and other options, including
the Tip Harvester and archive of thelist go to:
http://lists.evolt.org Workers of the Web, evolt !
More information about the thelist
mailing list