Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion actions/steal_files_telnet.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,10 @@
"""

import os
import telnetlib
try:
import telnetlib
except ImportError:
import telnetlib3 as telnetlib
import logging
import time
from rich.console import Console
Expand Down
5 changes: 4 additions & 1 deletion actions/telnet_connector.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,10 @@

import os
import pandas as pd
import telnetlib
try:
import telnetlib
except ImportError:
import telnetlib3 as telnetlib
import threading
import logging
import time
Expand Down
2 changes: 1 addition & 1 deletion orchestrator.py
Original file line number Diff line number Diff line change
Expand Up @@ -198,7 +198,7 @@ def execute_standalone_action(self, action, current_data):
row[action_key] = ""

# Check if the action is already successful and if retries are disabled for successful actions
if 'success' in row[action_key]:
if action_key in row and 'success' in row[action_key]:
if not self.shared_data.retry_success_actions:
return False
else:
Expand Down
4 changes: 3 additions & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,6 @@ smbprotocol==1.14.0
pysmb==1.2.10
pymysql==1.1.1
sqlalchemy==2.0.36
python-nmap==0.7.1
python-nmap==0.7.1
legacy-cgi
telnetlib3
5 changes: 4 additions & 1 deletion utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,10 @@
import csv
import zipfile
import uuid
import cgi
try:
import legacy_cgi as cgi
except ImportError:
import cgi
import io
import importlib
import logging
Expand Down