mirror of
https://github.com/GH05TCREW/MetasploitMCP.git
synced 2026-07-19 21:43:37 -04:00
Update MetasploitMCP.py to import subprocess
This commit is contained in:
+1
-2
@@ -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
|
||||
)
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user