Geekiest Techno News

Installing TOR (the onion routing) proxy on Back|track:

Dear l33ts,

Check out this great post from our l33t author “Aniket Napster”.
# TOR on Back|Track:
# With Polipo & Vidalia

I. Preface.

I put this together due to it being difficult to install TOR properly on Back|Track.
While there are other methods used, I personally found this more grounded than others for my personal use. A word of caution: know your machine. I do not recommend just using TOR for your proxy. It’s wise to layer your anonymity (Including your router, if you’re working off a Desktop).

II. Process.

0. Open the Terminal.
1. cd /etc/apt
2. vi sources.list
3. Press ‘i’ on your keyboard.
4. Add this line at the bottom: deb http://deb.torproject.org/torproject.org lucid main
5. Press ESC, type a colon, type wq and hit enter.
6. Run this command: gpg –keyserver keys.gnupg.net –recv 886DDD89
7. Run this command: gpg –export A3C4F0F979CAA22CDBA8F512EE8CBC9E886DDD89 | sudo apt-key add –
8. apt-get update
9. apt-get install tor tor-geoipdb
10. Download Tor Browser Bundle for Ubuntu (To your desktop).
11. cd Desktop
12. tar -zxvf torfilename.tar.gz (Note: You’ll have to change the name).
13. chown -R root:root ./tor-browser_en-US
14. Open the folder ‘Tor-Browser_en-US”
15. Open the file ‘start-tor-browser in gedit.
16. Find the line:

“if [ “`id -u`” -eq 0 ]; then
complain “The Tor Browser Bundle should not be run as root. Exiting.”
exit 1

17. Change to:

if [ “`id -u`” -eq 1 ]; then
complain “The Tor Browser Bundle should not be run as root. Exiting.”
exit 1

18. apt-get install polipo
19. cd /etc/polipo
20. mv config conf-backup.txt
21. Go here, copy all text: (go here: pastebin.com/UgfhPxdt )
22. vi config
23. Press ‘i’ on your keyboard.
24. Paste the text you just copied.
25. Press ESC, type a colon, type wq and hit enter.
26. service polipo start
27. service tor start
28. Start tor browser bundle (From the file on your desktop).
29. Hola,… Done!


Wanna check it?

1. ps aux |grep polipo
2. netstat -ntl

Remember, polipo runs on port 8118, TOR runs on 9050. 😉

Tor and polipo should automatically run when you start Backtrack, but it doesn’t hurt to start them again after a startx:

1. service tor start
2. service polipo start

Be sure to stop both when you need to update anything:

1. service tor stop
2. service polipo stop

Categories: Awareness, Linux, Tools, Tutorials


  1. I wrote a script for this..
    Script to setup Tor on Back|Track 5r1: http://t.co/95ZO5ThV

    Another script I wrote…
    Script to setup Wifite on Back|Track 5r1: http://t.co/iDqtGXGg

  2. Zer0Byte says:

    dear thom,
    this is not the place where u should post ur stuff. :p
    i have asked u many times to send me just an email of ur write up or any thing ill post on zer0byte

    this website is urs
    bilal bokhari.

  3. Cathy says:

    This is crystal clear. Thanks for tkiang the time!