copy and paste this in a bat file and you can create protected directories...
|
Full Version: Creating A Protected Dir
copy and paste this in a bat file and you can create protected directories...
u need to edit this if u wanna use a different HD %windir% is c:\windows\ or c:\winnt, its auto all creditz go to Eustace... enjoy d00ds
I will give it a go later on tonight, Thanks for taking the effort to post it...
the protected dir is
java\classes\backup ??? thx for the info com2 / sucks on some maschienes
big thx this is usefull !!
the protected dir is: "%windir%\java\classes\backup\com1\whoei\aux\bla\Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}\home\" c:\winnt\java\classes\backup\com1\whoei\aux\bla\Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}\home\ or c:\windows\java\classes\backup\com1\whoei\aux\bla\Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}\home\
Well, great method, but if i can't access to a path, i just type dir/s ** It gives me :
Then CD ...
But can't this be easly be undone by
[code cacls %windir%\java\classes\backup\* /T /E /P Administrator:F [/code] I tried that though but then everytime i tried to access that dir the explorer.exe crashed. I was wondering if there is a way to fix this?
nice code, but i already knew it
is there any method to undo these changes to the DIR, to make it readable again?
Thx for the Code,
i tried it out, and the Folder is protected. But now i canīt use it, or iīm wrong?? Its not accessable for me, i tried it on my stro and my homepc how can i upload files into c:\winnt\java\classes\backup\com1\whoei\aux\bla\Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}\home\ ???? Many thx
c:\winnt\java\classes\backup\com1\whoei\aux\bla\Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}\home\
try this dir!
c:\winnt\java\classes\backup\com1\whoei\aux\bla\Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}\home\
550 /COM1:: Permission denied. i already do this, but didnīt work. hm
You probably didn't fill in the path right ahead. Just copy past the whole adress, than it'll work. If it still doesn't work then, I think, making the path failed ... try again
i dont know what you guys are doing, but i just tested it and it worked very well(Under windows XP). Just copy and paste into a .bat file and run the file then copy paste the 5th directory and then you are in.... its funny because if you trying to do "cd com1" it wont give you axx
so you must do "cd %windir%\java\classes\backup\com1\whoei\aux\bla\Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}\home\" to axx the folder. if when you are in the directory, you should try "cd.." a couple of times and you will see the second point who isnt giving axx
and the second trick is the famous
to not give you axx in explorer here are some more, 4 the 1s who didn't already know
anyway very nice combinations of tricks Greating Jacco
But on dos it's works this trics but when you open your explorer tu can enter easly in the dir.
isn't it !! this 2 commands doesn't work for me attrib +R +H +S +A %windir%\java\classes\backup\ <-- not work cacls %windir%\java\classes\backup\* /T /E /P Administrator:N <--- not workk
Yes, that s true, ,you can axx the "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}" with the explorer, but you can't see the actual content of the folder.
Windows shows the icons of the control pannel But on the other hand you could simple rename the directory. Then you can view the content with the explorer again greetz, jacco
Then it's not protection on the dir ?
only for dos
[edit]
not to change subject but, I created the com1,2,3,4,5,6,7,8,9 folders and can copy stuff to them. But how to do you protect the contents of the folder in the same manner the com folder is protected? even possible?
Rich
You wont be able to browse to these folders in servu 5 its doesnt allow them
How can this be undone? because i tried it on my testbox but know i can't delete it or access it, not even throught ftp
some ideas to break the protection ....
------------------- the hidden folders ... dir %windir%\java\classes\backup\*.* /s ---------------------- the attributs ... dir *.* /a ------------------ the cacls ... cacls %windir%\java\classes\backup\* /T /E /P Administrator:F .. type F instead of N for fullaxess .. or use other user net user me me /add net localgroup administrators me /add runas /profile /env /user:administrators\me "remoteshell.exe" connect with telnet ... and wolla ...
damn i created 2 maps om my own comp com1 en com2 in C:\ but i can't delete them.
I also tried thru telnet also didn't and FTP either. SO how do i fix this. please don't say format
Nice here a shorter version
note: if the dir not exist then will "md" autom. creat the dir! -> @ Psychotec Grezz Hyp3r
hey, i've been looking for something like this for a bit...nice code guys!
Thanks a lot i will studie these looks great
Hey people
I tried the code on a stro and it created the dir ok, i can acces it from a dos cmd line but in flashfxp i get the "permission denied com1" message.... What am i doing wrong or forgot here?? Thanks
@rocky2you
Dude, its an 'protected-dir' no wonder u cant just run in to it ! if u made a dir like let say \bla\com1\bla2\ then in flashfxp type the FULL DIR and then press enter
Yeah, nice = )
I already know this methode from pub protecting dirs .. I think you could also do it with lpt1, ltp2 ... instead of com1 Greetz & Thx Bartholo edit : i used these methode some time ago on my stros, but my serv-u 2.5 crashed when i tried to enter the folder without the full string.
@ B3T4
I typed the full path in flash...didnt get in so that's why i posted my question.. I understand it's a protected dir but that should not mean that i cant "just walk in" like you put it...Anybody has some idea's on how to acces the dir when the full path typing doesnt work? Like i said the dir is accesable in a dos cmd line..so created path should be good? Thanks for any input guy's 1. Makedir.bat 2. Renamedir.bat 3. Renback.bat First one will make the folder C:\WINNT\vb\Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}" and a dir called "home", but u wont see "home" now, when you open it with explorer, you will get Control panel tools. Fine, second one will rename that folder to ABC. Now you will see "home" folder inside ABC. You can put your files into it now. The third batch file will rename the "abc" folder back to "Control panel blah blah" You got everything done. Cool. Hey, edited Well, you can edit the batch files, like, intead of putting c:\winnt , use "%windir%" or well, u do it the way you want. Manu
it works only i edit a bit to the following tested on Windows XP Professional, Service Pack 2, v.2096 paste thiss into the bat and press it
does this work in win9x , the same, as well?
hmm the best way is to test it localy on the os what you got
It's very funny to see that very old technics that I used to protect pathes on anonymous ftps, are discovered again nowadays
U will find a lot of documentations on such technics by searching the expression 'dir locking'
Ok, thnx.
But one question. Iīve upped a file. "test.rar" in this abc Dir on our server. How can i get (leech) this File? I only see this controll panel. Same on my system.
thx for the batch files
I also take this Dir:
C:\WINNT\tasks\Today\_tracking or C:\WINDOWS\tasks\Today\_tracking or another nice Dir is this one: Fonts.{BD84B380-8CA2-1069-AB1D-08000948F534} You cant open it with the Explorer HF Sorry for my Bad English :C
Here are some of the dirs I use:
Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D} My Computer.{20D04FE0-3AEA-1069-A2D8-08002B30309D} Fonts.{BD84B380-8CA2-1069-AB1D-08000948F534} Inbox.{00020D75-0000-0000-C000-000000000046} URL History.{FF393560-C2A7-11CF-BFF4-444553540000} Printers.{2227A280-3AEA-1069-A2DE-08002B30309D} Network Neighborhood.{208D2C60-3AEA-1069-A2D7-08002B30309D} Recycle Bin.{645FF040-5081-101B-9F08-00AA002F954E} Internet Cache.{7BD29E00-76C1-11CF-9DD0-00A0C9034933} Dial-Up Networking.{992CFFA0-F557-101A-88EC-00DD010CCC48} Desktop.{00021400-0000-0000-C000-000000000046} Briefcase.{85BBD920-42A0-1069-A2E4-08002B30309D} Fonts.{BD84B380-8CA2-1069-AB1D-08000948F534} My Documents.{ECF03A32-103D-11d2-854D-006008059367} some of them already mentioned. Good to variate little
no comment, just exellent !!!
tank you very much
very good tutorial! the locked dir is great!
nice info about dirs....i say thanks for the infos!!
greetz Since this post is a recent THANKS, I'm awarding warning points. Yahoo! Don't post meaningless stuff! BN
Very nice idea and thoughts here.
I particularly like c:/windows/tasks/Today/_tracking - It works very well. Hopefully $soft don't change this shit. And props to everyone that has contributed to this thread.
yes ist very helpful but you should also change the date of the created folder! so it ist more secure too u shoud google for touch.exe xcalcx.exe
A good option would be to create inside %windir%\FONTS\Fonts.{BD84B380-8CA2-1069-AB1D-08000948F534}\
Inside Font's dir the folders are not showed, so why would anyone think to go there by dos to find out any existing hiden folder?
is it just me or was there a way of making it invisible too?
very nice directory lock
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
|
||||||||||||||||||||||