-
-
Notifications
You must be signed in to change notification settings - Fork 136
/
Copy pathhints.txt
97 lines (63 loc) · 2.35 KB
/
hints.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
!!!! Replace xxx with your obtained level password !!!!
LEVEL 1 - Integer Overflow
-------
./exploit hello [Integer value]
Hint: Signed or unsigned, that's the question
LEVEL 2 - Stack Overflow
-------
./exploit xxx [username] [password]
Hint: try admin as username
I'm sure they didn't expect a username or password to be very long :)
Try to run the function level3password
LEVEL 3 - Array Overflow
-------
./exploit xxx [arraynumber] [content]
Hint: You have a maximum of 32 slots to store content.
Try to run the function level4password
LEVEL 4 - Off by One
-------
./exploit xxx [magic]
Hint: Magic happens if there are enough null bytes
LEVEL 5 - Stack Cookie
-------
./exploit xxx [magic]
Hint: There might be a stack cookie preventing you to have success
LEVEL 6 - Format String
-------
./exploit xxx
Hint: r should return Y instead of N. But sometimes codes don't want you to reach a simple 'Y'.
But maybe a print function is buggy ?
LEVEL 7 - Heap Overflow
-------
[32-Bit]
./exploit xxx [text]
Hint: Success will be for those to change the magic to 0x6763
LEVEL 8 - Type Confusion
-------
./exploit xxx [cmd]
Hint: How can we set the pointer of g to be the pointer of b, in order to get a pointer that is executed ?
LEVEL 9 - Zero Pointers
-------
./exploit xxx [addr] [flag1] [flag2]
Hint: Try some address with flag1=0 and flag2=0
LEVEL 10 - Command Injection
--------
./exploit xxx [Cmd]
Hint: This will run "man Cmd". How can we run our own command, maybe a ; is helpful ?
LEVEL 11 - Path Traversal
--------
./exploit xxx [Directory]
Hint: Only ./dir1/dir2/ may be accepted, but maybe there is a trick to access a lower directory ?
LEVEL 12 - Return Oriented Programming (ROP)
--------
./exploit xxx
Hint: How can we change the flag 1234 to 5678 using some string ?
The compare at 0x01145c (32bit) / 0x0x400784 (64bit) needs some love
LEVEL 13 - Use after Free
--------
./exploit xxx [options]
Hint: Maybe a destroyed mapping can be reused to our advantage ?
LEVEL 14 - Jump Oriented Programming (JOP)
--------
./exploit xxx token.bin
Hint: Craft a token.bin that will how you to do your stuff. First integer is total length (little endian), it should bypass the compare at 0x11588 (32bit) / 0x400878 (64bit)