Can Not Delete Files

D

Dan Coleman

I got hacked through an FTP port on my server. A bunch of
files were places out there that I can not delete.

I get the error:

Can Not Delete xxxx. The Parameter is Incorrect


Any ideas on how to get these off my hard disk?

Dan
 
S

Stellan S

Hi

Try this one:

http://www.dshield.org/pipermail/list/2001-
November/001807.php

I had the same problem. When I used the method above I
didnt got any other names for the directorys ie com1~002

So I used the command (in a cmd window)
first changed to the root level of the disk (cd\)
then checked to se the files
dir \\.\c:\com1\com2\com3\.tmp\com4 /x
I knew the names of the directories, 'cause I could see
them in explorer but I had to use the left pane and just
click on the + sign otherwise it all hanged.
Then I used
rd \\.\c:\com1\com2\com3\.tmp\com4
and then com4 was deleted. I did the same with the rest.
But when I came to com1 access was denied. So I took
ownership with rightclick in explorer on the directory -
properties - security - advanced - owner - clicked in
the "replace owner on subdirectories...."
Then I could delete com1 too.

Hope this will help you. Those hackers are assh..es, give
me one and I teach him how to behave.

Good Luck m8
-S
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top