Tuesday, February 28, 2012

Command to check apache access log to see if some malicious redirection happening

Sometimes because of some virus activities your system may start redirecting the users coming from Google or Bing or any other search engine to some other website. The redirection is so clean that the end user does not realise the the same. This is done by fishing websites. 


grep '] "\GET / HTTP/1.1"\ 302'  /var/log/httpd/access_log.1 > /home/user1/velmisc/302redirect.txt

No comments:

Post a Comment