some other challenges
This commit is contained in:
BIN
information/cat.jpg
Normal file
BIN
information/cat.jpg
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 858 KiB |
42
nice_netcat/nc_out
Normal file
42
nice_netcat/nc_out
Normal 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
8
nice_netcat/sol.py
Executable 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
1
transformation/enc
Executable file
@@ -0,0 +1 @@
|
|||||||
|
灩捯䍔䙻ㄶ形楴獟楮獴㌴摟潦弸彤㔲挶戹㍽
|
||||||
15
transformation/sol.py
Executable file
15
transformation/sol.py
Executable 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
BIN
wave_a_flag/warm
Executable file
Binary file not shown.
Reference in New Issue
Block a user