Bandit 8
Objective
Level GoalThe password for the next level is stored in the file data.txt next to the word millionth
Solution
this one is not to difficult using just bash
I wrote this grep to search for the word 'millionth' in the text file
password for the next level is ācvX2JJa4CFALtqS87jk27qwqGhBM9plV
Now let's figure it out with python
ā
with open("data.txt") as openfile: for line in openfile: if "millionth" in line:
Objective
Level GoalThe password for the next level is stored in the file data.txt next to the word millionth
Solution
this one is not to difficult using just bash
I wrote this grep to search for the word 'millionth' in the text file
bandit7@bandit:~$ grep 'millionth' data.txtmillionth cvX2JJa4CFALtqS87jk27qwqGhBM9plV
Bingopassword for the next level is ācvX2JJa4CFALtqS87jk27qwqGhBM9plV
Now let's figure it out with python
ā
Comments
Post a Comment