Skip to content

Commit f039540

Browse files
authored
Update README.md
1 parent 35f550e commit f039540

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

toy_passwd/README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,4 +11,4 @@ The logic of the program doesn't correspond to an exploit, since some workaround
1111
### Description
1212
Code uses a character buffer of 15 allocated bytes to match a password and if it matches the user gets root priveleges (only theoratically). If we input > 15 bytes then the pass variable which is after the allocated character buffer is overwritten and has a non 0 value. Due to this, the password check passes and authentication succeeds even with an incorrect password.
1313

14-
Code can be found [here](passwd.c)
14+
Code can be found [here](passwd.c).

0 commit comments

Comments
 (0)