Git Product home page Git Product logo

sslscrape's People

Contributors

cheetz avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

sslscrape's Issues

ImportError: No module named masscan

Although I have masscan installed, I get the following error:

root@legendary:~/sslScrape# python sslScrape.py 
Traceback (most recent call last):
  File "sslScrape.py", line 31, in <module>
    import masscan, errno, os, signal
ImportError: No module named masscan

ImportError: No module named requests

While running the tool using the command stated in the README.md file, it is returning an error stating no module named requests.
The Result after running "python sslScrape.py 10.100.100.0/24" is:

Traceback (most recent call last):
File "sslScrape.py", line 25, in
import sys, socket, ssl, requests, ipaddress
ImportError: No module named requests

Using outdated requests import

root@shades-virtual-machine:/opt/sslScrape# python --version
Python 2.7.12
root@shades-virtual-machine:/opt/sslScrape# pip install --upgrade --force-reinstall python
Collecting python
  Could not find a version that satisfies the requirement python (from versions: )
No matching distribution found for python
root@shades-virtual-machine:/opt/sslScrape# lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description:    Ubuntu 16.04.5 LTS
Release:        16.04
Codename:       xenial
root@shades-virtual-machine:/opt/sslScrape# python sslScrape.py 172.16.01.15    Traceback (most recent call last):
  File "sslScrape.py", line 26, in <module>
    from requests.packages.urllib3.exceptions import InsecureRequestWarning, InsecurePlatformWarning, SNIMissingWarning
ImportError: cannot import name InsecurePlatformWarning

xml.etree.ElementTree.ParseError: None

Hi! I had this error.
[2019-01-08 15:25:40,739] [DEBUG] [masscan.py 10 line] Scan parameters: "masscan -oX - 207.231.175.0/24 -p 443"
Traceback (most recent call last):
File "sslScrape.py", line 129, in
mas.scan(cidr, ports='443')
File "/Users/keson/Library/Python/2.7/lib/python/site-packages/masscan/masscan.py", line 317, in scan
masscan_warn_keep_trace=masscan_warn_keep_trace
File "/Users/keson/Library/Python/2.7/lib/python/site-packages/masscan/masscan.py", line 375, in analyse_masscan_xml_scan
raise ET.ParseError
xml.etree.ElementTree.ParseError: None

Permission denied : port scanner is not running

The error I'm getting is :

[2020-09-05 15:45:51,480] [DEBUG] [masscan.py 10 line] Scan parameters: "masscan -oX - 10.100.100.0/24 -p 443"
Traceback (most recent call last):
  File "/home/jdranpariya/anaconda3/lib/python3.7/site-packages/masscan/masscan.py", line 384, in analyse_masscan_xml_scan
    dom = ET.fromstring(self._masscan_last_output)
  File "/home/jdranpariya/anaconda3/lib/python3.7/xml/etree/ElementTree.py", line 1316, in XML
    return parser.close()
xml.etree.ElementTree.ParseError: no element found: line 1, column 0

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "sslScrape.py", line 130, in <module>
    mas.scan(cidr, ports='443')
  File "/home/jdranpariya/anaconda3/lib/python3.7/site-packages/masscan/masscan.py", line 329, in scan
    masscan_warn_keep_trace=masscan_warn_keep_trace
  File "/home/jdranpariya/anaconda3/lib/python3.7/site-packages/masscan/masscan.py", line 389, in analyse_masscan_xml_scan
    raise PortScannerError(masscan_err)
masscan.masscan.PortScannerError: 'FAIL: permission denied\n [hint] need to sudo or run as root or something\n'

I'm using WSL2 Latest Ubuntu

Error in running sslscrape

I followed the procedure correctly by installing all the dependencies but when i do
python sslScrape.py it gives me error
Traceback (most recent call last):
File "sslScrape.py", line 26, in
from requests.packages.urllib3.exceptions import InsecureRequestWarning, InsecurePlatformWarning, SNIMissingWarning
ImportError: cannot import name SNIMissingWarning

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.