2 #download, update and query local exploit database from milw0rm.com
3 target_dir
="/opt/milw0rm"
8 echo 'You must run Milw0rm update as root!';
11 echo "Downloading exploit archive from Milw0rm..."
12 mkdir
-p "$target_dir"
14 wget
"http://www.milw0rm.com/sploits/milw0rm.tar.bz2"
15 echo "Extracting archive..."
16 tar jxpf milw0rm.
tar.bz2
21 cat "$target_dir/milw0rm/sploitlist.txt" |
grep -i "$2"
28 echo "Local Milw0rm.com exploit database updater"
29 echo "Target directory: $target_dir"
30 echo "usage: $0 {update|search regexp|usearch regexp}"
This page took 0.23116 seconds and 4 git commands to generate.