GithubHelp home page GithubHelp logo

evyatarmeged / raccoon Goto Github PK

View Code? Open in Web Editor NEW
3.0K 109.0 394.0 891 KB

A high performance offensive security tool for reconnaissance and vulnerability scanning

License: MIT License

Python 92.69% Dockerfile 0.45% Lua 6.86%
reconnaissance scanner vulnerability-assessment vulnerability-scanner enumeration pentesting pentest-tool hacking-tool offensive-security security-scanner

raccoon's Introduction

GitHub Statistics

Top Languages

I do stuff with Kubernetes and Go. I also hack for the lolz.

raccoon's People

Contributors

dependabot[bot] avatar evyatarguardicore avatar evyatarmeged avatar iddoeldor avatar mostafahussein avatar recursiveforest avatar sgloutnikov 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  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

raccoon's Issues

Default install errors on WAF

Testing this out on a HTB machine, fresh install.

Run options: raccoon -t 10.10.10.64 -f -o .

Raccoon scan finished

Task exception was never retrieved future: <Task finished coro=<WAF.detect() done, defined at /usr/local/lib/python3.6/dist-packages/raccoon_src/lib/waf.py:138> exception=TypeError("argument of type 'NoneType' is not iterable",)> Traceback (most recent call last): File "/usr/local/lib/python3.6/dist-packages/raccoon_src/lib/waf.py", line 144, in detect self._detect_by_application() File "/usr/local/lib/python3.6/dist-packages/raccoon_src/lib/waf.py", line 130, in _detect_by_application result = method(response) File "/usr/local/lib/python3.6/dist-packages/raccoon_src/lib/waf.py", line 67, in detect_reblaze if "Reblaze Secure Web Gateway" in res.headers.get(SERVER) or any( TypeError: argument of type 'NoneType' is not iterable

error during scanning

[#] Done enumerating Subdomains

Raccoon scan finished

Task exception was never retrieved
future: <Task finished coro=<WebApplicationScanner.run_scan() done, defined at /usr/local/lib/python3.7/dist-packages/raccoon_scanner-0.8.5-py3.7.egg/raccoon_src/lib/web_app.py:219> exception=RequestHandlerException('Connection with server timed out')>
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 384, in _make_request
six.raise_from(e, None)
File "", line 3, in raise_from
File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 380, in _make_request
httplib_response = conn.getresponse()
File "/usr/lib/python3.7/http/client.py", line 1321, in getresponse
response.begin()
File "/usr/lib/python3.7/http/client.py", line 296, in begin
version, status, reason = self._read_status()
File "/usr/lib/python3.7/http/client.py", line 257, in _read_status
line = str(self.fp.readline(_MAXLINE + 1), "iso-8859-1")
File "/usr/lib/python3.7/socket.py", line 589, in readinto
return self._sock.recv_into(b)
socket.timeout: timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
timeout=timeout
File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
_stacktrace=sys.exc_info()[2])
File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 367, in increment
raise six.reraise(type(error), error, _stacktrace)
File "/usr/local/lib/python3.7/dist-packages/six.py", line 693, in reraise
raise value
File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
chunked=chunked)
File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 386, in _make_request
self._raise_timeout(err=e, url=url, timeout_value=read_timeout)
File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 306, in _raise_timeout
raise ReadTimeoutError(self, url, "Read timed out. (read timeout=%s)" % timeout_value)
urllib3.exceptions.ReadTimeoutError: HTTPConnectionPool(host='mojo.com', port=80): Read timed out. (read timeout=5)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "/usr/local/lib/python3.7/dist-packages/raccoon_scanner-0.8.5-py3.7.egg/raccoon_src/utils/request_handler.py", line 89, in send
return request(method, proxies=proxies, headers=self.headers, cookies=self.cookies, *args, **kwargs)
File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
return session.request(method=method, url=url, **kwargs)
File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
resp = self.send(prep, **send_kwargs)
File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
r = adapter.send(request, **kwargs)
File "/usr/lib/python3/dist-packages/requests/adapters.py", line 529, in send
raise ReadTimeout(e, request=request)
requests.exceptions.ReadTimeout: HTTPConnectionPool(host='mojo.com', port=80): Read timed out. (read timeout=5)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "/usr/local/lib/python3.7/dist-packages/raccoon_scanner-0.8.5-py3.7.egg/raccoon_src/lib/web_app.py", line 223, in run_scan
await self.get_web_application_info()
File "/usr/local/lib/python3.7/dist-packages/raccoon_scanner-0.8.5-py3.7.egg/raccoon_src/lib/web_app.py", line 201, in get_web_application_info
self._robots()
File "/usr/local/lib/python3.7/dist-packages/raccoon_scanner-0.8.5-py3.7.egg/raccoon_src/lib/web_app.py", line 108, in _robots
self.host.port
File "/usr/local/lib/python3.7/dist-packages/raccoon_scanner-0.8.5-py3.7.egg/raccoon_src/utils/request_handler.py", line 96, in send
raise RequestHandlerException("Connection with server timed out")
raccoon_src.utils.exceptions.RequestHandlerException: Connection with server timed out

Docker improvement

About docker.

When you create user inside docker container it is good to determine UID and GID
Like

RUN groupadd -r -g 5055 raccoon && useradd -r -u 5055 -g raccoon raccoon
USER raccoon
ENTRYPOINT ["raccoon"]

and then you can run it like

mkdir -p /srv/raccoon/
chown -R 5055:5055 /srv/raccoon/
docker run --rm --name raccoon -v /srv/raccoon:/home/raccoon evyatarmeged/raccoon:latest  example.com -o /home/raccoon

Also you can connect autobuild on docker hub.
like
image

Something wrong with 'click'

Hello good sir, i just downloaded and attempted to install this tool using the two documented methods, but am having issues.

pip installer method

result: Did not install

~$: pip install racoon-scanner Collecting racoon-scanner Could not find a version that satisfies the requirement racoon-scanner (from versions: ) No matching distribution found for racoon-scanner ~$:

clone the repo method

result: issues with a module named 'click'

Raccoon$: python3 raccoon_src/main.py Traceback (most recent call last): File "raccoon_src/main.py", line 4, in <module> import click ModuleNotFoundError: No module named 'click' Raccoon$: pip install click Requirement already satisfied: click in /usr/local/lib/python2.7/site-packages (6.7) Raccoon$: python3 raccoon_src/main.py Traceback (most recent call last): File "raccoon_src/main.py", line 4, in <module> import click ModuleNotFoundError: No module named 'click' Raccoon$:

My environment

Raccoon$: pip --version pip 18.0 from /usr/local/lib/python2.7/site-packages/pip (python 2.7) Raccoon$: python --version Python 2.7.15 Raccoon$: python3 --version Python 3.7.0

System Version: macOS 10.13.6 (17G65) Kernel Version: Darwin 17.7.0

ImportError: cannot import name 'ConnectTimeout'

acandh_cop:~/workspace $ raccoon
Traceback (most recent call last):
File "/usr/local/bin/raccoon", line 7, in
from raccoon_src.main import main
File "/usr/local/lib/python3.4/dist-packages/raccoon_src/main.py", line 9, in
from raccoon_src.utils.request_handler import RequestHandler
File "/usr/local/lib/python3.4/dist-packages/raccoon_src/utils/request_handler.py", line 4, in
from requests.exceptions import ProxyError, TooManyRedirects, ConnectionError, ConnectTimeout, ReadTimeout
ImportError: cannot import name 'ConnectTimeout'

Python version 3.4.3
requests module has updated to latest version (pip3 install requests --upgrade)

most recent call last Error

Please resolve this issue.
Traceback (most recent call last):
File "main.py", line 2, in
import asyncio
File "/usr/local/lib/python2.7/dist-packages/asyncio/init.py", line 9, in
from . import selectors
File "/usr/local/lib/python2.7/dist-packages/asyncio/selectors.py", line 39
"{!r}".format(fileobj)) from None
^
SyntaxError: invalid syntax

JSON output

JSON output would be really useful for people who are tying this in to existing and new toolchains.

Cannot install it

I tried to install it using *pip install raccon-scanner but i received the following error
──╼ $pip install raccoon-scanner
Collecting raccoon-scanner
Could not find a version that satisfies the requirement raccoon-scanner (from versions: )
No matching distribution found for raccoon-scanner


Then I tried using pip3 install raccoon-scanner
I could install it, but when I try to execute it, i have this error

└──╼ $python raccoon_src/main.py
Traceback (most recent call last):
File "raccoon_src/main.py", line 2, in
import asyncio
File "/home/vihg02h/.local/lib/python2.7/site-packages/asyncio/init.py", line 9, in
from . import selectors
File "/home/vihg02h/.local/lib/python2.7/site-packages/asyncio/selectors.py", line 39
"{!r}".format(fileobj)) from None
^
SyntaxError: invalid syntax
┌─[✗]─[vihg02h@parrot]─[~/Raccoon]


And when i try using python3

──╼ $python3 raccoon_src/main.py
Usage: main.py [OPTIONS]

Error: Missing option "-t" / "--target"


I dont know what is wrong, could you help me please ?

Code execution error

root@Firefly:~/HKIT/Raccoon# raccoon --help
Traceback (most recent call last):
File "/usr/local/bin/raccoon", line 11, in
load_entry_point('raccoon-scanner==0.8.5', 'console_scripts', 'raccoon')()
File "/usr/lib/python2.7/dist-packages/pkg_resources/init.py", line 484, in load_entry_point
return get_distribution(dist).load_entry_point(group, name)
File "/usr/lib/python2.7/dist-packages/pkg_resources/init.py", line 2707, in load_entry_point
return ep.load()
File "/usr/lib/python2.7/dist-packages/pkg_resources/init.py", line 2325, in load
return self.resolve()
File "/usr/lib/python2.7/dist-packages/pkg_resources/init.py", line 2331, in resolve
module = import(self.module_name, fromlist=['name'], level=0)
File "/usr/local/lib/python2.7/dist-packages/raccoon_scanner-0.8.5-py2.7.egg/raccoon_src/main.py", line 2, in
import asyncio
File "/usr/local/lib/python2.7/dist-packages/asyncio/init.py", line 9, in
from . import selectors
File "/usr/local/lib/python2.7/dist-packages/asyncio/selectors.py", line 39
"{!r}".format(fileobj)) from None
^
SyntaxError: invalid syntax

OS: Linux Kali 4.18.0-kali2-amd64 #1 SMP Debian 4.18.10-2kali1 (2018-10-09) x86_64 GNU/Linux

Getting unexpected keyword argument 'verify_ssl' error

So i tried both the git clone method as well installing from pip to get the latest version to try this out but everytime I run raccoon against a website I get the error TypeError: FakeUserAgent.__init__() got an unexpected keyword argument 'verify_ssl' with a few errors above it.

There was an issue stating that they removed verify_ssl since FakerUserAgent 1.2 onwards and the solution in that was to set it to 1.1.3
I tried the solution by setting the version mention above in the requirements.txt and then installing but it still didn't work. Would be greatly appreciated if I could figure this out. I'll attach an image below with errors that I'm getting.

Raccoon

Thanks in advance 😊

Error before start scanner

      _____    _____    ____     ____    _   _ 
|  __ \      /\      / ____|  / ____|  / __ \   / __ \  | \ | |
| |__) |    /  \    | |      | |      | |  | | | |  | | |  \| |
|  _  /    / /\ \   | |      | |      | |  | | | |  | | | . ` |
| | \ \   / ____ \  | |____  | |____  | |__| | | |__| | | |\  |
|_|  \_\ /_/    \_\  \_____|  \_____|  \____/   \____/  |_| \_|


4841434b414c4c5448455448494e4753

https://github.com/evyatarmeged/Raccoon
-------------------------------------------------------------------
    
Error occurred during loading data. Trying to use cache server http://d2g6u4gh6d9rq0.cloudfront.net/browsers/fake_useragent_0.1.10.json
Traceback (most recent call last):
  File "/usr/local/lib/python3.5/site-packages/fake_useragent/utils.py", line 67, in get
    context=context,
  File "/usr/local/lib/python3.5/urllib/request.py", line 163, in urlopen
    return opener.open(url, data, timeout)
  File "/usr/local/lib/python3.5/urllib/request.py", line 466, in open
    response = self._open(req, data)
  File "/usr/local/lib/python3.5/urllib/request.py", line 484, in _open
    '_open', req)
  File "/usr/local/lib/python3.5/urllib/request.py", line 444, in _call_chain
    result = func(*args)
  File "/usr/local/lib/python3.5/urllib/request.py", line 1282, in http_open
    return self.do_open(http.client.HTTPConnection, req)
  File "/usr/local/lib/python3.5/urllib/request.py", line 1257, in do_open
    r = h.getresponse()
  File "/usr/local/lib/python3.5/http/client.py", line 1198, in getresponse
    response.begin()
  File "/usr/local/lib/python3.5/http/client.py", line 297, in begin
    version, status, reason = self._read_status()
  File "/usr/local/lib/python3.5/http/client.py", line 258, in _read_status
    line = str(self.fp.readline(_MAXLINE + 1), "iso-8859-1")
  File "/usr/local/lib/python3.5/socket.py", line 576, in readinto
    return self._sock.recv_into(b)
socket.timeout: timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.5/site-packages/fake_useragent/utils.py", line 166, in load
    verify_ssl=verify_ssl,
  File "/usr/local/lib/python3.5/site-packages/fake_useragent/utils.py", line 122, in get_browser_versions
    verify_ssl=verify_ssl,
  File "/usr/local/lib/python3.5/site-packages/fake_useragent/utils.py", line 84, in get
    raise FakeUserAgentError('Maximum amount of retries reached')
fake_useragent.errors.FakeUserAgentError: Maximum amount of retries reached
### Raccoon Scan Started ###

[#] Trying to gather information about host: vulnweb.com
[!] Found vulnweb.com to be a naked domain
[v] Writing DNS query results
...

Tetsed site: vulnweb.com

No module named 'pkg_resources'

I got this error. (Kali 2019, python 3.6.8)

Traceback (most recent call last):
File "/usr/local/bin/raccoon", line 6, in
from pkg_resources import load_entry_point
ModuleNotFoundError: No module named 'pkg_resources'

ERROR !!!!

Hi, there

OS - Kali
python3 - Installed

I'm clueless about this error so could anyone help me on this?
Appreciate you'r help.

ALL Requirement has already don!

root@shi/Desktop/Tool/Raccoon# pip3 install raccoon-scanner
Requirement already satisfied: raccoon-scanner in /usr/local/lib/python3.6/dist-packages
Requirement already satisfied: requests in /usr/lib/python3/dist-packages (from raccoon-scanner)
Requirement already satisfied: click in /usr/lib/python3/dist-packages (from raccoon-scanner)
Requirement already satisfied: fake-useragent in /usr/local/lib/python3.6/dist-packages (from raccoon-scanner)
Requirement already satisfied: xmltodict in /usr/local/lib/python3.6/dist-packages (from raccoon-scanner)
Requirement already satisfied: dnspython in /usr/lib/python3/dist-packages (from raccoon-scanner)
Requirement already satisfied: beautifulsoup4 in /usr/lib/python3/dist-packages (from raccoon-scanner)
Requirement already satisfied: lxml in /usr/lib/python3/dist-packages (from raccoon-scanner)

### However still getting Error.

841434b414c4c5448455448494e4753

https://github.com/evyatarmeged/Raccoon

Error occurred during loading data. Trying to use cache server http://d2g6u4gh6d9rq0.cloudfront.net/browsers/fake_useragent_0.1.10.json
Traceback (most recent call last):
File "/usr/local/lib/python3.6/dist-packages/fake_useragent/utils.py", line 154, in load
for item in get_browsers(verify_ssl=verify_ssl):
File "/usr/local/lib/python3.6/dist-packages/fake_useragent/utils.py", line 97, in get_browsers
html = get(settings.BROWSERS_STATS_PAGE, verify_ssl=verify_ssl)
File "/usr/local/lib/python3.6/dist-packages/fake_useragent/utils.py", line 69, in get
return response.read()
File "/usr/lib/python3.6/http/client.py", line 462, in read
s = self._safe_read(self.length)
File "/usr/lib/python3.6/http/client.py", line 614, in _safe_read
raise IncompleteRead(b''.join(s), amt)
http.client.IncompleteRead: IncompleteRead(49152 bytes read, 37746 more expected)
Traceback (most recent call last):
File "/usr/local/lib/python3.6/dist-packages/fake_useragent/utils.py", line 154, in load
for item in get_browsers(verify_ssl=verify_ssl):
File "/usr/local/lib/python3.6/dist-packages/fake_useragent/utils.py", line 97, in get_browsers
html = get(settings.BROWSERS_STATS_PAGE, verify_ssl=verify_ssl)
File "/usr/local/lib/python3.6/dist-packages/fake_useragent/utils.py", line 69, in get
return response.read()
File "/usr/lib/python3.6/http/client.py", line 462, in read
s = self._safe_read(self.length)
File "/usr/lib/python3.6/http/client.py", line 614, in _safe_read
raise IncompleteRead(b''.join(s), amt)
http.client.IncompleteRead: IncompleteRead(49152 bytes read, 37746 more expected)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "/usr/local/bin/raccoon", line 11, in
sys.exit(main())
File "/usr/lib/python3/dist-packages/click/core.py", line 759, in call
return self.main(*args, **kwargs)
File "/usr/lib/python3/dist-packages/click/core.py", line 714, in main
rv = self.invoke(ctx)
File "/usr/lib/python3/dist-packages/click/core.py", line 951, in invoke
return ctx.invoke(self.callback, **ctx.params)
File "/usr/lib/python3/dist-packages/click/core.py", line 552, in invoke
return callback(*args, **kwargs)
File "/usr/local/lib/python3.6/dist-packages/raccoon_src/main.py", line 166, in main
cookies=cookies
File "/usr/local/lib/python3.6/dist-packages/raccoon_src/utils/singleton.py", line 9, in call
cls.instance = super().call(*args, **kwargs)
File "/usr/local/lib/python3.6/dist-packages/raccoon_src/utils/request_handler.py", line 28, in init
self.headers = self._set_headers()
File "/usr/local/lib/python3.6/dist-packages/raccoon_src/utils/request_handler.py", line 33, in _set_headers
headers["User-Agent"] = UserAgent(verify_ssl=False).random
File "/usr/local/lib/python3.6/dist-packages/fake_useragent/fake.py", line 69, in init
self.load()
File "/usr/local/lib/python3.6/dist-packages/fake_useragent/fake.py", line 78, in load
verify_ssl=self.verify_ssl,
File "/usr/local/lib/python3.6/dist-packages/fake_useragent/utils.py", line 250, in load_cached
update(path, use_cache_server=use_cache_server, verify_ssl=verify_ssl)
File "/usr/local/lib/python3.6/dist-packages/fake_useragent/utils.py", line 245, in update
write(path, load(use_cache_server=use_cache_server, verify_ssl=verify_ssl))
File "/usr/local/lib/python3.6/dist-packages/fake_useragent/utils.py", line 189, in load
verify_ssl=verify_ssl,
File "/usr/local/lib/python3.6/dist-packages/fake_useragent/utils.py", line 69, in get
return response.read()
File "/usr/lib/python3.6/http/client.py", line 462, in read
s = self._safe_read(self.length)
File "/usr/lib/python3.6/http/client.py", line 614, in _safe_read
raise IncompleteRead(b''.join(s), amt)

Expand the owasp branch with more web application attacks/scans

I started coding some attacks/scans into Raccoon - this is done in the owasp branch.
This is supposed to broaden its vulnerability scanning abilities and help it assist with areas it is not addressing fully at the moment.

I have coded most/all of the directory traversal module but I currently have no time to add more scans and attacks from the web application world, let alone write unit tests for the existing ones.

I'd love to get assistance on this, from simple suggestions in this issue to proper PRs - everything is appreciated.

On a side note, I started working on an XSS module as part of this branch but decided to drop it. I don't believe XSS is a good fit for an automated scan. XSS is something that is best done manually - with implications being observed by the attacker immediately, while detecting them using an automated tool is a lot harder and can have a ton of false positives/negatives.

scanner issue

Hi currently trying install this on kali 2020 and when i run the scanner i get this issue

Traceback (most recent call last):
  File "/usr/local/bin/raccoon", line 11, in <module>
    load_entry_point('raccoon-scanner==0.8.5', 'console_scripts', 'raccoon')()
  File "/usr/lib/python3/dist-packages/click/core.py", line 764, in __call__
    return self.main(*args, **kwargs)
  File "/usr/lib/python3/dist-packages/click/core.py", line 717, in main
    rv = self.invoke(ctx)
  File "/usr/lib/python3/dist-packages/click/core.py", line 956, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/usr/lib/python3/dist-packages/click/core.py", line 555, in invoke
    return callback(*args, **kwargs)
  File "/usr/local/lib/python3.8/dist-packages/raccoon_src/main.py", line 183, in main
    host.parse()
  File "/usr/local/lib/python3.8/dist-packages/raccoon_src/lib/host.py", line 125, in parse
    self.dns_results = DNSHandler.query_dns(domains, self.dns_records)
  File "/usr/local/lib/python3.8/dist-packages/raccoon_src/lib/dns_handler.py", line 27, in query_dns
    answers = cls.resolver.query(domain, record)
  File "/usr/lib/python3/dist-packages/dns/resolver.py", line 850, in query
    rdtype = dns.rdatatype.from_text(rdtype)
  File "/usr/lib/python3/dist-packages/dns/rdatatype.py", line 212, in from_text
    raise UnknownRdatatype
dns.rdatatype.UnknownRdatatype: DNS resource record type is unknown.

asyncio SyntaxError: invalid syntax

python raccoon_src/main.py
Traceback (most recent call last):
File "raccoon_src/main.py", line 2, in
import asyncio
ImportError: No module named asyncio

pip install asyncio
Collecting asyncio
Downloading https://files.pythonhosted.org/packages/da/54/054bafaf2c0fb8473d423743e191fcdf49b2c1fd5e9af3524efbe097bafd/asyncio-3.4.3.tar.gz (204kB)
100% |████████████████████████████████| 204kB 1.8MB/s
Building wheels for collected packages: asyncio
Running setup.py bdist_wheel for asyncio ... done
Stored in directory: /root/.cache/pip/wheels/cb/17/5e/49e0ab550783011b8389b67553fd2c9b5453e926f5e36c7a41
Successfully built asyncio
Installing collected packages: asyncio
Successfully installed asyncio-3.4.3

python raccoon_src/main.py
Traceback (most recent call last):
File "raccoon_src/main.py", line 2, in
import asyncio
File "/usr/local/lib/python2.7/dist-packages/asyncio/init.py", line 9, in
from . import selectors
File "/usr/local/lib/python2.7/dist-packages/asyncio/selectors.py", line 39
"{!r}".format(fileobj)) from None
^
SyntaxError: invalid syntax

Support more storages (Azure, GCP) under storage_explorer.py

storage_explorer.py is being ran as part of the general web scan. In its current form, it searches for Amazon S3 buckets, tests their permissions (traversing up for each dir) and, given an open bucket, scans for any sensitive files - finally adding them to the report.

Ideally, Raccoon should scan other cloud-based storage solutions. Unfortunately, I simply cannot find the time to work on such enhancements at the moment.

If someone is willing to take the research and implementation of this feature upon himself, he is welcome to give it a shot. I'll be more than happy to assist with whatever is needed.

Error running raccoon

When running a scan I get the following output:

[#] Done enumerating Subdomains

### Raccoon scan finished ###

Task exception was never retrieved
future: <Task finished coro=<TLSHandler.run() done, defined at /usr/local/lib/python3.6/site-packages/raccoon_src/lib/tls.py:204> exception=FileNotFoundError(2, "No such file or directory: 'timeout'")>
Traceback (most recent call last):
  File "/usr/local/lib/python3.6/site-packages/raccoon_src/lib/tls.py", line 207, in run
    self.non_sni_data = await self._execute_ssl_data_extraction()
  File "/usr/local/lib/python3.6/site-packages/raccoon_src/lib/tls.py", line 130, in _execute_ssl_data_extraction
    responses = await self._run_openssl_sclient_cmd(self._base_script, sni)
  File "/usr/local/lib/python3.6/site-packages/raccoon_src/lib/tls.py", line 152, in _run_openssl_sclient_cmd
    stderr=PIPE
  File "/usr/local/Cellar/python/3.6.5/Frameworks/Python.framework/Versions/3.6/lib/python3.6/asyncio/subprocess.py", line 225, in create_subprocess_exec
    stderr=stderr, **kwds)
  File "/usr/local/Cellar/python/3.6.5/Frameworks/Python.framework/Versions/3.6/lib/python3.6/asyncio/base_events.py", line 1192, in subprocess_exec
    bufsize, **kwargs)
  File "/usr/local/Cellar/python/3.6.5/Frameworks/Python.framework/Versions/3.6/lib/python3.6/asyncio/unix_events.py", line 200, in _make_subprocess_transport
    **kwargs)
  File "/usr/local/Cellar/python/3.6.5/Frameworks/Python.framework/Versions/3.6/lib/python3.6/asyncio/base_subprocess.py", line 39, in __init__
    stderr=stderr, bufsize=bufsize, **kwargs)
  File "/usr/local/Cellar/python/3.6.5/Frameworks/Python.framework/Versions/3.6/lib/python3.6/asyncio/unix_events.py", line 706, in _start
    universal_newlines=False, bufsize=bufsize, **kwargs)
  File "/usr/local/Cellar/python/3.6.5/Frameworks/Python.framework/Versions/3.6/lib/python3.6/subprocess.py", line 709, in __init__
    restore_signals, start_new_session)
  File "/usr/local/Cellar/python/3.6.5/Frameworks/Python.framework/Versions/3.6/lib/python3.6/subprocess.py", line 1344, in _execute_child
    raise child_exception_type(errno_num, err_msg, err_filename)
FileNotFoundError: [Errno 2] No such file or directory: 'timeout': 'timeout'

TypeError: __init__() got an unexpected keyword argument 'cookies'

Hello, when I invoke version 0.8.1 (from git) I get :

Traceback (most recent call last):
File "./main.py", line 252, in
main()
File "/usr/local/lib/python3.5/dist-packages/click/core.py", line 722, in call
return self.main(*args, **kwargs)
File "/usr/local/lib/python3.5/dist-packages/click/core.py", line 697, in main
rv = self.invoke(ctx)
File "/usr/local/lib/python3.5/dist-packages/click/core.py", line 895, in invoke
return ctx.invoke(self.callback, **ctx.params)
File "/usr/local/lib/python3.5/dist-packages/click/core.py", line 535, in invoke
return callback(*args, **kwargs)
File "./main.py", line 159, in main
cookies=cookies
File "/usr/local/lib/python3.5/dist-packages/raccoon_src/utils/singleton.py", line 8, in call
cls.instance = super(Singleton, cls).call(*args, **kwargs)
TypeError: init() got an unexpected keyword argument 'cookies'

Installed modules: requests 2.19.1 , click 6.7
On Python 3.5.2

Keep outputting duplicates

When I asked Raccoon to write a code to convert a txt file into a fasta file, it would repeatedly output the amino acid sequence.

Raccoon > 欢迎您 asiwu, 我是 Raccoon, 您的代码助手. 您可以让我与您一起编写代码, 或向我询问任何技术问题.

asiwu > 
txt file to fasta file

Raccoon > 
To convert a text file to a FASTA file, you can follow these steps:

1. Open the text file in a text editor.
2. Copy the entire text and paste it into a new document.
3. Format the text as follows:
>sequence_name
ATGCATGCATGCATGCATGCATGCATGCATGCATGCATGCATGCATGCATGCATGCATGCATGCATGCATGCATGCATGCATGCATGCATG
CATGCATGCATGCATGCATGCATGCATGCATGCATGCATGCATGCATGCATGCATGCATGCATGCATGCATGCATGCATGCATGCATGCA
TGCATGCATGCATGCATGCATGCATGCATGCATGCATGCATGCATGCATGCATGCATGCATGCATGCATGCATGCATGCATGCATGCATG
CATGCATGCATGCATGCATGCATGCATGCATGCATGCATGCATGCATGCATGCATGCATGCATGCATGCATGCATGCATGCATGCATGCA
TGCATGCATGCATGCATGCATGCATGCATGCATGCATGCATGCATGCATGCATGCATGCATGCATGCATGCATGCATGCATGCATGCATG
CATGCATGCATGCATGCATGCATGCATGCATGCATGCATGCATGCATGCATGCATGCATGCATGCATGCATGCATGCATGCATGCATGCA
TGCATGCATGCATGCATGCATGCATGCATGCATGCATGCATGCATGCATGCATGCATGCATGCATGCATGCATGCATGCATGCATGCATG
CATGCATGCATGCATGCATGCATGCATGCATGCATGCATGCATGCATGCATGCATGCATGCATGCATGCATGCATGCATGCATGCATGCA
TGCATGCATGCATGCATGCATGCATGCATGCATGCATGCATGCATGCATGCATGCATGCATGCATGCATGCATGCATGCATGCATGCATG
CATGCATGCATGCATGCATGCATGCATGCATGCATGCATGCATGCATGCATGCATGCATGCATGCATGCATGCATGCATGCATGCATGCA
TGCATGCATGCATGCATGCATGCATGCATGCATGCATGCATGCATGCATGCATGCATGCATGCATGCATGCATGCATGCATGCATGCATG
CATGCATGCATGCATGCATGCATGCATGCATGCATGCATGCATGCATGCATGCATGCATGCATGCATGCATGCATGCATGCATGCATGCA
TGCATGCATGCATGCATGCATGCATGCATGCATGCATGCATGCATGCATGCATGCATGCATGCATGCATGCATGCATGCATGCATGCATG
CATGCATGCATGCATGCATGCATGCATGCATGCATGCATGCATGCATGCATGCATGCATGCATGCATGCATGCATGCATGCATGCATGCA
TGCATGCATGCATGCATGCATGCATGCATGCATGCATGCATGCATGCATGCATGCATGCATGCATGCATGCATGCATGCATGCATGCATG
CATGCATGCATGCATGCATGCATGCATGCATGCATGCATGCATGCATGCATGCATGCATGCATGCATGCATGCATGCATGCATGCATGCA
TGCATGCATGCATGCATGCATGCATGCATGCATGCATGCATGCATGCATGCATGCAT...

DNS mapping png file is broken in results

When looking at the results folder, the "dns_mapping.png" file that supposed to be a download from dnsdumpster.com is a corrupt file and does not work.That is the case on every single scan I run.

Maye an issue in the fetch address?

UnicodeDecodeError: 'utf-8' codec can't decode byte 0xff in position 21: invalid start byte

Hello I'm,

getting the following error message:

Traceback (most recent call last):
File "/usr/local/bin/raccoon", line 11, in
sys.exit(main())
File "/usr/lib/python3/dist-packages/click/core.py", line 759, in call
return self.main(*args, **kwargs)
File "/usr/lib/python3/dist-packages/click/core.py", line 714, in main
rv = self.invoke(ctx)
File "/usr/lib/python3/dist-packages/click/core.py", line 951, in invoke
return ctx.invoke(self.callback, **ctx.params)
File "/usr/lib/python3/dist-packages/click/core.py", line 552, in invoke
return callback(*args, **kwargs)
File "/usr/local/lib/python3.6/dist-packages/raccoon_src/main.py", line 236, in main
main_loop.run_until_complete(fuzzer.fuzz_all())
File "/usr/lib/python3.6/asyncio/base_events.py", line 468, in run_until_complete
return future.result()
File "/usr/local/lib/python3.6/dist-packages/raccoon_src/lib/fuzzer.py", line 143, in fuzz_all
pool.map(partial(self._fetch, sub_domain=sub_domain), self.wordlist)
File "/usr/lib/python3.6/multiprocessing/pool.py", line 266, in map
return self._map_async(func, iterable, mapstar, chunksize).get()
File "/usr/lib/python3.6/multiprocessing/pool.py", line 644, in get
raise self._value
File "/usr/lib/python3.6/multiprocessing/pool.py", line 119, in worker
result = (True, func(*args, **kwds))
File "/usr/lib/python3.6/multiprocessing/pool.py", line 44, in mapstar
return list(map(*args))
File "/usr/local/lib/python3.6/dist-packages/raccoon_src/lib/fuzzer.py", line 81, in _fetch
res = self.request_handler.send("HEAD", url=url, allow_redirects=self.follow_redirects)
File "/usr/local/lib/python3.6/dist-packages/raccoon_src/utils/request_handler.py", line 89, in send
return request(method, proxies=proxies, headers=self.headers, cookies=self.cookies, *args, **kwargs)
File "/usr/lib/python3/dist-packages/requests/api.py", line 58, in request
return session.request(method=method, url=url, **kwargs)
File "/usr/lib/python3/dist-packages/requests/sessions.py", line 508, in request
resp = self.send(prep, **send_kwargs)
File "/usr/lib/python3/dist-packages/requests/sessions.py", line 653, in send
r._next = next(self.resolve_redirects(r, request, yield_requests=True, **kwargs))
File "/usr/lib/python3/dist-packages/requests/sessions.py", line 125, in resolve_redirects
url = self.get_redirect_target(resp)
File "/usr/lib/python3/dist-packages/requests/sessions.py", line 116, in get_redirect_target
return to_native_string(location, 'utf8')
File "/usr/lib/python3/dist-packages/requests/_internal_utils.py", line 25, in to_native_string
out = string.decode(encoding)
UnicodeDecodeError: 'utf-8' codec can't decode byte 0xff in position 21: invalid start byte

setup.py fails with both python2 + python3 on Ubuntu Focal

Mention an alternative setup approach.

Thanks!

lxd: net17-website-tester # lsb_release -a
No LSB modules are available.
Distributor ID:	Ubuntu
Description:	Ubuntu 20.04 LTS
Release:	20.04
Codename:	focal

lxd: net17-website-tester # git clone https://github.com/evyatarmeged/Raccoon.git racoon.git
Cloning into 'racoon.git'...
remote: Enumerating objects: 1472, done.
remote: Total 1472 (delta 0), reused 0 (delta 0), pack-reused 1472
Receiving objects: 100% (1472/1472), 904.22 KiB | 11.90 MiB/s, done.
Resolving deltas: 100% (1003/1003), done.

lxd: net17-website-tester # cd racoon.git

lxd: net17-website-tester # git pull
Already up to date.

lxd: net17-website-tester # python2 setup.py 
Traceback (most recent call last):
  File "setup.py", line 1, in <module>
    from setuptools import setup, find_packages
ImportError: No module named setuptools

lxd: net17-website-tester # python3 setup.py 
usage: setup.py [global_opts] cmd1 [cmd1_opts] [cmd2 [cmd2_opts] ...]
   or: setup.py --help [cmd1 cmd2 ...]
   or: setup.py --help-commands
   or: setup.py cmd --help

error: no commands supplied

Whois not found

Help me with this issue
Linux kali 4.18.0-kali2-amd64 #1 SMP Debian 4.18.10-2kali1 (2018-10-09) x86_64 GNU/Linux

Task exception was never retrieved
future: <Task finished coro=<WebApplicationScanner.run_scan() done, defined at /usr/local/lib/python3.6/dist-packages/raccoon_src/lib/web_app.py:219> exception=RequestHandlerException('Connection with server timed out',)>
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 141, in _new_conn
(self.host, self.port), self.timeout, **extra_kw)
File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 83, in create_connection
raise err
File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 73, in create_connection
sock.connect(sa)
socket.timeout: timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
chunked=chunked)
File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 357, in _make_request
conn.request(method, url, **httplib_request_kw)
File "/usr/lib/python3.6/http/client.py", line 1239, in request
self._send_request(method, url, body, headers, encode_chunked)
File "/usr/lib/python3.6/http/client.py", line 1285, in _send_request
self.endheaders(body, encode_chunked=encode_chunked)
File "/usr/lib/python3.6/http/client.py", line 1234, in endheaders
self._send_output(message_body, encode_chunked=encode_chunked)
File "/usr/lib/python3.6/http/client.py", line 1026, in _send_output
self.send(msg)
File "/usr/lib/python3.6/http/client.py", line 964, in send
self.connect()
File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 166, in connect
conn = self._new_conn()
File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 146, in _new_conn
(self.host, self.timeout))
urllib3.exceptions.ConnectTimeoutError: (<urllib3.connection.HTTPConnection object at 0x7f810c2ae518>, 'Connection to gsrtc.in timed out. (connect timeout=5)')

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 440, in send
timeout=timeout
File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
_stacktrace=sys.exc_info()[2])
File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 388, in increment
raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='gsrtc.in', port=80): Max retries exceeded with url: /robots.txt (Caused by ConnectTimeoutError(<urllib3.connection.HTTPConnection object at 0x7f810c2ae518>, 'Connection to gsrtc.in timed out. (connect timeout=5)'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "/usr/local/lib/python3.6/dist-packages/raccoon_src/utils/request_handler.py", line 89, in send
return request(method, proxies=proxies, headers=self.headers, cookies=self.cookies, *args, **kwargs)
File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 58, in request
return session.request(method=method, url=url, **kwargs)
File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 508, in request
resp = self.send(prep, **send_kwargs)
File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 618, in send
r = adapter.send(request, **kwargs)
File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 496, in send
raise ConnectTimeout(e, request=request)
requests.exceptions.ConnectTimeout: HTTPConnectionPool(host='gsrtc.in', port=80): Max retries exceeded with url: /robots.txt (Caused by ConnectTimeoutError(<urllib3.connection.HTTPConnection object at 0x7f810c2ae518>, 'Connection to gsrtc.in timed out. (connect timeout=5)'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "/usr/local/lib/python3.6/dist-packages/raccoon_src/lib/web_app.py", line 223, in run_scan
await self.get_web_application_info()
File "/usr/local/lib/python3.6/dist-packages/raccoon_src/lib/web_app.py", line 201, in get_web_application_info
self._robots()
File "/usr/local/lib/python3.6/dist-packages/raccoon_src/lib/web_app.py", line 108, in _robots
self.host.port
File "/usr/local/lib/python3.6/dist-packages/raccoon_src/utils/request_handler.py", line 96, in send
raise RequestHandlerException("Connection with server timed out")
raccoon_src.utils.exceptions.RequestHandlerException: Connection with server timed out
Task exception was never retrieved
future: <Task finished coro=<DNSHandler.grab_whois() done, defined at /usr/local/lib/python3.6/dist-packages/raccoon_src/lib/dns_handler.py:37> exception=FileNotFoundError(2, "No such file or directory: 'whois'")>
Traceback (most recent call last):
File "/usr/local/lib/python3.6/dist-packages/raccoon_src/lib/dns_handler.py", line 49, in grab_whois
stderr=PIPE
File "/usr/lib/python3.6/asyncio/subprocess.py", line 225, in create_subprocess_exec
stderr=stderr, **kwds)
File "/usr/lib/python3.6/asyncio/base_events.py", line 1194, in subprocess_exec
bufsize, **kwargs)
File "/usr/lib/python3.6/asyncio/unix_events.py", line 200, in _make_subprocess_transport
**kwargs)
File "/usr/lib/python3.6/asyncio/base_subprocess.py", line 39, in init
stderr=stderr, bufsize=bufsize, **kwargs)
File "/usr/lib/python3.6/asyncio/unix_events.py", line 706, in _start
universal_newlines=False, bufsize=bufsize, **kwargs)
File "/usr/lib/python3.6/subprocess.py", line 709, in init
restore_signals, start_new_session)
File "/usr/lib/python3.6/subprocess.py", line 1344, in _execute_child
raise child_exception_type(errno_num, err_msg, err_filename)
FileNotFoundError: [Errno 2] No such file or directory: 'whois': 'whois'

Output python2 format code

Raccoon autocompleted code in python2 format, which has been eliminated.

# txt file 2 fasta file

path = ''
f = open(path)
data = []
for line in f.readlines() :
    line = line.strip('\n')
    data.append(line)

# Raccoon autocomplete, which is python2 code
for idx , seq in enumerate(data) :
    print '>' + str(idx)
    print seq

FileNotFoundError

[#] Enumerating Subdomains
[!] Trying to discover subdomains in Google
Traceback (most recent call last):
  File "/Users/admin/bin/tools/Raccoon/venv/lib/python3.7/site-packages/urllib3/connection.py", line 141, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/Users/admin/bin/tools/Raccoon/venv/lib/python3.7/site-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/local/Cellar/python/3.7.0/Frameworks/Python.framework/Versions/3.7/lib/python3.7/socket.py", line 748, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno 8] nodename nor servname provided, or not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/Users/admin/bin/tools/Raccoon/venv/lib/python3.7/site-packages/urllib3/connectionpool.py", line 595, in urlopen
    self._prepare_proxy(conn)
  File "/Users/admin/bin/tools/Raccoon/venv/lib/python3.7/site-packages/urllib3/connectionpool.py", line 816, in _prepare_proxy
    conn.connect()
  File "/Users/admin/bin/tools/Raccoon/venv/lib/python3.7/site-packages/urllib3/connection.py", line 284, in connect
    conn = self._new_conn()
  File "/Users/admin/bin/tools/Raccoon/venv/lib/python3.7/site-packages/urllib3/connection.py", line 150, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x10859a4a8>: Failed to establish a new connection: [Errno 8] nodename nor servname provided, or not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/Users/admin/bin/tools/Raccoon/venv/lib/python3.7/site-packages/requests/adapters.py", line 440, in send
    timeout=timeout
  File "/Users/admin/bin/tools/Raccoon/venv/lib/python3.7/site-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/Users/admin/bin/tools/Raccoon/venv/lib/python3.7/site-packages/urllib3/util/retry.py", line 388, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.google.com', port=443): Max retries exceeded with url: /search?q=site:bitfi.com&num=100 (Caused by ProxyError('Cannot connect to proxy.', NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x10859a4a8>: Failed to establish a new connection: [Errno 8] nodename nor servname provided, or not known')))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/Users/admin/bin/tools/Raccoon/raccoon_src/../raccoon_src/utils/request_handler.py", line 93, in send
    return requests.get(proxies=proxies, headers=self.headers, cookies=self.cookies, *args, **kwargs)
  File "/Users/admin/bin/tools/Raccoon/venv/lib/python3.7/site-packages/requests/api.py", line 72, in get
    return request('get', url, params=params, **kwargs)
  File "/Users/admin/bin/tools/Raccoon/venv/lib/python3.7/site-packages/requests/api.py", line 58, in request
    return session.request(method=method, url=url, **kwargs)
  File "/Users/admin/bin/tools/Raccoon/venv/lib/python3.7/site-packages/requests/sessions.py", line 508, in request
    resp = self.send(prep, **send_kwargs)
  File "/Users/admin/bin/tools/Raccoon/venv/lib/python3.7/site-packages/requests/sessions.py", line 618, in send
    r = adapter.send(request, **kwargs)
  File "/Users/admin/bin/tools/Raccoon/venv/lib/python3.7/site-packages/requests/adapters.py", line 502, in send
    raise ProxyError(e, request=request)
requests.exceptions.ProxyError: HTTPSConnectionPool(host='www.google.com', port=443): Max retries exceeded with url: /search?q=site:bitfi.com&num=100 (Caused by ProxyError('Cannot connect to proxy.', NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x10859a4a8>: Failed to establish a new connection: [Errno 8] nodename nor servname provided, or not known')))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "main.py", line 251, in <module>
    main()
  File "/Users/admin/bin/tools/Raccoon/venv/lib/python3.7/site-packages/click/core.py", line 722, in __call__
    return self.main(*args, **kwargs)
  File "/Users/admin/bin/tools/Raccoon/venv/lib/python3.7/site-packages/click/core.py", line 697, in main
    rv = self.invoke(ctx)
  File "/Users/admin/bin/tools/Raccoon/venv/lib/python3.7/site-packages/click/core.py", line 895, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/Users/admin/bin/tools/Raccoon/venv/lib/python3.7/site-packages/click/core.py", line 535, in invoke
    return callback(*args, **kwargs)
  File "main.py", line 230, in main
    main_loop.run_until_complete(subdomain_enumerator.run())
  File "/usr/local/Cellar/python/3.7.0/Frameworks/Python.framework/Versions/3.7/lib/python3.7/asyncio/base_events.py", line 568, in run_until_complete
    return future.result()
  File "/Users/admin/bin/tools/Raccoon/raccoon_src/../raccoon_src/lib/sub_domain.py", line 37, in run
    self._google_dork()
  File "/Users/admin/bin/tools/Raccoon/raccoon_src/../raccoon_src/lib/sub_domain.py", line 62, in _google_dork
    url="https://www.google.com/search?q=site:{}&num=100".format(self.target)
  File "/Users/admin/bin/tools/Raccoon/raccoon_src/../raccoon_src/utils/request_handler.py", line 102, in send
    raise RequestHandlerException("Error connecting to proxy")
raccoon_src.utils.exceptions.RequestHandlerException: Error connecting to proxy
Task exception was never retrieved
future: <Task finished coro=<TLSHandler.run() done, defined at /Users/admin/bin/tools/Raccoon/raccoon_src/../raccoon_src/lib/tls.py:204> exception=FileNotFoundError(2, "No such file or directory: 'timeout'")>
Traceback (most recent call last):
  File "/Users/admin/bin/tools/Raccoon/raccoon_src/../raccoon_src/lib/tls.py", line 207, in run
    self.non_sni_data = await self._execute_ssl_data_extraction()
  File "/Users/admin/bin/tools/Raccoon/raccoon_src/../raccoon_src/lib/tls.py", line 130, in _execute_ssl_data_extraction
    responses = await self._run_openssl_sclient_cmd(self._base_script, sni)
  File "/Users/admin/bin/tools/Raccoon/raccoon_src/../raccoon_src/lib/tls.py", line 152, in _run_openssl_sclient_cmd
    stderr=PIPE
  File "/usr/local/Cellar/python/3.7.0/Frameworks/Python.framework/Versions/3.7/lib/python3.7/asyncio/subprocess.py", line 217, in create_subprocess_exec
    stderr=stderr, **kwds)
  File "/usr/local/Cellar/python/3.7.0/Frameworks/Python.framework/Versions/3.7/lib/python3.7/asyncio/base_events.py", line 1516, in subprocess_exec
    bufsize, **kwargs)
  File "/usr/local/Cellar/python/3.7.0/Frameworks/Python.framework/Versions/3.7/lib/python3.7/asyncio/unix_events.py", line 190, in _make_subprocess_transport
    **kwargs)
  File "/usr/local/Cellar/python/3.7.0/Frameworks/Python.framework/Versions/3.7/lib/python3.7/asyncio/base_subprocess.py", line 37, in __init__
    stderr=stderr, bufsize=bufsize, **kwargs)
  File "/usr/local/Cellar/python/3.7.0/Frameworks/Python.framework/Versions/3.7/lib/python3.7/asyncio/unix_events.py", line 763, in _start
    universal_newlines=False, bufsize=bufsize, **kwargs)
  File "/usr/local/Cellar/python/3.7.0/Frameworks/Python.framework/Versions/3.7/lib/python3.7/subprocess.py", line 756, in __init__
    restore_signals, start_new_session)
  File "/usr/local/Cellar/python/3.7.0/Frameworks/Python.framework/Versions/3.7/lib/python3.7/subprocess.py", line 1499, in _execute_child
    raise child_exception_type(errno_num, err_msg, err_filename)
FileNotFoundError: [Errno 2] No such file or directory: 'timeout': 'timeout'

Arguments provided:
python main.py --proxy-list proxies.txt -T 100 -t http://....com -o ...-scan --skip-health-check

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.