Add Me!Close Menu Navigation

My technical corner about Linux, Perl, programming, computer networks and network security

Add Me!Open Categories Menu
15 April
Posted in Linux, Security

What are major security issues linked to TrueCrypt?

There are two major types of attack to TrueCrypt’s volumes. 1) Keylogger (software or hardware) – it’s obvious, and this isn’t a TrueCrypt problem. Hence I won’t write about this. Just – be careful if you mount a TC volume on unknown or foreign machines. You should suppose that each [...]

13 February
Posted in Virtual Machines

A network issue with VMware Workstation 9 on Windows 7

In the last time I had a little problem on my laptop with VMware Workstation 9 which cooperates with Windows 7 Professional. Because I use Acronis True Image for backup and the instant system restore, I decided to turn off the event log service. I don’t need this service, because [...]

17 December
Posted in Perl

Efficiency in Perl – regular expressions

The regular expressions in perl are awesome. If you write in perl, you know this. But most programers don’t think about correct use of their power.     1) Don’t use a regular expression for very simple string comparisions Using if ( $somestring eq “ok” ) is much better than [...]

5 October
Posted in Linux

How to improve speed of your Linux desktop

I describe only software tricks, a disc replacement (from hdd to ssd) and other like that optimalizations will be skipped in this article.   1) It may sounds confused but …try to avoid more automatic linux distributions as Ubuntu, Mint, etc. These distributions have many automatic programs to improving their [...]

22 September
Posted in Bash, Projects, Security

Basics of writing bash scripts, a simple antivirus on a linux router

If you are a network admin your main problem is a malware usually. Typical user in your network uses Windows and has this problem now or he will have in the future. You musn’t learn your users how to use computers, but you can better supervise them. In this article, [...]

8 September
Posted in Bash, Linux

Basics of writing bash scripts, improving your command line

Sometimes commands in linux based systems are too complicated to remember or use them. Many options/prefixes are quite problematic as well. I had had this problem some years ago and I coped with it. I used imagemagick and I needed some improvements to my work.   If you know, imagemagick [...]

15 August

WordPress on nginx – how to secure the admin panel

Many people know that the admin panel in the wordpress is located in wp-admin/ dir so we can open it trying an adress domain-of-wordpress-blog/wp-admin. This is no comfortable situation because spambots know it as well. Of course, first condition to security should be a secure password – long (min 10 [...]

15 July
Posted in Bash, Linux, Security

How to automatically encrypt backup files

In the most serious companies, backup is really important thing, one of the most important. But sometimes more important is a question about security of backup data. Usually backup is comprehensive of data from many systems and stored in a special device (NAS). These data are more volunerable because they [...]

5 July
Posted in Bash, Linux, PHP, Projects

Dynamic dns based on a bash and php script

Having dynamic IP address is full of hindrances if you want to use your machine from other place in the world. But if you have your own domain, a linux based desktop and server (which manages of your domain) I can help you probably. I have used this script for [...]

2 July
Posted in Bash, Linux

Basics of writing bash scripts, a simple network tester

Sometimes my internet connection is rubbish. Nowadays this scenario shouldn’t happen ever, but the real life is much brutal, as you know. Especially in Poland. So, my life insists me to do something strange things in my computers and here is an ordinary example. I wrote my simple script some [...]