Recently in the maintenance of the server, found that many sites have been hanging horses, so with Webshell to find a backdoor Trojan, Shell is scanned in addition to all the backdoor Trojan, but can not edit and delete, in the resource manager can not see those files, aux.asp,functlon.asp, Footer.asp,defau1t.asp.
But these files can be seen in the editplus can also be deleted, but this is troublesome. So the internet to find out why. Originally is the file attribute problem, previously also pondered, but at that time to no avail, then shifted direction. Enter DOS
Attrib-r-h-s aux.asp
You can change the property permissions.
Now this gang horse's kid directly to the home page of the People's website to delete, the quality is too bad too not authentic,
The following command deletes the read-only property from the file attribute of the file in the directory Publicjones and its subdirectories that exists on disk B:
Attrib-r D:\vhost\wwwroot\test\www\*.*/S
C:\Documents and Settings\administrator>help RmDir
Deletes a directory.
RMDIR [/S] [/q] [Drive:]path
RD [/S] [/q] [Drive:]path
/S In addition to the directory itself, will also delete all subdirectories in the specified directory and
File. Used to delete a directory tree.
/q Quiet mode, with/S delete directory tree does not require confirmation
RmDir d:\vhost\wwwroot\test\www/s/q
If you feel trouble recommending the use of this tool bat version, drag the file or folder to the bat file to delete the file.
Save the following file as a malformed file on top of me. bat
Copy Code code as follows:
del/f/a/q \\?\%1
RD/S/q \\?\%1
Download Address: http://www.jb51.net/softs/38427.html