Progress
This commit is contained in:
BIN
Day 18/dance.deb
Normal file
BIN
Day 18/dance.deb
Normal file
Binary file not shown.
BIN
Day 18/dance/control.tar.gz
Normal file
BIN
Day 18/dance/control.tar.gz
Normal file
Binary file not shown.
10
Day 18/dance/control/control
Normal file
10
Day 18/dance/control/control
Normal file
@@ -0,0 +1,10 @@
|
||||
Package: com.hacking-lab.dance
|
||||
Name: dance
|
||||
Architecture: iphoneos-arm
|
||||
Description: An awesome tool of some sort!!
|
||||
Maintainer: hardlock
|
||||
Author: hardlock
|
||||
Section: System
|
||||
Tag: role::hacker
|
||||
Version: 0.0.1
|
||||
Installed-Size: 196
|
||||
BIN
Day 18/dance/data.tar.lzma
Normal file
BIN
Day 18/dance/data.tar.lzma
Normal file
Binary file not shown.
BIN
Day 18/dance/data/usr/bin/dance
Executable file
BIN
Day 18/dance/data/usr/bin/dance
Executable file
Binary file not shown.
BIN
Day 18/dance/data/usr/bin/dance.id0
Normal file
BIN
Day 18/dance/data/usr/bin/dance.id0
Normal file
Binary file not shown.
BIN
Day 18/dance/data/usr/bin/dance.id1
Normal file
BIN
Day 18/dance/data/usr/bin/dance.id1
Normal file
Binary file not shown.
BIN
Day 18/dance/data/usr/bin/dance.nam
Normal file
BIN
Day 18/dance/data/usr/bin/dance.nam
Normal file
Binary file not shown.
BIN
Day 18/dance/data/usr/bin/dance.til
Normal file
BIN
Day 18/dance/data/usr/bin/dance.til
Normal file
Binary file not shown.
1
Day 18/dance/debian-binary
Normal file
1
Day 18/dance/debian-binary
Normal file
@@ -0,0 +1 @@
|
||||
2.0
|
||||
36
Day 18/decode.py
Normal file
36
Day 18/decode.py
Normal file
@@ -0,0 +1,36 @@
|
||||
unk_100007F50 = [0x03, 0x20, 0x63, 0x46, 0x61, 0xB6, 0x3C, 0xAF, 0xAA, 0x76, 0xC2, 0x7E, 0xEA, 0x00, 0xB5, 0x98]
|
||||
a4 = -5678246756302764783
|
||||
|
||||
# input = "096CD446EBC8E04D2FDE299BE44F322863F7A37C18763554EEE4C99C3FAD15"
|
||||
# print(len(input), len(unk_100007F50))
|
||||
|
||||
def dance_words():
|
||||
pass
|
||||
|
||||
def dance_block(buf, unk, const, num):
|
||||
pass
|
||||
|
||||
def dance(input):
|
||||
if len(input) > 0:
|
||||
v4 = -567824675630276478
|
||||
v5 = unk_100007F50
|
||||
v6 = len(input)
|
||||
v7 = input
|
||||
v8 = 0
|
||||
v9 = [0] * 64
|
||||
|
||||
while True:
|
||||
|
||||
if v8 == 0:
|
||||
dance_block(v9, v5, v4, 0)
|
||||
|
||||
v7[v8] = ord(v7[v8]) ^ v9[0]
|
||||
v8 = v8 + 1
|
||||
if v6 == v8:
|
||||
break
|
||||
|
||||
return v7
|
||||
|
||||
input = ["0"] * 32
|
||||
output = dance(input)
|
||||
print(output)
|
||||
Reference in New Issue
Block a user