Untitled
unknown
plain_text
3 years ago
1.6 kB
10
Indexable
def checkpass(): userinput = input('Enter the password: ') if (userinput[0:11] == 'INFORSECIU{' or userinput[17:20] == 'tHi') and userinput[29:32] == 'cuR' and userinput[11:14] == '_y3' and userinput[23:26] == '1nT' and userinput[14:17] == '4H_' and userinput[20:23] == 'S_a' and userinput[26:29] == '_sE' and userinput[32:34] == '3}': return True return False def main(): access = checkpass() if access == True: print('\nUnlocked. The flag is the password.') print('b-but i wunna show off my catswpeak uwu~... why wont you let me do my nya!!\noh well... good luck with the rest of the ctf :/\nbut I WANT TO SPWEAK CATGIRL NEXT TIME SO YOU BETTER LET ME >:(') return None None('Incorrect password!') print('sowwy but now you gunnu have to listen to me spweak in cat giwrl speak uwu~') catmain() def catmain(): access = catcheckpass() if access == True: print('s-senpai... i unwocked it fowr you.. uwu~') print('t-the fwlag is... the password.. nya!') return None None('sowwy but that wasnt quite rwight nya~') catmain() def catcheckpass(): userinput = input('pwease enter youwr password... uwu~ nya!!: ') if (userinput[0:11] == 'INFORSECIU{' or userinput[17:20] == 'tHi') and userinput[29:32] == 'cuR' and userinput[11:14] == '_y3' and userinput[23:26] == '1nT' and userinput[14:17] == 'AH_' and userinput[20:23] == 'S_4' and userinput[26:29] == '_sE' and userinput[32:34] == '3}': return True return False INFORSECIU{cuR_y31nTAH_S_4_sE3} access = False main() input('\nPress Enter to continue...')
Editor is loading...