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 message in Elementry OS #23

Closed Sipho68 closed 5 years ago

Sipho68 commented 5 years ago

Traceback (most recent call last): File "/home/siphon/AttackSurfaceMapper/modules/buckethunter.py", line 43, in passive_query if gwf_api["buckets_count"] > 0: KeyError: 'buckets_count'

During handling of the above exception, another exception occurred:

Traceback (most recent call last): File "ASM.py", line 890, in main(keychain,sw1,output_path,c1) File "ASM.py", line 666, in main buckethunter.passive_query(target_list[key],keychain["grayhatwarfare"])# Passive File "/home/siphon/AttackSurfaceMapper/modules/buckethunter.py", line 52, in passive_query cprint ("error","[*] Error: connecting with GrayHatWarfare API",1) File "/home/siphon/AttackSurfaceMapper/modules/buckethunter.py", line 14, in cprint colorama.init() NameError: name 'colorama' is not defined

anil3a commented 5 years ago

I have same error in my Windows 10 Sub System of Ubuntu 18.04.2

anil3a commented 5 years ago

@Sipho68 I have fixed my issue by importing these two modules in your /home/siphon/AttackSurfaceMapper/modules/buckethunter.py line 43

   import colorama
   from colorama import Fore, Style

Hope this helps. Cheers

Sipho68 commented 5 years ago

@Sipho68 I have fixed my issue by importing these two modules in your /home/siphon/AttackSurfaceMapper/modules/buckethunter.py line 43

   import colorama
   from colorama import Fore, Style

Hope this helps. Cheers

Did help, thanks Anil3a

ghost commented 5 years ago

@Sipho68 I have fixed my issue by importing these two modules in your /home/siphon/AttackSurfaceMapper/modules/buckethunter.py line 43

   import colorama
   from colorama import Fore, Style

Hope this helps. Cheers

fixed the issue on my end as well, thank you!

Sipho68 commented 5 years ago

Thank you for the assistance, importing module worked.