![]() |
Many people know about such a distribution Backbox linux. They know about his anonimous mode (change the ip, host name, MAC-addresses, plug webrtc, flash and other stuff we do not need). In short, this is a cool feature, we can say out of the box. But not everyone knows that such feature can be put in any lin. 1. Edit the source.list and add the desired turnip Code: <pre class="alt2" dir="ltr" style=" margin: 0px; padding: 6px; border: 1px solid rgb(0, 0, 0); width: 640px; height: 34px; text-align: left; overflow: auto; background: rgb(37, 37, 37) none repeat scroll 0% 0%; border-radius: 5px; font-size: 11px; text-shadow: none;">fuck@system: nano /etc/apt/sources.list</pre> Adding these turnips Code: <pre class="alt2" dir="ltr" style=" margin: 0px; padding: 6px; border: 1px solid rgb(0, 0, 0); width: 640px; height: 34px; text-align: left; overflow: auto; background: rgb(37, 37, 37) none repeat scroll 0% 0%; border-radius: 5px; font-size: 11px; text-shadow: none;">deb http://deb.torproject.org/torproject.org wheezy main</pre> 2. Updating, naturally Code: <pre class="alt2" dir="ltr" style=" margin: 0px; padding: 6px; border: 1px solid rgb(0, 0, 0); width: 640px; height: 34px; text-align: left; overflow: auto; background: rgb(37, 37, 37) none repeat scroll 0% 0%; border-radius: 5px; font-size: 11px; text-shadow: none;">fuck@system: sudo apt-get update</pre> 3. The line produces an error, but we can do everything. And on this trying to drive into the terminal the following Code: <pre class="alt2" dir="ltr" style=" margin: 0px; padding: 6px; border: 1px solid rgb(0, 0, 0); width: 640px; height: 34px; text-align: left; overflow: auto; background: rgb(37, 37, 37) none repeat scroll 0% 0%; border-radius: 5px; font-size: 11px; text-shadow: none;">fuck@system: sudo gpg --keyserver keys.gnupg.net --recv 886DDD89</pre> Code: <pre class="alt2" dir="ltr" style=" margin: 0px; padding: 6px; border: 1px solid rgb(0, 0, 0); width: 640px; height: 34px; text-align: left; overflow: auto; background: rgb(37, 37, 37) none repeat scroll 0% 0%; border-radius: 5px; font-size: 11px; text-shadow: none;">fuck@system: sudo gpg --export A3C4F0F979CAA22CDBA8F512EE8CBC9E886DDD89 | sudo apt-key add -</pre> *** So we'll add a super secret keys from Snowden 4. Install Tor depending Code: <pre class="alt2" dir="ltr" style=" margin: 0px; padding: 6px; border: 1px solid rgb(0, 0, 0); width: 640px; height: 34px; text-align: left; overflow: auto; background: rgb(37, 37, 37) none repeat scroll 0% 0%; border-radius: 5px; font-size: 11px; text-shadow: none;">fuck@system: sudo apt-get install deb.torproject.org-keyring</pre> Code: <pre class="alt2" dir="ltr" style=" margin: 0px; padding: 6px; border: 1px solid rgb(0, 0, 0); width: 640px; height: 34px; text-align: left; overflow: auto; background: rgb(37, 37, 37) none repeat scroll 0% 0%; border-radius: 5px; font-size: 11px; text-shadow: none;">fuck@system: sudo apt-get install tor</pre> 5. Now we need to edit the config torovskie Code: <pre class="alt2" dir="ltr" style=" margin: 0px; padding: 6px; border: 1px solid rgb(0, 0, 0); width: 640px; height: 34px; text-align: left; overflow: auto; background: rgb(37, 37, 37) none repeat scroll 0% 0%; border-radius: 5px; font-size: 11px; text-shadow: none;">fuck@system: nano /etc/default/tor</pre> We look for the line RUN_DAEMON = "no" and replace RUN_DAEMON = "yes" 6. Run all the necessary daemons Code: <pre class="alt2" dir="ltr" style=" margin: 0px; padding: 6px; border: 1px solid rgb(0, 0, 0); width: 640px; height: 34px; text-align: left; overflow: auto; background: rgb(37, 37, 37) none repeat scroll 0% 0%; border-radius: 5px; font-size: 11px; text-shadow: none;">fuck@system: sudo service tor start</pre> Code: <pre class="alt2" dir="ltr" style=" margin: 0px; padding: 6px; border: 1px solid rgb(0, 0, 0); width: 640px; height: 34px; text-align: left; overflow: auto; background: rgb(37, 37, 37) none repeat scroll 0% 0%; border-radius: 5px; font-size: 11px; text-shadow: none;">fuck@system: sudo service tor stop</pre> Code: <pre class="alt2" dir="ltr" style=" margin: 0px; padding: 6px; border: 1px solid rgb(0, 0, 0); width: 640px; height: 34px; text-align: left; overflow: auto; background: rgb(37, 37, 37) none repeat scroll 0% 0%; border-radius: 5px; font-size: 11px; text-shadow: none;">fuck@system: sudo service tor restart</pre> Code: <pre class="alt2" dir="ltr" style=" margin: 0px; padding: 6px; border: 1px solid rgb(0, 0, 0); width: 640px; height: 34px; text-align: left; overflow: auto; background: rgb(37, 37, 37) none repeat scroll 0% 0%; border-radius: 5px; font-size: 11px; text-shadow: none;">fuck@system: sudo service tor status</pre> 7. Go to the cd and create an empty file Code: <pre class="alt2" dir="ltr" style=" margin: 0px; padding: 6px; border: 1px solid rgb(0, 0, 0); width: 640px; height: 34px; text-align: left; overflow: auto; background: rgb(37, 37, 37) none repeat scroll 0% 0%; border-radius: 5px; font-size: 11px; text-shadow: none;">fuck@system: touch anonimous_mode</pre> where "touch" - is to create a new empty file, "anonimous_mode" - file name. Principle, this script can be created in any convenient location, and under any name. Personally, I have called "mayoru_her")) 8. Open your file for example in nano and paste the following script to Code: <pre class="alt2" dir="ltr" style=" margin: 0px; padding: 6px; border: 1px solid rgb(0, 0, 0); width: 640px; height: 498px; text-align: left; overflow: auto; background: rgb(37, 37, 37) none repeat scroll 0% 0%; border-radius: 5px; font-size: 11px; text-shadow: none;"> # # You should have received a copy of the GNU General Public License # along with backbox-anonymous. If not, see <http://www.gnu.org/licenses/>. export BLUE='\033[1;94m' export GREEN='\033[1;92m' export RED='\033[1;91m' export ENDC='\033[1;00m' # Destinations you don't want routed through Tor NON_TOR="192.168.0.0/16 172.16.0.0/12 10.0.0.0/8" # The GID Tor runs as TOR_GID="debian-tor" # Tor's TransPort TRANS_PORT="9040" case "$1" in start) # Make sure only root can run this script if [ $(id -u) -ne 0 ]; then echo "\n$RED[!] This script must be run as root$ENDC\n" >&2 exit 1 fi # Check torrc config file grep -q -x 'VirtualAddrNetwork 10.192.0.0/10' /etc/tor/torrc if [ $? -ne 0 ]; then echo "\n$RED[!] Please add the following to your /etc/tor/torrc and restart service:$ENDC\n" >&2 echo "$BLUE#----------------------------------------------------------------------#$ENDC" echo "VirtualAddrNetwork 10.192.0.0/10" echo "AutomapHostsOnResolve 1" echo "TransPort 9040" echo "DNSPort 53" echo "$BLUE#----------------------------------------------------------------------#$ENDC\n" exit 1 fi grep -q -x 'AutomapHostsOnResolve 1' /etc/tor/torrc if [ $? -ne 0 ]; then echo "\n$RED[!] Please add the following to your /etc/tor/torrc and restart service:$ENDC\n" >&2 echo "$BLUE#----------------------------------------------------------------------#$ENDC" echo "VirtualAddrNetwork 10.192.0.0/10" echo "AutomapHostsOnResolve 1" echo "TransPort 9040" echo "DNSPort 53" echo "$BLUE#----------------------------------------------------------------------#$ENDC\n" exit 1 fi grep -q -x 'TransPort 9040' /etc/tor/torrc if [ $? -ne 0 ]; then echo "\n$RED[!] Please add the following to your /etc/tor/torrc and restart service:$ENDC\n" >&2 echo "$BLUE#----------------------------------------------------------------------#$ENDC" echo "VirtualAddrNetwork 10.192.0.0/10" echo "AutomapHostsOnResolve 1" echo "TransPort 9040" echo "DNSPort 53" echo "$BLUE#----------------------------------------------------------------------#$ENDC\n" exit 1 fi grep -q -x 'DNSPort 53' /etc/tor/torrc if [ $? -ne 0 ]; then echo "\n$RED[!] Please add the following to your /etc/tor/torrc and restart service:$ENDC\n" >&2 echo "$BLUE#----------------------------------------------------------------------#$ENDC" echo "VirtualAddrNetwork 10.192.0.0/10" echo "AutomapHostsOnResolve 1" echo "TransPort 9040" echo "DNSPort 53" echo "$BLUE#----------------------------------------------------------------------#$ENDC\n" exit 1 fi echo "\n$BLUE[i] Starting anonymous mode:$ENDC\n" if [ ! -e /var/run/tor/tor.pid ]; then echo " $RED*$ENDC Tor is not running! Quitting...\n" >&2 exit 1 fi iptables -F iptables -t nat -F echo " $GREEN*$ENDC Deleted all iptables rules" echo 'nameserver 127.0.0.1' > /etc/resolv.conf echo " $GREEN*$ENDC Modified resolv.conf to use Tor" iptables -t nat -A OUTPUT -m owner --gid-owner $TOR_GID -j RETURN iptables -t nat -A OUTPUT -p udp --dport 53 -j REDIRECT --to-ports 53 for NET in $NON_TOR 127.0.0.0/9 127.128.0.0/10; do iptables -t nat -A OUTPUT -d $NET -j RETURN done iptables -t nat -A OUTPUT -p tcp --syn -j REDIRECT --to-ports $TRANS_PORT iptables -A OUTPUT -m state --state ESTABLISHED,RELATED -j ACCEPT for NET in $NON_TOR 127.0.0.0/8; do iptables -A OUTPUT -d $NET -j ACCEPT done iptables -A OUTPUT -m owner --gid-owner $TOR_GID -j ACCEPT iptables -A OUTPUT -j REJECT echo "$GREEN *$ENDC Redirected all traffic throught Tor\n" echo "$BLUE[i] Are you using Tor?$ENDC\n" echo "$GREEN *$ENDC Please refer to https://check.torproject.org\n" ;; stop) # Make sure only root can run our script if [ $(id -u) -ne 0 ]; then echo "\n$RED[!] This script must be run as root$ENDC\n" >&2 exit 1 fi echo "\n$BLUE[i] Stopping anonymous mode:$ENDC\n" echo 'nameserver 208.67.222.222' > /etc/resolv.conf echo 'nameserver 208.67.220.220' >> /etc/resolv.conf echo " $GREEN*$ENDC Modified resolv.conf to use OpenDNS" iptables -F iptables -t nat -F echo " $GREEN*$ENDC Deleted all iptables rules\n" ;; restart) $0 stop $0 start ;; *) echo "Usage: $0 {start|stop|restart}" exit 1 ;; esac exit 0</pre> 9. Daem rights to our script Code: <pre class="alt2" dir="ltr" style=" margin: 0px; padding: 6px; border: 1px solid rgb(0, 0, 0); width: 640px; height: 34px; text-align: left; overflow: auto; background: rgb(37, 37, 37) none repeat scroll 0% 0%; border-radius: 5px; font-size: 11px; text-shadow: none;">fuck@system: sudo chmod 755 anonimous_mode</pre> 10. For convenience possible to put the script in the folder / bin directory, to run from the terminal via the tab key (conveniently the same) Code: <pre class="alt2" dir="ltr" style=" margin: 0px; padding: 6px; border: 1px solid rgb(0, 0, 0); width: 640px; height: 34px; text-align: left; overflow: auto; background: rgb(37, 37, 37) none repeat scroll 0% 0%; border-radius: 5px; font-size: 11px; text-shadow: none;">fuck@system: anonimous_mode /usr/bin/anonimous_mode</pre> 11. Again torovskie config mode Code: <pre class="alt2" dir="ltr" style=" margin: 0px; padding: 6px; border: 1px solid rgb(0, 0, 0); width: 640px; height: 34px; text-align: left; overflow: auto; background: rgb(37, 37, 37) none repeat scroll 0% 0%; border-radius: 5px; font-size: 11px; text-shadow: none;">fuck@system: nano /etc/tor/torrc</pre> To do this, put the cursor at the beginning. The first line will leave an empty enter button. The second, third, and fifth chetrvertaya line should not be commented out (no # and ##). They inserted the following Code: <pre class="alt2" dir="ltr" style=" margin: 0px; padding: 6px; border: 1px solid rgb(0, 0, 0); width: 640px; height: 82px; text-align: left; overflow: auto; background: rgb(37, 37, 37) none repeat scroll 0% 0%; border-radius: 5px; font-size: 11px; text-shadow: none;">VirtualAddrNetwork 10.192.0.0/10 AutomapHostsOnResolve 1 TransPort 9040 DNSPort 53</pre> Working with the script commands can be Code: <pre class="alt2" dir="ltr" style=" margin: 0px; padding: 6px; border: 1px solid rgb(0, 0, 0); width: 640px; height: 34px; text-align: left; overflow: auto; background: rgb(37, 37, 37) none repeat scroll 0% 0%; border-radius: 5px; font-size: 11px; text-shadow: none;">fuck@system: sudo backbox-anonymous start</pre> Code: <pre class="alt2" dir="ltr" style=" margin: 0px; padding: 6px; border: 1px solid rgb(0, 0, 0); width: 640px; height: 34px; text-align: left; overflow: auto; background: rgb(37, 37, 37) none repeat scroll 0% 0%; border-radius: 5px; font-size: 11px; text-shadow: none;">fuck@system: sudo backbox-anonymous stop</pre> Code: <pre class="alt2" dir="ltr" style=" margin: 0px; padding: 6px; border: 1px solid rgb(0, 0, 0); width: 640px; height: 34px; text-align: left; overflow: auto; background: rgb(37, 37, 37) none repeat scroll 0% 0%; border-radius: 5px; font-size: 11px; text-shadow: none;">fuck@system: sudo backbox-anonymous restart</pre> All! Come checked for https://www.whoer.net, but at least on https://www.browserleaks.com (look at the results, shit do not advise). Joking aside, but if in fact, this method is a very powerful way to cover your ass. Thanks to all! |
All times are GMT. The time now is 10:34 AM. |
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2025, vBulletin Solutions, Inc.