Monthly Archive for September, 2011

Ext3 restore data

I want to test some tools to restore deleted data on EXT3 file system, to make this tests safe on a production server without loosing date I created a virtual HDD with 100MB size that running as a file.

Create a 100MB virtual HDD: Continue reading ‘Ext3 restore data’

Clear ARP-Cache

Stupid situation if device X tries to communicate with Bob, but Bob send no answer to request. Bob has a problem, his ARP table is broken and he cant reach X.

Solve this problem by clearing the ARP information table: Continue reading ‘Clear ARP-Cache’

Mail command

My tiny mail-command collection of the very important administrator mail command.
You can test E-Mail-Server create scripts with this useful command or send yourself some notifications.

The simplest one: Continue reading ‘Mail command’

Penetration Testing

Penetration testing(pentest) is very important for development and production environments unfortunately many people forget that and play with fire.

Pentest is a method of evaluating the security of a server services and hardware devices.
This hard analysis is carried out from the position of a potential attacker, in this case this attacker is a white hat and he can involve active exploitation of security vulnerabilities. Continue reading ‘Penetration Testing’

Backup your MBR

Master Boot Record (MBR), a small program that is executed when a computer boots up.

You can save your MBR with a simple DD-command to a file:

1
dd if=/dev/sda count=1 bs=512 > /var/backup/MBR

From this file you can restore your MBR very easy:

1
dd if=/var/backup/MBR of=/dev/sdb