43 lines
1013 B
Markdown
43 lines
1013 B
Markdown
---
|
|
title: "[bojemoi] fix(borodino): watchdog msf-teamserver — vérifier le port plutôt que le process"
|
|
date: 2026-06-10T17:43:56+02:00
|
|
draft: false
|
|
tags: ["commit", "bojemoi", "main"]
|
|
categories: ["Git Activity"]
|
|
summary: "Commit f3699f2 par Betty dans bojemoi"
|
|
author: "Betty"
|
|
---
|
|
|
|
## Commit `f3699f2`
|
|
|
|
| | |
|
|
|---|---|
|
|
| **Repository** | bojemoi |
|
|
| **Branch** | `main` |
|
|
| **Author** | Betty |
|
|
| **Hash** | `f3699f2ae26dff5b521108703f5d86276ed4815b` |
|
|
|
|
|
|
### Description
|
|
|
|
Le handler multi/handler tourne comme job dans msfrpcd (pas dans msfconsole).
|
|
L'ancienne condition `kill -0 $MSF_PID` redémarrait msfconsole même quand le
|
|
port 4444 était up, causant des conflits de bind en boucle.
|
|
|
|
Nouvelle logique : relancer uniquement si `nc -z 127.0.0.1 $C2_LPORT` échoue.
|
|
|
|
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
|
|
|
|
### Files Changed
|
|
|
|
```
|
|
M borodino/start_msf_server.sh
|
|
```
|
|
|
|
### Diff Summary
|
|
|
|
```
|
|
borodino/start_msf_server.sh | 9 ++++++---
|
|
1 file changed, 6 insertions(+), 3 deletions(-)
|
|
```
|