1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

How to get US IP addresses with TOR

Discussion in 'Black Hat SEO Tools' started by Harris05, Mar 11, 2008.

  1. Harris05

    Harris05 Newbie

    Joined:
    Mar 11, 2008
    Messages:
    13
    Likes Received:
    9
    There are some sites that require you to have an IP from a specific country, but the default setting on TOR chooses a random proxy as the last relay in the chain, giving you a random country IP address. There is an easy way to select a specific country of origin for your observed IP.

    Note: This method requires that you have the Vidalia package.

    1) Make sure that Vidalia and TOR are up and Running
    2) Open up the Network Map feature of Vidalia by right clicking the quicklaunch(windows) and choosing Network Map
    3) In the left hand corner there should be a list of relays listed by their bandwidth, click on one of the relays with the U.S. flag next to it at the top (or whatever country IP you want).
    4) This should give you some information about it, such the city, bandwidth, and IP address.
    5) Write down several of the relay nicknames from the U.S. with the highest bandwidth. The nicknamess are listed on the left under the title relay.
    6) Now, in order to change the TOR settings so that it will use these proxies as the last one in the chain, you will need to change the TOR configuration file. You can find it in Windows by pressing the start button>All Programs> Vidalia Bundle>Tor>TORRC It's a notebook file. Open it up.
    7) Before you change this file, make a copy of it in case you screw something up.
    8)Then write this command, replacing the italicized nickname with the nicknames you wrote down(don't include quotation marks): ?ExitNodes nickname,nickname,...?
    9)This will make TOR want to choose these exit relays unless they are down or really slow. You can add the command ?StrictEntryNodes 0|1? I've never used this command because if TOR doesn't select your chosen exit points, they are too slow to use anyways. But this command could be useful.
     
    • Thanks Thanks x 5
  2. DENNYBOY

    DENNYBOY Jr. VIP Jr. VIP Premium Member

    Joined:
    Feb 18, 2008
    Messages:
    203
    Likes Received:
    843
    Nice post.

    I can not find italicized nickname in TORRC file ..:(

    Any help will be appreciated...

    Thanks
     
  3. Harris05

    Harris05 Newbie

    Joined:
    Mar 11, 2008
    Messages:
    13
    Likes Received:
    9
    Hi Denny,
    You don't find the nicknames in the TORRC. You find them in the network map in vidalia. The exitnodes command isn't in the TORRC until you put it there. And you don't actually italicize the nicknames.
     
  4. battman323

    battman323 Regular Member

    Joined:
    Aug 10, 2007
    Messages:
    449
    Likes Received:
    395
    Occupation:
    Extortionist
    Location:
    None of your damn business
    This is awesome information. This is almost like a free way to getting some of the benefits of a VPN.
     
  5. DaveNL

    DaveNL BANNED BANNED

    Joined:
    May 9, 2007
    Messages:
    454
    Likes Received:
    411
    That is a nice tip thanks
     
  6. h1dd3n

    h1dd3n Regular Member

    Joined:
    Jan 6, 2008
    Messages:
    232
    Likes Received:
    21
    exactly what i was thinking!
    now if these stay up for a long time you can get yourself nearly a static ip with free vpn!
     
  7. ImpactSEO

    ImpactSEO Newbie

    Joined:
    Feb 6, 2008
    Messages:
    9
    Likes Received:
    0
    Where did you input this.. at the top?
     
  8. tintin

    tintin Registered Member

    Joined:
    Mar 14, 2008
    Messages:
    94
    Likes Received:
    7
    Occupation:
    Student
    Location:
    Antwerpen~*
    I use VPNs for this kind of issue.
     
  9. Professor

    Professor BANNED BANNED

    Joined:
    Feb 13, 2008
    Messages:
    67
    Likes Received:
    3
    The following is the config file once I enter in the command, but I'm getting an error msg... help?

    #ExitNodes jalopy, desync, BostonUCompSci, whistlersmother, redpineapple, CH1rrSkur7, bettyboop, TorLuwakOrg, myrnaloy
    # This file was generated by Tor; if you edit it, comments will not be preserved
    # The old torrc file was renamed to torrc.orig.1 or similar, and Tor will ignore it

    # If set, Tor will accept connections from the same machine (localhost only)
    # on this port, and allow those connections to control the Tor process using
    # the Tor Control Protocol (described incontrol-spec.txt).
    ControlPort 9051
    HashedControlPassword 16:935018AC8F06F5DE609C4BF5F495A99095D44E53416D52C844903E8C19
    # Where to send logging messages. Format is minSeverity[-maxSeverity]
    # (stderr|stdout|syslog|file FILENAME).
    Log notice stdout
    # Bind to this address to listen to connections from SOCKS-speaking
    # applications.
    SocksListenAddress 127.0.0.1
     
  10. da buck

    da buck Regular Member

    Joined:
    Feb 24, 2008
    Messages:
    317
    Likes Received:
    116
    Location:
    Ohio
    Is there any way to get faster speeds out of TOR. It takes forever to load pages.
     
  11. h1dd3n

    h1dd3n Regular Member

    Joined:
    Jan 6, 2008
    Messages:
    232
    Likes Received:
    21
    anyone whos having problems with this, heres another guide on this:

    http://www.ghacks.net/2008/01/29/configure-tor-to-use-a-specific-country-as-an-exit-node/
     
  12. Harris05

    Harris05 Newbie

    Joined:
    Mar 11, 2008
    Messages:
    13
    Likes Received:
    9
    I put the exitnodes command at the top of my TORRC, but I believe you can put the command anywhere in the document as long as you don't have a conflicting command.


    You don't put a "#" before a command. It's used before a comment. The command should look like "Exitnodes jalopy, desyne, BostonUCompSci, ...."

    To speed up TOR go to this site:
    http://wiki.noreply.org/noreply/TheOnionRouter/FireFoxTorPerf

    You won't notice a big improvement until you go through all three steps. Before I implemented the speed up changes on this guide I was getting average download rates of 15kb/sec. Afterwards I get an average of 75 kb/s, though it varies considerably from 20/kb/sec to 200 kb/sec.

    Here is an example of the exitnodes command that will choose the 5 fastest servers in the U.S. (at least for me) You can just copy and past this code into your torrc at the top. Make sure you save it first.
    Code:
    ExitNodes jalopy, desync, BostonUCompSci, whistlersmother, CH1rrSkur7
    You will have to changes these servers based on your location, if you want a different country for your IP, or when these servers drop off the grid. Also, you may want to increase the number of servers by adding a few more nicknames.
     
    • Thanks Thanks x 2
  13. 44blackhatters

    44blackhatters Registered Member

    Joined:
    Jan 21, 2008
    Messages:
    52
    Likes Received:
    3
    I've been wondering how to accomplish this -- Great Post! Thanks sent.
     
  14. tsparkle

    tsparkle Newbie

    Joined:
    Jul 25, 2012
    Messages:
    7
    Likes Received:
    2
    Five-Star Post, guy, this was very well-done.

    Just to add a little bit, though. There are many nodes that don't have set nicknames, so they default to 'Unnamed'. This isn't terrible, but if you copy all the US exit nodes' nicknames, you're gonna have a crapload of Unnamed's in your nickname set. This is gonna cause a few nodes to probably never be found, but there's a pretty simple mod to your instructions to make things click better.

    In step 5, don't write them down. Sort the list of nodes by country, and click the first US node, and Shift+Click the last US node (selecting all of them). Right-Click on one of the selected, then Copy -> Fingerprint(s).

    Now in step 8, we're gonna use the same syntax that he did. It'll look like "ExitNodes $Fingerprint1,$Fingerprint2,..." where the list of fingerprints is exactly what's copied to your clipboard, so just paste it there. The dollar sign is part of the fingerprints that you copied, so just paste it and trust me, it'll turn out just right. It's gonna be a huge messy string, but it'll work perfectly, and no nodes will go untapped.

    Cheers.
     
  15. csguy

    csguy BANNED BANNED

    Joined:
    Jul 13, 2012
    Messages:
    396
    Likes Received:
    42
    Yes. It will be slower though since you're moving traffic through 3 hops instead of 1. But still a good free way to cover your ip.
     
  16. closedCaption

    closedCaption Regular Member

    Joined:
    Oct 3, 2011
    Messages:
    289
    Likes Received:
    111
    Thanks OP for info, but be on the alert guys, that TOR is being overused, so don't use
    it to open any kind of account online.
     
  17. SH44tre

    SH44tre Newbie

    Joined:
    May 2, 2012
    Messages:
    40
    Likes Received:
    38
    Occupation:
    misc
    Location:
    It is currently rainy with a chance of more rain
    Great info.

    Only problem is that when using a static exit node like that, it'll mean that all your traffic gets routed through them. Since the main flaw with TOR in general is the possibility that it's using a hostile exit node, if you pick the wrong one all your traffic will get sniffed. So no passwords, personal info, etc. can be used safely unless you use an exit node you know to be safe.
     
  18. tsparkle

    tsparkle Newbie

    Joined:
    Jul 25, 2012
    Messages:
    7
    Likes Received:
    2
    I can't say I've ever had to worry about this too much. Whenever I'm doing blackhat magic, it never involves money or anything traceable to me.
    Wit that being said, I can still feel pretty safe just by configuring Tor's default extensions. HTTPS Everywhere will help protect against malicious nodes, although ssl can be spoofed. Disabling all swfs and scripts on the page with NoScript will prevent any DOM code injections by the exit node as well. I'm not saying it's bulletproof, but I certainly feel comfortable enough to manage a collections of BH facebook profiles and whatnot.
     
    • Thanks Thanks x 1
  19. ThreadKiller

    ThreadKiller Power Member

    Joined:
    Jan 31, 2012
    Messages:
    614
    Likes Received:
    303
    Location:
    London
    OP, finding fingerprints for exit nodes is taking an unnecessarily long route. Just add this to your torrc file to exclude just about every country apart from the US:

    Code:
    [B]ExcludeNodes {be},{pl},{ca},{za},{vn},{uz},{ua},{tw},{tr},{th},{sk},{sg},{se},{sd},{sa},{ru},{ro},{pt},{ph},{pa},{nz},{np},
    {no},{my},{mx},{md},{lv},{lu},{kr},{jp},{it},{ir},{il},{ie},{id},{hr},{hk},{gr},{gi},{gb},{fi},{es},{ee},{dk},{cz},{cy},{cr},{co},
    {cn},{cl}, {ci},{ch},{by},{br},{bg},{au},{at},{ar},{aq},{ao}, {ae},{nl},{de},{fr}[/B]
     
    • Thanks Thanks x 3