diff options
Diffstat (limited to 'md/writeup/cve_2010_1160_exploiting_nano.md')
-rw-r--r-- | md/writeup/cve_2010_1160_exploiting_nano.md | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/md/writeup/cve_2010_1160_exploiting_nano.md b/md/writeup/cve_2010_1160_exploiting_nano.md index fa27c0b..9124aab 100644 --- a/md/writeup/cve_2010_1160_exploiting_nano.md +++ b/md/writeup/cve_2010_1160_exploiting_nano.md @@ -15,7 +15,7 @@ this bug works on < 2.1.7 versions now on my system is latest nano version and I have compiled many < 2.1.7 versions to test this bug. To get your nano version run: -``` +```sh $ nano -V ``` @@ -31,13 +31,13 @@ How to use it in real life: 4) See result in symlinked file Everything looks like -``` +```sh $nano text.txt `` Now some one do: -``` +```sh $ls -s empty.txt text.txt ``` @@ -70,7 +70,7 @@ Script is only for user and dont work if you try to symlink root opened nano. It makes all steps as described above. Change script variables for your tests: -``` +```text debug = True nano = "nano-2.0.9" user = "user" |