Index

1. Problem information

2. Problem solving

3. Review


 

 

 

[Problem information]


 

 

 

[Problem solving]

1. I Accessed the server with rcity4 user.

 

 

2. I listed the files, and there was a "flag.txt" file, so I checked the contents of that file. There were too many strings in it.

 

 

3. In the problem information, the flag was said to be near the string "flag is here". First, I tried to find the "flag is here" string in the "flag.txt" file using the grep command. But, there was nothing about that as a result. After that I added the -i option to ignore case distinctions in patterns and data for find the "flag is here" string. A string called "fLag Is HerE" string was derived, and a string presumed to be a flag could be identified next to it.


 

 

 

[Review]

You can see many options for the grep command in the picture below.

'Wargame & CTF > RACCOON CITY' 카테고리의 다른 글

[RACCOON CITY] Operation RCity6  (0) 2024.02.09
[RACCOON CITY] Operation RCity5  (0) 2024.02.09
[RACCOON CITY] Operation RCity3  (0) 2024.02.08
[RACCOON CITY] Operation RCity2  (0) 2024.02.06
[RACCOON CITY] Operation RCity1  (0) 2024.02.06

+ Recent posts