mirror of
https://github.com/nganhkhoa/CTF-All-In-One.git
synced 2025-06-24 04:05:03 +07:00
some fix
This commit is contained in:
0
src/Reverse/defcamp_r100 → src/Others/5.3_angr/entry_language
Normal file → Executable file
0
src/Reverse/defcamp_r100 → src/Others/5.3_angr/entry_language
Normal file → Executable file
10
src/Others/5.3_angr/exp_angr.py
Normal file
10
src/Others/5.3_angr/exp_angr.py
Normal file
@ -0,0 +1,10 @@
|
||||
import angr
|
||||
|
||||
project = angr.Project("entry_language", auto_load_libs=False)
|
||||
|
||||
@project.hook(0x400844)
|
||||
def print_flag(state):
|
||||
print "FLAG SHOULD BE:", state.posix.dump_fd(0)
|
||||
project.terminate_execution()
|
||||
|
||||
project.execute()
|
5
src/Others/5.3_angr/exp_re.py
Normal file
5
src/Others/5.3_angr/exp_re.py
Normal file
@ -0,0 +1,5 @@
|
||||
str_list = ["Dufhbmf", "pG`imos", "ewUglpt"]
|
||||
passwd = []
|
||||
for i in range(12):
|
||||
passwd.append(chr(ord(str_list[i % 3][2 * (i / 3)]) - 1))
|
||||
print ''.join(passwd)
|
BIN
src/writeup/6.2.3_re_codegate2017_angrybird/angrybird
Normal file
BIN
src/writeup/6.2.3_re_codegate2017_angrybird/angrybird
Normal file
Binary file not shown.
Reference in New Issue
Block a user