Created
December 30, 2017 15:17
-
-
Save kongwenbin/8551e2665f6be6e7083a182efbb7f10e to your computer and use it in GitHub Desktop.
A simple function to decode base64 encoded content designed for VulnHub VM - FristiLeaks v1.3
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
#Wrote this simple function to solve the CTF designed for FristiLeaks v1.3 VulnHub VM | |
#!/usr/bin/python | |
import base64,codecs,sys | |
def decodeString(str): | |
decode = codecs.decode(str[::-1], 'rot13') | |
return base64.b64decode(decode) | |
cryptoResult=decodeString(sys.argv[1]) | |
print cryptoResult |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment