Results 1 to 12 of 12

Thread: Use SSH tunnel with ANY bot

  1. #1
    aaearon
    Guest

    Red face Use SSH tunnel with ANY bot

    How to run bots through SSH tunnel proxies when the bots don’t have proxy support built in:

    WHAT YOU NEED:
    • Shell account(s) that allow SSH tunneling
    PuTTY: a free telnet/ssh client
    Proxifier - Bypass firewall and proxy, tunnel connections through an HTTPS and SOCKS proxy

    1) Set up your SSH tunnel by following the tutorial at Use PuTTY as a secure proxy on Windows | TechRepublic

    2) Install Proxifier

    3) In Proxifier, go to Profile -> Proxy Servers. When that dialog opens, click the Add button and for the Address put 127.0.0.1 and for the Port put in the source port you put in PuTTY (IF YOU FOLLOWED THE ABOVE TECHREPUBLIC TUTORIAL, IT IS 8080). Make sure the Protocol is SOCKS5. Press OK.

    4) Make sure that the server you added (127.0.0.1ort) is there. It is a smart idea to click on the server and click Check to make sure the proxy is working (Same dialog, forth button from the top.) IF IT FAILS, SKIP TO THE BOTTOM FOR TROUBLESHOOTING IDEAS. After that click OK.

    5) Go to Profile -> Proxification Rules. When that dialog opens, there should be two rules there already. Localhost and Default. I recommend leaving Localhost as it is and make sure the action under Default is direct. From there click Add to add a new rule and name it anything you want. You can go about doing the next step two days:

    a. Apply the proxification rule by Application OR
    b. Apply the proxification rule by Target Host

    I recommend doing it by Target host because if you do it by Application then all traffic through the bot will be routed through the SSH tunnel and with that bots you must authenticate and use your IP this can be a pain in the ass.

    Here is how you do it by Target Host:

    Basically you put in the promo address that the bot uses to interact with the promo. FOR EXAMPLE: Taco Bell/Pepsi Samsung Tab IWG address is www.pepsisamsungpromo.com. The Chevron Lets Go IWG address is www.letsgotoday2011.com

    For the action, from the box select Proxy SOCKS5 127.0.0.1 and click OK.

    6) Make sure that Default is at the bottom of the proxification rules. Rules are processed from top to bottom. Use the arrows at the right to change the order.

    TROUBLESHOOTING
    • When checking your proxy with Proxifier’s Proxy Check it isn’t working:

    o In PuTTY, make sure you are logged in to your shell! It is not enough to just have the information plugged into PuTTY you MUST HAVE LOGGED INTO YOUR SHELL BY INPUTTING YOUR LOGIN AND PASSWORD.

    • When getting this in Proxifier: [07.18 17:54:33] xxxx.exe - www.letsgotoday2011.com:80 error : Could not connect to proxy 127.0.0.1:4567 - connection attempt failed with error 10061

    o In PuTTY, make sure you are logged in to your shell! It is not enough to just have the information plugged into PuTTY you MUST HAVE LOGGED INTO YOUR SHELL BY INPUTTING YOUR LOGIN AND PASSWORD.

    IF YOU HAVE MADE SURE YOU ARE LOGGED INTO YOUR SHELL AND THAT ALL THE SETTINGS ARE CORRECT, IT IS POSSIBLE THAT THE SHELL HAS SSH TUNNELING DISABLED. IF THIS IS THE CASE, YOU ARE OUT OF LUCK AND MUST USE A NEW SHELL THAT HAS SSH TUNNELING ENABLED.

    aaearon

  2. Than/ks Gogoplata, »devman«, Restricted1, »JarrodJS« thanked for this post
    Likes »devman«, »JarrodJS« liked this post
  3. #2
    Member
    Join Date
    Jul 2011
    Posts
    48
    Bots Posted
    0
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    nice post thanks

  4. #3
    hazcat
    Guest
    thanks for the tutorial

  5. #4
    Member
    Join Date
    Jul 2011
    Posts
    60
    Bots Posted
    0
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Thank you for the tutorial.

    Unfortunately, I ran into an issue that I cant figure out. Every time I run putty and hit open after adding the 8080 port in tunnel all I get is a command prompt window with a green rectangle. It does not prompt for a username or password. Any idea on what I am doing incorrectly? I've open port 22 and 443.
    Last edited by Gogoplata; 07-18-2011 at 09:33 PM.

  6. #5
    aaearon
    Guest
    When you are opening the connection in putty, is the correct protocol radio box selected? I.e is it SSH and not telnet, etc? Do you have another shell you can try to connect to to see if you at least get a prompt?

  7. #6
    Member
    Join Date
    Jul 2011
    Posts
    60
    Bots Posted
    0
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by aaearon View Post
    When you are opening the connection in putty, is the correct protocol radio box selected? I.e is it SSH and not telnet, etc? Do you have another shell you can try to connect to to see if you at least get a prompt?
    Just double checked and the SSH protocol is selected. I tried connecting to my brother's laptop and this time around I received a prompt indicating the network was unreachable.

  8. #7
    aaearon
    Guest
    Would you mind PMing me it and seeing if I can at least hit it?

  9. #8
    Member
    Join Date
    Jul 2011
    Posts
    48
    Bots Posted
    0
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    You need to make sure you are trying to ssh a pc that allows sshing like a computer that is running a linux/unix OS

  10. #9
    Member
    Join Date
    May 2011
    Posts
    84
    Bots Posted
    0
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    For hostname in Putty, do you puyt your router IP like 192.168.2.1?

  11. #10
    aaearon
    Guest
    Quote Originally Posted by JarrodJS View Post
    For hostname in Putty, do you puyt your router IP like 192.168.2.1?
    No. You put in the address for a shell provider (shellmix.com, sdf.org, etc are examples of free shell providers. Note: SDF doesn't support ssh tunneling.)

  12. #11
    Pancake
    Guest
    Thank you for this thread, I was trying to find a guide or something on how to SSH using a shell and be able to use a bot with this. Most sweep sites these days end up silent banning you or out right banning your IP.

    Thanks again.

  13. #12
    Junior Member
    Join Date
    Jan 2012
    Posts
    13
    Bots Posted
    0
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Thanks for the info!

Posting Permissions

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