Results 1 to 8 of 8

Thread: Backtrack .. and TOR .. you dont say!

  1. #1
    Junior Member
    Join Date
    Jan 2010
    Posts
    36

    Default Backtrack .. and TOR .. you dont say!

    This is almost to easy but i just might save a few of you some time so here we go.

    Like i said .. almost to easy...

    Code:
    cd /tmp/
    wget http://www.torproject.org/dist/tor-0.2.1.21.tar.gz
    tar xvf tor-0.2.1.21.tar.gz
    rm tor-0.2.1.21.tar.gz
    cd tor-0.2.1.21
    ./configure
    make
    make install
    cd ..
    rm -rf tor-0.2.1.21
    
    mv /usr/local/etc/tor/torrc.sample /usr/local/etc/tor/torrc
    echo "RunAsDaemon 1" >> /usr/local/etc/tor/torrc
    Polipo is for web-browsing, its a little bit newer but your welcome to go the other road if you like.

    Code:
    apt-get -y install polipo
    Now we just need to grab a workable conf file before we are ready to go. I also like to remove it from startup because i cant stand unused open ports, but your welcome to leave it.

    Code:
    wget --no-check-certificate https://svn.torproject.org/svn/torbr...ig/polipo.conf
    rm /etc/polipo/config
    mv polipo.conf /etc/polipo/config
    update-rc.d -f polipo remove
    Pretty simple rite? But since your here lets do a few other things real fast.

    1. Open firefox and go to about:config
    2. Search for google and remove EVERYTHING .. "google=skynet"
    3. You dont have to but its nice to enable forward dns through socks just incase you need it and forget
    4. Remove all cookies and history on close.
    5. Now Download these fine plugns.

    https://addons.mozilla.org/en-US/firefox/addon/2275 # torbutton
    https://addons.mozilla.org/en-US/firefox/addon/590 # show-ip
    https://addons.mozilla.org/en-US/firefox/addon/59 # user agent switcher
    https://addons.mozilla.org/en-US/firefox/addon/953 # ref control
    Adblock Plus: Installation # addblockplus

    Now since im a nice guy i figured i might as well give you these horrible scripts that get the job done.

    Just paste into shell and type tor-up or tor-down, enable torbutton in FF and your off.

    #### OUR RUN SCRIPT ####
    Code:
    echo '#!/bin/sh' > /usr/bin/tor-up
    echo "/usr/local/bin/tor > /dev/null 2>&1" >> /usr/bin/tor-up
    echo "/etc/init.d/polipo start > /dev/null 2>&1" >> /usr/bin/tor-up
    chmod 755 /usr/bin/tor-up
    #### OUR RUN SCRIPT ####
    Code:
    echo '#!/bin/sh' > /usr/bin/tor-down
    echo "killall tor > /dev/null 2>&1" >> /usr/bin/tor-down
    echo "/etc/init.d/polipo stop > /dev/null 2>&1" >> /usr/bin/tor-down
    chmod 755 /usr/bin/tor-down

  2. #2
    Just burned his ISO
    Join Date
    Jan 2010
    Location
    your AP
    Posts
    5

    Default Re: Backtrack .. and TOR .. you dont say!

    ^^Good job, but you know Tor is in the Repo in BT4..

    An alternative install for privoxy users would be:

    apt-get install tor

    then

    apt-get install gedit

    Edit privoxy file(I dont like polipo)

    gedit /etc/privoxy/config

    scroll down the config file to section "2.6. logfile" and comment out the logfile as so :

    #
    logifile logfile
    #

    change to:
    #
    #logifile logfile
    #

    Then scroll down the txt/config file to section "5.2. forward-socks4, forward-socks4a and forward-socks5" and comment in the forward requests like so:

    #
    # forward-socks5 / 127.0.0.1:9050 .
    #

    change to

    #
    forward-socks5 / 127.0.0.1:9050 .
    #


    in terminal:

    /etc/init.d/privoxy restart && /etc/init.d/tor restart - needed to apply the changes we just made


    Close and save changes and your finished! Just check you manual proxy settings and change accordingly

  3. #3
    Junior Member
    Join Date
    Jan 2010
    Posts
    27

    Default Re: Backtrack .. and TOR .. you dont say!

    Wow...nice guide. GJ

  4. #4
    Just burned his ISO R3104d's Avatar
    Join Date
    Jan 2010
    Location
    Texas
    Posts
    8

    Default Re: Backtrack .. and TOR .. you dont say!

    Just to let yall know, yall can go check out the step by step on the Tor website, too.It's great what you're doing bro but I think they primarily want BT related topics here. I'm not a moderator and I'm not running shit so plz don't take it that way. Here's the link for their tut.:
    hxxp://www.torproject.org/docs/debian.html.en

  5. #5
    Just burned his ISO
    Join Date
    Nov 2010
    Posts
    4

    Default Re: Backtrack .. and TOR .. you dont say!

    Quote Originally Posted by nullbyt3 View Post
    ^^Good job, but you know Tor is in the Repo in BT4..

    An alternative install for privoxy users would be:

    apt-get install tor

    then

    apt-get install gedit

    Edit privoxy file(I dont like polipo)

    gedit /etc/privoxy/config

    scroll down the config file to section "2.6. logfile" and comment out the logfile as so :

    #
    logifile logfile
    #

    change to:
    #
    #logifile logfile
    #

    Then scroll down the txt/config file to section "5.2. forward-socks4, forward-socks4a and forward-socks5" and comment in the forward requests like so:

    #
    # forward-socks5 / 127.0.0.1:9050 .
    #

    change to

    #
    forward-socks5 / 127.0.0.1:9050 .
    #


    in terminal:

    /etc/init.d/privoxy restart && /etc/init.d/tor restart - needed to apply the changes we just made


    Close and save changes and your finished! Just check you manual proxy settings and change accordingly
    I just did what you instructed and within the config file there is no socks5, and when I open a browser and go to 127.0.0.1:9050 I am getting this error:

    Code:
    Tor is not an Proxy
    
    It appears you have configured your web browser to use Tor as an HTTP proxy. This is no correct: Tor is a SOCKS proxy, not an HTTP proxy. Please configure your client accordingly.
    ( Grammars errors included in error ;-) )

    What gives?

  6. #6
    Just burned his ISO
    Join Date
    Aug 2010
    Posts
    15

    Default Re: Backtrack .. and TOR .. you dont say!

    Quote Originally Posted by vrillon View Post
    I just did what you instructed and within the config file there is no socks5, and when I open a browser and go to 127.0.0.1:9050 I am getting this error:

    Code:
    Tor is not an Proxy
    
    It appears you have configured your web browser to use Tor as an HTTP proxy. This is no correct: Tor is a SOCKS proxy, not an HTTP proxy. Please configure your client accordingly.
    ( Grammars errors included in error ;-) )

    What gives?
    In firefox go to Edit --> Preferences --> Network --> Advanced --> Settings
    Choose Manual Proxy Configuration
    In the SOCKS host give 127.0.0.1 and port 9050
    select Socks v5,save and your good to go

  7. #7
    Member macphail's Avatar
    Join Date
    Jun 2010
    Location
    East Coast, USA
    Posts
    164

    Default Re: Backtrack .. and TOR .. you dont say!

    FYI

    in BT4R2, tor is pre-installed.
    Code:
    /usr/local/etc/tor/
    is the default location of torrc and you can simply uncomment "RunAsDaemon 1" to continue.

    polipo.conf can now be found at:
    https://gitweb.torproject.org/torbro...ig/polipo.conf

    ...although i didn't use that, as privoxy suits me fine and is pre-installed. that being said, i commented the logfile entry and uncommented
    forward-socks4a / 127.0.0.1:9050 .
    as was mentioned by nullbyt3

    adblock plus: as of this writing, the version on their site (1.3.1) is incompatible with the version of FF that ships with BT4R2 (3.0.15).

    you should prolly update your up/down scripts, tor's default installation is
    Code:
    /usr/sbin/tor
    .

    ... restarted tor and privoxy as well as FF and good to go!
    Last edited by macphail; 11-28-2010 at 06:29 PM.
    -----------
    ~peace
    MacPhail

  8. #8
    Junior Member
    Join Date
    Aug 2010
    Posts
    51

    Default Re: Backtrack .. and TOR .. you dont say!

    Just followed the steps for privoxy and proxychains and seems that there is summin I have done wrong Not cool at all but thanks so much for the guides

Similar Threads

  1. Backtrack dont starting KDE
    By renatim in forum Beginners Forum
    Replies: 4
    Last Post: 01-19-2010, 10:14 PM

Posting Permissions

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