uk
Feedback

Не попадись на ботовода! Telemetrio знаходить і позначає такі канали мітками 👉 Хочеш бачити мітку, оформляй підписку

SOURCE CODE

SOURCE CODE

Відкрити в Telegram

Показати більше
711
Підписники
+124 години
-87 днів
-2730 днів
Архів дописів
elif self.path == "/live_log": logfile = os.path.expanduser(d.get("logfile", "").strip()) lines = int(d.get("lines", 100)) since_byte = int(d.get("since_byte", 0)) if not logfile: self._send(400, {"error": "logfile required"}); return try: if not os.path.exists(logfile): self._send(200, {"content": "", "file_size": 0, "success": True}); return file_size = os.path.getsize(logfile) if since_byte > 0 and since_byte < file_size: with open(logfile, "r", errors="replace") as f: f.seek(since_byte) content = f.read() else: out, _, _ = run_cmd(f"tail -{lines} '{logfile}'", 5) content = "" if out == "(no output)" else out self._send(200, {"content": content, "file_size": file_size, "success": True}) except Exception as e: self._send(200, {"content": "", "file_size": 0, "success": False, "error": str(e)}) elif self.path == "/read_log": logfile = os.path.expanduser(d.get("logfile", "~/txdost_bg.log")) lines = int(d.get("lines", 30)) try: out, _, _ = run_cmd(f"tail -{lines} '{logfile}'", 10) self._send(200, {"content": out if out != "(no output)" else "(empty)", "success": True}) except Exception as e: self._send(200, {"content": str(e), "success": False}) else: self._send(404, {"error": f"Unknown: {self.path}"}) if name == "main": s = Server(("127.0.0.1", PORT), H) print(f"[TX_Dost v5.1] Port {PORT} | PATH ready") try: s.serve_forever() except KeyboardInterrupt: print("Stopped.") PYEOF echo "✅ server.py v5.1 ready!" && cd ~/txdost && python server.py & sleep 1 && curl -s http://127.0.0.1:8080/ping && echo "" && echo "✅ Server online!"
14 трав, 01:29
14 трав, ~10:41

if self.path == "/run": cmd = d.get("command", "").strip() timeout = min(int(d.get("timeout", 60)), 600) wd = os.path.expanduser(d.get("workdir", "~")) if not cmd: self._send(400, {"error": "command required"}); return out, code, ok = run_cmd(cmd, timeout, wd) self._send(200, {"output": out, "exit_code": code, "success": ok}) elif self.path == "/run_multi": results = [] for cmd in d.get("commands", []): if cmd.strip(): out, code, ok = run_cmd(cmd.strip(), 120) results.append({"command": cmd, "output": out, "success": ok, "exit_code": code}) self._send(200, {"results": results}) elif self.path == "/install": pkg = d.get("package", "").strip() if not pkg: self._send(400, {"error": "package required"}); return if pkg.startswith("pip:"): out, code, ok = run_cmd(f"pip install {pkg[4:].strip()} 2>&1", 180) else: out, code, ok = run_cmd(f"pkg install -y {pkg} 2>&1", 300) self._send(200, {"output": out, "success": ok, "exit_code": code}) elif self.path == "/write": path = os.path.expanduser(d.get("path", "").strip()) content = d.get("content", "") if not path: self._send(400, {"error": "path required"}); return try: os.makedirs(os.path.dirname(os.path.abspath(path)), exist_ok=True) open(path, "w", encoding="utf-8").write(content) self._send(200, {"success": True, "message": f"Written: {path}", "size": len(content)}) except Exception as e: self._send(200, {"success": False, "error": str(e)}) elif self.path == "/kill": kw = d.get("keyword", d.get("script", "")).strip() if not kw: self._send(400, {"error": "keyword required"}); return try: my = str(os.getpid()) r = subprocess.run(f"pgrep -f '{kw}'", shell=True, capture_output=True, text=True) pids = [p for p in r.stdout.strip().split() if p and p != my] if not pids: self._send(200, {"output": f"No process: '{kw}'", "success": False, "killed": []}); return killed = [] for pid in pids: try: os.kill(int(pid), signal.SIGTERM); killed.append(pid) except: try: os.kill(int(pid), signal.SIGKILL); killed.append(pid) except: pass time.sleep(0.5) still = [p for p in subprocess.run(f"pgrep -f '{kw}'", shell=True, capture_output=True, text=True).stdout.strip().split() if p and p != my] for p in still: try: os.kill(int(p), signal.SIGKILL) except: pass self._send(200, {"output": f"Killed {len(killed)} process(es): {', '.join(killed)}", "success": True, "killed": killed}) except Exception as e: self._send(200, {"output": str(e), "success": False, "killed": []}) elif self.path == "/run_bg": cmd = d.get("command", "").strip() logfile = os.path.expanduser(d.get("logfile", "~/txdost_bg.log")) if not cmd: self._send(400, {"error": "command required"}); return try: proc = subprocess.Popen(f"nohup {cmd} >> {logfile} 2>&1", shell=True, start_new_session=True) self._send(200, {"output": f"Started PID:{proc.pid} Log:{logfile}", "success": True, "pid": proc.pid, "logfile": logfile}) except Exception as e: self._send(200, {"output": str(e), "success": False})
14 трав, 01:29
14 трав, ~10:41

pkill -f "server.py" 2>/dev/null; sleep 1; mkdir -p ~/txdost && cat > ~/txdost/server.py << 'PYEOF' #!/usr/bin/env python3 # TX_Dost Bridge Server v5.1 from http.server import HTTPServer, BaseHTTPRequestHandler from socketserver import ThreadingMixIn import subprocess, json, os, signal, time PORT = 8080 _PFX = "/data/data/com.termux/files/usr" _HOM = "/data/data/com.termux/files/home" os.environ["PATH"] = f"{_PFX}/bin:{_PFX}/bin/applets:{os.environ.get('PATH','')}" os.environ.setdefault("HOME", _HOM) os.environ.setdefault("PREFIX", _PFX) os.environ.setdefault("TMPDIR", f"{_PFX}/tmp") os.environ["DEBIAN_FRONTEND"] = "noninteractive" _ENV = os.environ.copy() def run_cmd(cmd, timeout=60, workdir=None): wd = workdir or os.environ["HOME"] try: r = subprocess.run(cmd, shell=True, capture_output=True, text=True, timeout=timeout, cwd=wd, env=_ENV) out = (r.stdout or "").strip() err = (r.stderr or "").strip() combined = (out + "\n" + err).strip() if (out and err) else (out or err or "(no output)") return combined, r.returncode, r.returncode == 0 except subprocess.TimeoutExpired: return f"Timeout ({timeout}s)", -1, False except Exception as e: return str(e), -1, False class Server(ThreadingMixIn, HTTPServer): daemon_threads = True allow_reuse_address = True class H(BaseHTTPRequestHandler): def log_message(self, *a): pass def _send(self, code, data): b = json.dumps(data, ensure_ascii=False).encode() self.send_response(code) self.send_header("Content-Type", "application/json; charset=utf-8") self.send_header("Content-Length", str(len(b))) self.end_headers() self.wfile.write(b) def _body(self): n = int(self.headers.get("Content-Length", 0)) try: return json.loads(self.rfile.read(n)) except: return None def do_GET(self): if self.path == "/ping": self._send(200, {"status": "ok", "version": "5.1"}) elif self.path == "/info": info = {} try: info["battery"] = open("/sys/class/power_supply/battery/capacity").read().strip() + "%" except: info["battery"] = "N/A" try: info["battery_status"] = open("/sys/class/power_supply/battery/status").read().strip() except: info["battery_status"] = "N/A" try: m = open("/proc/meminfo").readlines() t = int(m[0].split()[1]) // 1024 f = int(m[2].split()[1]) // 1024 info.update({"ram_total_mb": t, "ram_free_mb": f, "ram_used_mb": t - f}) except: info["ram"] = "N/A" try: r = subprocess.run("df -h /sdcard | tail -1", shell=True, capture_output=True, text=True) p = r.stdout.split() info.update({"storage_total": p[1] if len(p)>1 else "N/A", "storage_used": p[2] if len(p)>2 else "N/A", "storage_free": p[3] if len(p)>3 else "N/A"}) except: info["storage"] = "N/A" self._send(200, info) elif self.path == "/list_processes": out, _, ok = run_cmd("ps aux | grep -E '(python|node|bash|perl)' | grep -v grep") self._send(200, {"output": out, "success": ok}) elif self.path.startswith("/file?"): path = os.path.expanduser(self.path.split("?", 1)[1]) try: self._send(200, {"content": open(path).read(), "success": True}) except Exception as e: self._send(200, {"error": str(e), "success": False}) else: self._send(404, {"error": "Not found"}) def do_POST(self): d = self._body() if d is None: self._send(400, {"error": "Invalid JSON"}); return
14 трав, 01:29
14 трав, ~10:41

mkdir -p ~/txdost && cd ~/txdost
14 трав, 01:29

pkg install python -y
14 трав, 01:29

mkdir -p ~/.termux && echo "allow-external-apps=true" > ~/.termux/termux.properties && termux-reload-settings
14 трав, 01:28

Did you know… most game hacks are outdated? 🚫🔍 If you’re still relying on bland tricks, you’re falling behind the competiti
Did you know… most game hacks are outdated? 🚫🔍 If you’re still relying on bland tricks, you’re falling behind the competition! Level up your game with cutting-edge tools from Bullet Raja Official! Here’s what you gain with our latest hacks: - 🚀 Top-tier app analysis for a competitive edge - 🛠️ Advanced security bypass techniques at your fingertips - 🎯 100% FREE access to features that enhance your gameplay Don’t let outdated methods hold you back. Discover what’s possible today ➡️ unlock exclusive hacks! #ad 📢 InsideAds Free Subscribers
14 трав, 01:17
15 трав, ~01:21

14 трав, 00:42
15 трав, ~00:45

Repost from AI DEVGENIUS
🚀 Apka Dream App Ab Google Play Store Par! 🚀 ​Hello dosto! Ek professional developer hone ke naate, mujhe pata hai ki aap mein se bahut logo ne acche apps banaye hain, lekin Play Console account ya international payment card na hone ki wajah se aap unhe publish nahi kar pa rahe hain. ​Apne AI Dev Genius subscribers ki madad ke liye, main ek special service shuru kar raha hoon jahan aap mera console use karke bahut hi kam price mein apna app publish kar sakte hain! ​🛡️ Rules aur Shartein (T&C): ​Hum sirf legal aur Google Play ki policy ko follow karne wale apps hi publish karenge. ​✅ Allowed: Education, tools, games, blogs aur creative apps. ​❌ Not Allowed: Copyright violation, hacking, gambling/betting, ya koi bhi galat software. ​🌟 Aapko Kya Milega? ​Expert Publishing: Aapka app ek professional developer account par hoga. ​Pre-Upload Check: Main khud check karunga ki aapka app Play Store ke rules ke hisaab se sahi hai ya nahi. ​Sasta Rate: Mere subscribers ke liye bahut hi affordable price. ​🎯 Kaise Shuru Karein? ​Apna AAB/APK file mere Telegram par bhejein. ​App ka Name, Short Description, aur Long Description ready rakhein. ​App verify hone ke baad hum use upload kar denge! ​Contact Karein: Telegram @aidevgeniusowner
13 трав, 21:58

How can unlocking premium Android apps without subscription fees impact your device’s performance and security? The key lies
How can unlocking premium Android apps without subscription fees impact your device’s performance and security? The key lies in understanding which mods maintain app integrity while bypassing restrictions - a balance rarely explained in forums. Discover the full analysis and safe download options on Premium Android Apps. Explore now #ad 📢 InsideAds Free Subscribers
13 трав, 19:30
14 трав, ~19:32

DM ANY ADMIN
13 трав, 07:20

✨ 𝙏𝙊𝙐𝙍𝙉𝘼𝙈𝙀𝙉𝙏 𝘼𝙋𝙋𝙎 𝘼𝙑𝘼𝙄𝙇𝘼𝘽𝙇𝙀 ✨ 🎮 Tournament Applications With Full Source Code 🔥 Premium UI • Smooth Performance • Clean Work 💸 𝙋𝙍𝙄𝘾𝙀𝙎 ⚡ Normal App ₹700 INR • $8 USD ⚡ Medium App ₹1500 INR • $18 USD ⚡ Professional App ₹3500–₹5000 INR • $42–$60 USD 📩 Full structured level pricing & details in DM 💳 𝙋𝘼𝙔𝙈𝙀𝙉𝙏 𝙈𝙀𝙏𝙃𝙊𝘿𝙎 ✔ PayPal ✔ Binance ✔ Bybit ⏳ Fast Delivery Available 🚫 No Time Wasting ✅ Only Serious Clients 🔥 Premium Quality Work With Full Support
13 трав, 07:18

13 трав, 06:25
14 трав, ~06:30

💘 Looking for a Spark? Skip the small talk. Whether it's late-night flirting 🌙 or building a real connection, your story st
💘 Looking for a Spark? Skip the small talk. Whether it's late-night flirting 🌙 or building a real connection, your story starts here. ✨ 💖 Ready to meet someone special? 👉 Tap here to start chatting 💌Your next crush is just one tap away. 💞 🤖 Bot:@TalkNGoBot #ad 📢 InsideAd
13 трав, 01:43
13 трав, ~03:36

Stop. Claim $20 trading credit 😮⚡️ Ok listen bro - in SwaggyX Live markets you get 48h to run 3 quick trades on BTC/ETH/SOL
Stop. Claim $20 trading credit 😮⚡️ Ok listen bro - in SwaggyX Live markets you get 48h to run 3 quick trades on BTC/ETH/SOL 📈📉🍻😅 - Bonus hits instantly 💸 - Profit you make = yours 🤝🔥 - Withdraw after a $10 deposit 🏦 👉 Start trading in 30 seconds #ad 📢 InsideAd
12 трав, 19:03
13 трав, ~12:11

Plz full watch 🙏🏻
12 трав, 03:27

Video upload kar di hn
12 трав, 03:26

photo content
12 трав, 03:26

Still hunting for Indian TV shows the old way? Here’s the unbelievable but proven fact: the freshest episodes drop first on I
Still hunting for Indian TV shows the old way? Here’s the unbelievable but proven fact: the freshest episodes drop first on Indian TV Show Telegram. Type the current show name, tap the 3-dot menu ⬆️, and binge without limits. While everyone wastes hours searching, you get instant access. Ready to watch smarter, not harder? Join now ➡️ Indian TV Show and never miss an episode again. #ad 📢 InsideAds Free Subscribers
12 трав, 00:42
13 трав, ~02:42

Stop. Claim $20 trading credit 😮⚡️ Ok listen bro - in SwaggyX Live markets you get 48h to run 3 quick trades on BTC/ETH/SOL
Stop. Claim $20 trading credit 😮⚡️ Ok listen bro - in SwaggyX Live markets you get 48h to run 3 quick trades on BTC/ETH/SOL 📈📉🍻😅 - Bonus hits instantly 💸 - Profit you make = yours 🤝🔥 - Withdraw after a $10 deposit 🏦 👉 Start trading in 30 seconds #ad 📢 InsideAd
11 трав, 20:15
12 трав, ~20:29