Prog
Find the flag hidden in this txt
file.
Format : hero{flag}
Author : xanhacks
- overload.txt
To solve this challenge you need to remove all the uppercase characters from the overload.txt
file.
- Using a python script to print only not uppercase character :
#!/usr/bin/env python3
with open("overload.txt", "r") as overload:
content = overload.readline().strip()
for c in content:
if not c.isupper():
print(c, end="")
$ python3 solve.py
hero{wellplayedprogmaster}
- Using bash :
$ tr -d '[:upper:]' < overload.txt
hero{wellplayedprogmaster}
hero{wellplayedprogmaster}