mirror of
https://github.com/vee1e/Cryptonite-Taskphase.git
synced 2026-09-01 11:08:58 +00:00
Fix sentence
This commit is contained in:
parent
8c0862168f
commit
ec1320e2d9
1 changed files with 1 additions and 1 deletions
|
|
@ -14,7 +14,7 @@ We're given a C source file `vuln.c` and told there's a vulnerability in it. Bro
|
|||
|
||||
Here, the final `printf` statement is not a literal. My IDE even gives me a warning here. In this, if I use any format specifiers such as `%s`, `%ld` or `%p`, `printf` will treat them as such and then try to access additional information, potentially causing a memory overflow and/or security vulnerabilities.
|
||||
|
||||
We're also given a command `nc mercury.picoctf.net 6989` to run the program on the server. We use this method of injecting format specifiers, in it
|
||||
We're also given a command `nc mercury.picoctf.net 6989` to run the program on the server. We use a few different format specifiers as shown below.
|
||||
|
||||
1. **Using the character sequence specifier `%s`**
|
||||
```
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue