Government Security
Network Security Resources

Jump to content

Photo

Creating A Protected Dir

windows
  • Please log in to reply
55 replies to this topic

#1 Psychotec

Psychotec

    Private First Class

  • Members
  • 83 posts

Posted 27 April 2004 - 09:49 PM

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

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

#2 mhl103

mhl103

    Private First Class

  • Members
  • 24 posts

Posted 27 April 2004 - 10:30 PM

I will give it a go later on tonight, Thanks for taking the effort to post it... :D

#3 sesame

sesame

    Private First Class

  • Members
  • 28 posts

Posted 27 April 2004 - 11:10 PM

the protected dir is

java\classes\backup
???

thx for the info

com2 / sucks on some maschienes :D

#4 Guest_N8Falke_*

Guest_N8Falke_*
  • Guests

Posted 28 April 2004 - 12:35 AM

big thx this is usefull !!

#5 aTahualPa

aTahualPa

    Private First Class

  • Members
  • 42 posts

Posted 28 April 2004 - 12:47 AM

the protected dir is

java\classes\backup
???

thx for the info

com2 / sucks on some maschienes :D

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\

#6 Guest_Neo__*

Guest_Neo__*
  • Guests

Posted 28 April 2004 - 01:29 AM

Well, great method, but if i can't access to a path, i just type
dir/s **

It gives me :

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 ...

#7 DumpZ

DumpZ

    Staff Sergeant

  • Members
  • 356 posts

Posted 28 April 2004 - 02:02 AM

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?

#8 BBQ CD

BBQ CD

    Private First Class

  • Members
  • 59 posts

Posted 28 April 2004 - 05:04 AM

nice code, but i already knew it ;)

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

#9 Gargoyle

Gargoyle

    Private

  • Members
  • 8 posts

Posted 28 April 2004 - 07:53 AM

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

#10 sylver

sylver

    Private First Class

  • Members
  • 60 posts

Posted 28 April 2004 - 08:15 AM

c:\winnt\java\classes\backup\com1\whoei\aux\bla\Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}\home\

try this dir! :rolleyes:

#11 Gargoyle

Gargoyle

    Private

  • Members
  • 8 posts

Posted 28 April 2004 - 09:14 AM

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 :(

#12 -Arthy-

-Arthy-

    Private First Class

  • Members
  • 60 posts

Posted 28 April 2004 - 09:30 AM

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 ;)

#13 jacco

jacco

    Private First Class

  • Members
  • 58 posts

Posted 28 April 2004 - 09:55 AM

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
\\.\%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
\\.\%windir%\java\classes\backup\com1\whoei\aux\bla

and the second trick is the famous
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
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 :P

Greating Jacco

#14 Guest_totof_*

Guest_totof_*
  • Guests

Posted 28 April 2004 - 10:09 AM

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

#15 jacco

jacco

    Private First Class

  • Members
  • 58 posts

Posted 28 April 2004 - 10:28 AM

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. :P
Then you can view the content with the explorer again

greetz,
jacco





Also tagged with one or more of these keywords: windows