Skip to content

Commit

Permalink
Fix Cryptography level 1
Browse files Browse the repository at this point in the history
Signed-off-by: Dimitrie Valu <[email protected]>
  • Loading branch information
valudimi committed Sep 26, 2024
1 parent b40cadc commit 96f4190
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion cryptography/level-1/run
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
#!/opt/pwn.college/python

import base64
print(f"The flag in base64: {base64.b64encode(open("/flag", "rb").read()).decode()}")
flag = base64.b64encode(open("/flag", "rb").read()).decode()
print(f"The flag in base64: {flag}")

0 comments on commit 96f4190

Please sign in to comment.