GithubHelp home page GithubHelp logo

taonn / emailall Goto Github PK

View Code? Open in Web Editor NEW
630.0 10.0 112.0 451 KB

EmailAll is a powerful Email Collect tool — 一款强大的邮箱收集工具

Python 100.00%
information-gathering information-gathering-tools emailhunter osint-python python osint discovery emails redteam redteaming

emailall's People

Contributors

taonn 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

emailall's Issues

一个正则bug

EmailAll-master/common/utils.py中match_emails方法的正则存在bug,对"."前的字符数量匹配有偏差
reg_emails = re.compile(r"[a-zA-Z0-9][_|.][a-zA-Z0-9]+@" + '[a-zA-Z0-9.-]' + domain.replace('www.', ''))
image
在使用中可以发现存在明显错误
image

运行报错Maximum amount of retries reached

python3 emailall.py --domain baidu.com run

EmailALl is a powerful Emails integration tool


| | () |/ _ | | | {v1.0 #dev}
| |
_ __ ___ __ _ | / /\ \ | |
| | ' _ \ / _ | | | _ | | |
| |
| | | | | | (| | | | | | | | |
_
/| || ||_,||_| |/|_| By Microtao.

[*] Starting EmailAll @ 2022-08-18 13:42:39

13:42:39,388 [INFOR] utils:44 - Checking network environment
13:42:40,556 [INFOR] collect:45 - Start collecting Emails of baidu.com
Error occurred during loading data. Trying to use cache server https://fake-useragent.herokuapp.com/browsers/0.1.11
Traceback (most recent call last):
File "E:\Lib\Python\Python38\lib\site-packages\fake_useragent\utils.py", line 154, in load
for item in get_browsers(verify_ssl=verify_ssl):
File "E:\Lib\Python\Python38\lib\site-packages\fake_useragent\utils.py", line 99, in get_browsers
html = html.split('

')[1]
IndexError: list index out of range
Traceback (most recent call last):
File "E:\Lib\Python\Python38\lib\site-packages\fake_useragent\utils.py", line 154, in load
for item in get_browsers(verify_ssl=verify_ssl):
File "E:\Lib\Python\Python38\lib\site-packages\fake_useragent\utils.py", line 99, in get_browsers
html = html.split('
')[1]
IndexError: list index out of range

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "E:\Lib\Python\Python38\lib\urllib\request.py", line 1354, in do_open
h.request(req.get_method(), req.selector, req.data, headers,
File "E:\Lib\Python\Python38\lib\http\client.py", line 1252, in request
self._send_request(method, url, body, headers, encode_chunked)
File "E:\Lib\Python\Python38\lib\http\client.py", line 1298, in _send_request
self.endheaders(body, encode_chunked=encode_chunked)
File "E:\Lib\Python\Python38\lib\http\client.py", line 1247, in endheaders
self._send_output(message_body, encode_chunked=encode_chunked)
File "E:\Lib\Python\Python38\lib\http\client.py", line 1007, in _send_output
self.send(msg)
File "E:\Lib\Python\Python38\lib\http\client.py", line 947, in send
self.connect()
File "E:\Lib\Python\Python38\lib\http\client.py", line 1414, in connect
super().connect()
File "E:\Lib\Python\Python38\lib\http\client.py", line 918, in connect
self.sock = self._create_connection(
File "E:\Lib\Python\Python38\lib\socket.py", line 787, in create_connection
for res in getaddrinfo(host, port, 0, SOCK_STREAM):
File "E:\Lib\Python\Python38\lib\socket.py", line 918, in getaddrinfo
for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno 11002] getaddrinfo failed

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "E:\Lib\Python\Python38\lib\site-packages\fake_useragent\utils.py", line 64, in get
with contextlib.closing(urlopen(
File "E:\Lib\Python\Python38\lib\urllib\request.py", line 222, in urlopen
return opener.open(url, data, timeout)
File "E:\Lib\Python\Python38\lib\urllib\request.py", line 525, in open
response = self._open(req, data)
File "E:\Lib\Python\Python38\lib\urllib\request.py", line 542, in _open
result = self._call_chain(self.handle_open, protocol, protocol +
File "E:\Lib\Python\Python38\lib\urllib\request.py", line 502, in _call_chain
result = func(*args)
File "E:\Lib\Python\Python38\lib\urllib\request.py", line 1397, in https_open
return self.do_open(http.client.HTTPSConnection, req,
File "E:\Lib\Python\Python38\lib\urllib\request.py", line 1357, in do_open
raise URLError(err)
urllib.error.URLError: <urlopen error [Errno 11002] getaddrinfo failed>

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "emailall.py", line 94, in
fire.Fire(EmailAll)
File "E:\Lib\Python\Python38\lib\site-packages\fire\core.py", line 141, in Fire
component_trace = _Fire(component, args, parsed_flag_args, context, name)
File "E:\Lib\Python\Python38\lib\site-packages\fire\core.py", line 466, in _Fire
component, remaining_args = _CallAndUpdateTrace(
File "E:\Lib\Python\Python38\lib\site-packages\fire\core.py", line 681, in CallAndUpdateTrace
component = fn(*varargs, **kwargs)
File "emailall.py", line 79, in run
self.main()
File "emailall.py", line 59, in main
collect.run()
File "E:\Test_tools\EmailAll\modules\collect.py", line 47, in run
self.import_func()
File "E:\Test_tools\EmailAll\modules\collect.py", line 37, in import_func
import_object = importlib.import_module(module)
File "E:\Lib\Python\Python38\lib\importlib_init
.py", line 127, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "", line 1014, in _gcd_import
File "", line 991, in _find_and_load
File "", line 975, in _find_and_load_unlocked
File "", line 671, in _load_unlocked
File "", line 848, in exec_module
File "", line 219, in _call_with_frames_removed
File "E:\Test_tools\EmailAll\modules\datasets\Emailf.py", line 8, in
from common.search import Search
File "E:\Test_tools\EmailAll\common\search.py", line 5, in
from modules.module import Module
File "E:\Test_tools\EmailAll\modules\module.py", line 18, in
ua = UserAgent()
File "E:\Lib\Python\Python38\lib\site-packages\fake_useragent\fake.py", line 69, in init
self.load()
File "E:\Lib\Python\Python38\lib\site-packages\fake_useragent\fake.py", line 75, in load
self.data = load_cached(
File "E:\Lib\Python\Python38\lib\site-packages\fake_useragent\utils.py", line 250, in load_cached
update(path, use_cache_server=use_cache_server, verify_ssl=verify_ssl)
File "E:\Lib\Python\Python38\lib\site-packages\fake_useragent\utils.py", line 245, in update
write(path, load(use_cache_server=use_cache_server, verify_ssl=verify_ssl))
File "E:\Lib\Python\Python38\lib\site-packages\fake_useragent\utils.py", line 187, in load
ret = json.loads(get(
File "E:\Lib\Python\Python38\lib\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

增加邮箱有效性

收集了很多邮箱,但是哪些邮箱是启用状态、关闭启用状态还需要验证整理。能否加入该功能。

无法正常运行

image
Error occurred during loading data. Trying to use cache server https://fake-useragent.herokuapp.com/browsers/0.1.11
Traceback (most recent call last):
File "C:\Users\me\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.8_qbz5n2kfra8p0\LocalCache\local-packages\Python38\site-packages\fake_useragent\utils.py", line 154, in load
for item in get_browsers(verify_ssl=verify_ssl):
File "C:\Users\me\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.8_qbz5n2kfra8p0\LocalCache\local-packages\Python38\site-packages\fake_useragent\utils.py", line 99, in get_browsers
html = html.split('

')[1]
IndexError: list index out of range
Traceback (most recent call last):
File "C:\Users\me\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.8_qbz5n2kfra8p0\LocalCache\local-packages\Python38\site-packages\fake_useragent\utils.py", line 154, in load
for item in get_browsers(verify_ssl=verify_ssl):
File "C:\Users\me\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.8_qbz5n2kfra8p0\LocalCache\local-packages\Python38\site-packages\fake_useragent\utils.py", line 99, in get_browsers
html = html.split('
')[1]
IndexError: list index out of range

创建输出文件失败

师傅在mac上使用时会出现 with open(path, 'r', errors='ignore') as f:
FileNotFoundError: [Errno 2] No such file or directory: 'XXXX.com_All.json'的报错,我看了下好像是你在result目录中新建了一个和域名相关的文件夹,但是我的不能创建,我后来就盖output.py的文件,改写了之后不让他在下面创建文件夹了,直接输出到result目录中,但是改了之后还是不能运行成功,师傅能看看是什么原因吗

诚挚的邀请您加入CT stack社区

Taonn师傅
您好,我是 CT Stack 安全社区的运营jarcis。发现您的EmailAll工具非常优质,特邀您加入我们平台。因未找到您的联系方式,所以只能采取这样的形式,非常抱歉。
CT Stack 安全社区隶属于长亭科技,守护安全工具成长,可帮助运营、推广安全工具。每月评选优质工具打造专题月,可为工具量身定制玩法,集中收集工具使用反馈,辅助工具迭代。
如您有意向,可添加社区微信客服(客服号:CTStack)

something is wrong

Like this:

[*] Starting EmailAll @ 2022-08-18 15:06:37

15:06:37,716 [INFOR] utils:44 - Checking network environment
15:06:37,737 [ERROR] utils:30 - (MaxRetryError("HTTPConnectionPool(host='ip-api.com', port=80): Max retries exceeded with url: /json/ (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x102302310>: Failed to establish a new connection: [Errno 61] Connection refused'))"),)
15:06:37,738 [ALERT] utils:31 - Unable to access Internet, retrying...
15:06:37,738 [ALERT] utils:49 - Please check your network environment.
15:06:37,739 [ALERT] emailall:56 - Because it cannot access the Internet

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.