im trying to get past fucking sonic wall and my gay ass school has blocked just about every proxy filter in hell. SO...Im trying to convert the ping number of an adress to base ten so i can put http:// (base ten #)
anyone know how to do this? please explain
To answer your question though, for an address in the form aaa.bbb.ccc.ddd, the formula is 16777216*aaa+65536*bbb+256*ccc+ddd. But it mostly will not work due to virtual hosting (i.e. multiple websites on the same address)
Name:
Anonymous2007-11-30 21:48
IIRC with SonicWall, if the offending filter is based on the hostname, then at least some of them can't filter if the HTTP request is broken into multiple packets where the first packet does not contain the full host name. I found this out when you use telnet to access a site directly. Of course, if the filter is IP based, you're fucked.
>>4
Well, if they're filtering DNS queries by hostname as well you're still a bit out of luck.
>>1
Just write a proxy app which resolves the hostname, converts it to an IP address, then sends the HTTP request and returns the result. It's actually really straightforward to do, especially with things like FORCED INDENTATION's urllib.
Name:
Anonymous2009-03-18 2:12
I'm feeling really keen, for some of that good ol' green