Last active 1713928813

Revision efca4a47b483d38838641b16e7d96579d38a5635

how.txt Raw
1$ cat magicjump.sh
2cc -xc - <<EOF
3#include <unistd.h>
4int main(void) {
5 lseek(100,100,0);
6}
7EOF
8./a.out
9if false; then
10 echo pwned
11 exit
12fi
13$
14$ bash magicjump.sh
15$ zsh magicjump.sh
16$ osh magicjump.sh
17pwned
18$