ADworld學習筆記(1)

Bio_J發表於2020-11-07

第一次寫CTF相關wp記錄,主要是總結歸納我覺得比較好的題目的wp(可能是自己寫也可能是別人的。)

2020、11、7

crypto之冪數加密

冪數加密(雲影密碼):http://www.mamicode.com/info-detail-3075795.html

另解:

a=["88421","0122","048","02244","04","0142242","0248","0122"] 
flag="" 
for j in range(0,len(a)): 
    str = a[j] 
    list=[] 
    sum=0 
    for i in str: 
        list.append(i) 
        length = len(list) 
    for i in range(0,length): 
        sum+=int(list[i]) 
    flag+=chr(64+sum) 
print(flag)

相關文章