mirror of
https://github.com/GH05TCREW/MetasploitMCP.git
synced 2026-07-01 14:28:33 -04:00
minor fixes
This commit is contained in:
+2
-2
@@ -31,7 +31,7 @@ logging.basicConfig(
|
||||
logger = logging.getLogger("metasploit_mcp_server")
|
||||
|
||||
# Metasploit Connection Config (from environment variables)
|
||||
MSF_PASSWORD = os.environ.get('MSF_PASSWORD', 'yourpassword')
|
||||
MSF_PASSWORD = os.getenv('MSF_PASSWORD', 'yourpassword')
|
||||
MSF_SERVER = os.getenv('MSF_SERVER', '127.0.0.1')
|
||||
MSF_PORT_STR = os.getenv('MSF_PORT', '55553')
|
||||
MSF_SSL_STR = os.getenv('MSF_SSL', 'false')
|
||||
@@ -1519,4 +1519,4 @@ if __name__ == "__main__":
|
||||
port=selected_port,
|
||||
reload=args.reload,
|
||||
log_level="info"
|
||||
)
|
||||
)
|
||||
|
||||
@@ -2,3 +2,4 @@ fastapi>=0.95.0
|
||||
uvicorn[standard]>=0.22.0
|
||||
pymetasploit3>=1.0.6
|
||||
mcp>=1.6.0
|
||||
fastmcp>=2.10.3
|
||||
|
||||
Reference in New Issue
Block a user