Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ERROR iam__privesc_scan #329

Closed
sai051192 opened this issue Jan 9, 2023 · 2 comments · Fixed by #386
Closed

ERROR iam__privesc_scan #329

sai051192 opened this issue Jan 9, 2023 · 2 comments · Fixed by #386
Labels
bug Something isn't working

Comments

@sai051192
Copy link

I receive the following error when I run iam__privesc_scan

raceback (most recent call last):
File "/usr/local/lib/python3.7/site-packages/pacu/main.py", line 1781, in run_gui
self.idle()
File "/usr/local/lib/python3.7/site-packages/pacu/main.py", line 1660, in idle
self.idle()
File "/usr/local/lib/python3.7/site-packages/pacu/main.py", line 1658, in idle
self.parse_command(command)
File "/usr/local/lib/python3.7/site-packages/pacu/main.py", line 649, in parse_command
self.parse_exec_module_command(command)
File "/usr/local/lib/python3.7/site-packages/pacu/main.py", line 811, in parse_exec_module_command
self.exec_module(command)
File "/usr/local/lib/python3.7/site-packages/pacu/main.py", line 1040, in exec_module
summary_data = module.main(command[2:], self)
File "/usr/local/lib/python3.7/site-packages/pacu/modules/iam__privesc_scan/main.py", line 509, in main
for target_perm in target['Permissions'][effect].keys():
<class 'AttributeError'>: 'list' object has no attribute 'keys'

@DaveYesland DaveYesland added the bug Something isn't working label Apr 14, 2023
@DaveYesland
Copy link
Collaborator

The permission enumeration module has been updated recently to use a different parsing method. Could you grab the latest version of Pacu and try this again to see if it fixed the issue?

@vlsecurity
Copy link

@DaveYesland Same issue pacu 1.4.2. Helps after iam__bruteforce_permissions

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants