Usar subprocess a través de socket Python

Iniciado por Sentex, 8 Marzo 2018, 12:03 PM

0 Miembros y 1 Visitante están viendo este tema.

Sentex

Hola buenas estoy intentando hacer una reverse shell. Se puede usar este codigo para manejar una cmd con subprocess
Código (python) [Seleccionar]

import sys
import subprocess

theproc = subprocess.Popen("C:\\Windows\\System32\\cmd.exe", shell = True)
theproc.communicate()


Y me gustaria conseguir que funcionara con socket de forma remota.

Gracias!.
Preguntas o peticiones en twitter o discord:

Discord: MrSentex#1227
Twitter: @fbi_sentex