
익스플로잇 사이트에서 익스플로잇 아카이브를 가져오고, 설치하고, 검색합니다.
잘 알려진 사이트(packetstormsecurity.org, exploit-db.com)에서 익스플로잇 아카이브를 가져오고, 설치하고, 업데이트하고, 검색하는 스크립트입니다.
Blackarch Linux의 최신 버전에서는 /usr/share/exploits 디렉토리에 추가되었습니다.
pacman -S sploitctl
[ noptrix@blackarch-dev ~/blackarch/repos/sploitctl ]$ sploitctl -H
--==[ sploitctl by blackarch.org ]==--
usage:
sploitctl -f <arg> [options] | -u <arg> [options] | -s <arg> [options] | <misc>
options:
-f <num> - download exploit archives from chosen sites
- ? to list sites
-u <num> - update exploit archive from chosen installed archive
- ? to list downloaded archives
-d <dir> - exploits base directory (default: /usr/share/exploits)
-s <regex> - exploits to search using <regex> in base directory
-t <num> - max parallel downloads (default: 4)
-r <num> - max retry failed downloads (default: 3)
-A <str> - set useragent string
-P <str> - set proxy (format: proto://user:pass@host:port)
-X - decompress archive
-R - remove archive after decompression
misc:
-V - print version of sploitctl and exit
-H - print this help and exit
example:
# download and decompress all exploit archives and remove archive
$ sploitctl -f 0 -XR
# download all exploits in packetstorm archive
$ sploitctl -f 4
# list all available exploit archives
$ sploitctl -f ?
# download and decompress all exploits in m00-exploits archive
$ sploitctl -f 2 -XR
# download all exploits archives using 20 threads and 4 retries
$ sploitctl -r 4 -f 0 -t 20
# download lsd-pl-exploits to "~/exploits" directory
$ sploitctl -f 3 -d ~/exploits
# download all exploits with using tor socks5 proxy
$ sploitctl -f 0 -P "socks5://127.0.0.1:9050"
# download all exploits with using http proxy and noleak useragent
$ sploitctl -f 0 -P "http://127.0.0.1:9060" -A "noleak"
# list all installed exploits available for download
$ sploitctl -u ?
# update all installed exploits with using http proxy and noleak useragent
$ sploitctl -u 0 -P "http://127.0.0.1:9060" -A "noleak" -XR
notes:
* sploitctl update's id are relative to the installed archives
and are not static, so by installing an exploit archive it will
show up in the update section so always do a -u ? before updating.
BlackArch Linux 팀에 연락할 수 있습니다. 다음을 확인하세요:
풀 리퀘스트를 보내주세요!