Discussion Locked

Can't access folder

0 helpful
7 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.
One of my clients got hacked through FTP on a W2K Server. After some testing we failed to re-enable the password on the firewall router. The hackers came in anonymously and parked some folders. We have resecured the server. I have removed most of the files and folders using the command prompt and identiying the short file and folders names using the DIR/X and then deleting them. There is one set of subfolders though that has me stumped. I can drill down to the lowest level folder where a group of files are using Windows Explorer. I can see them but Windows says it can't access the source disk. Using Command Prompt and DIR/X I can start at the upper most folder and make my way down two more levels and then I hit a folder named "aux". I can see it with DIR/X. It appears to be in plain text with no hidden spaces or anything but when I try to change directories to it I get an error saying that the folder can't be found. Anybody know a way to get pased this?

7 replies

by kamleshparmar

I think.. folder aux has some hidden characters... try pressing key and then press number 255 keeping the key pressed. you will see cursor move one place right. This is a hidden charecter in dos..
it want show up in directory listing...

try this charecter before and after aux entry..

I hope this helps...

by curacao_dejavu

in the command prompt; at the folder that you want type in "attrib *.* -h -r -s /s"
this will remove all the hidden read only and system files , so you can see everything.
then use the deltree command (deltree *.*).
note: try on the upper folder first , else you may have to work your way up from the subfolders.

regards,

Leopold

by @lberto

It seems to me like there are some hidden files and/or special characters in between.
From DOS Prompt go to the folder you want to delete and type attrib *.* -s -h -r /s once this is done the type dir *.*>c:\test.txt
then edit the file c:\test.txtand look for a file or a folder with a special character on it, if you see a name like ABC AS. 12 it will mean that it has a hidden character then go to the folder type cd ABCAS. 12 and it should open the folder, just delete all its contents and remove it, and keep doing it.
Windows can see that there is a folder but it can not access it.
Hope it helps
@lberto

This discussion is closed to new replies.