- Home
- ›
- ›
Posted: 14:27, by Unknown .
Categories:
So your gonna wonder.. Whats this backconnect thing?
Backconnect is when You shell a website.. then you look forward to backconnect using netcat.. most shells have backconnect option.. you connect to it using a open port..
(this was just a quick intro to Backconnect)
Ok, I'm gonna teach you how to use socat to get a more interactive back connect shell.
A normal back connect shell just reads from a socket and feeds it into bash and bash runs whatever it gives back.
Socat does similarly to what SSH does. Opens a tty on both ends and forwards input/output between them, as if it were a real console on the machine.
So you wanna install socat first...
Now you want to spawn a TTY shell. Now I have a private one that I'm not gonna disclose(sorry), but google would be your friend here. Before you have spawned the TTY shell on the port of your choice you would run:
Then spawn your TTY shell and it will receive it. I recommend using port 443 as that is almost always open.
Me using it:
Enjoy your more interactive back connect shell!
Backconnect is when You shell a website.. then you look forward to backconnect using netcat.. most shells have backconnect option.. you connect to it using a open port..
(this was just a quick intro to Backconnect)
Ok, I'm gonna teach you how to use socat to get a more interactive back connect shell.
A normal back connect shell just reads from a socket and feeds it into bash and bash runs whatever it gives back.
Socat does similarly to what SSH does. Opens a tty on both ends and forwards input/output between them, as if it were a real console on the machine.
So you wanna install socat first...
Code:
run wget http://www.dest-unreach.org/socat/download/socat-1.7.1.3.tar.gz
extract the file using tar -xf socat-1.7.1.3.tar.gz
cd socat-1.7.13
./configure
make
last i checked this source worked, if not find socat source. also just found it can be apt-get with debian 6 latest version.
Now you want to spawn a TTY shell. Now I have a private one that I'm not gonna disclose(sorry), but google would be your friend here. Before you have spawned the TTY shell on the port of your choice you would run:
socat file:$(tty),raw,echo=0 tcp4-listen:PORTHEREThen spawn your TTY shell and it will receive it. I recommend using port 443 as that is almost always open.
Me using it:
Enjoy your more interactive back connect shell!