Skip to content

Commit

Permalink
add misc guide
Browse files Browse the repository at this point in the history
  • Loading branch information
richyliu committed Sep 21, 2024
1 parent 943540d commit dfe4ea5
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 1 deletion.
3 changes: 2 additions & 1 deletion fallctf-2024/src/SUMMARY.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
# Summary

- [Intro](./intro.md)
- [pwntools](./pwntools.md)
- [pwntools](./pwntools.md)
- [Misc](./misc.md)
13 changes: 13 additions & 0 deletions fallctf-2024/src/misc.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
# Misc

The miscellaneous category contains challenges not found in the other usual categories. Common types of challenges are **jails** and various programming/algorithm problems. Jails are programs that give the user some degree of control, with the goal to break out of the particular restrictions of the jail.

## Pyjail

One common challenge format is the Python jail, or "pyjail" for short. These are Python programs that take input form the user and executes it directly as Python code in some form. Often times there will be restrictions on the Python code that is executed. See [here](https://book.hacktricks.xyz/generic-methodologies-and-resources/python/bypass-python-sandboxes) for some ideas.

## Other file formats

As a general tip, running the `file` command on challenge files can tell you a lot of useful information. One file format in many misc challenges is the .wav format, which stores audio data with **pulse-code modulation**. In this format, audio waveforms are sampled at discrete intervals and are stored as a series of integers.


0 comments on commit dfe4ea5

Please sign in to comment.