I'm trying to learn UNIX commands and I'm playing this game to learn and I'm really stuck at the moment. I'm in a server through ssh and the directory is full of random files and folders and the password for the next level is inside one of the files. I have been told that the file has the following attributes: human-readable 1033 bytes non-executable I am guessing that I should use the 'find' command and I tried " find ! -executable " but that returned a load of files. The only human-readable help I can find in the manual or online is printing out the file sizes in human readable. So I'm a bit lost there? Also I did try " find ~ -size 1033b " but that returned nothing. But when I tried " find ~ -size -1033b " it returned every file in the directory. Any help would be appreciated. Thanks in advance. |
The find command that you want is: From the man page for find:
|
If there's only 1 file of 1033 bytes you could do a " ls -l | grep 1033 " to get the file name. |
-1033b is not correct. -size 1033 is correct Sorry. |
And also, i think that "human readable" means that the contents of the file should be human readable, so it's not a bynary file. You can check that with file, doing:
in you find command, or with
also in your find command. Hope it helps ;) (BTW, tell us the name of the game please :D) |
It's Over the wire! and using -exec file {} ; helps as it lists out data from ascii text which the point is to find which of these files is human readable. thanks!
|
nickcorin : can you please disclose the name of this game ? I would love to play it too. Thanks in advance. :)