Uncategorized

PHPmyadmin attack logs – Linux

103.94.x.x - - [23/May/2015:13:54:58 +0100] "GET / HTTP/1.1" 301 178 "-" "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:47.0) Gecko/20100101 Firefox/47.0" 0.000 - . 103.94.x.x - - [23/May/2015:13:54:58 +0100] "GET /robots.txt HTTP/1.1" 301 178 "-" "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:47.0) Gecko/20100101 Firefox/47.0" 0.000 - . 103.94.x.x - - [23/May/2015:13:54:58 +0100] "POST /Admin28c0e5c3/Login.php HTTP/1.1" 301 178 "-" "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:47.0) Gecko/20100101 Firefox/47.0" 0.000 - . 103.94.x.x - - [23/May/2015:13:54:58 +0100] "GET / HTTP/1.1" 301 178 "-" "Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.0; Trident/4.0)" 0.000 - . 103.94.x.x - - [23/May/2015:13:54:58 +0100] "GET /l.php HTTP/1.1" 301 178 "-" "Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6....

Read More
Uncategorized

How to setup Logrotation in Linux

Create a File here /etc/logrotate.d/ For e.g # vim /etc/logrotate.d/mytestlog Now paste below code in it. /var/log/YOURLOGFILEPATH.log { weekly rotate 5 compress delaycompress missingok notifempty create 0666 root root } Run a dry run (Debug) to ensure its configured fine or not. logrotate -d /etc/logrotate.d/mytestlog If you see any error, Fix them or post them here, i will help you OR mail me at [email protected] ...

Read More