Symlink scan on Linux web server 1

Symlink scan on Linux web server

Scan symlinks on web server directory structure recursively to find if any symlinks exist. I used it to discover if a shared web hosting server was compromised/ rooted using the symlink attack. Read about the attack in the link below. Note: Don’t forget to change the path.

Anatomy of the attack

PHP Malware Scan on Linux Server 2

PHP Malware Scan on Linux Server

Note: that there will be a lot false positives when scanning WordPress file structures.

 

Find world writable files on a Linux system 3

Find world writable files on a Linux system

Discover world writable files (aka with permission 777) will help you sometimes find out which files you missed to secure from your user’s eyes.

If you don’t understand Linux file permission bits you should read this

How to install mod_security for Apache 4

How to install mod_security for Apache

regards, @specktator

JQuery Tutorials – Use JQuery to protect/rewrite emails from spam bots

This entry is part 1 of 3 in the series Spambot Protection

This jquery snippet protects your published email addresses from being obtained from spam bots. Keep in mind that your (html)code must be in form Peter_[at]_example.com and the emails must be inside an ellement with mail class in order to let javascript replace the correct characters. Of course you can modify it as you wish ;) […]