61 lines
1.7 KiB
Markdown
61 lines
1.7 KiB
Markdown
---
|
|
title: "[bojemoi] fix(c2): fix sessions=0 and deploy Fly.io redirector as C2 relay"
|
|
date: 2026-06-18T14:15:25+02:00
|
|
draft: false
|
|
tags: ["commit", "bojemoi", "main"]
|
|
categories: ["Git Activity"]
|
|
summary: "Commit c97d9e1 par Betty dans bojemoi"
|
|
author: "Betty"
|
|
---
|
|
|
|
## Commit `c97d9e1`
|
|
|
|
| | |
|
|
|---|---|
|
|
| **Repository** | bojemoi |
|
|
| **Branch** | `main` |
|
|
| **Author** | Betty |
|
|
| **Hash** | `c97d9e1d5e4afbded3ab487cec838fb3d034f6bf` |
|
|
|
|
|
|
### Description
|
|
|
|
- start_msf_server.sh: remove standalone msfconsole handler that was
|
|
stealing port 4444 and preventing uzi RPC handler from binding.
|
|
Handler is now managed exclusively by uzi via RPC
|
|
(linux/x64/meterpreter/reverse_tcp, not windows/x64/reverse_https)
|
|
|
|
- redirector: rebuild with RELAY_HOST=10.8.0.18:4444 (VPN lab direct),
|
|
remove GeoIP dependency, add IPv6 listen for Fly.io proxy compatibility
|
|
|
|
- redirector/fly.toml: add fly.toml for redirector-1 (cdg/Paris),
|
|
deployed and verified TCP:443 → VPN:4444 chain
|
|
|
|
- stack/40-service-borodino.yml: update uzi C2_REDIRECTORS=37.16.12.4
|
|
(Fly.io) and LPORT=443. Lightsail removed from C2 chain entirely.
|
|
|
|
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
|
|
|
|
### Files Changed
|
|
|
|
```
|
|
M borodino/start_msf_server.sh
|
|
M redirector/Dockerfile
|
|
M redirector/c2-proxy.conf
|
|
A redirector/fly.toml
|
|
M redirector/nginx.conf
|
|
M stack/40-service-borodino.yml
|
|
```
|
|
|
|
### Diff Summary
|
|
|
|
```
|
|
borodino/start_msf_server.sh | 53 +++----------------------------------------
|
|
redirector/Dockerfile | 9 ++------
|
|
redirector/c2-proxy.conf | 1 +
|
|
redirector/fly.toml | 26 +++++++++++++++++++++
|
|
redirector/nginx.conf | 31 +++----------------------
|
|
stack/40-service-borodino.yml | 9 ++++----
|
|
6 files changed, 39 insertions(+), 90 deletions(-)
|
|
```
|