added all ctfs

This commit is contained in:
2023-12-25 07:06:20 +01:00
commit 9ea8ecac74
37 changed files with 640 additions and 0 deletions

BIN
ForeverCTF/gdb/gdb_exec Executable file

Binary file not shown.

BIN
ForeverCTF/jump/input Normal file

Binary file not shown.

BIN
ForeverCTF/jump/jump Executable file

Binary file not shown.

BIN
ForeverCTF/overflow/overflow Executable file

Binary file not shown.

View File

@@ -0,0 +1 @@
flag = utflag{simple}

View File

@@ -0,0 +1 @@
bullshit_flag

Binary file not shown.

View 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

View File

@@ -0,0 +1 @@
q

BIN
ForeverCTF/uint64_t/a.out Executable file

Binary file not shown.

View 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`

View 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)

Binary file not shown.

BIN
ForeverCTF/xor/xor Executable file

Binary file not shown.