From 380f0fe40b1ab20790e75dac779e73667cc5ac72 Mon Sep 17 00:00:00 2001 From: FreeArtMan Date: Sat, 4 Feb 2023 14:10:26 +0000 Subject: Update all content to new pygmentize --- md/writeup/cve_2010_1160_exploiting_nano.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'md/writeup/cve_2010_1160_exploiting_nano.md') 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" -- cgit v1.2.3