trustedsec / ptf

The Penetration Testers Framework (PTF) is a way for modular support for up-to-date tools.
5.16k stars 1.24k forks source link

Feature Request: install specific module from command line flag #381

Closed peterclemenko closed 6 years ago

peterclemenko commented 6 years ago

The ability to do a hands off install of specific modules would help with the ability to create docker images of individual tools. A flag like --install-module [path] would be preferred.

jeffmcjunkin commented 6 years ago

For my own purposes I've done this method:

./ptf <<EOF
use modules/exploitation/metasploit
run
use modules/vulnerability-analysis/nikto
run
use modules/post-exploitation/crackmapexec
run
use modules/vulnerability-analysis/hydra
run
use modules/exploitation/sqlmap
run
use modules/wireless/aircrackng
run
use modules/exploitation/burp
run
use modules/post-exploitation/creddump7
run
use modules/password-recovery/johntheripper
run
EOF

Works great in Packer, both for VMware and Docker builds.