superhedgy / AttackSurfaceMapper

AttackSurfaceMapper is a tool that aims to automate the reconnaissance process.
https://AttackSurfaceMapper.com
GNU General Public License v3.0
1.3k stars 192 forks source link

Error in ASM.py code #8

Open stillbigjosh opened 5 years ago

stillbigjosh commented 5 years ago

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.

jeffmaley commented 4 years ago

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

martialhax commented 4 years ago

[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 commented 2 years ago

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