Use TOR proxy with any linux command

There is an easy way to use the The Onion Router for any command under linux

First install TOR and proxychains4

$ sudo apt install tor proxychains4

You can configure proxychains.conf but the default config is good 🙂

$ sudo nano /etc/proxychains.conf

Then start the tor service

$ sudo systemctl start tor

And check your ip:

$ proxychains4 curl

You can use any command you want. So if you want your firefox browser over tor:

$ proxychains4 firefox

To refresh your TOR IP simply restart the TOR service

Happy proxying 🙂

Manage multiple passwords for different websites

One of the worst things you can do on the internet is use the same password for different websites. When one of the webites is hacked or there is an bad sysadmin they can use your password to login your email or other sites to steal all your private information and worst case scenario your bank account.

Every self respected browser has an built-in password safer but when your computer/laptop is stolen or hacked by a mad person (in dutch we call them klootzakken 😉 ) they can easily steal all your passwords. So don’t use the built-in password safer (or configure a strong master password).

There are two great solutions for managing your passwords. One is a local and one is a cloud solution. I will describe them both so you can choose what is best for you.

KeePass (local):
KeePass is a great tool for managing your passwords. There is an built-in password generator, the passwords saved in one local encrypted file and you must always give up a master key to access the passwords. The tool is crossplatform (using .net/mono) and there are a lot of plugins, example; there is a browser plugin to replace the insecure built-in pass safer. The great thing about this tool is that is is an local tool so only you can access and manage the password files. If you want to share the password file on multiple places you can use dropbox to synchronise/centralise the password files.

LastPass (cloud):
LastPass is also a great tool for managing your password especialy when you use multiple computers and different operating systems. LastPass replaces the default integrated browser password safer with his own. Your password stored localy and in the cloud and are encrypted. Without the master password it is not possible to automatic login or see your password. I like LastPass because tons of options and integration with all the operating systems and smartphones. The default settings are good but I recommend that you change the setting that the LastPass is logoff automaticly when you close the browser.

The only thing you must keep in mind that you password is in sync at LastPass (cloud) so you must trust the company.

Keep in mind
That using multiple random words password (example: “correct battery horse staple”) mostly of the time is better then using complex passwords (“Tr0ub4dor&3”). This picture tells why:

Last but not least
use a BIOS password on a laptop. Most of the thief’s are very dumb people and if they stole you laptop they cannot remove the BIOS password and your laptop is useless for them.

Open new tabs in far right

Fix New Open Link in New Tab Behavior in Firefox 3.6

New to Firefox 3.6, when you are on a page, and you want to open a link in a new tab – rather than opening the link in the far right of the tab bar, Firefox will now open the link right next to the tab you are in.  Now, while this might be convenient for some, it is a feature I don’t really need.  So here is how you can disable the new “Insert Related Tab After Current” tweak in Firefox 3.6.

Make New Tab Pages Open in the Far Right of the Tab Bar

  • Type about:config in the address bar. Then, if needed click the “I’ll be careful, I promise!” button.
  • Next, in the filter box – type in:
    • tabs.insertRelatedAfterCurrent
  • Right-click that about:config entry, and select “Toggle”

This will convert Firefox back to loading opening a new tab from a web page on the far right of the tab bar, rather than right next to the tab you opened it from.

To switch back, follow these same steps and toggle the “false” back to “true”.

This should help those of you out there who do not like this new feature to Firefox 3.6, or are just not ready to switch how you open a page in a new tab just yet.