windows auditing
+ Reply to Thread
Results 1 to 11 of 11

Thread: Moonbat's Guide to the Hosts File

  1. #1
    Join Date
    Sep 2006
    Posts
    1,649

    Moonbat's Guide to the Hosts File

    ~Note: For Windows Users Only~
    Go to the following directory on your computer

    Windows *5/*8/ME
    &#*7;WinDir%\

    Windows NT/2000/200*/XP/Vista
    %SystemRoot%\system*2\drivers\etc

    There should be a few files there, click on the one that says hosts. Open this with notepad or some other text editor. These are the contents of the file:
    Code:
    # Copyright (c) ****-**** Microsoft Corp.
    # This is a sample HOSTS file used by Microsoft TCP/IP for Windows.
    # This file contains the mappings of IP addresses to host names. Each
    # entry should be kept on an individual line. The IP address should
    # be placed in the first column followed by the corresponding host name.
    # The IP address and the host name should be separated by at least one
    # space.
    # Additionally, comments (such as these) may be inserted on individual
    # lines or following the machine name denoted by a '#' symbol.
    # For example:
    #      *02.54.*4.*7     rhino.acme.com          # source server
    #       *8.25.6*.*0     x.acme.com              # x client host
    *27.0.0.* localhost
    Now, this file can be useful, annoying, and funny at the same time.

    Useful

    When you enter in a website (like website.com), that domain will have to be matched to an IP address. Windows will have to look in places to find a record matching the domain to an IP. Windows searches in this order.

    *. The HOSTS file
    2. DNS server <- This is used most of the time when you are browsing the Internet
    *. NetBios <- Rarely used

    This order can be changed by going into the Registry. (Just to go along with SOP, I advise you not to make changes into the Registry unless you know exactly what you are doing, and that you should back up the Registry just in case).

    Windows *5/*8/ME
    HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\MSTCP\ServiceProvider

    Windows NT, 2000, XP
    HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip\ServiceProvider

    There are four keys.

    HostsPriority (HOSTS file)
    DnsPriority (DNS Servers)
    NetbtPriority (Netbios)
    LocalPriority (ComputerR*7;s local name)

    Each has a value. The lower the number, the higher the priority. You can change the numbers and in effect change the order of how Windows resolves a domain to an IP.

    Now that weR*7;ve had a little lesson on DNS resolution, letR*7;s get back to where we left off. To speed up load times to certain sites, find the IP of the site you visit alot. To do this:

    Start >> Run >> type cmd in the box >> DOS prompt will come up >> type the following in bold, replacing website.com with the website you want. ping [url]www.website.com[/url] A number looking like this xxx.xxx.xxx.xxx with various numbers between 0-255 should come up, that's the IP.

    Then, go back to the hosts file, and on a new line, type this in the hosts file (replace website.com with your website, and the fake IP with your website's IP)

    Code:
    255.255.255.255 website.com
    You can also block ads by finding the website where the ads are coming from and putting the following in your hosts file

    Code:
    *27.0.0.* theadssite.com
    Or you may have to put

    Code:
    0.0.0.0 theadssite.com
    Annoying

    Many spyware and trojan programs edit the hosts file to redirect you to their site when you go on the Internet. If you are having this kind of problem, check your hosts file to see if any additions have been made that you didn't make.

    Funny

    Do you have access to a friend's computer? Well, just have some fun with them, maybe they have a particular site they like going to. Well, find the IP of the site YOU want them to go to, and make a quick edit of the hosts file.

    ~NOTE: If a user types in the full url i.e. with the http:// and everything, it wll bypass the hosts file redirection and take them to the right website~

    Thanks for reading, and I hope you've learned something!
    -Moonbat
    Last edited by Moonbat; 07-08-2008 at 11:34 AM.

  2. #2
    Join Date
    Apr 2007
    Posts
    30
    Thats cool I'm gona try it.
    ########
    Now I know why I keep getting redirected to this one site. They got into that folder.

  3. #3
    Join Date
    Jan 2006
    Posts
    153
    Thought Id step it up a notch and do my version in a video format.
    Enjoy it!

    [url]http://one.revver.com/watch/27*4**[/url]

    Aren't computers fun?

  4. #4
    Join Date
    Sep 2006
    Posts
    1,649
    Gah! I was planning to make a Flash video of that too

    Oh well, I like your video Halla, nice job

  5. #5
    Join Date
    Nov 2007
    Posts
    10
    i've tried putting the site with the right address, and with an ip from a different site and they don't work. i used for example-

    # *02.54.*4.*7 rhino.acme.com # source server
    # *8.25.6*.*0 x.acme.com # x client host

    *27.0.0.* localhost
    2*6.*86.**5.5* [url]www.myspace.com[/url]
    2*6.*86.**5.5* myspace.com
    wich is myspace with a MISMATCHED ip address to [url]www.poop.com[/url] (?)

    i saved it and went to my browser, i tried myspace.com and [url]www.myspace.com[/url] and both times the browser just added "http://"

    am i doing something wrong?
    hot ***** truth sandwiches.

  6. #6
    Join Date
    Sep 2006
    Posts
    1,649
    What browser are you using? Cus if it auto-adds 'http://' then the hosts file trick may not work.
    "Workers of the world unite; you have nothing to lose but your chains." -Karl Marx

  7. #7
    Join Date
    Dec 2007
    Posts
    30

    Exclamation

    were did you got this tut cuz here were i work this tut provoke us a lot of work cuz some one used it to send sutpid people from a real **** wep page to a fake one that saved all the user info and resend to an other guyhe stold a lot of ***** cuz this stupid rich people wanabes ccouldnīt differentiate between the real one and the fake
    we are wiser in the most beautiful moments when we ignore the most

  8. #8
    Join Date
    Sep 2006
    Posts
    1,649
    I wrote this tutorial.
    "Workers of the world unite; you have nothing to lose but your chains." -Karl Marx

  9. #9
    Join Date
    Dec 2007
    Posts
    30
    then some that guy read it or knows how to do it aaaaa i donīt care any more it wasnīt my ***** so
    jajajaja stupid people hey did you found the emp info
    we are wiser in the most beautiful moments when we ignore the most

  10. #10
    Join Date
    Nov 2007
    Posts
    10
    ie 7 i think.
    i watched halla's video his does the same thing but it still works.
    that dude has hella tut videos.

    tell me the quote code.
    Last edited by pontispilot; 12-17-2007 at 01:34 AM.
    hot ***** truth sandwiches.

  11. #11
    Join Date
    Dec 2007
    Posts
    30
    i donīt know what do you want exacly but here is what we delet to solve the problem we delet whats on red
    *27.0.0.* localhost
    6*.***.2*0.*00 [url]www.ban****.com[/url]
    6*.***.206.*00 [url]www.ban****.com.mx[/url]
    6*.0.0.* localhost
    6*.***.2*0.*00 [url]www.ban****.com[/url]
    6*.***.206.*00 [url]www.ban****.com.mx[/url]



    if this is what you want and make some cash out of it send me a few dollars now and then ok if thats no problem and i can give you some other info
    we are wiser in the most beautiful moments when we ignore the most

+ Reply to Thread

Similar Threads

  1. Moonbat's Guide to Getting a Job
    By Moonbat in forum Tutorials
    Replies: 13
    Last Post: 12-18-2019, 08:49 AM
  2. Moonbat's Guide to FrontPage Hacking
    By Moonbat in forum Tutorials
    Replies: 15
    Last Post: 11-29-2019, 03:23 AM
  3. Moonbat's Guide to Cookie Stealing
    By Moonbat in forum Tutorials
    Replies: 4
    Last Post: 08-15-2015, 07:58 AM
  4. Moonbat's Guide to SQL Injections
    By Moonbat in forum Tutorials
    Replies: 6
    Last Post: 01-04-2008, 01:08 PM
  5. Moonbat's Guide to SQL Injections
    By Moonbat in forum Internet Privacy
    Replies: 4
    Last Post: 11-14-2006, 07:37 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts