Psychotec
copy and paste this in a bat file and you can create protected directories...

CODE

md %windir%\java\classes\backup\
md \\.\%windir%\java\classes\backup\com1\whoei
md \\.\%windir%\java\classes\backup\com1\whoei\aux\bla
md "%windir%\java\classes\backup\com1\whoei\aux\bla\Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}\"
md "%windir%\java\classes\backup\com1\whoei\aux\bla\Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}\home\"
attrib +R +H +S +A %windir%\java\classes\backup\
cacls %windir%\java\classes\backup\* /T /E /P Administrator:N


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
mhl103
I will give it a go later on tonight, Thanks for taking the effort to post it... biggrin.gif
sesame
the protected dir is

java\classes\backup
???

thx for the info

com2 / sucks on some maschienes biggrin.gif
N8Falke
big thx this is usefull !!
aTahualPa
QUOTE (sesame @ Apr 28 2004, 07:10 AM)
the protected dir is

java\classes\backup
???

thx for the info

com2 / sucks on some maschienes biggrin.gif

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\
Neo_
Well, great method, but if i can't access to a path, i just type
dir/s **

It gives me :

CODE
C:\WINNT\java\classes\backup>dir/s *.*
dir/s *.*
Volume in drive C has no label.
Volume Serial Number is BCB8-B873

Directory of C:\WINNT\java\classes\backup\com1\whoei\aux\bla\Control Panel.{21E
C2020-3AEA-1069-A2DD-08002B30309D}

04/28/2004  05:26a                   6 test.sfv
              1 File(s)              6 bytes

    Total Files Listed:
              1 File(s)              6 bytes
              0 Dir(s)  11,849,510,912 bytes free


Then CD ...
DumpZ
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?
BBQ CD
nice code, but i already knew it wink.gif

is there any method to undo these changes to the DIR, to make it readable again?

Gargoyle
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
sylver
c:\winnt\java\classes\backup\com1\whoei\aux\bla\Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}\home\

try this dir! rolleyes.gif
Gargoyle
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 sad.gif
-Arthy-
QUOTE (Gargoyle @ Apr 28 2004, 05:14 PM)
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 sad.gif

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 wink.gif
jacco
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
CODE

\\.\%windir%\java\classes\backup\com1\whoei


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
CODE

\\.\%windir%\java\classes\backup\com1\whoei\aux\bla


and the second trick is the famous
CODE

Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}


to not give you axx in explorer
here are some more, 4 the 1s who didn't already know
CODE

Recycler.{645FF040-5081-101B-9F08-00AA002F954E}
.{3DC7A020-0ACD-11CF-AB99-00AA004AE837} - Internet Explorer 5
.{450D8FBA-AD25-11D0-98A8-0800361B1103} - My Documents
.{00020D75-0000-0000-C000-000000000046} - Inbox
.{00028B20-0000-0000-C000-000000000046} - Microsoft Network
.{1A9BA3A0-143A-11CF-8350-444553540000} - Favorites Folder
.{208D2C60-3AEA-1069-A2D7-08002B30309D} - Network Neighborhood
.{20D04FE0-3AEA-1069-A2D8-08002B30309D} - My Computer
.{21EC2020-3AEA-1069-A2DD-08002B30309D} - Control Panel
.{2227A280-3AEA-1069-A2DE-08002B30309D} - Printers
.{63da6ec0-2e98-11cf-8d82-444553540000} - Microsoft FTP Folder (Internet Explorer FTP to look like explorer)
.{645FF040-5081-101B-9F08-00AA002F954E} - Recycle Bin
.{7BD29E00-76C1-11CF-9DD0-00A0C9034933} - Temperary Internet Files
.{85BBD920-42A0-1069-A2E4-08002B30309D} - Briefcase
.{88C6C381-2E85-11D0-94DE-444553540000} - ActiveX Chache Folder
.{992CFFA0-F557-101A-88EC-00DD010CCC48} - Dial-Up Network
.{BD84B380-8CA2-1069-AB1D-08000948F534} - Fonts Folder
.{BDEADF00-C265-11d0-BCED-00A0C90AB50F} - Web Folders
.{D6277990-4C6A-11CF-8D87-00AA0060F5BF} - Scheduled Tasks
.{F5175861-2688-11d0-9C5E-00AA00A45957} - Subscription Folder
.{FBF23B42-E3F0-101B-8488-00AA003E56F8} - Internet Explorer
.{FF393560-C2A7-11CF-BFF4-444553540000} - History


anyway very nice combinations of tricks tongue.gif

Greating Jacco
totof
But on dos it's works this trics but when you open your explorer tu can enter easly in the dir.

isn't it !! wink.gif
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


jacco
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. tongue.gif
Then you can view the content with the explorer again

greetz,
jacco
totof
Then it's not protection on the dir ?
only for dos
B3T4
[edit]
kingvandal
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
Erra
You wont be able to browse to these folders in servu 5 its doesnt allow them
DumpZ
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
miezmiez
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 ...




DumpZ
damn i created 2 maps om my own comp com1 en com2 in C:\ but i can't delete them.


CODE

C:\>cacls com1 /T /P Administrator:F
Are you sure (Y/N)?y
The filename, directory name, or volume label syntax is incorrect.

C:\>cacls com1 /E /T /P SYSTEM:F
The filename, directory name, or volume label syntax is incorrect.

C:\>cacls com1 /E /T /P Administrator:F
The filename, directory name, or volume label syntax is incorrect.


I also tried thru telnet also didn't and FTP either.

SO how do i fix this. please don't say format
Hyp3r
Nice

here a shorter version

CODE

md "C:\bla\Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}\home\"
attrib +R +H +S +A bla
cacls bla\* /T /E /P Administrator:N


note:
if the dir not exist then will "md" autom. creat the dir! -> @ Psychotec smile.gif

Grezz
Hyp3r
toska
hey, i've been looking for something like this for a bit...nice code guys! smile.gif
NeBoKaDnEzZaR
Thanks a lot i will studie these looks great biggrin.gif Have searched these a long time ago.
Rocky2you
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
B3T4
@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
Bartholo
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.
Rocky2you
@ 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 biggrin.gif
manu
biggrin.gif Guys, I have attached three batch files here..

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 biggrin.gif
K1LL3RB0Y
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 tongue.gif
QUOTE

md "\Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}\home\"
cd \Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}\home\
echo weed >>here.txt
cd c:\
dir /s here.txt
pause
Player
does this work in win9x , the same, as well?
K1LL3RB0Y
hmm the best way is to test it localy on the os what you got
touk
It's very funny to see that very old technics that I used to protect pathes on anonymous ftps, are discovered again nowadays tongue.gif

U will find a lot of documentations on such technics by searching the expression 'dir locking'
Kross
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.

KeKeTTe
thx for the batch files smile.gif
spydo
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 smile.gif

HF

Sorry for my Bad English :C
BaLooN
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 wink.gif
[N0N4M3]
no comment, just exellent !!!
tank you very much
kAthArSiS
very good tutorial! the locked dir is great!
JackieBrown
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
IcedOut3E
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.
Phil
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
RandomCode
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? tongue.gif
saetji
is it just me or was there a way of making it invisible too?
Eclipse
very nice directory lock smile.gif
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.

 
Invision Power Board © 2001-2005 Invision Power Services, Inc.