minor fixes

This commit is contained in:
cbdmaul
2025-07-23 16:57:46 -04:00
parent c24a645195
commit fe2eeb083e
2 changed files with 3 additions and 2 deletions
+2 -2
View File
@@ -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"
)
)
+1
View File
@@ -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