This commit is contained in:
NotoriousRebel 2020-06-28 12:38:25 -04:00
commit 03adc7e79e
4 changed files with 35 additions and 10 deletions

21
requirements/app.txt Normal file
View file

@ -0,0 +1,21 @@
aiodns==2.0.0
aiofiles==0.5.0
aiohttp==3.6.2
aiosqlite==0.13.0
beautifulsoup4==4.9.1
dnspython==1.16.0
fastapi==0.55.1
netaddr==0.7.19
orjson==2.0.9
plotly==4.8.1
PyYAML==5.3.1
requests==2.23.0
retrying==1.3.3
shodan==1.23.0
slowapi==0.1.1
starlette==0.13.2
texttable==1.6.2
lxml==4.5.1
uvicorn==0.11.5
uvloop==0.14.0
certifi==2020.4.5.1

View file

@ -4,11 +4,11 @@ aiohttp==3.6.2
aiosqlite==0.13.0
beautifulsoup4==4.9.1
dnspython==1.16.0
fastapi==0.55.1
netaddr==0.7.19
plotly==4.8.1
netaddr==0.7.20
plotly==4.8.2
PyYAML==5.3.1
requests==2.23.0
requests==2.24.0
retrying==1.3.3
shodan==1.23.0
slowapi==0.1.1
@ -16,5 +16,5 @@ starlette==0.13.4
texttable==1.6.2
lxml==4.5.1
uvicorn==0.11.5
uvloop==0.14.0
certifi==2020.4.5.1
uvloop==0.14.0; platform_system != "Windows"
certifi==2020.6.20

View file

@ -1,7 +1,7 @@
-r base.txt
flake8==3.8.2
mypy==0.780
flake8==3.8.3
mypy==0.782
mypy-extensions==0.4.3
pyflakes==2.2.0
pytest==5.4.3
pytest-asyncio==0.12.0
pytest-asyncio==0.14.0

View file

@ -4,7 +4,6 @@
from platform import python_version
import sys
import asyncio
import uvloop
if python_version()[0:3] < '3.7':
print('\033[93m[!] Make sure you have Python 3.7+ installed, quitting.\n\n \033[0m')
@ -12,5 +11,10 @@
from theHarvester import __main__
uvloop.install()
if sys.platform == 'win32':
asyncio.DefaultEventLoopPolicy = asyncio.WindowsSelectorEventLoopPolicy
else:
import uvloop
uvloop.install()
asyncio.run(__main__.entry_point())