This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"timestamp": "2025-10-20T18:15:00.000000", | |
"instance_ip": "Starting up...", | |
"system_info": { | |
"uptime": "Unknown", | |
"disk": "Unknown", | |
"memory": "Unknown" | |
}, | |
"services": { | |
"http_c2": "Starting", |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# COMPREHENSIVE working onstart with HTTP C2 server + WebSocket server + Cloudflare tunnel + Simple Status Server | |
echo "COMPREHENSIVE START: $(date)" > /tmp/comprehensive_start.log | |
# Install dependencies | |
echo "Installing dependencies..." >> /tmp/comprehensive_start.log | |
apt-get update -y >> /tmp/comprehensive_start.log 2>&1 | |
apt-get install -y python3-pip curl >> /tmp/comprehensive_start.log 2>&1 | |
pip3 install websockets >> /tmp/comprehensive_start.log 2>&1 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# Persistent startup script - runs on every boot | |
# This script will always pull and run the latest gist version | |
echo "PERSISTENT START: $(date)" > /tmp/persistent.log | |
# Always download the latest version of the comprehensive script | |
echo "Downloading latest comprehensive script..." >> /tmp/persistent.log | |
wget -q https://gist.githubusercontent.com/aozq/2af59458bfaa9f9ec1c8b09aaa7ba161/raw/comprehensive_cf_onstart_fixed.sh -O /tmp/working_script.sh |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# Working onstart with HTTP server + Cloudflare tunnel | |
echo "WORKING START: $(date)" > /tmp/working_start.log | |
# Install pip3 and websockets | |
echo "Installing dependencies..." >> /tmp/working_start.log | |
apt-get update -y >> /tmp/working_start.log 2>&1 | |
apt-get install -y python3-pip curl >> /tmp/working_start.log 2>&1 | |
pip3 install websockets >> /tmp/working_start.log 2>&1 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# One-time setup script to install persistent startup | |
echo "SETUP START: $(date)" > /tmp/setup.log | |
# Install the persistent startup script to run on every boot | |
echo "Installing persistent startup script..." >> /tmp/setup.log | |
cp /tmp/persistent_startup.sh /root/persistent_startup.sh | |
chmod +x /root/persistent_startup.sh |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# Persistent startup script - runs on every boot | |
# This script will always pull and run the latest gist version | |
echo "PERSISTENT START: $(date)" > /tmp/persistent.log | |
# Always download the latest version of the working script | |
echo "Downloading latest working script..." >> /tmp/persistent.log | |
wget -q https://gist.githubusercontent.com/aozq/63c5465925d5833081b829f69cb671c1/raw/working_cf_onstart.sh -O /tmp/working_script.sh |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# Working onstart with HTTP server + Cloudflare tunnel | |
echo "WORKING START: $(date)" > /tmp/working_start.log | |
# Install pip3 and websockets | |
echo "Installing dependencies..." >> /tmp/working_start.log | |
apt-get update -y >> /tmp/working_start.log 2>&1 | |
apt-get install -y python3-pip curl >> /tmp/working_start.log 2>&1 | |
pip3 install websockets >> /tmp/working_start.log 2>&1 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# Simple working onstart script | |
echo "SIMPLE START: $(date)" > /tmp/simple_start.log | |
# Install pip3 | |
echo "Installing pip3..." >> /tmp/simple_start.log | |
apt-get update -y >> /tmp/simple_start.log 2>&1 | |
apt-get install -y python3-pip >> /tmp/simple_start.log 2>&1 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python3 | |
""" | |
DEBUGGING VERSION - C2 Server Startup + Cloudflare Error 1033 Analysis | |
This script will debug why the C2 server doesn't start and analyze CF Error 1033 | |
""" | |
import http.server | |
import socketserver | |
import subprocess | |
import urllib.parse |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python3 | |
""" | |
CORRECTED ENHANCED SMART DEBUGGER | |
Includes websockets installation and comprehensive debugging | |
""" | |
import subprocess | |
import sys | |
import time | |
import json |
NewerOlder