Skip to content

Commit

Permalink
+ --version
Browse files Browse the repository at this point in the history
  • Loading branch information
matricali committed Jun 7, 2017
1 parent 2e60ef1 commit fb71557
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
6 changes: 5 additions & 1 deletion bin/brutekrag
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ banner = ('''\033[92m _ _ _
| '_ \| '__| | | | __/ _ \ |/ / '__/ _` |/ _` |
| |_) | | | |_| | || __/ <| | | (_| | (_| |
|_.__/|_| \__,_|\__\___|_|\_\_| \__,_|\__, |
\033[0m\033[1mOpenSSH Brute force tool 0.3.0\033[92m __/ |
\033[0m\033[1mOpenSSH Brute force tool 0.3.1\033[92m __/ |
\033[0m(c) Copyright 2014 Jorge Matricali\033[92m |___/\033[0m
\n''')

Expand All @@ -156,6 +156,7 @@ parser.add_argument('--threads', type=int, default=1, help='Total number of thre
parser.add_argument('-o', '--output', type=str, default=None, help='Output file for compromised hosts.')
parser.add_argument('--progress', action='store_true', help='Progress bar.')
parser.add_argument('-v', '--verbose', action='store_true', help='Verbose output.')
parser.add_argument('--version', action='store_true', help='Prints version and banner.')

try:
args = parser.parse_args()
Expand All @@ -165,6 +166,9 @@ except TypeError:

print(banner)

if args.version:
sys.exit(0)

'''
PARSE TARGETS
'''
Expand Down
4 changes: 2 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,13 @@
setup(
name='brutekrag',
packages=['brutekrag'],
version='0.3.0',
version='0.3.1',
description='Penetration tests on SSH servers using brute force or dictionary attacks',
author='Jorge Matricali',
author_email='[email protected]',
license='MIT',
url='https://github.com/jorge-matricali/brutekrag',
download_url='https://github.com/jorge-matricali/brutekrag/archive/v0.3.0.tar.gz',
download_url='https://github.com/jorge-matricali/brutekrag/archive/v0.3.1.tar.gz',
scripts=['bin/brutekrag'],
keywords=['ssh', 'brute force', 'ethical hacking', 'pentesting', 'dictionary attack', 'penetration test'],
classifiers=(
Expand Down

0 comments on commit fb71557

Please sign in to comment.