Skip to content

Commit 54dec35

Browse files
committed
fixed typo in shitsco
1 parent 949ea3d commit 54dec35

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

Diff for: _posts/2014-05-19-defcon-2014-quals--shitsco.md

+2
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,8 @@ Enable seems not too exciting, though it does appear to set an admin bit.
6969

7070
Notably, their read_input function doesn't properly null terminate strings, so sometimes we can get a few bytes of stack data out of the %s on printf. Unfortunately, this turns out to be completely worthless.
7171

72+
[addendum] I later realized that this IS useful, I knew I was reading the result of strcmp, but was lazy and didn't think about the fact that strcmp tells you WHERE the difference starts, so you can trivially brute force the password only 1 character at a time. This would've also worked.
73+
7274
On to the other odd looking features of 'set' and 'show'.
7375

7476
Show does something like:

0 commit comments

Comments
 (0)