shenril / Sitadel

Web Application Security Scanner
GNU General Public License v3.0
547 stars 109 forks source link

AttributeError: module 'collections' has no attribute 'Hashable' #47

Open sedorf opened 1 year ago

sedorf commented 1 year ago

└─$ python sitadel.py https://site.com


| || || | / |) | | | | | | ( (____ | | ___ | |_| | | | ____ | ( |____ |/ | | | | || | _) ) | | |/ ( (_| | | | | | (__/|| _)|____|)_) 1.0.1

~/# Sitadel - Web Application Security Scanner #\~ ~/# Shenril (@shenril) #\~ ~/# https://github.com/shenril/Sitadel #\~

Traceback (most recent call last): File "/home/pc/Desktop/Sitadel/sitadel.py", line 174, in Sitadel().main() File "/home/pc/Desktop/Sitadel/sitadel.py", line 99, in main settings.from_yaml(args.config) File "/home/pc/Desktop/Sitadel/lib/config/settings.py", line 48, in from_yaml config = yaml.load(yamlfile, Loader=yaml.SafeLoader) File "/usr/local/lib/python3.10/dist-packages/yaml/init.py", line 72, in load return loader.get_single_data() File "/usr/local/lib/python3.10/dist-packages/yaml/constructor.py", line 37, in get_single_data return self.construct_document(node) File "/usr/local/lib/python3.10/dist-packages/yaml/constructor.py", line 46, in construct_document for dummy in generator: File "/usr/local/lib/python3.10/dist-packages/yaml/constructor.py", line 398, in construct_yaml_map value = self.construct_mapping(node) File "/usr/local/lib/python3.10/dist-packages/yaml/constructor.py", line 204, in construct_mapping return super().construct_mapping(node, deep=deep) File "/usr/local/lib/python3.10/dist-packages/yaml/constructor.py", line 126, in construct_mapping if not isinstance(key, collections.Hashable): AttributeError: module 'collections' has no attribute 'Hashable'

shenril commented 1 year ago

Hello to you too

Could you tell me your environment/ python version ?

sedorf commented 1 year ago

hello @shenril ,

i use kali linux , Python 3.10.7