Progress
This commit is contained in:
parent
320d615bea
commit
7926b309e2
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)
|
@ -26,7 +26,7 @@ initialSize = len(unicodes)
|
|||||||
print("Loaded %d unicodes" % initialSize)
|
print("Loaded %d unicodes" % initialSize)
|
||||||
|
|
||||||
def tryUnicode(unicode):
|
def tryUnicode(unicode):
|
||||||
process = subprocess.Popen(["./test"], stdin=subprocess.PIPE, stdout=subprocess.PIPE)
|
process = subprocess.Popen(["./main"], stdin=subprocess.PIPE, stdout=subprocess.PIPE)
|
||||||
process.stdin.write(unicode)
|
process.stdin.write(unicode)
|
||||||
process.stdin.write(b'\n')
|
process.stdin.write(b'\n')
|
||||||
process.stdin.flush()
|
process.stdin.flush()
|
||||||
|
@ -29,6 +29,7 @@ def tryPassword(pw):
|
|||||||
try:
|
try:
|
||||||
decrypted = cipher.decrypt(encrypted)
|
decrypted = cipher.decrypt(encrypted)
|
||||||
print(decrypted.decode('utf-8'))
|
print(decrypted.decode('utf-8'))
|
||||||
|
exit(0)
|
||||||
return True
|
return True
|
||||||
except Exception as e:
|
except Exception as e:
|
||||||
print(str(e))
|
print(str(e))
|
||||||
@ -37,8 +38,8 @@ def tryPassword(pw):
|
|||||||
def doWork():
|
def doWork():
|
||||||
while not PASSWORD_QUEUE.empty():
|
while not PASSWORD_QUEUE.empty():
|
||||||
pw = PASSWORD_QUEUE.get()
|
pw = PASSWORD_QUEUE.get()
|
||||||
if tryPassword(pw):
|
tryPassword(pw)
|
||||||
print("Done?")
|
|
||||||
|
|
||||||
with open("/usr/share/wordlists/SecLists/Passwords/Leaked-Databases/rockyou.txt", "rb") as f:
|
with open("/usr/share/wordlists/SecLists/Passwords/Leaked-Databases/rockyou.txt", "rb") as f:
|
||||||
for pw in f.readlines():
|
for pw in f.readlines():
|
||||||
|
145
Day 22/thecommand7.hex
Normal file
145
Day 22/thecommand7.hex
Normal file
@ -0,0 +1,145 @@
|
|||||||
|
:100000000C9435000C945D000C945D000C945D0024
|
||||||
|
:100010000C945D000C945D000C945D000C945D00EC
|
||||||
|
:100020000C945D000C945D000C945D000C945D00DC
|
||||||
|
:100030000C945D000C945D000C945D000C945D00CC
|
||||||
|
:100040000C94EA010C945D000C945A020C94340256
|
||||||
|
:100050000C945D000C945D000C945D000C945D00AC
|
||||||
|
:100060000C945D000C945D00A60311241FBECFEF1D
|
||||||
|
:10007000D8E0DEBFCDBF11E0A0E0B1E0EEE9F8E0EE
|
||||||
|
:1000800002C005900D92A835B107D9F721E0A8E587
|
||||||
|
:10009000B1E001C01D92AE3FB207E1F710E0C5E349
|
||||||
|
:1000A000D0E004C02197FE010E944704C433D10769
|
||||||
|
:1000B000C9F70E94D3030C944D040C9400000F93D5
|
||||||
|
:1000C0001F93CF93DF93EC01E881F9810190F081D8
|
||||||
|
:1000D000E02D09958C01E881F9810280F381E02D02
|
||||||
|
:1000E00042E050E065E571E0CE010995800F911F77
|
||||||
|
:1000F000DF91CF911F910F910895AF92BF92CF9250
|
||||||
|
:10010000DF92EF92FF920F931F93CF93DF936C01D7
|
||||||
|
:100110007B018B01040F151FEB015E01AE18BF08B8
|
||||||
|
:10012000C017D10759F06991D601ED91FC9101906A
|
||||||
|
:10013000F081E02DC6010995892B79F7C501DF9182
|
||||||
|
:10014000CF911F910F91FF90EF90DF90CF90BF90D4
|
||||||
|
:10015000AF900895FC01538D448D252F30E0842FFE
|
||||||
|
:1001600090E0821B930B541710F0CF9608950197DF
|
||||||
|
:100170000895FC01918D828D981761F0A28DAE0FCC
|
||||||
|
:10018000BF2FB11D5D968C91928D9F5F9F73928F53
|
||||||
|
:1001900090E008958FEF9FEF0895FC01918D828D7F
|
||||||
|
:1001A000981731F0828DE80FF11D858D90E008954C
|
||||||
|
:1001B0008FEF9FEF0895FC01918D228D892F90E0A4
|
||||||
|
:1001C000805C9F4F821B91098F739927089588E562
|
||||||
|
:1001D00091E00E94DB0021E0892B09F420E0822FCE
|
||||||
|
:1001E000089580E090E0892B29F00E94E7008111BA
|
||||||
|
:1001F0000C9400000895FC01A48DA80FB92FB11D27
|
||||||
|
:10020000A35ABF4F2C91848D90E001968F7399274C
|
||||||
|
:10021000848FA689B7892C93A089B1898C9183702A
|
||||||
|
:1002200080648C93938D848D981306C00288F38923
|
||||||
|
:10023000E02D80818F7D80830895EF92FF920F9350
|
||||||
|
:100240001F93CF93DF93EC0181E0888F9B8D8C8D82
|
||||||
|
:1002500098131AC0E889F989808185FF15C09FB776
|
||||||
|
:10026000F894EE89FF896083E889F9898081837039
|
||||||
|
:10027000806480839FBF81E090E0DF91CF911F91E8
|
||||||
|
:100280000F91FF90EF900895F62E0B8D10E00F5F09
|
||||||
|
:100290001F4F0F731127E02E8C8D8E110CC00FB6DF
|
||||||
|
:1002A00007FCFACFE889F989808185FFF5CFCE0177
|
||||||
|
:1002B0000E94FB00F1CFEB8DEC0FFD2FF11DE35AF7
|
||||||
|
:1002C000FF4FF0829FB7F8940B8FEA89FB898081FA
|
||||||
|
:1002D0008062CFCFCF93DF93EC01888D8823B9F074
|
||||||
|
:1002E000AA89BB89E889F9898C9185FD03C0808141
|
||||||
|
:1002F00086FD0DC00FB607FCF7CF8C9185FFF2CFBE
|
||||||
|
:10030000808185FFEDCFCE010E94FB00E9CFDF9118
|
||||||
|
:10031000CF910895CF92DF92EF92FF92CF93DF9328
|
||||||
|
:10032000EC016A017B01E889F98982E08083C114CC
|
||||||
|
:1003300081EED806E104F104A1F060E079E08DE3FC
|
||||||
|
:1003400090E0A70196010E9425042150310941093E
|
||||||
|
:1003500051095695479537952795211580E138071E
|
||||||
|
:1003600098F0E889F989108260E874E88EE190E0FD
|
||||||
|
:10037000A70196010E942504215031094109510924
|
||||||
|
:100380005695479537952795EC85FD853083EE8505
|
||||||
|
:10039000FF852083188EEC89FD8986E08083EA89B9
|
||||||
|
:1003A000FB89808180618083EA89FB898081886004
|
||||||
|
:1003B0008083EA89FB89808180688083EA89FB8960
|
||||||
|
:1003C00080818F7D8083DF91CF91FF90EF90DF90D0
|
||||||
|
:1003D000CF9008951F920F920FB60F9211242F9372
|
||||||
|
:1003E0003F938F939F93AF93BF938091FA01909126
|
||||||
|
:1003F000FB01A091FC01B091FD013091F90123E0D6
|
||||||
|
:10040000230F2D3758F50196A11DB11D2093F90139
|
||||||
|
:100410008093FA019093FB01A093FC01B093FD013E
|
||||||
|
:100420008091F5019091F601A091F701B091F8014A
|
||||||
|
:100430000196A11DB11D8093F5019093F601A09343
|
||||||
|
:10044000F701B093F801BF91AF919F918F913F91C8
|
||||||
|
:100450002F910F900FBE0F901F90189526E8230F35
|
||||||
|
:100460000296A11DB11DD2CF1F920F920FB60F920F
|
||||||
|
:1004700011242F933F934F935F936F937F938F93A9
|
||||||
|
:100480009F93AF93BF93EF93FF9388E591E00E9412
|
||||||
|
:10049000FB00FF91EF91BF91AF919F918F917F9161
|
||||||
|
:1004A0006F915F914F913F912F910F900FBE0F90E1
|
||||||
|
:1004B0001F9018951F920F920FB60F9211242F9331
|
||||||
|
:1004C0008F939F93EF93FF93E0916801F0916901FF
|
||||||
|
:1004D0008081E0916E01F0916F0182FD1BC09081DF
|
||||||
|
:1004E000809171018F5F8F7320917201821741F0AB
|
||||||
|
:1004F000E0917101F0E0E85AFE4F958F8093710111
|
||||||
|
:10050000FF91EF919F918F912F910F900FBE0F90C0
|
||||||
|
:100510001F9018958081F4CFCF93DF9300D000D047
|
||||||
|
:10052000CDB7DEB789E290E0FC018081882F90E0B2
|
||||||
|
:10053000807899279C838B838B819C81892BB9F44C
|
||||||
|
:100540001A82198289819A818C9788F489819A818B
|
||||||
|
:10055000895E9E4FFC018081682F88E591E00E94B2
|
||||||
|
:100560005F0089819A8101969A838983EBCF0F90EE
|
||||||
|
:100570000F900F900F90DF91CF910895CF93DF935D
|
||||||
|
:10058000CDB7DEB7809102018093340180911401D0
|
||||||
|
:1005900080931B018091110180932A0180910201B7
|
||||||
|
:1005A000809325018091000180933C01809102019C
|
||||||
|
:1005B000809322018091130180931E01809112018A
|
||||||
|
:1005C000809338018091100180933D01DF91CF919C
|
||||||
|
:1005D0000895CF93DF93CDB7DEB78091020180936A
|
||||||
|
:1005E0002D01809102018093280180911101809357
|
||||||
|
:1005F000390180910F0180933E0180910901809320
|
||||||
|
:100600003B018091070180933A0180910D01809315
|
||||||
|
:10061000210180910701809331018091070180932E
|
||||||
|
:100620002E0180910A018093230180910301809320
|
||||||
|
:100630001A01DF91CF910895CF93DF93CDB7DEB745
|
||||||
|
:100640008091020180933F018091060180931801FF
|
||||||
|
:10065000809110018093400180910B0180932401CF
|
||||||
|
:1006600080910E01809327018091080180932F01D2
|
||||||
|
:100670008091150180934101809111018093300197
|
||||||
|
:100680008091070180931F018091020180933701BF
|
||||||
|
:1006900080910F018093360180910201809329019E
|
||||||
|
:1006A000DF91CF910895CF93DF93CDB7DEB78091DF
|
||||||
|
:1006B0000E0180932C018091070180932601809187
|
||||||
|
:1006C000040180931C0180910101809319018091A4
|
||||||
|
:1006D0000701809335018091040180931701809177
|
||||||
|
:1006E00005018093200180910C018093330180915A
|
||||||
|
:1006F000070180932B018091020180931D0180915D
|
||||||
|
:10070000110180933201DF91CF910895CF93DF9350
|
||||||
|
:10071000CDB7DEB70E9453030E941C030E94E9027A
|
||||||
|
:100720000E94BE02DF91CF910895CF93DF93CDB7A2
|
||||||
|
:10073000DEB74CE251E060E070E088E591E00E94B5
|
||||||
|
:100740008A010E948603DF91CF910895E8E5F1E0E8
|
||||||
|
:100750001382128288EE93E0A0E0B0E08483958358
|
||||||
|
:10076000A683B78387E491E09183808385EC90E052
|
||||||
|
:100770009587848784EC90E09787868780EC90E06B
|
||||||
|
:10078000918B808B81EC90E0938B828B82EC90E05C
|
||||||
|
:10079000958B848B86EC90E0978B868B118E128ED6
|
||||||
|
:1007A000138E148E0895789484B5826084BD84B5C8
|
||||||
|
:1007B000816084BD85B5826085BD85B5816085BD5C
|
||||||
|
:1007C00080916E00816080936E0010928100809114
|
||||||
|
:1007D000810082608093810080918100816080939C
|
||||||
|
:1007E0008100809180008160809380008091B100C1
|
||||||
|
:1007F00084608093B1008091B00081608093B000EC
|
||||||
|
:1008000080917A00846080937A0080917A0082607F
|
||||||
|
:1008100080937A0080917A00816080937A00809141
|
||||||
|
:100820007A00806880937A001092C1000E9495033C
|
||||||
|
:10083000C0E0D0E00E948C022097E1F30E94E70024
|
||||||
|
:100840008823C1F30E940000F5CFA1E21A2EAA1B53
|
||||||
|
:10085000BB1BFD010DC0AA1FBB1FEE1FFF1FA21770
|
||||||
|
:10086000B307E407F50720F0A21BB30BE40BF50B6D
|
||||||
|
:10087000661F771F881F991F1A9469F760957095F6
|
||||||
|
:10088000809590959B01AC01BD01CF010895EE0FBD
|
||||||
|
:0E089000FF1F0590F491E02D0994F894FFCF1E
|
||||||
|
:10089E00303133394853565F61636467686C6D6EEF
|
||||||
|
:1008AE00727478797B7D002020202020202020204B
|
||||||
|
:1008BE00202020202020202020202020202020202A
|
||||||
|
:1008CE00202020202020202020202020202020201A
|
||||||
|
:1008DE00202000000000001D017D00AA006A01DB3F
|
||||||
|
:0808EE0000B900CD000D0A0065
|
||||||
|
:00000001FF
|
Loading…
Reference in New Issue
Block a user