Install tor on Ubuntu 15.10

From command line:

sudo gedit /etc/apt/sources.list.d/tor.list

in this file write those lines:

deb http://deb.torproject.org/torproject.org wily main
deb-src http://deb.torproject.org/torproject.org wily main

save, then run:

gpg --keyserver keys.gnupg.net --recv 886DDD89
gpg --export A3C4F0F979CAA22CDBA8F512EE8CBC9E886DDD89 | sudo apt-key add -
sudo apt-get update
sudo apt-get install tor deb.torproject.org-keyring

Now you can find a folder named “tor-browser_en-US” in your home folder that contains the Tor Browser.

It comes with readily configured Tor and a browser patched for better anonymity.

 

Nmap scan (and someone else…) through proxy and proxy chaining

But nmap (or some other program) doesn’t support proxy… so you need proxychains.

If you are on a Debian-based simply type

apt-get install proxychains

Then edit

/etc/proxychains.conf

And add your proxy. If you want to learn the syntax, in the config file you can see some more examples.

I try to explain with a regex-like expression:

[http|socks4|socks5] ipaddress port username password

Be happy, Tor is configured by default!

It’s not all. Obviously proxychains is used primarily for proxy chaining.
How to configure it? Add more proxies to proxychain.conf !

Finally run your software, e.g.

proxychains nmap -T4 -A ipaddress

YouJizz bash video downloader

“A friend” asks me how he could download a video from the famous porn site YouJizz.

I’ve created a simple bash script…I share it with you for a laugh 🙂

After running it, you’ll find a .flv video in the directory where you launched the script.

#!/bin/bash
wget $1
wget $(grep 'so.addVariable("file","http:' $(echo $1 | cut -d '/' -f 5) | cut -d '"' -f 4)
rm $(echo $1 | cut -d '/' -f 5)

You can use it in this way:

./ujizz.sh urlcontainsvideo