summaryrefslogtreecommitdiff
path: root/md/writeup/cve_2010_1160_exploiting_nano.md
diff options
context:
space:
mode:
authorFreeArtMan <dos21h@gmail.com>2023-02-04 14:10:26 +0000
committerFreeArtMan <dos21h@gmail.com>2023-02-04 14:10:26 +0000
commit380f0fe40b1ab20790e75dac779e73667cc5ac72 (patch)
tree9fa3b9c93b58c966daa22f955282bc3c181d909a /md/writeup/cve_2010_1160_exploiting_nano.md
parentdf881efab146ca3ee61bf8936f948dd976fc4740 (diff)
downloadmd-content-380f0fe40b1ab20790e75dac779e73667cc5ac72.tar.gz
md-content-380f0fe40b1ab20790e75dac779e73667cc5ac72.zip
Update all content to new pygmentize
Diffstat (limited to 'md/writeup/cve_2010_1160_exploiting_nano.md')
-rw-r--r--md/writeup/cve_2010_1160_exploiting_nano.md8
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"