Wednesday, July 27, 2016

Configuring Centos with Apache , Mysql and PHP

http://www.tecmint.com/things-to-do-after-minimal-rhel-centos-7-installation/#C6 before installing apache, fix the hostname, /etc/hosts file ================================================= Install Apache ================================================= # yum install httpd LISTEN 80 , change it to any port you like # firewall-cmd --add-service=http # firewall-cmd --permanent --add-port=3221/tcp # firewall-cmd --reload # systemctl restart httpd.service # systemctl start httpd.service # systemctl enable httpd.service ================================================= Install...

Thursday, May 19, 2016

Using grep to find multiple keywords in multiple directories recursively

Using grep to find multiple keywords in multiple directories recursively using the following command you will be able to find multiple keywords in multiple directories recursively Command: egrep -rwn Example: egrep -rwn '64.exe|m64.exe|s64.exe|s.aspx|sm.exe|ps.exe|vnc.exe|sm.bat|bruter.exe|kiss.exe|pl.exe|A.exe|xcmd.exe|share.exe|Unet.exe|splitter.exe|m32.exe|lsass.exe|wsc-x64.exe|psexec.exe|w.aspx|wce.exe|sexe.cab' /home/security/...

Page 1 of 1012345Next

Share

Twitter Delicious Facebook Digg Stumbleupon Favorites More