Apache log has various formats, out of which common and combined are mostly used ones. Bash script that is provided below parses apache common/combined logs and displays information out of its stats. In the resulting output, the “User Agent” part can be extended further to display many other information like Browsers, OS and so on.
Any [...]
Want to get stats about your site for hacking attempt and then prevent them from hacking using rules, you can use mod_security for apache.
Its a open source module for apache, very easy to install and configure. Provides lots of flexibility using configuration files to defines set of rules, even custom rules can able be defined. [...]
Found interesting link which consists of many free programs to parse apache logs. Thought of sharing it as it might help many.
Please follow link to get more details.
Below script will parse Apache config and will grab only the VirtualHost section from config file. Script can be extended to parse any directives in apache config file.
#!/bin/bashmyifs=$IFSIFS=$(echo -en “\n”)scan_file=`sed -n ‘/^<VirtualHost*/,/<\/VirtualHost>/p’ /etc/httpd/conf/httpd.conf | grep -v “#” | sed ’s/^[ \t]*//;s/[ \t]*$//’ | sed ’s/<//g’ | sed ’s/>//g’ | sed ’s/:/ /g’ | sed ’s/\/V/V/g’` [...]
Scanning apache logs offline to find out security related issues is important task to get site running without any hacks. Want to find attacks on site so that it can be fixed well ahead in time before unauthorized access. You can use scalp, its a apache log scanner to find possible attacks on the webserver.
Please [...]
PHP has now been widely used as a development platform for web-based applications. As PHP is in continued development process, we observe different enhancements in PHP itself. One of the major changes we have recently observed is the release of its new version PHP5.
Now your application is developed in PHP4 and you want to upgrade [...]
Found an interesting site which has collection of web site testing tools and site management tools. Though of sharing it as it might help lot of people.
Its really a great collection. Follow link to check yourself.
Want to scan your webroot and find out the vulnerabilities present so that it can be tracked and updated to latest patches before its gets hacked, you can use freewvs. Its a freeware and suggests for patches for the application its detects for vulnerability.
Please follow link to know more about it.
I was searching for a complete package which provides rss, atom, online view of repositories and much more in a single package which I can hook up to my Subversion server itself. Found a fantastic tool called Insurrection. Its really good and has lot of features in it.
I really liked the tool as it provides [...]
Want to generate rewrite rule on the fly with ease. You can now do it online without having to write it yourself.
Please follow link to check yourself.
Please follow link to check for top 5 online rewrite rule generator and more.
Monday, February 1, 2010
0 Comments