From 8974348f52af1bd1acd7941eeffa896326e77e1a Mon Sep 17 00:00:00 2001 From: acerjt <38390343+acerjt@users.noreply.github.com> Date: Tue, 24 Sep 2024 16:17:03 +0700 Subject: [PATCH] Update README.md fixed a typo: $4%x -> %4$x --- binary-exploitation/format-strings/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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.