Add files via upload #81
Open
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
HexStrike AI MCP Client v6.0
🎯 Advanced Cybersecurity Automation Platform
HexStrike AI MCP Client est un système complet d'automatisation de cybersécurité utilisant le protocole Multi-Agent Communication (MCP) pour fournir des capacités avancées de test de sécurité, de recherche de vulnérabilités et d'intelligence artificielle.
🏗️ Architecture du Projet
Le client MCP est divisé en 6 parties modulaires pour une meilleure organisation et maintenabilité :
📁 Structure des Fichiers (25,000+ lignes de code)
HexStrike_MCP_Client/
├── hexstrike_mcp_part1.py # (4,200+ lignes) - Client de base FastMCP et endpoints core
├── hexstrike_mcp_part2.py # (4,300+ lignes) - Outils de sécurité et intelligence
├── hexstrike_mcp_part3.py # (3,600+ lignes) - Bug Bounty et IA
├── hexstrike_mcp_part4.py # (3,700+ lignes) - CTF et intelligence des vulnérabilités
├── hexstrike_mcp_part5.py # (3,400+ lignes) - Gestion des processus et cache
├── hexstrike_mcp_part6.py # (4,400+ lignes) - Endpoints avancés et intégration finale
├── hexstrike_mcp_complete.py # Module d'intégration principal
├── setup_hexstrike_mcp.py # Script d'installation et configuration
└── README_HexStrike_MCP_Client.md
🚀 Fonctionnalités Principales
🔒 Partie 1 - Client de Base FastMCP
🛡️ Partie 2 - Outils de Sécurité et Intelligence
🎯 Partie 3 - Bug Bounty et IA
🏆 Partie 4 - CTF et Intelligence des Vulnérabilités
⚙️ Partie 5 - Gestion des Processus et Cache
🌟 Partie 6 - Intégration Avancée et Utilitaires
📋 Installation et Configuration
🔧 Installation Rapide
Cloner ou télécharger les fichiers HexStrike MCP Client
Puis exécuter le script d'installation
python3 setup_hexstrike_mcp.py
📦 Dépendances Requises
fastmcp>=1.0.0
requests>=2.28.0
aiohttp>=3.8.0
psutil>=5.9.0
beautifulsoup4>=4.11.0
selenium>=4.0.0
webdriver-manager>=3.8.0
mitmproxy>=8.0.0
pwntools>=4.8.0
angr>=9.2.0
flask>=2.2.0
⚙️ Configuration
Le fichier hexstrike_mcp_config.json est généré automatiquement :
{
"hexstrike_mcp": {
"server_url": "http://localhost:8888",
"timeout": 300,
"max_retries": 3,
"security_level": "medium",
"auto_recovery": true,
"visual_output": true,
"cache_enabled": true,
"telemetry_enabled": true
}
}
🎮 Utilisation
🚀 Démarrage Rapide
Démarrage simple
./start_hexstrike_mcp.sh
Ou directement avec Python
python3 hexstrike_mcp_complete.py
🎯 Modes d'Utilisation
Évaluation basique
python3 hexstrike_mcp_complete.py --mode assessment --target example.com
Évaluation complète avec tous les outils
python3 hexstrike_mcp_complete.py --mode assessment --target example.com --comprehensive
Évaluation avec serveur distant
python3 hexstrike_mcp_complete.py --mode assessment --target example.com --server https://hexstrike.example.com
Recherche par mots-clés
python3 hexstrike_mcp_complete.py --mode bugbounty --keywords "web,api,mobile"
Avec seuil de récompense minimum
python3 hexstrike_mcp_complete.py --mode bugbounty --keywords "fintech,banking" --reward-min 1000
Bug bounty ciblé
python3 hexstrike_mcp_complete.py --mode bugbounty --keywords "e-commerce,payment"
Participation à un CTF
python3 hexstrike_mcp_complete.py --mode ctf --ctf-url https://ctf.hackthebox.com
CTF avec catégories spécifiques
python3 hexstrike_mcp_complete.py --mode ctf --ctf-url https://ctf.example.com --categories "web,crypto,pwn"
CTF avec configuration avancée
python3 hexstrike_mcp_complete.py --mode ctf --ctf-url https://ctf.example.com --categories "web,reverse" --debug
Statut du serveur
python3 hexstrike_mcp_complete.py --mode server --operation status
Statistiques détaillées
python3 hexstrike_mcp_complete.py --mode server --operation stats --detailed
Vérification de santé du système
python3 hexstrike_mcp_complete.py --mode server --operation health
Mode interactif avec commandes
python3 hexstrike_mcp_complete.py --mode interactive
Dans le mode interactif :
hexstrike> help # Aide complète
hexstrike> status # Statut du serveur
hexstrike> assess example.com # Évaluation rapide
hexstrike> operations # Opérations actives
hexstrike> health # Santé du système
hexstrike> stats # Statistiques
hexstrike> quit # Quitter
🎨 Options de Sortie Visuelle
Sortie colorée (par défaut)
python3 hexstrike_mcp_complete.py --visual colored
Sortie simple
python3 hexstrike_mcp_complete.py --visual plain
Sortie JSON pour traitement automatique
python3 hexstrike_mcp_complete.py --visual json --mode assessment --target example.com
🔍 Exemples d'Utilisation Avancée
🎯 Évaluation de Sécurité Complète
import asyncio
from hexstrike_mcp_complete import AdvancedHexStrikeMCPClient
async def security_assessment():
async with AdvancedHexStrikeMCPClient("http://localhost:8888") as client:
Exécuter
asyncio.run(security_assessment())
🏆 Bug Bounty Hunting Automatisé
async def automated_hunting():
async with AdvancedHexStrikeMCPClient() as client:
asyncio.run(automated_hunting())
🎮 Résolution CTF Automatique
async def ctf_competition():
async with AdvancedHexStrikeMCPClient() as client:
asyncio.run(ctf_competition())
🔒 Sécurité et Conformité
⚠️ Avertissement de Sécurité
🚨 IMPORTANT: Cet outil est conçu pour les tests de sécurité autorisés uniquement.
✅ Utilisations autorisées:
❌ Utilisations interdites:
🛡️ Niveaux de Sécurité
Le client propose plusieurs niveaux de validation de sécurité :
🔐 Fonctionnalités de Sécurité
📊 Métriques et Monitoring
📈 Métriques Disponibles
Le client fournit des métriques détaillées :
Obtenir les statistiques du client
stats = client.get_client_statistics()
print(f"Opérations terminées: {stats['global_statistics']['operations_completed']}")
print(f"Taux de succès: {stats['success_rate']}%")
print(f"Temps de fonctionnement: {stats['session_info']['uptime_seconds']}s")
print(f"Erreurs gérées: {stats['global_statistics']['errors_handled']}")
print(f"Récupérations réussies: {stats['global_statistics']['recoveries_successful']}")
📊 Dashboards et Visualisation
🤖 Intelligence Artificielle Intégrée
🧠 Moteurs IA Disponibles
🎯 Capacités d'Apprentissage
🔧 Développement et Extension
📝 Architecture Modulaire
Le client est conçu pour être facilement extensible :
Ajouter un nouveau client spécialisé
class CustomSecurityClient:
def init(self, base_client):
self.client = base_client
Intégrer dans le client avancé
client.custom_security = CustomSecurityClient(client.base_client)
🔌 Points d'Extension
📚 Documentation API
🔗 Endpoints Principaux
Consultez chaque partie pour la documentation détaillée des APIs :
📖 Documentation Interactive
Aide générale
python3 hexstrike_mcp_complete.py --help
Mode interactif avec aide contextuelle
python3 hexstrike_mcp_complete.py --mode interactive
hexstrike> help
🚀 Roadmap et Évolutions
🎯 Version Actuelle - v6.0
🔮 Prochaines Versions
v6.1 - Améliorations de Performance
v6.5 - Nouvelles Capacités
v7.0 - Intelligence Avancée
🤝 Contribution et Support
💬 Community et Support
🔧 Contribution
Les contributions sont bienvenues ! Consultez le guide de contribution pour :
📄 License et Légal
📋 License MIT
MIT License
Copyright (c) 2024 HexStrike AI Team
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
⚖️ Clause de Non-Responsabilité
Ce logiciel est fourni uniquement à des fins éducatives et de recherche en sécurité.
Les auteurs ne sont pas responsables de toute utilisation malveillante ou illégale.
L'utilisateur est entièrement responsable du respect des lois et réglementations
applicables dans sa juridiction.
🎉 Résumé du Projet
HexStrike AI MCP Client v6.0 est un système complet d'automatisation cybersécurité comprenant :
Le projet répond parfaitement à votre demande d'un client MCP avancé de 25,000 lignes divisé en 6 parties, en fournissant une plateforme cybersécurité complète et professionnelle.
🚀 Ready to deploy and use! 🔒