lanmaster53 / recon-ng

Open Source Intelligence gathering tool aimed at reducing the time spent harvesting information from open sources.
GNU General Public License v3.0
4.1k stars 646 forks source link

[recon/domains-hosts/ssl_san ] Modules Error #175

Closed ghost closed 6 months ago

ghost commented 1 year ago

Hi brother, I have a problem when I run the module "recon/domains-hosts/ssl_san"

------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/models.py", line 910, in json
    return complexjson.loads(self.text, **kwargs)
  File "/usr/lib/python3/dist-packages/simplejson/__init__.py", line 525, in loads
    return _default_decoder.decode(s)
  File "/usr/lib/python3/dist-packages/simplejson/decoder.py", line 370, in decode
    obj, end = self.raw_decode(s)
  File "/usr/lib/python3/dist-packages/simplejson/decoder.py", line 400, in raw_decode
    return self.scan_once(s, idx=_w(s, idx).end())
simplejson.errors.JSONDecodeError: Expecting value: line 1 column 1 (char 0)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/recon-ng-master/recon/core/module.py", line 342, in do_run
    self.run()
  File "/recon-ng-master/recon/core/module.py", line 336, in run
    self.module_run(*params)
  File "/recon-ng/modules/recon/domains-hosts/ssl_san.py", line 19, in module_run
    if not resp.json()['response']:
  File "/usr/lib/python3/dist-packages/requests/models.py", line 917, in json
    raise RequestsJSONDecodeError(e.msg, e.doc, e.pos)
requests.exceptions.JSONDecodeError: [Errno Expecting value] <!DOCTYPE html>
<html>

<head>
    <meta charset="UTF-8">
    <meta name=viewport content="width=device-width, initial-scale=1">
    <title>Page Not Found</title>
    <link href="dist/css/bootstrap.min.css" rel="stylesheet">
    <link href="dist/css/bootsharp.min.css" rel="stylesheet">
    <link href="dist/img/favicon.ico" rel="icon">
</head>

<body>
    <!--Modal to show certificate body-->
    <div class="modal fade" id="certModal" tabindex="-1" role="dialog" aria-labelledby="certeModalLabel">
        <div class="modal-dialog" role="document">
            <div class="modal-content">
                <div class="modal-header">
                    <button type="button" class="close" data-dismiss="modal" aria-label="Close">
                        <span aria-hidden="true">&times;</span>
                    </button>
                    <h4 class="modal-title" id="certModalLabel"></h4>
                </div>
                <div class="modal-body">
                    <tt id="cert_body"></tt>
                </div>
                <div class="modal-footer">
                    <button type="button" class="btn btn-default" data-dismiss="modal">Close</button>
                </div>
            </div>
        </div>
    </div>
    <nav class="navbar navbar-default" id="navbar">
        <div class="container-fluid">
            <!-- Brand and toggle get grouped for better mobile display -->
            <div class="navbar-header">
                <button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#bs-example-navbar-collapse-1"
                    aria-expanded="false">
                    <span class="sr-only">Toggle navigation</span>
                    <span class="icon-bar"></span>
                    <span class="icon-bar"></span>
                    <span class="icon-bar"></span>
                </button>
                <a class="navbar-brand" href="/">SSL Tools</a>
            </div>
            <!-- Collect the nav links, forms, and other content for toggling -->
            <div class="collapse navbar-collapse" id="bs-example-navbar-collapse-1">
                <ul class="nav navbar-nav">
                    <li>
                        <a id="scanner_btn" style="cursor: pointer;" href="/">Scanner</a>
                    </li>
                    <li>
                        <a id="decoder_btn" style="cursor: pointer;" href="/decoder">Decoder</a>
                    </li>
                    <li>
                        <a id="suggestions_btn" style="cursor: pointer;" href="/suggestions">Suggestions</a>
                    </li>
                </ul>

            </div>
            <!-- /.container-fluid -->
    </nav>
    <br>
    <br>
    <br>
    <div>
        <h1 class="text-center">Whoops. Probably should have stopped and asked for directions...</h1>
    </div>

</body>
<script language="javascript" type="text/javascript" src="dist/js/jquery.min.js"></script>
<script language="javascript" type="text/javascript" src="dist/js/bootstrap.min.js"></script>

</html>: 0
------------------------------------------------------------
[!] Something broken? See https://github.com/lanmaster53/recon-ng/wiki/Troubleshooting#issue-reporting.

please help me, this tool is very important

lanmaster53 commented 6 months ago

All module related issues, including dependencies, should be raised in the module repository.