Net Ding Cup 2022 Writeup

Original link: https://5ime.cn/wangdingcup-2022.html

There are many things to do at the beginning of school, and the time of Wangding and Guan’an coincide perfectly, and it is simple to paddle.

Crypto

crypto091

Xiao A mustered up the courage to ask the goddess for a phone number, but the goddess must test him. The goddess said she recently read a paper published at USENIX Security 2021, a top security conference, which found a vulnerability in Apple’s AirDrop airdrop feature, which could reveal the phone number and email address of the AirDrop initiator or recipient to strangers . After a lot of hard work, Xiao A obtained the hash value of the mobile phone number transmitted by the goddess mobile phone during AirDrop, but it will not go further. Can you continue to help him? Xiao A only remembered that the goddess mobile phone number was the first Unicom number in the 170th segment.

Hash: c22a563acc2a587afbfaaaa6d67bc6e628872b00bd7e998873881f7c6fdc62fc

flag format: flag{13-digit phone number (pure numbers, including country code)}

The联通number of the首批of numbers in the 170 segment of the key point, 13 digits and sha256

Direct script blasting

 1
2
3
4
5
6
7
8
9
10
11
 import hashlib

data = 'c22a563acc2a587afbfaaaa6d67bc6e628872b00bd7e998873881f7c6fdc62fc'

for i in range ( 8617090000000 , 8617099999999 ):
a = hashlib.sha256( str (i).encode( 'utf-8' )).hexdigest()
if a == data:
print (i)
break
else :
print (i, a)

MISC

misc620

Blasting to get the password 99114514

image-20220830120844539

After decompression, a sys_account.csv 7EqufFnrSGk= was found in sys_account.csv

image-20220830121855439

After base64 to hex and then md5 decryption, the compressed package password nmy0612 is obtained

image-20220830121531706

image-20220830121603683

After decompressing flag.7z , I get a bunch of Korean… Use Text_Encoding_Brute_Force to enumerate to get flag

 1
 웬후ퟳ듳삨뫅뗘뛾튻튻뛾뻅뛾죽룜웟냋뗘쇹룜쯄쇣쇹쯄룜뻅웟웟쾸룜뇘웟죽뛾뻅웟뗘쾸쯄쯄뻅튻폒듳삨뫅

image-20220830121747857

This article is reprinted from: https://5ime.cn/wangdingcup-2022.html
This site is for inclusion only, and the copyright belongs to the original author.

Leave a Comment