Categories
Debian

SSH Tunnel Tutorial

Be warned that this ssh tunnel tutorial will deliberately bypass a firewall, and security admins will frown (at the very least) on you bypassing a corporate firewall.

How to encrypt anything over SSH tunnel using a Socks Proxy.
(How to Browse Securely from hotspots or hide from corporate firewalls/sniffers)

Categories
Perl

Perl LWP UserAgent Example: Get Picture Using LWP

Perl LWP UserAgent is an amazing tool for automating web queries. Here is the simple text to get HTTP or FTP data using the Perl LWP UserAgent:

Categories
Perl

Perl LWP UserAgent Example: Get a http or ftp data

Perl LWP UserAgent is an amazing tool for automating web queries. Here is the simple text to get HTTP or FTP data using the Perl LWP UserAgent:

Categories
Perl

Perl Shorthand If Clause

Perl has a ton of short hand features. One that a lot of non-beginners use, and that I forget frequently, is the perl short hand if clause. This tutorial will show you how to use the shorthand if clause in perl:

Categories
Windows 7

0x800704b3 Error – ReadyNAS Windows 7

How to Fix the 0x800704b3 Error with the ReadyNAS Duo and Windows 7

Categories
Windows 7

How to Disable the Home Group Service

Perhaps you want to disable the HomeGroup feature in windows 7?
This article will show you how to disable homegroup in windows 7/vista – and what services required by this cruddy feature.

Categories
Debian

SSH Security Checklist

SSH Security Checklist

All of the SSH Security Tips that are listed here are done by editing /etc/ssh/sshd_config as su:

Categories
Debian

ssh timeout

SSH Timeout

If SSH timeout is bugging you, here is how to increase the timeout for the ssh shell:
On the Server:


sudo vim /etc/sshd_config
#add this line for server side keep alives every 60s:
ClientAliveInterval 60

On the Client:


sudo vim /etc/ssh_config
#add this line to send keep alives from client to server every 60s
ServerAliveInterval 60

Don’t forget to restart the ssh daemon where appropriate:


sudo /etc/init.d/ssh restart
Categories
Spyware Removal

Best Free Anti Virus

“Best” is subjective – you and I may disagree on which Anti Virus does the “Best” at removing spyware, malware, viruses etc. In reality you need an arsenal – something designed to do each job very well. The one I use on my personal computers for Anti Virus is Avast. The reasons for this choice are listed below:

Categories
Perl

Perl Script Process a CSV File Line by Line

I use a program called jmemorize to assist with rote memorization. It’s pretty common to find a spreadsheet with a list of things you have to memorize, and jmemorize will allow to import CSV format if you add specific column headers.
The problem is wanting to format the questions and answers in a specific way, or add something on each line. Perl can process a file line by line and output it however you want. While the following Perl script probably won’t be used exactly like I used it – you can still benefit from processing files line by line. Here is how you open a file in Perl, process it line by line (instead of slurping the entire file inefficiently) and modify each line as you go: