investigative reversing 4
This commit is contained in:
BIN
investigative_reversing_4/Item01_cp.bmp
Executable file
BIN
investigative_reversing_4/Item01_cp.bmp
Executable file
Binary file not shown.
|
After Width: | Height: | Size: 1.4 MiB |
BIN
investigative_reversing_4/Item02_cp.bmp
Executable file
BIN
investigative_reversing_4/Item02_cp.bmp
Executable file
Binary file not shown.
|
After Width: | Height: | Size: 1.4 MiB |
BIN
investigative_reversing_4/Item03_cp.bmp
Executable file
BIN
investigative_reversing_4/Item03_cp.bmp
Executable file
Binary file not shown.
|
After Width: | Height: | Size: 1.4 MiB |
BIN
investigative_reversing_4/Item04_cp.bmp
Executable file
BIN
investigative_reversing_4/Item04_cp.bmp
Executable file
Binary file not shown.
|
After Width: | Height: | Size: 1.4 MiB |
BIN
investigative_reversing_4/Item05_cp.bmp
Executable file
BIN
investigative_reversing_4/Item05_cp.bmp
Executable file
Binary file not shown.
|
After Width: | Height: | Size: 1.4 MiB |
@@ -0,0 +1,11 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<FILE_INFO>
|
||||
<BASIC_INFO>
|
||||
<STATE NAME="CONTENT_TYPE" TYPE="string" VALUE="Program" />
|
||||
<STATE NAME="PARENT" TYPE="string" VALUE="/" />
|
||||
<STATE NAME="FILE_ID" TYPE="string" VALUE="c0a8b2a0de2b9581681261000" />
|
||||
<STATE NAME="FILE_TYPE" TYPE="int" VALUE="0" />
|
||||
<STATE NAME="READ_ONLY" TYPE="boolean" VALUE="false" />
|
||||
<STATE NAME="NAME" TYPE="string" VALUE="mystery" />
|
||||
</BASIC_INFO>
|
||||
</FILE_INFO>
|
||||
Binary file not shown.
Binary file not shown.
@@ -0,0 +1,5 @@
|
||||
VERSION=1
|
||||
/
|
||||
00000000:mystery:c0a8b2a0de2b9581681261000
|
||||
NEXT-ID:1
|
||||
MD5:d41d8cd98f00b204e9800998ecf8427e
|
||||
@@ -0,0 +1,5 @@
|
||||
VERSION=1
|
||||
/
|
||||
00000000:mystery:c0a8b2a0de2b9581681261000
|
||||
NEXT-ID:1
|
||||
MD5:d41d8cd98f00b204e9800998ecf8427e
|
||||
@@ -0,0 +1,6 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<FILE_INFO>
|
||||
<BASIC_INFO>
|
||||
<STATE NAME="OWNER" TYPE="string" VALUE="MaximeVorwerk" />
|
||||
</BASIC_INFO>
|
||||
</FILE_INFO>
|
||||
@@ -0,0 +1,18 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<PROJECT>
|
||||
<PROJECT_DATA_XML_NAME NAME="DISPLAY_DATA">
|
||||
<SAVE_STATE>
|
||||
<ARRAY NAME="EXPANDED_PATHS" TYPE="string">
|
||||
<A VALUE="investigative_reversing_4:" />
|
||||
</ARRAY>
|
||||
<STATE NAME="SHOW_TABLE" TYPE="boolean" VALUE="false" />
|
||||
</SAVE_STATE>
|
||||
</PROJECT_DATA_XML_NAME>
|
||||
<PROJECT_DATA_XML_NAME NAME="LOADER_OPTIONS">
|
||||
<SAVE_STATE />
|
||||
</PROJECT_DATA_XML_NAME>
|
||||
<TOOL_MANAGER ACTIVE_WORKSPACE="Workspace">
|
||||
<WORKSPACE NAME="Workspace" ACTIVE="true" />
|
||||
</TOOL_MANAGER>
|
||||
</PROJECT>
|
||||
|
||||
@@ -0,0 +1,11 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<FILE_INFO>
|
||||
<BASIC_INFO>
|
||||
<STATE NAME="CONTENT_TYPE" TYPE="string" VALUE="ProgramUserData" />
|
||||
<STATE NAME="PARENT" TYPE="string" VALUE="/" />
|
||||
<STATE NAME="FILE_ID" TYPE="string" VALUE="c0a8b2a0edb817347025857199" />
|
||||
<STATE NAME="FILE_TYPE" TYPE="int" VALUE="0" />
|
||||
<STATE NAME="READ_ONLY" TYPE="boolean" VALUE="false" />
|
||||
<STATE NAME="NAME" TYPE="string" VALUE="udf_c0a8b2a0de2b9581681261000" />
|
||||
</BASIC_INFO>
|
||||
</FILE_INFO>
|
||||
Binary file not shown.
@@ -0,0 +1,4 @@
|
||||
VERSION=1
|
||||
/
|
||||
NEXT-ID:0
|
||||
MD5:d41d8cd98f00b204e9800998ecf8427e
|
||||
@@ -0,0 +1,2 @@
|
||||
IADD:00000000:/udf_c0a8b2a0de2b9581681261000
|
||||
IDSET:/udf_c0a8b2a0de2b9581681261000:c0a8b2a0edb817347025857199
|
||||
@@ -0,0 +1,4 @@
|
||||
VERSION=1
|
||||
/
|
||||
NEXT-ID:0
|
||||
MD5:d41d8cd98f00b204e9800998ecf8427e
|
||||
@@ -0,0 +1,4 @@
|
||||
VERSION=1
|
||||
/
|
||||
NEXT-ID:0
|
||||
MD5:d41d8cd98f00b204e9800998ecf8427e
|
||||
BIN
investigative_reversing_4/mystery
Executable file
BIN
investigative_reversing_4/mystery
Executable file
Binary file not shown.
26
investigative_reversing_4/sol.py
Executable file
26
investigative_reversing_4/sol.py
Executable file
@@ -0,0 +1,26 @@
|
||||
#!/home/maxime/.pyvenv/bin/python3
|
||||
|
||||
for c in range(5, 0, -1):
|
||||
with open("Item0" + str(c) + "_cp.bmp", 'rb') as f:
|
||||
img = f.read()
|
||||
|
||||
leading_space = 2019
|
||||
flag_size = 10
|
||||
enc_size = flag_size * (8 + 4)
|
||||
|
||||
enc_buffer = img[leading_space:leading_space + enc_size]
|
||||
flag_buffer = [''] * flag_size
|
||||
|
||||
for i in range(flag_size):
|
||||
char = 0
|
||||
enc_offset = i * (8 + 4)
|
||||
|
||||
for j in range(8):
|
||||
char |= (enc_buffer[enc_offset+j] & 1) << j
|
||||
|
||||
flag_buffer[i] = chr(char)
|
||||
|
||||
print(''.join(flag_buffer), end='')
|
||||
|
||||
print()
|
||||
|
||||
Reference in New Issue
Block a user