Results 1 to 10 of 16

Thread: How to use proxychains.

Hybrid View

  1. #1
    Administrator sickness's Avatar
    Join Date
    Jan 2010
    Location
    Behind the screen.
    Posts
    2,921

    Default How to use proxychains.

    Ok this is a basic tutorial. (Needs TOR to run.)
    Now if you don't know already proxychains allows tunneling TCP or DNS trough proxies. It supports HTTP, socks4 and socks5 proxy servers that can be chained together.
    Proxychains is used to:
    -hide your ip
    -run programs trough proxy servers
    -acces your home network from the outside trought reverse proxy.
    Ok now Backtrack already has it installed so we are going to skip that part and go the the configuration.
    To configure Proxychains just open a terminal and type in : "nano /etc/proxychains.conf" as you can see we have some features about how the program chains proxies:
    -dynamic_chain: takes the proxies in the order you added them and skips dead proxies.
    -random_chain: takes the proxies from the list in a random order.
    -strict_chain: takes the proxies in the order you added them like the dynamic_chain except this chaining option does not skip dead proxies.

    Ok after you pick up the chain option you need to add proxies, if you scrool down proxychains.conf you will find something like this :
    Code:
    # ProxyList format
    #       type  host  port [user pass]
    #       (values separated by 'tab' or 'blank')
    This tells you how the proxies should be added to the list, you can separate type from host and the rest just by adding a black space or by hitting the "tab" key.

    Than you will see the proxylist where we can add our proxies:
    Code:
    [ProxyList]
    # add proxy here ...
    # meanwile
    # defaults set to "tor"
    socks4 	127.0.0.1 9050
    Ok after the last line "socks4 127.0.0.1 9050" (do not DELETE that!) we add our proxies. We can find those with a simple search on google.
    After we finished our configuration, we save the file. Now it's time to run the program.

    Code:
    proxyresolv targethost.com
    (this command is used to resolve host names via proxy or tor)

    Code:
    proxychains firefox site.com
    (this command tells the proxychains program that after he passed trough the proxies you added in the proxychains.conf file to connect to the "site.com" via firefox)

    Code:
    proxychains telnet target
    (same as previous definition, only this time it connects trought telnet to the target)

    Well as I specified at the beginning it is a basic tutorial. Hope you like it!
    P.S. Sorry if I didn't type all the words correct, I was in a hurry.
    Last edited by sickness; 08-14-2010 at 01:12 PM.

  2. #2
    Super Moderator Archangel-Amael's Avatar
    Join Date
    Jan 2010
    Location
    Somewhere
    Posts
    8,012

    Default Re: How to use proxychains.

    Quote Originally Posted by sickness View Post
    P.S. Sorry if I didn't type all the words correct, I was in a hurry.
    Then double check it.
    Also I did not read the guide but looked over it. One thing I noticed is that your commands are not wrapped in the [code] tags
    You should do this at a minimum to help define them.

    Code:
     # example code box

  3. #3
    Developer
    Join Date
    Mar 2007
    Posts
    6,126

    Default Re: How to use proxychains.

    Just to sort of echo what Archangel.Ameal has said, there is no need or reason to be in a hurry when writing a "How To". I do appreciate the time you have taken to research and document these subjects however when writing a tutorial you need to make sure of a few things:

    1. Everything is spelled right
    2. Everything works
    3. You did not leave out any steps (no matter how dumb you think they are)
    4. All code is properly formatted so lazy people can copy and paste
    5. Everything works

    When we write tutorials they are copied and hot linked all over the internet and sometimes these little pieces of writing are our "reputation" so its important to be as thorough, clear and proffesional as possible.

  4. #4
    My life is this forum Snayler's Avatar
    Join Date
    Jan 2010
    Posts
    1,418

    Default Re: How to use proxychains.

    I second Archangel.Amael's advice about the code boxes. It will make the tutorial easier to read and give it a more organized aspect.
    Last edited by Snayler; 02-26-2010 at 06:31 PM.

  5. #5
    Just burned his ISO
    Join Date
    Jan 2010
    Location
    Hell's wastelands
    Posts
    4

    Default Re: How to use proxychains.

    Is an SSH Chain possible with this procedure?

  6. #6
    Administrator sickness's Avatar
    Join Date
    Jan 2010
    Location
    Behind the screen.
    Posts
    2,921

    Default Re: How to use proxychains.

    I don't think so, from what I have read it supports socks4, socks5, http so I'm not sure about ssh.

  7. #7
    Very good friend of the forum Gitsnik's Avatar
    Join Date
    Jan 2010
    Location
    The Crystal Wind
    Posts
    851

    Default Re: How to use proxychains.

    Quote Originally Posted by sickness View Post
    I don't think so, from what I have read it supports socks4, socks5, http so I'm not sure about ssh.
    You can tunnel anything over proxychains if you need to. SSH is a breeze to do it with. It's obscure to find so I'll give a bit of a hint:
    Code:
    -o ProxyCommand
    Still not underestimating the power...

    There is no such thing as bad information - There is truth in the data, so you sift it all, even the crap stuff.

  8. #8
    Just burned his ISO Jaylong's Avatar
    Join Date
    Dec 2010
    Location
    China
    Posts
    15

    Default i test failed maybe something wrong

    strict_chain
    [ProxyList]
    # add proxy here ...
    # meanwile
    # defaults set to "tor"
    socks4 127.0.0.1 9050
    http 127.0.0.1 8000
    ./proxy.py
    HTTPS Enabled: NO
    Direct Fetch : NO
    Listen Addr : 127.0.0.1:8000
    Local Proxy :
    Fetch Server :
    i promise this Gapproxy work fine.
    proxyresolv http://www.ip138.com/
    |S-chain|-<>-127.0.0.1:9050-<--timeout
    proxyresolv http://www.ip138.com/
    |S-chain|-<>-127.0.0.1:8000-<><>-4.2.2.2:53-localhost - - [15/Mar/2011 20:58:19] code 501, message Local proxy error, HTTPS needs Python2.6 or later.
    localhost - - [15/Mar/2011 20:58:19] "CONNECT 4.2.2.2:53 HTTP/1.0" 501 -
    <--denied
    i am confused seems like it doesnot work
    斯须九重真龙出,一洗万古凡马空

  9. #9
    Administrator sickness's Avatar
    Join Date
    Jan 2010
    Location
    Behind the screen.
    Posts
    2,921

    Default Re: i test failed maybe something wrong

    Not sure what you are trying there but it clearly tells you that you need a newer python.
    Back|track giving machine guns to monkeys since 2007 !

    Do not read the Wiki, most your questions will not be answered there !
    Do not take a look at the: Forum Rules !

  10. #10
    Just burned his ISO Jaylong's Avatar
    Join Date
    Dec 2010
    Location
    China
    Posts
    15

    Default 回复: Re: i test failed maybe something wrong

    Quote Originally Posted by sickness View Post
    Not sure what you are trying there but it clearly tells you that you need a newer python.
    above i using google proxy, i see.update later
    斯须九重真龙出,一洗万古凡马空

Posting Permissions

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