1.

Solve : Batch create crazy diretories from list.?

Answer»

It's a common thing on here... the classic error of the child/newbie/ignoramus: "This thing that looks complicated to me will look complicated to everybody."Quote

hiding it inside maze of folder is just too easy to break.

Your response to my request was very nice until I saw this. Now this takes all the fun out of it. So does that mean that now it is just a exercise in how to pull a prank on somebody? Create a maze of folders and move all of goat pictures to a folder in the bottom of the maze? Too easy to find. --sigh--

Still, is t really this easy? Is this batch? Looks like APL. I know all computers LANGUAGES, except APL. And this sure looks like APL to me!
Code: [Select]for /f "tokens=*" %a in ('dir/b/s/a-d') do @if %~za neq 0 echo %aHow does it work? what are the funny symbols for?I'm not very keen with the new Batch extensions introduced with the later NT command processors, but I'll see if I can break that down:

for /f "tokens=*" %a in ('dir/b/s/a-d')


performs the specified directory command, which returns a listing of all files in all folders within the current directory- note the /a-d part, which says not to include files with the directory attribute (no folders).

then, for each file found, it will execute:

Code: [Select]@if %~za neq 0 echo %a

I actually haven't a clue how it works, but the given comment "how to break garble" as well as the comparision tells us that it is comparing something to zero, only echoing it if it is not zero.

I might hazard a guess and say it's checking the filesize, which would mean that create files with anything more then a single byte of random characters all over the place, perhaps with filenames, and sizes the same as the "proper" files- maybe hundreds of them, all over the place, and only the person who created it knows the "real" file. Of course the idea is to waste their searchers time opening files that crash their image editor


It would confuse your basic user, but at the same time a "basic user" isn't looking for goat pictures, and just wants to know where the HECK he SAVED february's tax reports. OBVIOUSLY they would probably be puzzled why there are 500 "BESSIE.JPG" files, but probably would ignore them.

If somebody was "REALLY" looking for the files, they could simply search for them, and at the very worst open them until one succeeds, or EVEN better, look at the file times and open the earliest one.Quote from: BC_Programmer
then, for each file found, it will execute:

Code:

@if %~za neq 0 echo %a

for each filename found (%a in dir /b /a-d) in this and (/s) all subdirectories, if that file's size (%~za) is not zero (neq 0), echo the filename.
I'm trying to figure out how reno thinks that will break "garble"... garble, after all, would consume space...

Now- what if one was to literally store the "secret" files in the alternate data stream of the folders themselves?Quote from: BC_Programmer on April 07, 2009, 12:24:31 AM
I'm trying to figure out how reno thinks that will break "garble"... garble, after all, would consume space...

Now- what if one was to literally store the "secret" files in the alternate data stream of the folders themselves?

Or steganographically squirrel them away in goat images? Or did I mean goat them away in squirrel images? (Did you read about that racoon guy in Russia?)


yes yes- steganographically hide them in images that are then saved to alternate data streams! ha ha ha, it's perfect! even if they are found, all they can see is the pornographic images they were hidden in!


Discussion

No Comment Found