[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Reverse Shell?



On Mon, Jul 11, 2005 at 09:29:40AM -0500, Jacob S wrote:
> Hello list,
> 
> Does anyone know of a way to do a reverse shell over ssh? Let me explain
> what I am trying to do.
> 
> There are not currently any ports forwarded from the firewall to this
> computer and we do not have any access to the firewall to enable
> something like this, either. What I am hoping is that I can have them
> establish an ssh connection into my firewall with some software that
> would then allow me to get a shell on their computer.

Try the ssh -R option:
he does:
ssh -R 2222:localhost:22 your_firewall

And you can the use "ssh -p 2222 localhost" on your firewall

Frank

-- 
"Debugging is twice as hard as writing the code in the first place.
Therefore, if you write the code as cleverly as possible, you are,
by definition, not smart enough to debug it." - Brian W. Kernighan



Reply to: