diff --git a/binary-exploitation/format-strings/README.md b/binary-exploitation/format-strings/README.md index ec4d33e514c..ec646b56e8c 100644 --- a/binary-exploitation/format-strings/README.md +++ b/binary-exploitation/format-strings/README.md @@ -87,7 +87,7 @@ and you would read from the first to the forth param. Or you could do: ```c -printf("$4%x") +printf("%4$x") ``` and read directly the forth.