RhinoSecurityLabs / pacu

The AWS exploitation framework, designed for testing the security of Amazon Web Services environments.
https://rhinosecuritylabs.com/aws/pacu-open-source-aws-exploitation-framework/
BSD 3-Clause "New" or "Revised" License
4.3k stars 689 forks source link

Fix module list generation for autocomplete #424

Closed h00die closed 3 months ago

h00die commented 3 months ago

Fixes #423

Fixes a bug which prevented the autocomplete feature from knowing about modules.

When generating the list of modules, an incorrect if statement was making no modules appear. This corrects that logic, and the list now generates. After the fix, typing run command now correctly generates a list of possible module candidates. image