Programming Forums
User Name Password Register
 

RSS Feed
FORUM INDEX | TODAY'S POSTS | UNANSWERED THREADS | ADVANCED SEARCH

Reply
 
Thread Tools Display Modes
Old Sep 17th, 2005, 10:33 AM   #21
Lich
Professional Programmer
 
Lich's Avatar
 
Join Date: May 2005
Location: Detroit
Posts: 254
Rep Power: 4 Lich is on a distinguished road
Send a message via AIM to Lich Send a message via MSN to Lich
Ghost, I feel for you, I really do. Back in high school the filters were insanely bad as far as letting people access anything. The school computer system was a complete joke.

That said, don't knock those taking time out to respond to your post.
__________________
--John Cruz
Web Developer
www.cruzweb.net
Lich is offline   Reply With Quote
Old Sep 17th, 2005, 3:45 PM   #22
tempest
Programming Guru
 
tempest's Avatar
 
Join Date: Oct 2004
Posts: 1,041
Rep Power: 5 tempest is on a distinguished road
Send a message via ICQ to tempest Send a message via AIM to tempest Send a message via Yahoo to tempest
Quote:
Originally Posted by Ooble
You didn't tell us that. That means it's checking the webpages based on content in real-time. In other words, a proxy won't work.
Of course it will, you'll just have to encrypt the page in PHP and decrypt client-side with JavaScript. As well as encrypting the URLs to PHP of course.
__________________

tempest is offline   Reply With Quote
Old Sep 17th, 2005, 3:57 PM   #23
Dameon
Troll
 
Dameon's Avatar
 
Join Date: Apr 2005
Location: Texas
Posts: 732
Rep Power: 4 Dameon is on a distinguished road
Privoxy, tor, and firefox on a usb stick?

There's a project called Portable Firefox that is more suited for the purpose. It minimizes writes to the usb stick to extend its life. Between Tor and Privoxy, DNS requests and page content are fairly secure. I haven't heard of any firewalls or content filtering boxes sniffing Tor traffic and effectively conducting man in the middle attacks on it. Depending on the sophistication of said device, it might not sniff SSL connections, so you could save some trouble that way.
__________________
MD5(sig) = bcef75433db02e9ad9bf81d6f7c5c270
Dameon is offline   Reply With Quote
Old Sep 19th, 2005, 10:54 PM   #24
jasper_ferrer
Newbie
 
Join Date: Sep 2004
Posts: 23
Rep Power: 0 jasper_ferrer is on a distinguished road
what you need is an http client script that supports redirection. you pass the urls you want to visit via the query string. then you modify the links on the page returned by the http client.

e.g.
<a href="http://www.somewhere.com/somepage.html">

becomes

<a href="http://www.yourserver.com/yourscript.php?url=[urlencoded href value above]

do this for both relative and absolute urls. then you send it back to the browser. note that images will load directly from the origin server not from yours, of course you can easily fix that.

i havent really had the time to figure out how to handle forms. but for simply loading pages and following links this approach works well.

this is not theory, this was my very first task i was assigned where i work today.

good luck!
jasper_ferrer is offline   Reply With Quote
Old Sep 19th, 2005, 11:26 PM   #25
iignotus
Professional Programmer
 
iignotus's Avatar
 
Join Date: Apr 2005
Location: Nowhere Special
Posts: 466
Rep Power: 4 iignotus is on a distinguished road
Send a message via AIM to iignotus
Jasper, that won't work since the filtering is based on content, and the IP of the server the script is on will be blocked by any competent sysadmin.
__________________
% rc4 hexkey < input > output
#define S ,t=s[i],s[i]=s[j],s[j]=t /* rc4 hexkey <file */
unsigned char k[256],s[256],i,j,t;main(c,v,e)char**v;{++v;while(++i)s[ 
i]=i;for(c=0;*(*v)++;k[c++]=e)sscanf((*v)++-1,"%2x",&e);while(j+=s[i]
+k[i%c]S,++i);for(j=0;c=~getchar();putchar(~c^s[t+=s[i]]))j+=s[++i]S;}
iignotus is offline   Reply With Quote
Old Sep 19th, 2005, 11:58 PM   #26
jasper_ferrer
Newbie
 
Join Date: Sep 2004
Posts: 23
Rep Power: 0 jasper_ferrer is on a distinguished road
yes, but if i understand correctly, only search results from google (or any other search engines) are filtered.

as for the server's ip, let ghost_stalker bother with that.

this is a nice programming challenge for ghost_stalker and he/she can use it in school, at home or whereever he/she wishes to.
jasper_ferrer is offline   Reply With Quote
Old Sep 20th, 2005, 12:39 AM   #27
iignotus
Professional Programmer
 
iignotus's Avatar
 
Join Date: Apr 2005
Location: Nowhere Special
Posts: 466
Rep Power: 4 iignotus is on a distinguished road
Send a message via AIM to iignotus
Quote:
yes, but if i understand correctly, only search results from google (or any other search engines) are filtered.
I don't know why that would be. I'm sure the entire page passes through a parser and just does a quick check on content, which would have no restrictions of only working on a search engine such as Google.
__________________
% rc4 hexkey < input > output
#define S ,t=s[i],s[i]=s[j],s[j]=t /* rc4 hexkey <file */
unsigned char k[256],s[256],i,j,t;main(c,v,e)char**v;{++v;while(++i)s[ 
i]=i;for(c=0;*(*v)++;k[c++]=e)sscanf((*v)++-1,"%2x",&e);while(j+=s[i]
+k[i%c]S,++i);for(j=0;c=~getchar();putchar(~c^s[t+=s[i]]))j+=s[++i]S;}
iignotus is offline   Reply With Quote
Old Sep 20th, 2005, 3:37 AM   #28
jasper_ferrer
Newbie
 
Join Date: Sep 2004
Posts: 23
Rep Power: 0 jasper_ferrer is on a distinguished road
well, ghost_stalker, i guess your really out of luck. its a nice challenge though, you'll learn about the http protocol, sockets, html parsing etc.

dont' take iignotus posts as negative, just think of it as an advice on what ur up against
jasper_ferrer is offline   Reply With Quote
Old Sep 20th, 2005, 2:20 PM   #29
iignotus
Professional Programmer
 
iignotus's Avatar
 
Join Date: Apr 2005
Location: Nowhere Special
Posts: 466
Rep Power: 4 iignotus is on a distinguished road
Send a message via AIM to iignotus
Quote:
dont' take iignotus posts as negative, just think of it as an advice on what ur up against
Haha that's what I intend them to be taken as :p

But actually, tempest had a good idea that may work. You should follow my advice of not even bothering with it, considering the amount of problems it can land you, but if you absolutely had to go about doing it, his idea is a possibility.
__________________
% rc4 hexkey < input > output
#define S ,t=s[i],s[i]=s[j],s[j]=t /* rc4 hexkey <file */
unsigned char k[256],s[256],i,j,t;main(c,v,e)char**v;{++v;while(++i)s[ 
i]=i;for(c=0;*(*v)++;k[c++]=e)sscanf((*v)++-1,"%2x",&e);while(j+=s[i]
+k[i%c]S,++i);for(j=0;c=~getchar();putchar(~c^s[t+=s[i]]))j+=s[++i]S;}
iignotus is offline   Reply With Quote
Reply

Bookmarks

« Previous Thread in Forum | Next Thread in Forum »

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump




DaniWeb IT Discussion Community
All times are GMT -5. The time now is 9:18 AM.

Powered by vBulletin® Version 3.7.0, Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Copyright ©2007 DaniWeb® LLC