Re: [Tutor] WINSOCK stdin question

2009-02-08 Thread Alan Gauld
Yes, this is exactly what I am looking to accomplish. On one host I have an application that is sending cmd.exe to a second host. OK, how is that application doing that? What port is it sending the output to on the remote host? You say CMD.exe but that is the windows shell. There is no wa

Re: [Tutor] WINSOCK stdin question

2009-02-07 Thread ALAN GAULD
CCing the list... Please use ReplyAll when replying to tutor mail. From: Tom Green To: Alan Gauld Sent: Saturday, 7 February, 2009 11:42:23 AM Subject: Re: [Tutor] WINSOCK stdin question Yes, this is exactly what I am looking to accomplish. On one host I

Re: [Tutor] WINSOCK stdin question

2009-02-07 Thread Alan Gauld
"Tom Green" wrote I am trying to reproduce what Netcat does. > sends out a reverse shell (CMD prompt). I have a listening > Python socket > and I would like to know how I can redirect the CMD prompt to > stdin, so I > can interact with the host that is sending the shell. Basically > thi

Re: [Tutor] WINSOCK stdin question

2009-02-06 Thread Tom Green
The Python app is on the Server side. Sorry, I don't mean to cause hassle for anyone. I appreciate everyone's assistance. I am trying to reproduce what Netcat does. Thanks, Mike On Fri, Feb 6, 2009 at 9:19 PM, Kent Johnson wrote: > On Fri, Feb 6, 2009 at 3:52 PM, Tom Green wrote: > > Hello P

Re: [Tutor] WINSOCK stdin question

2009-02-06 Thread Kent Johnson
On Fri, Feb 6, 2009 at 3:52 PM, Tom Green wrote: > Hello Python group, > > I need some advice on a problem I am facing. Basically I have a binary that > sends out a reverse shell (CMD prompt). I have a listening Python socket > and I would like to know how I can redirect the CMD prompt to stdin,

Re: [Tutor] WINSOCK stdin question

2009-02-06 Thread Alan Gauld
"Tom Green" wrote I need some advice on a problem I am facing. Basically I have a binary that sends out a reverse shell (CMD prompt). OK, You lost me right here. What is a reverse shell? That's a new one for me? (I tried wikipedia but drew a blank) I have a listening Python socket and I

[Tutor] WINSOCK stdin question

2009-02-06 Thread Tom Green
Hello Python group, I need some advice on a problem I am facing. Basically I have a binary that sends out a reverse shell (CMD prompt). I have a listening Python socket and I would like to know how I can redirect the CMD prompt to stdin, so I can interact with the host that is sending the shell.