Last active
April 2, 2021 15:49
-
-
Save lttn1204/5512121e580db18523776296148eb07b to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from string import ascii_lowercase,ascii_uppercase | |
flag_enc="cvpbPGS{arkg_gvzr_V'yy_gel_2_ebhaqf_bs_ebg13_MAZyqFQj}" | |
flag='' | |
for i in flag_enc: | |
if i in ascii_lowercase: | |
flag+=ascii_lowercase[(ascii_lowercase.index(i)+13)%len(ascii_lowercase)] | |
elif i in ascii_uppercase: | |
flag+=ascii_uppercase[(ascii_uppercase.index(i)+13)%len(ascii_uppercase)] | |
else: | |
flag+=i | |
print(flag) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment