mirror of
https://github.com/laramies/theHarvester.git
synced 2025-02-24 14:32:57 +08:00
Renamed the version to be 3.1.0-dev instead of having v<number>
for the 3.0.6 as this will be a major release when we are happy with everything Try seeing if I can get travis to check how everything acts when installed as a python module
This commit is contained in:
parent
3a0e63238b
commit
f63d6f71fb
5 changed files with 15 additions and 5 deletions
|
@ -5,8 +5,9 @@ python:
|
|||
- '3.7'
|
||||
- '3.8-dev'
|
||||
install:
|
||||
- pip install -r requirements.txt
|
||||
- python setup install
|
||||
script:
|
||||
- python theHarvester -h
|
||||
- pytest
|
||||
notifications:
|
||||
email: false
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
* | |_| | | | __/ / __ / (_| | | \ V / __/\__ \ || __/ | *
|
||||
* \__|_| |_|\___| \/ /_/ \__,_|_| \_/ \___||___/\__\___|_| *
|
||||
* *
|
||||
* theHarvester 3.0.6 v380 *
|
||||
* theHarvester 3.1.0 dev *
|
||||
* Coded by Christian Martorella *
|
||||
* Edge-Security Research *
|
||||
* cmartorella@edge-security.com *
|
||||
|
|
5
setup.py
5
setup.py
|
@ -1,11 +1,12 @@
|
|||
import setuptools
|
||||
from theHarvester.lib.core import Core
|
||||
|
||||
with open("README.md", "r") as fh:
|
||||
long_description = fh.read()
|
||||
|
||||
setuptools.setup(
|
||||
name='theHarvester',
|
||||
version='3.0.6',
|
||||
version=Core.version(),
|
||||
author="Christian Martorella",
|
||||
author_email="cmartorella@edge-security.com",
|
||||
description="theHarvester is a very simple, yet effective tool designed to be used in the early stages of a penetration test",
|
||||
|
@ -21,6 +22,8 @@
|
|||
|
||||
classifiers=[
|
||||
"Programming Language :: Python :: 3",
|
||||
"Programming Language :: Python :: 3.6",
|
||||
"Programming Language :: Python :: 3.7",
|
||||
"License :: OSI Approved :: GNU General Public License v2 (GPLv2)",
|
||||
"Operating System :: OS Independent",
|
||||
],
|
||||
|
|
|
@ -30,12 +30,14 @@
|
|||
|
||||
Core.banner()
|
||||
|
||||
|
||||
def modified_source(excluded_engines):
|
||||
engines = Core.get_supportedengines()
|
||||
engines.remove('all')
|
||||
excluded_engines = set(map(str.strip, excluded_engines.split(',')))
|
||||
return engines.difference(excluded_engines)
|
||||
|
||||
|
||||
def start():
|
||||
parser = argparse.ArgumentParser(description='theHarvester is used to gather open source intelligence (OSINT) on a\n'
|
||||
'company or domain.')
|
||||
|
|
|
@ -5,6 +5,10 @@
|
|||
|
||||
|
||||
class Core:
|
||||
@staticmethod
|
||||
def version():
|
||||
return '3.1.0-dev'
|
||||
|
||||
@staticmethod
|
||||
def bing_key():
|
||||
with open('api-keys.yaml', 'r') as api_keys:
|
||||
|
@ -44,7 +48,7 @@ def banner():
|
|||
print(r"* | |_| | | | __/ / __ / (_| | | \ V / __/\__ \ || __/ | *")
|
||||
print(r"* \__|_| |_|\___| \/ /_/ \__,_|_| \_/ \___||___/\__\___|_| *")
|
||||
print('* *')
|
||||
print('* theHarvester 3.0.6 v380 *')
|
||||
print(f'* theHarvester {Core.version()} *')
|
||||
print('* Coded by Christian Martorella *')
|
||||
print('* Edge-Security Research *')
|
||||
print('* cmartorella@edge-security.com *')
|
||||
|
|
Loading…
Reference in a new issue