How to create malformed files/folders that cannot be deleted or even opened
Post time: 2012-12-01 20:31:18 Author: Anonymous I would like to comment
Sometimes in order to prevent users from randomly deleting directories, a lot of software also uses malformed folders, but some hackers also use this technique, so how should we use and prevent it, you can refer to the following methods.
How to make a folder cannot be deleted or even opened?
Take the example of creating an "abc." folder (note the dots in the file name, normally you cannot create a folder with a dotted file name) :
1. Go to the command prompt, switch the current working directory to drive D, and enter:
D:
Enter, then type:
md abc.. \
Return.
2. You will find a folder called "abc."
3. This folder cannot be opened or deleted by double-clicking, and it cannot be deleted in ordinary mode.
4. How do you put the documents in? You can COPY the file in with the copy command: copy file name d:/abd... /
5. How do I open this folder? Enter the full path and folder name in "Run", such as: D:\abc... \
6. How to delete it? On the CLI, switch the current working directory to disk D and enter:
rd /q /s abc.. \
Principle: With the illegal naming benefits of windows, this is a bug in the windows NT series of systems, in dos or win9x you can normally access the NT system to create such folders, but you can not create such folders. If the partition is in NTFS format, 9X is useless. Viruses use this bug to damage, ghost tools use this bug to back up gho files, it is very remarkable: ghost.exe can find such folders under DOS - compatible with the window NT bug.
Second, there is a folder that can be opened normally but cannot be deleted:
Create command:
md ”D:/abc / “
Delete command:
rd /q /s “D:/abc / “
Note: It is best to have quotation marks and Spaces, such as "D:/abc space/space".
Third, an invisible one:
Create command:
md D:/… /
Delete command:
rd /q /s D:/… /
Note: This folder is not visible in Explorer, but it is visible at the command prompt. Open mode: Run (win+r) enter D:/... /
Note: Use rd /s /q D:/... / command, less. Will delete all files on disk D! Be careful when typing commands!
Four, another can be opened normally can not be deleted through the resource manager:
Create command:
md “D:/ / “
Delete command:
rd /q /s “D:/ / “
Note: It is best to have quotation marks and Spaces, such as "D:/ space/space".
V. Supplementary note:
1. If you md abc... / Create an illegal folder like abc. Then create an abc folder in Explorer. The original abc. Can be opened. But you can't see the files inside. And you can delete the abc. Folder. But delete the abc. Folder. The original files will go to the abc folder built in the back. The abc folder will also become undeletable and cannot be opened. But if you type D:/abc under Run... / If so, you can still see the files inside. If the abc. Folder and the abc folder exist at the same time, you can give the abc. The folder is renamed abc folder. There are two abc folders at the same time. But if you delete one of these folders, after refreshing, it will still return abc. The folder. On the xp command line, it is easy to create such an indelible folder, but not in pure dos!
2, build a "without". With "." The "bug folder" of:
(1) Create a "." Folders such as:
md abc.. /
(2) Create a normal folder abc
(3) Normal method to delete folders with dots
(4) The abc folder left behind is also an ordinary method can not be opened, deleted, with the original abc. It's the same as the file, except the name doesn't look "."
3. Camouflage the "bug folder" :
(1) Create the abc. Folder
(2) The copy command copies files into the abc. Folder
(3) Generally build abc folder
(4) At this time, you can open abc. And abc, and the two folders seem to use the same disk space, the ordinary method copy into one folder, the other folder will have the same file. However, the files copied into the folder in step 2 will not be displayed.
(5) Both files can be deleted in the normal way, but no matter which one is deleted (abc. Or abc), the remaining folder (abc or abc.) and the abc created in step 1. With the same function, the ordinary method can not be opened, can not be deleted.
Therefore, you can create a "bug folder" with the same name as an ordinary folder (only the name looks the same), you can put some files you want to protect into it, from accidental deletion, and other problems.
6. Some interesting phenomena:
1. If you drag the file to the folder abc. Then, he will immediately generate an abc (folder with the same name), and dragged in the file is visible, but not seen previously used in the run type D:/abc... / Copy the file in. And, if used at run after dragging in the file type D:/abc... / Go inside and see. You can't see the files that were dragged in. After deleting one of the two folders with the same name, use D:/abc at run... / Look inside, still can't see the file dragged in.
2, we can first create a folder such as abc, and then set it as a hidden attribute, and then use the winrar software to name its folder abc... /. So far, the folder to achieve the general can not be deleted, hidden function. Then set the folder option to not show hidden files.
3, now just run in windows 2000 with abc... / Can not enter the folder, in xp can enter.
4, under the NTFS partition, the resource manager can not see this directory. Partitions must be in FAT32 format, NTFS cannot be created.
5, in fact, the partition inside the abc. File can be deleted, note that the file is not a folder. The method is as follows: Run the dir/x command to obtain the short name of the malformed file, and then run the del command to delete it.
7. A large number of malformed folders appear in some web server directoriesThen you need to pay attention to, this is the hacker left the back door procedures are inside, must be deleted, if you manually delete less can also, if thousands of files, you need to use batch delete procedures
Guard deformities file cleaning software free green edition
Take the example of creating an "abc." folder (note the dots in the file name, normally you cannot create a folder with a dotted file name) :
1. Go to the command prompt, switch the current working directory to drive D, and enter:
D:
Enter, then type:
md abc.. \
Return.
2. You will find a folder called "abc."
3. This folder cannot be opened or deleted by double-clicking, and it cannot be deleted in ordinary mode.
4. How do you put the documents in? You can COPY the file in with the copy command: copy file name d:/abd... /
5. How do I open this folder? Enter the full path and folder name in "Run", such as: D:\abc... \
6. How to delete it? On the CLI, switch the current working directory to disk D and enter:
rd /q /s abc.. \
Principle: With the illegal naming benefits of windows, this is a bug in the windows NT series of systems, in dos or win9x you can normally access the NT system to create such folders, but you can not create such folders. If the partition is in NTFS format, 9X is useless. Viruses use this bug to damage, ghost tools use this bug to back up gho files, it is very remarkable: ghost.exe can find such folders under DOS - compatible with the window NT bug.
Second, there is a folder that can be opened normally but cannot be deleted:
Create command:
md ”D:/abc / “
Delete command:
rd /q /s “D:/abc / “
Note: It is best to have quotation marks and Spaces, such as "D:/abc space/space".
Third, an invisible one:
Create command:
md D:/… /
Delete command:
rd /q /s D:/… /
Note: This folder is not visible in Explorer, but it is visible at the command prompt. Open mode: Run (win+r) enter D:/... /
Note: Use rd /s /q D:/... / command, less. Will delete all files on disk D! Be careful when typing commands!
Four, another can be opened normally can not be deleted through the resource manager:
Create command:
md “D:/ / “
Delete command:
rd /q /s “D:/ / “
Note: It is best to have quotation marks and Spaces, such as "D:/ space/space".
V. Supplementary note:
1. If you md abc... / Create an illegal folder like abc. Then create an abc folder in Explorer. The original abc. Can be opened. But you can't see the files inside. And you can delete the abc. Folder. But delete the abc. Folder. The original files will go to the abc folder built in the back. The abc folder will also become undeletable and cannot be opened. But if you type D:/abc under Run... / If so, you can still see the files inside. If the abc. Folder and the abc folder exist at the same time, you can give the abc. The folder is renamed abc folder. There are two abc folders at the same time. But if you delete one of these folders, after refreshing, it will still return abc. The folder. On the xp command line, it is easy to create such an indelible folder, but not in pure dos!
2, build a "without". With "." The "bug folder" of:
(1) Create a "." Folders such as:
md abc.. /
(2) Create a normal folder abc
(3) Normal method to delete folders with dots
(4) The abc folder left behind is also an ordinary method can not be opened, deleted, with the original abc. It's the same as the file, except the name doesn't look "."
3. Camouflage the "bug folder" :
(1) Create the abc. Folder
(2) The copy command copies files into the abc. Folder
(3) Generally build abc folder
(4) At this time, you can open abc. And abc, and the two folders seem to use the same disk space, the ordinary method copy into one folder, the other folder will have the same file. However, the files copied into the folder in step 2 will not be displayed.
(5) Both files can be deleted in the normal way, but no matter which one is deleted (abc. Or abc), the remaining folder (abc or abc.) and the abc created in step 1. With the same function, the ordinary method can not be opened, can not be deleted.
Therefore, you can create a "bug folder" with the same name as an ordinary folder (only the name looks the same), you can put some files you want to protect into it, from accidental deletion, and other problems.
6. Some interesting phenomena:
1. If you drag the file to the folder abc. Then, he will immediately generate an abc (folder with the same name), and dragged in the file is visible, but not seen previously used in the run type D:/abc... / Copy the file in. And, if used at run after dragging in the file type D:/abc... / Go inside and see. You can't see the files that were dragged in. After deleting one of the two folders with the same name, use D:/abc at run... / Look inside, still can't see the file dragged in.
2, we can first create a folder such as abc, and then set it as a hidden attribute, and then use the winrar software to name its folder abc... /. So far, the folder to achieve the general can not be deleted, hidden function. Then set the folder option to not show hidden files.
3, now just run in windows 2000 with abc... / Can not enter the folder, in xp can enter.
4, under the NTFS partition, the resource manager can not see this directory. Partitions must be in FAT32 format, NTFS cannot be created.
5, in fact, the partition inside the abc. File can be deleted, note that the file is not a folder. The method is as follows: Run the dir/x command to obtain the short name of the malformed file, and then run the del command to delete it.
7. A large number of malformed folders appear in some web server directoriesThen you need to pay attention to, this is the hacker left the back door procedures are inside, must be deleted, if you manually delete less can also, if thousands of files, you need to use batch delete procedures
Guard deformities file cleaning software free green edition
Related article
-
Double-click the mouse on the computer can not open the desktop file or folder how to deal with?
In the computer operation, sometimes there will be a double click on the file name but no reaction phenomenon, if this phenomenon appears at the same time on the touchpad and external mouse, we must consider whether there is a problem with the mouse Settings, the following Xiaobian will introduce you to the computer double2015-09-17 -
There are three solutions to failing to open a folder by double-clicking the mouse
Double click the mouse can not open the folder what to do? This problem may be a hardware problem may also be a software problem, the following share three ways to solve the mouse double click can not open the file method, the need of friends can refer to2015-09-14 -
What should I do if the zip file cannot be opened for extraction?
What should I do if the zip file cannot be opened for extraction? In the extraction time found click extraction will not move, 7zip software on the computer decompression is not good, how to do? Below to share a small series of solutions, the need of friends can refer to2015-08-31 -
Double-click on Windows 7 system can not open the folder but enter the search interface
In the resource Manager or "computer" can not open the folder, double-click the mouse does not open the folder but enters the search interface, you can modify the registry to recover, the detailed steps are as follows2014-10-11 -
Usb flash drive folder can not open the prompt can not read the source files are garbled
Sometimes you will encounter the problem of U disk folder can not open, open the U disk prompt folder is garbled, U disk can not read the source file or can not delete the operation, do not format, in fact, there is a better solution, we may wish to try2014-06-18 -
How to encounter the folder denied access is mainly due to the virus or the administrator permission is not enough, for this problem, the following specific introduction2014-05-19
-
An unavailable location was referenced. It may be a hard drive on a computer locally or on a network. Please check to make sure that this disk is connected correctly, or that you are connected to the Internet or your network, and then try again2012-06-27
-
The primary goal of LAN file server management is the safe management of server shared files, which in turn depends on the setting of server shared file permissions. This article mainly introduces the data sharing server permission Settings, server sharing disk Settings2017-06-01
-
This article takes sqlserver2003 as an example to introduce the method of setting computer sharing permissions, setting computer file sharing permissions, setting shared folder access permissions, interested friends take a look at it2017-05-11
-
File server is one of the important server applications of enterprises, at present, there are many units have built a file server LAN, this article mainly introduces the server shared folder set permissions, to prevent server file replication, file server access rights2017-03-29
Latest comments