mirror of
https://github.com/mrh0wl/Cloudmare.git
synced 2026-04-26 18:35:47 +03:00
[GH-ISSUE #50] crash #42
Labels
No labels
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/Cloudmare#42
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @REtoolsx on GitHub (Jun 2, 2023).
Original GitHub issue: https://github.com/mrh0wl/Cloudmare/issues/50
Traceback (most recent call last):
File "/home/kali/Desktop/Cloudmare/lib/tools/netcat.py", line 83, in netcat
simCheck(data, page, ip, domain)
File "/home/kali/Desktop/Cloudmare/lib/tools/netcat.py", line 20, in simCheck
sim = similarity(data.text, page.text)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/kali/Desktop/Cloudmare/thirdparty/html_similarity/similarity.py", line 6, in similarity
return k * structural_similarity(document_1, document_2) + (1 - k) * style_similarity(document_1, document_2)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/kali/Desktop/Cloudmare/thirdparty/html_similarity/structural_similarity.py", line 43, in structural_similarity
tags1 = get_tags(document_1)
^^^^^^^^^^^^^^^^^^^^
File "/home/kali/Desktop/Cloudmare/thirdparty/html_similarity/structural_similarity.py", line 16, in get_tags
for el in doc.getroot().iter():
^^^^^^^^^^^^^^^^^^
AttributeError: 'NoneType' object has no attribute 'iter'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/home/kali/Desktop/Cloudmare/Cloudmare.py", line 79, in
netcat(args.domain, host, args.ignoreRedirects, args.uagent, args.randomAgent, args.headers, count=0)
File "/home/kali/Desktop/Cloudmare/lib/tools/netcat.py", line 89, in netcat
print(tab + bad + "%s" % str(e.errno))
^^^^^^^
AttributeError: 'AttributeError' object has no attribute 'errno'
[Kali Linux 2023.2]
all updates done , apt upgrade and update