This commit is contained in:
2025-10-04 18:09:09 -03:00
commit 01966418a4
4 changed files with 80 additions and 0 deletions

44
README.md Normal file
View File

@@ -0,0 +1,44 @@
## 🐉 DragonX - Fast Mult-Client Proxy
### 📦 How to Install
**Step-by-step:**
```bash
git clone https://git.dr2.site/penguinehis/DragonX-SSH-Proxy.git
cd DragonX-SSH-Proxy
chmod +x *
./proxy.sh
```
After launching:
1. Enter the **port** you want (e.g., `80`) and press **Enter**.
2. Type `start` and press **Enter** to run the proxy.
Your proxy will now be active and accepting connections.
---
## 🐉 DragonX - Proxy Rápido com Suporte Multi-Cliente
### 📦 Como Instalar
**Passo a passo:**
```bash
git clone https://git.dr2.site/penguinehis/DragonX-SSH-Proxy.git
cd DragonX-SSH-Proxy
chmod +x *
./proxy.sh
```
Após iniciar:
1. Digite a **porta** desejada (por exemplo: `80`) e pressione **Enter**.
2. Digite `start` e pressione **Enter** para iniciar o proxy.
Seu proxy estará rodando e aceitando conexões.
---

BIN
dragon_go-ARM Normal file

Binary file not shown.

BIN
dragon_go-x86 Normal file

Binary file not shown.

36
proxy.sh Normal file
View File

@@ -0,0 +1,36 @@
#!/usr/bin/env bash
ARCH=$(uname -m)
case "$ARCH" in
x86_64|i386|i686)
PROXY_BIN="./dragon_go-x86"
;;
aarch64|armv7l|armv6l|arm*)
PROXY_BIN="./dragon_go-ARM"
;;
*)
echo "Unsupported architecture: $ARCH"
exit 1
;;
esac
read -p "Enter proxy port (e.g. 80 or 443): " PORT
SESSION="proxy_${PORT}"
read -p "Action (start/stop): " ACTION
case "$ACTION" in
start)
screen -dmS "$SESSION" "$PROXY_BIN" -port ":${PORT}"
echo "→ Started proxy on port ${PORT} in screen session '${SESSION}'."
;;
stop)
screen -S "$SESSION" -X quit
echo "→ Stopped proxy on port ${PORT} (session '${SESSION}' closed)."
;;
*)
echo "Invalid action. Please run the script and enter 'start' or 'stop'."
exit 1
;;
esac