Skip to content

Commit

Permalink
Bugfix
Browse files Browse the repository at this point in the history
Fixes list concatenation issue in #217
  • Loading branch information
Tib3rius committed Jan 23, 2024
1 parent 1160474 commit 5dd2fd4
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
6 changes: 4 additions & 2 deletions autorecon/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
from autorecon.plugins import Pattern, PortScan, ServiceScan, Report, AutoRecon
from autorecon.targets import Target, Service

VERSION = "2.0.34"
VERSION = "2.0.35"

if not os.path.exists(config['config_dir']):
shutil.rmtree(config['config_dir'], ignore_errors=True, onerror=None)
Expand Down Expand Up @@ -132,8 +132,8 @@ async def start_heartbeat(target, period=60):
async with target.lock:
count = len(target.running_tasks)

tasks_list = []
if config['verbose'] >= 1:
tasks_list = []
for tag, task in target.running_tasks.items():
task_str = tag

Expand All @@ -154,6 +154,8 @@ async def start_heartbeat(target, period=60):
tasks_list.append(task_str)

tasks_list = ': {bblue}' + ', '.join(tasks_list) + '{rst}'
else:
tasks_list = ''

current_time = datetime.now().strftime('%H:%M:%S')

Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "autorecon"
version = "2.0.34"
version = "2.0.35"
description = "A multi-threaded network reconnaissance tool which performs automated enumeration of services."
authors = ["Tib3rius"]
license = "GNU GPL v3"
Expand Down

0 comments on commit 5dd2fd4

Please sign in to comment.