You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Traceback (most recent call last):
File "opensquat.py", line 65, in
file_content = app.Domain().main(
File "/opensquat/app.py", line 637, in main
return self.worker()
File "/opensquat/app.py", line 365, in worker
self._process_doppelgagner_only(
File "/opensquat/app.py", line 445, in _process_doppelgagner_only
if not ct.CRTSH.check_certificate(domains):
File "/opensquat/ct.py", line 49, in check_certificate
for table in soup.find_all("table")[1]:
The text was updated successfully, but these errors were encountered:
According to the error message you provided, there may be a problem with how the "opensquat.py" script is being run. It appears to be running into a problem specifically with web scraping or processing HTML text from a web page. Change in opensquat.py file with following code to get perfect output.
try:
for table in soup.find_all("table")[1]:
...
except Exception as e:
print(f"Error while parsing HTML: {e}")
or you can also use the following command to solve the issue:
python opensquat.py -c 0 --phishing phishing_domains.txt --dns --ct --subdomains --portcheck
Getting the following error when running this command:
sudo python3 opensquat.py -c 0 --phishing phishing_domains.txt --dns --ct --subdomains --portcheck
Traceback (most recent call last):
File "opensquat.py", line 65, in
file_content = app.Domain().main(
File "/opensquat/app.py", line 637, in main
return self.worker()
File "/opensquat/app.py", line 365, in worker
self._process_doppelgagner_only(
File "/opensquat/app.py", line 445, in _process_doppelgagner_only
if not ct.CRTSH.check_certificate(domains):
File "/opensquat/ct.py", line 49, in check_certificate
for table in soup.find_all("table")[1]:
The text was updated successfully, but these errors were encountered: