![]() |
|
|
|
|
|||||||
| UNIX for Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !! |
|
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Apache help | ejbrever | UNIX for Dummies Questions & Answers | 2 | 08-24-2006 06:50 AM |
| Apache | ebethea27703 | UNIX for Dummies Questions & Answers | 1 | 05-18-2006 06:44 PM |
| Apache! | hassan2 | UNIX for Advanced & Expert Users | 1 | 08-07-2002 01:27 PM |
| Apache | Vijayanand | IP Networking | 1 | 07-02-2002 05:14 PM |
| Apache | henke | UNIX for Dummies Questions & Answers | 5 | 07-31-2001 11:16 AM |
|
|
Submit Tools | LinkBack | Thread Tools | Display Modes |
|
|||
|
apache
on my webserver, and im sure many of you who also run one see this all the time, but the majority of my access log is filled with attempted exploits from computers compromised by some virus (NIMBDA?) and anyway i know this is harmless to an apache/linux webserver, but its annoying, anyway, on slashdot i saw this:
RedirectMatch permanent (.*)c+dir http://127.0.0.1/scripts/..%255c..%255cwinnt/syste m32/cmd.exe?/c+rundll32.exe+shell32.dll,SHExitWind owsEx%201 to put in the .htaccess file, someone with more knowledge of .htaccess than me, please what does this do? it looks like it would try to execute the command on a windows machine to shut down the computer(exit windows) how does this work? and is it safe to include in my .htaccess file? thanks. |
| Forum Sponsor | ||
|
|
|
||||
|
That does appear to be what it does...
While some people think it's only fair, it's of dubious legality since you're using the same exploit against them - It's better to just continue letting them fail, knowing that you won't be affected other than the relatively minor bandwidth consumption. If you redirect them, why not redirect them to a bandwidth-sucker of a web page, such as www.microsoft.com By the way, what it's doing is redirecting them to the exploit on their local machine, then calling the rundll32 executable to use a function in the specified DLL file that's called when the box logs itself out or reboots. I don't know exactly what happens when you try to log out a service, though - I wonder if it even works. Plus this will only work on an NT/2000 machine that has %systemroot% at C:\WINNT (although it does by default). Last edited by LivinFree; 02-04-2003 at 06:44 PM. |
|
|||
|
i see. thanks for the responce. using that probably wouldnt be nice also to the person whos computer is infected and dosnt even know it. maybe even better would be redirecting them to a virus scanning software page. anyway, thanks livinfree
|
| Tags |
| linux |
| Thread Tools | |
| Display Modes | |
|
|
|
The 50 most popular UNIX and Linux searches.
Google Search Cloud for The UNIX and Linux Forums
|
| 421 service not available, remote server has closed connection ^m automate ftp autosys awk trim bash eval bash for loop bash split boot: cannot open kernel/sparcv9/unix check if file exists command copy/move folder in unix curses.h cut command in unix find grep find mtime find null character in a unix file from ip can we get machine name +unix glance unix grep or grep recursive inaddr_any inappropriate ioctl for device known problems with fork unix c ksh if last login from unix lynx javascript mailx attachment mget mtime ping port remove first character from string in k shell replace blank spaces by comma , perl script scp recursive segmentation fault(coredump) sftp script snoop unix solaris change ip address stale nfs file handle syn_sent tar exclude tar extract to folder test: argument expected unix unix .profile unix forum unix forums unix interview questions unix mtime unix.com vi substitute |