changed repo structure
This commit is contained in:
BIN
2025/cscg/rev/grid_wave/GRID_WAVE_4X8_LangleyMicros.vr
Executable file
BIN
2025/cscg/rev/grid_wave/GRID_WAVE_4X8_LangleyMicros.vr
Executable file
Binary file not shown.
52
2025/cscg/rev/grid_wave/avr.dump
Normal file
52
2025/cscg/rev/grid_wave/avr.dump
Normal file
@@ -0,0 +1,52 @@
|
||||
00000000 <.text>:
|
||||
0: 0c 94 34 00 jmp 0x68 ; 0x68
|
||||
4: 0c 94 49 00 jmp 0x92 ; 0x92
|
||||
8: 0c 94 49 00 jmp 0x92 ; 0x92
|
||||
c: 0c 94 49 00 jmp 0x92 ; 0x92
|
||||
10: 0c 94 49 00 jmp 0x92 ; 0x92
|
||||
14: 0c 94 49 00 jmp 0x92 ; 0x92
|
||||
18: 0c 94 49 00 jmp 0x92 ; 0x92
|
||||
1c: 0c 94 49 00 jmp 0x92 ; 0x92
|
||||
20: 0c 94 49 00 jmp 0x92 ; 0x92
|
||||
24: 0c 94 49 00 jmp 0x92 ; 0x92
|
||||
28: 0c 94 49 00 jmp 0x92 ; 0x92
|
||||
2c: 0c 94 49 00 jmp 0x92 ; 0x92
|
||||
30: 0c 94 49 00 jmp 0x92 ; 0x92
|
||||
34: 0c 94 49 00 jmp 0x92 ; 0x92
|
||||
38: 0c 94 49 00 jmp 0x92 ; 0x92
|
||||
3c: 0c 94 49 00 jmp 0x92 ; 0x92
|
||||
40: 0c 94 49 00 jmp 0x92 ; 0x92
|
||||
44: 0c 94 49 00 jmp 0x92 ; 0x92
|
||||
48: 0c 94 49 00 jmp 0x92 ; 0x92
|
||||
4c: 0c 94 49 00 jmp 0x92 ; 0x92
|
||||
50: 0c 94 49 00 jmp 0x92 ; 0x92
|
||||
54: 0c 94 49 00 jmp 0x92 ; 0x92
|
||||
58: 0c 94 49 00 jmp 0x92 ; 0x92
|
||||
5c: 0c 94 49 00 jmp 0x92 ; 0x92
|
||||
60: 0c 94 49 00 jmp 0x92 ; 0x92
|
||||
64: 0c 94 49 00 jmp 0x92 ; 0x92
|
||||
68: 11 24 eor r1, r1
|
||||
6a: 1f be out 0x3f, r1 ; 63
|
||||
6c: cf ef ldi r28, 0xFF ; 255
|
||||
6e: d8 e0 ldi r29, 0x08 ; 8
|
||||
70: de bf out 0x3e, r29 ; 62
|
||||
72: cd bf out 0x3d, r28 ; 61
|
||||
74: 12 e0 ldi r17, 0x02 ; 2
|
||||
76: a0 e0 ldi r26, 0x00 ; 0
|
||||
78: b1 e0 ldi r27, 0x01 ; 1
|
||||
7a: e2 ec ldi r30, 0xC2 ; 194
|
||||
7c: f8 e0 ldi r31, 0x08 ; 8
|
||||
7e: 02 c0 rjmp .+4 ; 0x84
|
||||
80: 05 90 lpm r0, Z+
|
||||
82: 0d 92 st X+, r0
|
||||
84: a4 3a cpi r26, 0xA4 ; 164
|
||||
86: b1 07 cpc r27, r17
|
||||
88: d9 f7 brne .-10 ; 0x80
|
||||
8a: 0e 94 e6 03 call 0x7cc ; 0x7cc
|
||||
8e: 0c 94 5f 04 jmp 0x8be ; 0x8be
|
||||
92: 0c 94 00 00 jmp 0 ; 0x0
|
||||
96: 10 92 c5 00 sts 0x00C5, r1 ; 0x8000c5
|
||||
9a: 87 e6 ldi r24, 0x67 ; 103
|
||||
9c: 80 93 c4 00 sts 0x00C4, r24 ; 0x8000c4
|
||||
a0: 88 e1 ldi r24, 0x18 ; 24
|
||||
|
||||
1356
2025/cscg/rev/grid_wave/dump
Normal file
1356
2025/cscg/rev/grid_wave/dump
Normal file
File diff suppressed because it is too large
Load Diff
0
2025/cscg/rev/grid_wave/gridwave.gpr
Normal file
0
2025/cscg/rev/grid_wave/gridwave.gpr
Normal file
11
2025/cscg/rev/grid_wave/gridwave.rep/idata/00/00000004.prp
Normal file
11
2025/cscg/rev/grid_wave/gridwave.rep/idata/00/00000004.prp
Normal file
@@ -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="c0a8073ffb8121240967914416" />
|
||||
<STATE NAME="FILE_TYPE" TYPE="int" VALUE="0" />
|
||||
<STATE NAME="READ_ONLY" TYPE="boolean" VALUE="false" />
|
||||
<STATE NAME="NAME" TYPE="string" VALUE="blogpost.bin" />
|
||||
</BASIC_INFO>
|
||||
</FILE_INFO>
|
||||
11
2025/cscg/rev/grid_wave/gridwave.rep/idata/00/00000005.prp
Normal file
11
2025/cscg/rev/grid_wave/gridwave.rep/idata/00/00000005.prp
Normal file
@@ -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="c0a8073dcc793952601231625" />
|
||||
<STATE NAME="FILE_TYPE" TYPE="int" VALUE="0" />
|
||||
<STATE NAME="READ_ONLY" TYPE="boolean" VALUE="false" />
|
||||
<STATE NAME="NAME" TYPE="string" VALUE="GRID_WAVE_4X8_LangleyMicros.vr" />
|
||||
</BASIC_INFO>
|
||||
</FILE_INFO>
|
||||
Binary file not shown.
Binary file not shown.
6
2025/cscg/rev/grid_wave/gridwave.rep/idata/~index.bak
Normal file
6
2025/cscg/rev/grid_wave/gridwave.rep/idata/~index.bak
Normal file
@@ -0,0 +1,6 @@
|
||||
VERSION=1
|
||||
/
|
||||
00000005:GRID_WAVE_4X8_LangleyMicros.vr:c0a8073dcc793952601231625
|
||||
00000004:blogpost.bin:c0a8073ffb8121240967914416
|
||||
NEXT-ID:6
|
||||
MD5:d41d8cd98f00b204e9800998ecf8427e
|
||||
6
2025/cscg/rev/grid_wave/gridwave.rep/idata/~index.dat
Normal file
6
2025/cscg/rev/grid_wave/gridwave.rep/idata/~index.dat
Normal file
@@ -0,0 +1,6 @@
|
||||
VERSION=1
|
||||
/
|
||||
00000005:GRID_WAVE_4X8_LangleyMicros.vr:c0a8073dcc793952601231625
|
||||
00000004:blogpost.bin:c0a8073ffb8121240967914416
|
||||
NEXT-ID:6
|
||||
MD5:d41d8cd98f00b204e9800998ecf8427e
|
||||
6
2025/cscg/rev/grid_wave/gridwave.rep/project.prp
Normal file
6
2025/cscg/rev/grid_wave/gridwave.rep/project.prp
Normal file
@@ -0,0 +1,6 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<FILE_INFO>
|
||||
<BASIC_INFO>
|
||||
<STATE NAME="OWNER" TYPE="string" VALUE="cato" />
|
||||
</BASIC_INFO>
|
||||
</FILE_INFO>
|
||||
10
2025/cscg/rev/grid_wave/gridwave.rep/projectState
Normal file
10
2025/cscg/rev/grid_wave/gridwave.rep/projectState
Normal file
@@ -0,0 +1,10 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<PROJECT>
|
||||
<PROJECT_DATA_XML_NAME NAME="DISPLAY_DATA">
|
||||
<SAVE_STATE />
|
||||
</PROJECT_DATA_XML_NAME>
|
||||
<TOOL_MANAGER ACTIVE_WORKSPACE="Workspace">
|
||||
<WORKSPACE NAME="Workspace" ACTIVE="true" />
|
||||
</TOOL_MANAGER>
|
||||
</PROJECT>
|
||||
|
||||
11
2025/cscg/rev/grid_wave/gridwave.rep/user/00/00000002.prp
Normal file
11
2025/cscg/rev/grid_wave/gridwave.rep/user/00/00000002.prp
Normal file
@@ -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="c0a8073ffc5121438189679041" />
|
||||
<STATE NAME="FILE_TYPE" TYPE="int" VALUE="0" />
|
||||
<STATE NAME="READ_ONLY" TYPE="boolean" VALUE="false" />
|
||||
<STATE NAME="NAME" TYPE="string" VALUE="udf_c0a8073ffb8121240967914416" />
|
||||
</BASIC_INFO>
|
||||
</FILE_INFO>
|
||||
11
2025/cscg/rev/grid_wave/gridwave.rep/user/00/00000004.prp
Normal file
11
2025/cscg/rev/grid_wave/gridwave.rep/user/00/00000004.prp
Normal file
@@ -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="c0a8073e6d1103660918149750" />
|
||||
<STATE NAME="FILE_TYPE" TYPE="int" VALUE="0" />
|
||||
<STATE NAME="READ_ONLY" TYPE="boolean" VALUE="false" />
|
||||
<STATE NAME="NAME" TYPE="string" VALUE="udf_c0a8073dcc793952601231625" />
|
||||
</BASIC_INFO>
|
||||
</FILE_INFO>
|
||||
Binary file not shown.
Binary file not shown.
5
2025/cscg/rev/grid_wave/gridwave.rep/user/~index.bak
Normal file
5
2025/cscg/rev/grid_wave/gridwave.rep/user/~index.bak
Normal file
@@ -0,0 +1,5 @@
|
||||
VERSION=1
|
||||
/
|
||||
00000002:udf_c0a8073ffb8121240967914416:c0a8073ffc5121438189679041
|
||||
NEXT-ID:4
|
||||
MD5:d41d8cd98f00b204e9800998ecf8427e
|
||||
6
2025/cscg/rev/grid_wave/gridwave.rep/user/~index.dat
Normal file
6
2025/cscg/rev/grid_wave/gridwave.rep/user/~index.dat
Normal file
@@ -0,0 +1,6 @@
|
||||
VERSION=1
|
||||
/
|
||||
00000004:udf_c0a8073dcc793952601231625:c0a8073e6d1103660918149750
|
||||
00000002:udf_c0a8073ffb8121240967914416:c0a8073ffc5121438189679041
|
||||
NEXT-ID:5
|
||||
MD5:d41d8cd98f00b204e9800998ecf8427e
|
||||
2
2025/cscg/rev/grid_wave/gridwave.rep/user/~journal.bak
Normal file
2
2025/cscg/rev/grid_wave/gridwave.rep/user/~journal.bak
Normal file
@@ -0,0 +1,2 @@
|
||||
IADD:00000004:/udf_c0a8073dcc793952601231625
|
||||
IDSET:/udf_c0a8073dcc793952601231625:c0a8073e6d1103660918149750
|
||||
@@ -0,0 +1,4 @@
|
||||
VERSION=1
|
||||
/
|
||||
NEXT-ID:0
|
||||
MD5:d41d8cd98f00b204e9800998ecf8427e
|
||||
@@ -0,0 +1,4 @@
|
||||
VERSION=1
|
||||
/
|
||||
NEXT-ID:0
|
||||
MD5:d41d8cd98f00b204e9800998ecf8427e
|
||||
17
2025/cscg/rev/intro1/Dockerfile
Normal file
17
2025/cscg/rev/intro1/Dockerfile
Normal file
@@ -0,0 +1,17 @@
|
||||
# run via docker compose :)
|
||||
|
||||
FROM ubuntu:22.04
|
||||
|
||||
RUN apt-get update
|
||||
|
||||
RUN apt-get -y install socat
|
||||
RUN useradd -d /home/ctf/ -m -p ctf -s /bin/bash ctf
|
||||
RUN echo "ctf:ctf" | chpasswd
|
||||
|
||||
WORKDIR /home/ctf
|
||||
|
||||
COPY rev1 .
|
||||
COPY flag.txt .
|
||||
|
||||
USER ctf
|
||||
CMD socat -ddd TCP4-LISTEN:1024,fork,reuseaddr exec:./rev1,pty,echo=0,raw,iexten=0
|
||||
BIN
2025/cscg/rev/intro1/README.pdf
Normal file
BIN
2025/cscg/rev/intro1/README.pdf
Normal file
Binary file not shown.
BIN
2025/cscg/rev/intro1/README_german.pdf
Normal file
BIN
2025/cscg/rev/intro1/README_german.pdf
Normal file
Binary file not shown.
1
2025/cscg/rev/intro1/flag.txt
Normal file
1
2025/cscg/rev/intro1/flag.txt
Normal file
@@ -0,0 +1 @@
|
||||
CSCG{testflag}
|
||||
BIN
2025/cscg/rev/intro1/rev1
Executable file
BIN
2025/cscg/rev/intro1/rev1
Executable file
Binary file not shown.
18
2025/cscg/rev/intro2/Dockerfile
Normal file
18
2025/cscg/rev/intro2/Dockerfile
Normal file
@@ -0,0 +1,18 @@
|
||||
# run via docker compose :)
|
||||
|
||||
FROM ubuntu:22.04
|
||||
|
||||
RUN apt-get update
|
||||
|
||||
RUN apt-get -y install socat
|
||||
|
||||
RUN useradd -d /home/ctf/ -m -p ctf -s /bin/bash ctf
|
||||
RUN echo "ctf:ctf" | chpasswd
|
||||
|
||||
WORKDIR /home/ctf
|
||||
|
||||
COPY rev2 .
|
||||
COPY flag.txt .
|
||||
|
||||
USER ctf
|
||||
CMD socat -ddd TCP4-LISTEN:1024,fork,reuseaddr exec:./rev2,pty,echo=0,raw,iexten=0
|
||||
1
2025/cscg/rev/intro2/flag.txt
Normal file
1
2025/cscg/rev/intro2/flag.txt
Normal file
@@ -0,0 +1 @@
|
||||
CSCG{testflag}
|
||||
6
2025/cscg/rev/intro2/genPassword.py
Normal file
6
2025/cscg/rev/intro2/genPassword.py
Normal file
@@ -0,0 +1,6 @@
|
||||
password = b"\x02\xea\x02\xe8\xfc\xfd\xbd\xfd\xf2\xec\xe8\xfd\xfb\xea\xf7\xfc\xef\xb9\xfb\xf6\xea\xfd\xf2\xf8\xf7\x00"
|
||||
|
||||
input = bytes((byte + 0x77) % 256 for byte in password)
|
||||
|
||||
with open("password.bin", "wb") as f:
|
||||
f.write(input)
|
||||
1
2025/cscg/rev/intro2/password.bin
Normal file
1
2025/cscg/rev/intro2/password.bin
Normal file
@@ -0,0 +1 @@
|
||||
yay_st4tic_transf0rmationw
|
||||
BIN
2025/cscg/rev/intro2/rev2
Executable file
BIN
2025/cscg/rev/intro2/rev2
Executable file
Binary file not shown.
BIN
2025/cscg/rev/intro2/rev2.bndb
Normal file
BIN
2025/cscg/rev/intro2/rev2.bndb
Normal file
Binary file not shown.
1
2025/cscg/rev/intro3/flag.txt
Normal file
1
2025/cscg/rev/intro3/flag.txt
Normal file
@@ -0,0 +1 @@
|
||||
CSCG{testflag}
|
||||
13
2025/cscg/rev/intro3/genPassword.py
Normal file
13
2025/cscg/rev/intro3/genPassword.py
Normal file
@@ -0,0 +1,13 @@
|
||||
password = b"b9yPw:MwqcoHuFz^r-o*{>I\020Y"
|
||||
|
||||
def reverse_transformation(input_bytes):
|
||||
input_bytes = bytearray(input_bytes) # Convert to mutable bytearray
|
||||
for i in range(len(input_bytes)):
|
||||
input_bytes[i] = (input_bytes[i] + 2) % 256 # Step 1: Add 2
|
||||
input_bytes[i] ^= (i + 0xa) # Step 2: XOR with (i + 0xa)
|
||||
return bytes(input_bytes) # Convert back to bytes
|
||||
|
||||
real_password = reverse_transformation(password)
|
||||
|
||||
with open("password.bin", "wb") as f:
|
||||
f.write(real_password)
|
||||
1
2025/cscg/rev/intro3/password.bin
Normal file
1
2025/cscg/rev/intro3/password.bin
Normal file
@@ -0,0 +1 @@
|
||||
n0w_w3_have_a_dyn4m1c_k3y
|
||||
BIN
2025/cscg/rev/intro3/rev3
Executable file
BIN
2025/cscg/rev/intro3/rev3
Executable file
Binary file not shown.
BIN
2025/cscg/rev/intro3/rev3.bndb
Normal file
BIN
2025/cscg/rev/intro3/rev3.bndb
Normal file
Binary file not shown.
Reference in New Issue
Block a user