Update MetasploitMCP.py to import subprocess

This commit is contained in:
Masic
2025-04-16 15:21:12 -06:00
committed by GitHub
parent b0e2196552
commit 649e06d850
+1 -2
View File
@@ -7,7 +7,6 @@ import shlex # Still needed for console command quoting
import pathlib
import subprocess # For executing local programs
from datetime import datetime
# Removed subprocess import as msfvenom is no longer called directly
from typing import List, Dict, Any, Optional, Tuple, Union
# Third-party Libraries
@@ -1782,4 +1781,4 @@ if __name__ == "__main__":
port=selected_port,
reload=args.reload,
log_level="info" # Use Uvicorn's logging for server events
)
)