## Journey - 20 pts___### DescriptionEvery journey starts on step one```bashnc p1.tjctf.org 8009```
### Solution___If we connect to the p1.tjctf.org at port 8009 we will receive something like this```bashroot@pwnhub:~/ctfs/tjctf2019/journey# nc p1.tjctf.org 8009Encountered 'one'The first step: ```
When we put one, we will receive another encounterd value to be able to step forward.```bashroot@pwnhub:~/ctfs/tjctf2019/journey# nc p1.tjctf.org 8009Encountered 'one'The first step: oneEncountered 'infected'The next step: ```
This will ask you again and again. So, It will be so hard to be able to enter it manually.So, I wrote a script. Pseudo code is like this 1. Connect to the server2. Receive first line which contains "Encountered 'one'"3. Check if there were flag inside first line4. Extract the encounter word5. Receive second line until we could input6. Send the word back7. Loop from 2 to 6:D
Here is my [code](https://github.com/kh4nt99/ctfs/blob/master/tjctf2019/journey/solution.py)
[Original Link](https://github.com/kh4nt99/ctfs/tree/master/tjctf2019/journey)