trustedsec / ptf

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

Issue with ignore modules #146

Closed Kaicastledine closed 8 years ago

Kaicastledine commented 8 years ago

Hello

I was testing this tool on a kali machine this ended up breaking metasploit and armitage so I've tried to to ignore modules in the config how ever it installs them anyway.

Here is the code I put in the config file.

IGNORE_THESE_MODULES="modules/explotation/metasploit,modules/exploitation/malingo,modules/exploitation/owasp-zsc,modlules/vulnerability-analysis/nikto,modlules/vulnerability-analysis/nmap,modlules/vulnerability-analysis/openvas"

How ever it installs all of the above anyway .

I know most of these tools are already in Kali Just wanted to test it using the lab machine we have.

Apologies if I've made a mistake

Kaicastledine commented 8 years ago

I've just removed the module.py from the modules folder so its worked that way.

No worries , Thanks anyway !

Love the fact its still got the same look as SET

Kaicastledine commented 8 years ago

Hello

So here is the list of modules I've asked it to exclude, how ever it seems to install them anyway. Id like to try get it working with the config incase modules are added back in future builds

image

It seems that the issues are with NMAP , NIKTO and hydra . Not sure if anything in Vulnerability-analysis is just not picking up the exclusions.

Kaicastledine commented 8 years ago

I've noticed that some of the modules have those apps as dependencies.

Could it be they're re installing the apps which are already installed and moving them to the "pentest" folder.

Kaicastledine commented 8 years ago

Tested with a new download of PTF

Update_install_All seems to ignore any ignored modules

Managed to delete modules.py files to make sure they're not installed.

trustedsec commented 8 years ago

Checking into this

trustedsec commented 8 years ago

Fixed in 1.6.6 - thank you for providing the information to fix this. Ignore modules now works appropriately.