Skip to main content

Posts

Showing posts with the label Bandit 8

Over the Wire - Bandit 8

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 bandit7@bandit:~$ grep 'millionth' data.txt millionth cvX2JJa4CFALtqS87jk27qwqGhBM9plV Bingo 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:                 print line millionth cvX2JJa4CFALtqS87jk27qwqGhBM9plV