Skip to main content

Posts

Showing posts with the label Bandit 11

Over the Wire - Bandit 11

Bandit 11 Objectives Level GoalThe password for the next level is stored in the file  data.txt , which contains base64 encoded data Solution This one can be completed by using the base64 function in linux with the -d switch to decode bandit10@bandit:~$ base64 -d data.txt The password is IFukwKGsFW8MOq3IRFqrxE1hxTNEbUPR now python import base64 with open("data.txt") as f:  contents = f.read()  decoded = base64.decodestring(contents)  print(decoded) >>> import base64 >>> >>> with open("data.txt") as f: ...  contents = f.read() ...  decoded = base64.decodestring(contents) ...  print(decoded) ... The password is IFukwKGsFW8MOq3IRFqrxE1hxTNEbUPR