Quick Search for:  in language:    
URL,purpose,Block,show,many,exploits,availabl
   Code/Articles » |  Newest/Best » |  Community » |  Jobs » |  Other » |  Goto » | 
CategoriesSearch Newest CodeCoding ContestCode of the DayAsk A ProJobsUpload
Visual Basic Stats

 Code: 3,011,557. lines
 Jobs: 115. postings

 How to support the site

 
Sponsored by:

 

You are in:

 
Login



Latest Code Ticker for Visual Basic.
Click here to see a screenshot of this code!Danger:Can pc kill me? interesting article
By Xasan on 6/30

(Screen Shot)

AniViewer
By Jerrame Hertz on 6/30


Click here to see a screenshot of this code!Raw Packet Sniffer
By Coding Genius on 6/30

(Screen Shot)

Check the support of a record set
By Freebug on 6/30


B++ Builder - VB without runtimes
By Anthonius on 6/30


Mr Blonde - Chat Program
By Mr Blonde on 6/30


MSN Messenger Status Detector
By Ryan Cain on 6/30


MSN advanced
By alias1990 on 6/30


MSN Messenger advanced
By alias1990 on 6/30


Click here to put this ticker on your site!


Add this ticker to your desktop!


Daily Code Email
To join the 'Code of the Day' Mailing List click here!





Affiliate Sites



 
 
   

Block This v2.0

Print
Email
 
winzip icon
Submitted on: 3/2/2001 8:16:28 PM
By: Christopher Streva 
Level: Intermediate
User Rating: By 22 Users
Compatibility:VB 6.0

Users have accessed this code 11544 times.
 

(About the author)
 
     The purpose of Block This is to show off one of the many exploits available for poorly coded URL filtering applications/proxies. It is very easy to use and can help anyone who is interested in creating some form of URL blocking program. In this new version of Block This (v2.0), the code is much smaller than it used to be. It also is easier for someone to understand if they wish to buils a similar application using my code as an example. If you like this code and you can put it to good use, please vote for it. I spent a long time fixing this code up and nothing would make me feel better than to know that people can make use of it. Special thanks to Adam Wechsler who was a big help in cleaning up the application!

 
winzip iconDownload code

Note: Due to the size or complexity of this submission, the author has submitted it as a .zip file to shorten your download time. Afterdownloading it, you will need a program like Winzipto decompress it.

Virus note:All files are scanned once-a-day by Planet Source Code for viruses,but new viruses come out every day, so no prevention program can catch 100% of them.

FOR YOUR OWN SAFETY, PLEASE:
1)Re-scan downloaded files using your personal virus checker before using it.
2)NEVER, EVER run compiled files (.exe's, .ocx's, .dll's etc.)--only run source code.
3)Scan the source code with Minnow's Project Scanner

If you don't have a virus scanner, you can get one at many places on the net including:McAfee.com

 
Terms of Agreement:   
By using this code, you agree to the following terms...   
1) You may use this code in your own programs (and may compile it into a program and distribute it in compiled format for languages that allow it) freely and with no charge.   
2) You MAY NOT redistribute this code (for example to a web site) without written permission from the original author. Failure to do so is a violation of copyright laws.   
3) You may link to this code from another website, but ONLY if it is not wrapped in a frame. 
4) You will abide by any additional copyright restrictions which the author may have placed in the code or code's description.
 
Report Bad Submission
Use this form to notify us if this entry should be deleted (i.e contains no code, is a virus, etc.).
Reason:
 
Your Vote!

What do you think of this code(in the Intermediate category)?
(The code with your highest vote will win this month's coding contest!)
Excellent  Good  Average  Below Average  Poor See Voting Log
 
Other User Comments
3/3/2001 4:17:45 PM:Christopher Streva
Love it? Hate it? Have any 
suggestions?
Do me a favor and add 
in your comments. Please, SPEAK YOUR 
MIND! I won't make me mad, it will just 
make me want to fix the program. Who 
knows, you might be on the special 
thanks list for the next version of 
Block This.
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
3/4/2001 7:12:46 PM:MAGiC MANiAC^mTo
Can you now add in the next version a 
demonstration how to use this code in a 
application that blocks the unwanted 
urls in Internet Explorer?...
Keep 
on going...
Code looks great!...
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
3/4/2001 10:00:02 PM:ChristopherStreva
That's the best use I could ever make 
of this code. Thank you very much 
MagicManiac, you'll be on the special 
thanks list for that application for 
sure!
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
3/5/2001 9:15:49 PM:Mike Metral
Wow! this program's bad
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
3/5/2001 9:18:20 PM:Mike Metral
J/k about my last message, this 
program's great it works very well!! 
nice coding too!!!
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
3/5/2001 9:19:37 PM:Christopher Streva
Thanks mike!
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
3/5/2001 9:23:27 PM:Christopher Streva
why is everyone who voted named mike?
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
3/8/2001 1:58:37 PM:Pizzan
Good code! Very useful and easy to use. 
Keep on coding!
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
3/9/2001 2:04:00 PM:Bubba666
Not that useful, but still cool....
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
4/6/2001 1:33:53 PM:Christopher Streva
I'd really like to thank aall the 
people who voted for my application and 
I'm glad you could make good use of it. 
Please leave any comments you may have 
to help me out in future versions of 
this program.
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
4/8/2001 8:14:40 AM:Dave
I love it! I love going on hacking 
sites at school.
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
4/8/2001 4:18:17 PM:Christopher Streva
That was basicly the entire reason for 
building this. Some sites on URL 
filtering apps are filtered unjustly 
and that's not my idea of protecting a 
child from the net.
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
4/9/2001 11:35:33 AM:Paul Pickard
Great Application! Now I can show off 
at school by opening websites that are 
blocked! Just one thing, what use is 
the Binary and Decimal conversion?
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
4/9/2001 2:00:45 PM:Christopher Streva
That's what allows you to bypass the 
filering apps. Most filters can't 
detect the URL manipulation.
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
4/24/2001 11:39:57 PM:Ted Parker
I think this code converts a url to 
digits and that you can then enter the 
digits into the url address box of your 
browser and it will go to the 
address?
I've tried it on a system 
with a firewall and one without a 
firewall and get the same general error 
site not fond message from the 
browser.
What am I doing 
wrong?
Thanks, Ted
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
4/25/2001 1:54:02 PM:Chris Streva
You're probably puting in a full scale 
URL instead of just a domain. A domain 
would be Yahoo.com, and you're probably 
puting in something like 
yahoo.com/rm/1.
If this isn't the 
case please tell me. In the new block 
this i will show you the unlimited 
possibilities of block this so that you 
can use it to your advantage.
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
4/25/2001 10:29:45 PM:Ted Parker
Hello Again,
No, I'm entering like 
you say to do.  I believe the problem 
must be with a browser setting?
Your 
program creates http://3631443189 for 
yahoo.com.  I enter this into the 
browser address window and then the 
browser comes back with the general 
failure to find that address.  I am 
using IE6 from Microsoft as my 
browser.
Thanks for looking into it. 
 It must be pretty neat to be able to 
access pages that are normally not 
available!
Ted Parker
ted@aol.com
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
4/26/2001 11:47:11 AM:Simon
when i enter yahoo.com, or any other 
site, as the url i get the you screwed 
up msgbox. But it does work when i 
enter the ip address of our proxy as 
the url. does any body have any idea 
why
that might be?
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
4/26/2001 6:15:43 PM:Chris Streva
The problem lies within the fact you're 
using IE6. It eliminated the 
possibility of accessing converted URLs 
so URL filtering apps cannot be 
bypassed. Try it with netscape or IE5 
or earlier.
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
4/27/2001 11:41:52 AM:Sergey
Hey dude, great program. Great example 
on how to convert numbers.
I would 
think that if there's a proxy that 
filters URLs, you won't be able to get 
IP address this way, the proxy won't 
let you connect to port 80, but you can 
probably do nslookup or ping to get an 
IP.
If all you want to do is to 
convert IPs to decimals you can use the 
following code:
    Dim strIP As 
String
    Dim idx As Long
    Dim ar 
As Variant
    Dim cur(3) As 
Currency
    ar = 
Split(txtIP.Text, 
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
4/27/2001 11:43:56 AM:Sergey
Dim strIP As String
Dim idx As 
Long
Dim ar As Variant
Dim cur(3) As 
Currency
ar = Split(txtIP.Text, 
".")
If IsArray(ar) Then
    For idx 
= 0 To 3
        cur(idx) = 
CCur(ar(idx)) * (256 ^ (3 - idx))
Next idx
    txtFinalURL.Text = 
"http://" & CStr(cur(0) + cur(1) + 
cur(2) + cur(3))
End If
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
4/27/2001 1:49:39 PM:Chris Streva
Actually, the proxy is only utilized 
through browsers such as Netscape and 
IE, you cannot place a proxy over every 
connection made by a PC, that would be 
a firewall. 
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
10/23/2002 12:34:51 AM:Chad Gutowsky
Slickness.... Good job....
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
2/15/2003 4:24:08 PM:Fredrick Turner
Your code worked FLAWLESS...I have a 
few ideas for it's use...!
Thanx for 
sharing this code with everyone here at 
PSC
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
2/15/2003 4:26:12 PM:Fredrick Turner
Your code worked FLAWLESS... I'll just 
like to thank you for sharing it with 
all of us here at PSC... 
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
Add Your Feedback!
Note:Not only will your feedback be posted, but an email will be sent to the code's author in your name.

NOTICE: The author of this code has been kind enough to share it with you.  If you have a criticism, please state it politely or it will be deleted.

For feedback not related to this particular code, please click here.
 
Name:
Comment:

 

Categories | Articles and Tutorials | Advanced Search | Recommended Reading | Upload | Newest Code | Code of the Month | Code of the Day | All Time Hall of Fame | Coding Contest | Search for a job | Post a Job | Ask a Pro Discussion Forum | Live Chat | Feedback | Customize | Visual Basic Home | Site Home | Other Sites | About the Site | Feedback | Link to the Site | Awards | Advertising | Privacy

Copyright© 1997 by Exhedra Solutions, Inc. All Rights Reserved.  By using this site you agree to its Terms and Conditions.  Planet Source Code (tm) and the phrase "Dream It. Code It" (tm) are trademarks of Exhedra Solutions, Inc.