Skip to content

Commit dd39335

Browse files
committed
Add version information
1 parent 9429b2a commit dd39335

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

enum4linux-ng.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -315,7 +315,7 @@
315315
KNOWN_USERNAMES = "administrator,guest,krbtgt,domain admins,root,bin,none"
316316
TIMEOUT = 5
317317

318-
# GLOBAL_VERBOSE, GLOBAL_COLORS, GLOBAL_SAMBA_LEGACY should be the only variables which should be written to
318+
GLOBAL_VERSION = '1.3.0-dev'
319319
GLOBAL_VERBOSE = False
320320
GLOBAL_COLORS = True
321321
GLOBAL_SAMBA_LEGACY = False
@@ -3087,7 +3087,7 @@ def valid_file(file, mode=os.R_OK):
30873087
### Print Functions and Error Processing
30883088

30893089
def print_banner():
3090-
print(f"{Colors.green('ENUM4LINUX - next generation')}\n")
3090+
print(f"{Colors.green(f'ENUM4LINUX - next generation (v{GLOBAL_VERSION})')}")
30913091

30923092
def print_heading(text, leading_newline=True):
30933093
output = f"| {text} |"

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212

1313
setup(
1414
name='enum4linux-ng',
15-
version='1.2.0',
15+
version='1.3.0-dev',
1616
author='mw',
1717
description='A next generation version of enum4linux',
1818
long_description=long_description,

0 commit comments

Comments
 (0)