If you have hacked joomla or wordpress site you need to check all your site files This commans search all files in current dir and subdirs for eval(base64 which is one of most used combination find * -name ‘*.php’ |xargs…
If you have hacked joomla or wordpress site you need to check all your site files This commans search all files in current dir and subdirs for eval(base64 which is one of most used combination find * -name ‘*.php’ |xargs…
This is simple script which rename files based on some pattern For example rename all files AABBBCCC and replace BBB with DDD ./ren „AAABBBCCC“ „BBB“ „DDD“ #!/bin/bash # renames.sh # basic file renamer criteria=$1 re_match=$2 replace=$3 for i in $(…
Sometimes is very hard to debug from which virtual host spam is This can be check very easy with this trick create a new file vim /usr/local/bin/phpsendmail place inside it #!/usr/bin/php <?php $sendmail = ‘/usr/sbin/sendmail’; $logfile = ‘/var/log/mail.form’; /* Get…
If you get some errors like this you need to open your home directory vim ~/.my.cnf and change on the row pass= to password=
This is a guide to installing OpenDKIM for multiple domains on a Postfix-installtion on Debian. I tried some other guides but kept running into problems, so this is how I did it. Among others, Google Gmail and Yahoo mail check…