added all ctfs
This commit is contained in:
BIN
ForeverCTF/gdb/gdb_exec
Executable file
BIN
ForeverCTF/gdb/gdb_exec
Executable file
Binary file not shown.
BIN
ForeverCTF/jump/input
Normal file
BIN
ForeverCTF/jump/input
Normal file
Binary file not shown.
BIN
ForeverCTF/jump/jump
Executable file
BIN
ForeverCTF/jump/jump
Executable file
Binary file not shown.
BIN
ForeverCTF/overflow/overflow
Executable file
BIN
ForeverCTF/overflow/overflow
Executable file
Binary file not shown.
1
ForeverCTF/simple_checker/guesses.txt
Normal file
1
ForeverCTF/simple_checker/guesses.txt
Normal file
@@ -0,0 +1 @@
|
||||
flag = utflag{simple}
|
||||
1
ForeverCTF/tricky_indices/flag.txt
Normal file
1
ForeverCTF/tricky_indices/flag.txt
Normal file
@@ -0,0 +1 @@
|
||||
bullshit_flag
|
||||
BIN
ForeverCTF/tricky_indices/trickyindices
Executable file
BIN
ForeverCTF/tricky_indices/trickyindices
Executable file
Binary file not shown.
5
ForeverCTF/tricky_indices/writeup.md
Normal file
5
ForeverCTF/tricky_indices/writeup.md
Normal file
@@ -0,0 +1,5 @@
|
||||
# Tricky Indices
|
||||
|
||||
To exploit this binary enter -112 as the first index and -12 as the second index.
|
||||
This dumps the flag because no bounds were checked and the flag is located below
|
||||
the flag in memory
|
||||
1
ForeverCTF/uint64_t/.gdb_history
Normal file
1
ForeverCTF/uint64_t/.gdb_history
Normal file
@@ -0,0 +1 @@
|
||||
q
|
||||
BIN
ForeverCTF/uint64_t/a.out
Executable file
BIN
ForeverCTF/uint64_t/a.out
Executable file
Binary file not shown.
11
ForeverCTF/uint64_t/writeup.md
Normal file
11
ForeverCTF/uint64_t/writeup.md
Normal file
@@ -0,0 +1,11 @@
|
||||
# uint64_t challange
|
||||
|
||||
Observations:
|
||||
Current balance is stored as a uint64_t
|
||||
There is no check if you have enough money to buy a doge.
|
||||
|
||||
Exploit Path:
|
||||
1. Buy dodges until u get uint64_MAX ammount of money.
|
||||
2. Buy the win
|
||||
3. get the flag with `cat /flag.txt`
|
||||
|
||||
9
ForeverCTF/xor/decrypt_binary.py
Normal file
9
ForeverCTF/xor/decrypt_binary.py
Normal file
@@ -0,0 +1,9 @@
|
||||
import sys
|
||||
|
||||
binary = bytearray(open(sys.argv[1], 'rb').read())
|
||||
size = len(binary)
|
||||
|
||||
for i in range (size):
|
||||
binary[i] = binary[i] ^ 0x41
|
||||
|
||||
open(sys.argv[2], 'wb').write(binary)
|
||||
BIN
ForeverCTF/xor/decrypted_xor
Normal file
BIN
ForeverCTF/xor/decrypted_xor
Normal file
Binary file not shown.
BIN
ForeverCTF/xor/xor
Executable file
BIN
ForeverCTF/xor/xor
Executable file
Binary file not shown.
Reference in New Issue
Block a user