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 in ASM.py code #8

Open
stillbigjosh opened this issue Aug 10, 2019 · 3 comments
Open

Error in ASM.py code #8

stillbigjosh opened this issue Aug 10, 2019 · 3 comments
Labels
bug Something isn't working

Comments

@stillbigjosh
Copy link

Traceback (most recent call last):
File "ASM.py", line 890, in
main(keychain,sw1,output_path,c1)
File "ASM.py", line 623, in main
if (add_target_ip(target_list,line) == False):
File "ASM.py", line 384, in add_target_ip
add_target_domain(list,domain,validated_input)
File "ASM.py", line 356, in add_target_domain
if t.primary_domain in list.keys():
AttributeError: type object 'list' has no attribute 'keys'

A syntax error is in the code, list data structures don't use the keys() method, only dict does.

@superhedgy superhedgy added the bug Something isn't working label Aug 14, 2019
@stillbigjosh stillbigjosh changed the title Bug Error in ASM.py code Oct 4, 2019
@jeffmaley
Copy link

I'm getting the same issue. I can take a look at updating the project, if that's acceptable.

@martialhax
Copy link

[i] AttackSurfaceMapper is running. . .

Traceback (most recent call last):
File "asm.py", line 946, in
main(keychain, sw1, output_path, c1)
File "asm.py", line 655, in main
if not add_target_ip(target_list, line):
File "asm.py", line 413, in add_target_ip
add_target_domain(list, domain, validated_input)
File "asm.py", line 384, in add_target_domain
if t.primary_domain in list_domain.keys():
AttributeError: type object 'list' has no attribute 'keys'

Just cloned and I'm getting as well...

@superhedgy
Copy link
Owner

So the linkedin module is no longer working. We will have to re-write it.

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

No branches or pull requests

4 participants