Skip to content

Commit

Permalink
Added file write-up
Browse files Browse the repository at this point in the history
  • Loading branch information
cabreraalex committed May 21, 2014
1 parent 87fe51d commit 096e69b
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 1 deletion.
18 changes: 18 additions & 0 deletions tools/file/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
# File command

`file` returns the detected type of a file.

# Use

Pass any file as a parameter for `file` to get the filetype

```
$ file file.c
file.c: C program text
```

# More

* `man file`

* [file](https://en.wikipedia.org/wiki/File_command)
2 changes: 1 addition & 1 deletion topics/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ CTF challenges are usually categorized into one of these broad groups, and altho

3. If the file is a jumbled text file, it is most likely a [cryptography](./cryptography/) challenge.

4. If the file provided is not readily identifiable, the best tool to use is the `file` command in the command line, which tells you what type of file it is.
4. If the file provided is not readily identifiable, the best tool to use is the [file](../tools/file/README.md) command, which tells you what type of file it is.

* If the file output is PCAP or relating to packets, the challenge is a [web](./web) one.

Expand Down

0 comments on commit 096e69b

Please sign in to comment.