Page 1 of 2 12 LastLast
Results 1 to 10 of 11

Thread: Fun with ASCII folders

  1. #1
    Senior Member
    Join Date
    Jun 2003
    Posts
    772

    Fun with ASCII folders

    ----------------------------
    Fun with ASCII folders
    ----------------------------


    ASCII stands for "American Standard Code for Information Interchange".
    Because computers only understand binary all characters have such a
    numerical value.
    e.g. the binary value of 'A' is 1000001 which is 65 in decimal.
    65 is the Ascii code of 'A'.

    Ascii folders are simply folders that have a name which contains
    chars Windows can't represent so it's impossible to open them
    with Explorer. This is not possible on xp and 2k. NT may be
    invulnerable too, I'm not sure.

    To enter ascii code you have to hold down ALT and then
    type the ascii value of the char you want to type.
    e.g. ALT+65 types an 'A'.

    Creating an ascii folder
    -----------------------------

    Create a new folder with Windows Explorer (for example C:\afolder)
    and put some files in it.
    Fire up a dos prompt: Start -> Run -> command
    Now cd to the right directory, e.g.

    C:\windows>cd..
    C:\>

    Rename your folder like this:

    C:\>ren afolder asecretALT+255

    The character the ascii value 255 represents cannot be displayed
    by Windows. If you try to open that folder you'll get an error message
    saying: "The folder C:\asecret_ does not exist".
    Note that only certain values can't be displayed by Windows.

    "Cracking" ascii folders
    ----------------------------

    cd to the folder your folder is located in, in the example:

    C:\windows>cd..
    C:\>

    type dir to display the folder's content and echo it into a file:

    C:\>dir > afile.txt

    Now open in edit using binary mode and wrapping lines to 70 chars wide:

    C:\>edit /70 afile.txt

    At the right bottom you'll see "Value: avalue" where avalue represents
    the ascii code of the character at the current cursor position.
    Find your foldername and put the cursor at the location where the ascii
    code is typed to find out what it is. Of course it's 255 in our case
    but this is if you need to find out about a folder created by someone else
    using another ascii code...

    Now you can rename the folder back to a name Windows does understand,
    in the example:

    C:\>ren asecretALT+255 stuff
    The above sentences are produced by the propaganda and indoctrination of people manipulating my mind since 1987, hence, I cannot be held responsible for this post\'s content - me

    www.elhalf.com

  2. #2
    Senior Member
    Join Date
    Sep 2003
    Posts
    161
    Good read although i feel that this tutorial needs to be moved to the other tutorial forum.

  3. #3
    Senior Member
    Join Date
    Jul 2002
    Location
    Texas
    Posts
    168
    This makes a great way to keep snooping eyes from viewing your porn or to mess with others by making a dir on their comp called porn.
    <chsh> I've read more interesting technical discussion on the wall of a public bathroom than I have at AO at times

  4. #4
    Senior Member
    Join Date
    Jun 2003
    Posts
    772
    i feel that this tutorial needs to be moved to the other tutorial forum.
    Yeah, maybe, I was doubting where to post it and thought: well it has a little to do with security, although it's security by obscurity...
    The above sentences are produced by the propaganda and indoctrination of people manipulating my mind since 1987, hence, I cannot be held responsible for this post\'s content - me

    www.elhalf.com

  5. #5
    Antionline Herpetologist
    Join Date
    Aug 2001
    Posts
    1,165
    A couple of things.
    1. Alt+255 (or any other character) only works with the numeric keypad.
    2. This technique does not work on NT based OS's (i.e. you can name the folder with Alt+255 but it can be opened by windows explorer)
    This might be something to do with the fact that 2K and XP actually use a wide character format (wchar_t) instead of char. (I think a macro that says #define char wchar_t is that in windows.h but I'm not sure)
    Cheers,
    cgkanchi
    Buy the Snakes of India book, support research and education (sorry the website has been discontinued)
    My blog: http://biology000.blogspot.com

  6. #6
    Senior Member
    Join Date
    Jun 2003
    Posts
    772
    Isn't it obvious that ALT+255 only works with the numeric keypad? If you type in at the "letter part" you type: ALT+éé(
    Thanks, wasn't certain about NT so...
    It might still work with other chars maybe? There are alot on win9x between 128 and 255
    The above sentences are produced by the propaganda and indoctrination of people manipulating my mind since 1987, hence, I cannot be held responsible for this post\'s content - me

    www.elhalf.com

  7. #7
    Well, It is a good tip, and to do somthing useful I attached a gif extended file outlines the ASCII codes,,,

    Cheers.
    Don\'t Be So HumblE>>>>
    You aRe N0T tHaT GreaT<<<<

  8. #8
    Antionline Herpetologist
    Join Date
    Aug 2001
    Posts
    1,165
    El-half, by numeric keypad, i meant not the numbers at the top of the alphabets. Also, it won't work with any characters for NT (i.e. they'll display, but explorer opens them just fine).
    Cheers,
    cgkanchi
    Buy the Snakes of India book, support research and education (sorry the website has been discontinued)
    My blog: http://biology000.blogspot.com

  9. #9
    Senior Member
    Join Date
    Jun 2003
    Posts
    772
    Alt+255 (or any other character) only works with the numeric keypad.
    El-half, by numeric keypad, i meant not the numbers at the top of the alphabets.
    Of course, I meant: isn't it obvious it only works with the numeric keypad? What pad would you have to use otherwise???

    Ok, so this doesn't work with anything NT based, thanks
    The above sentences are produced by the propaganda and indoctrination of people manipulating my mind since 1987, hence, I cannot be held responsible for this post\'s content - me

    www.elhalf.com

  10. #10
    Member
    Join Date
    Mar 2003
    Posts
    74
    A old trick but it works fine only 95/98
    Win 2000/NT/XP just open the folders..so we can not hide things in this manner ;-))

    I know everyone knows this ...just to be with you. ;-))
    (-:IF U R A HACKER TRY TO BE ON POINT,IT SAVES TIME:-)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •