Skip to content

Commit ac2c8ed

Browse files
Add solution to simple_buffo1 (#10)
1 parent 6c05152 commit ac2c8ed

File tree

1 file changed

+34
-0
lines changed

1 file changed

+34
-0
lines changed
Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
2+
# ElizabethB's Write-up for simple_buffo1
3+
4+
1. Run the file to see a password is required:
5+
```
6+
$ ./simple1
7+
Enter the password: <random-password-here>
8+
9+
Wrong Password
10+
```
11+
12+
2. Run ```strings``` on the file to look for conspicuous strings that could be the password:
13+
```
14+
$ strings simple1
15+
```
16+
3. Scroll up to see the section that handles the password:
17+
```
18+
...
19+
Enter the password:
20+
yeetOReeNo
21+
Wrong Password
22+
Correct Password
23+
...
24+
```
25+
```yeetOReeNo``` seems like a conspicuous string that is not seen elsewhere in the running program.
26+
27+
4. Test to see if this could be the password:
28+
```
29+
$ ./simple1
30+
Enter the password:yeetOReeNo
31+
Correct Password
32+
jctf{gets_is_vDangerous}
33+
```
34+

0 commit comments

Comments
 (0)