Skip to content

Commit fb71557

Browse files
committed
+ --version
1 parent 2e60ef1 commit fb71557

File tree

2 files changed

+7
-3
lines changed

2 files changed

+7
-3
lines changed

bin/brutekrag

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,7 @@ banner = ('''\033[92m _ _ _
134134
| '_ \| '__| | | | __/ _ \ |/ / '__/ _` |/ _` |
135135
| |_) | | | |_| | || __/ <| | | (_| | (_| |
136136
|_.__/|_| \__,_|\__\___|_|\_\_| \__,_|\__, |
137-
\033[0m\033[1mOpenSSH Brute force tool 0.3.0\033[92m __/ |
137+
\033[0m\033[1mOpenSSH Brute force tool 0.3.1\033[92m __/ |
138138
\033[0m(c) Copyright 2014 Jorge Matricali\033[92m |___/\033[0m
139139
\n''')
140140

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

160161
try:
161162
args = parser.parse_args()
@@ -165,6 +166,9 @@ except TypeError:
165166

166167
print(banner)
167168

169+
if args.version:
170+
sys.exit(0)
171+
168172
'''
169173
PARSE TARGETS
170174
'''

setup.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,13 +3,13 @@
33
setup(
44
name='brutekrag',
55
packages=['brutekrag'],
6-
version='0.3.0',
6+
version='0.3.1',
77
description='Penetration tests on SSH servers using brute force or dictionary attacks',
88
author='Jorge Matricali',
99
author_email='[email protected]',
1010
license='MIT',
1111
url='https://github.com/jorge-matricali/brutekrag',
12-
download_url='https://github.com/jorge-matricali/brutekrag/archive/v0.3.0.tar.gz',
12+
download_url='https://github.com/jorge-matricali/brutekrag/archive/v0.3.1.tar.gz',
1313
scripts=['bin/brutekrag'],
1414
keywords=['ssh', 'brute force', 'ethical hacking', 'pentesting', 'dictionary attack', 'penetration test'],
1515
classifiers=(

0 commit comments

Comments
 (0)