some other challenges

This commit is contained in:
Maxime Vorwerk
2024-06-05 16:22:50 +02:00
parent c9764c3f18
commit eec8ec4147
6 changed files with 66 additions and 0 deletions

BIN
information/cat.jpg Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 858 KiB

42
nice_netcat/nc_out Normal file
View File

@@ -0,0 +1,42 @@
112
105
99
111
67
84
70
123
103
48
48
100
95
107
49
116
116
121
33
95
110
49
99
51
95
107
49
116
116
121
33
95
97
102
100
53
102
100
97
52
125
10

8
nice_netcat/sol.py Executable file
View File

@@ -0,0 +1,8 @@
#!/usr/bin/python
with open("nc_out", "r") as f:
lines = f.readlines()
for line in lines:
char = chr(int(line))
print(char, end='')

1
transformation/enc Executable file
View File

@@ -0,0 +1 @@
灩捯䍔䙻ㄶ形楴獟楮獴㌴摟潦弸彤㔲挶戹㍽

15
transformation/sol.py Executable file
View File

@@ -0,0 +1,15 @@
#!/usr/bin/python
with open("enc", "r") as f:
while True:
char = f.read(1)
if not char:
break
c = ord(char)
char_1 = chr(c >> 8)
char_2 = chr(c%(2**8))
print(char_1, end='')
print(char_2, end='')
print('\n')

BIN
wave_a_flag/warm Executable file

Binary file not shown.