Joomla Hacker’s command
Set the site offline
sed -i -e "s/offline = '0'/offline = '1'/" /path/to/configuration.php
Find the weak code in Joomla 1.5 for SQL injection
grep 'JRequest::getInt([^,]*,[^,]*);’ . -r
Set the site offline
sed -i -e "s/offline = '0'/offline = '1'/" /path/to/configuration.php
Find the weak code in Joomla 1.5 for SQL injection
grep 'JRequest::getInt([^,]*,[^,]*);’ . -r