diff options
Diffstat (limited to 'chapter06/ed-exp.xml')
-rw-r--r-- | chapter06/ed-exp.xml | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/chapter06/ed-exp.xml b/chapter06/ed-exp.xml index 41e4d35e4..a9a2792a3 100644 --- a/chapter06/ed-exp.xml +++ b/chapter06/ed-exp.xml @@ -1,10 +1,11 @@ <sect2> <title>Command explanations</title> -<para>The sed commands fix a symlink vulnerability in ed. The ed -executable creates files in /tmp with predictable names. By using -various symlink attacks, it is possible to have ed write to files -it should not, change the permissions of various files, etc.</para> +<para><userinput>patch -Np1 -i ../ed-&ed-version;.patch:</userinput> This +patch fixes a symlink vulnerability in ed. The ed executable creates files +in /tmp with predictable names. By using various symlink attacks, it is +possible to have ed write to files it should not, change the permissions +of files, etc.</para> </sect2> |