PaulDotCom mailing list archives

Re: Non Interactive Shell


From: Craig Freyman <craigfreyman () gmail com>
Date: Thu, 4 Nov 2010 06:55:34 -0600

Thanks for all the pointers!

On Thu, Nov 4, 2010 at 2:18 AM, Robin Wood <robin () digininja org> wrote:

How about wget or curl? i have a site set up on my local web server with
all my tools on it and an upload page so i can send data back if i need to.

Works well on windows as well if you have problems connecting to shares.

Robin

On 3 Nov 2010 13:55, "Craig Freyman" <craigfreyman () gmail com> wrote:

I'm using a php/meterpreter with a box that has an RFI. When I drop into a
shell using execute -f /bin/bash -i   I can run commands but it appears it
is non interactive. For example, when I type "ftp" I'm not prompted with
anything, however if I type ftp -h I see all the help options. I tried
creating a text file that has all the FTP commands I want to execute but
there isn't a way to tell the ftp client to use the text file. I've also
tried using netcat to transfer files but the local box must be using IP
tables because I can never connect to the remote port. Anyone have any hints
as to how I can transfer files between these two boxes?

Thanks,
Craig

_______________________________________________
Pauldotcom mailing list
Pauldotcom () mail pauldotcom com
http://mail.pauldotcom.com/cgi-bin/mailman/listinfo/pauldotcom
Main Web Site: http://pauldotcom.com


_______________________________________________
Pauldotcom mailing list
Pauldotcom () mail pauldotcom com
http://mail.pauldotcom.com/cgi-bin/mailman/listinfo/pauldotcom
Main Web Site: http://pauldotcom.com

_______________________________________________
Pauldotcom mailing list
Pauldotcom () mail pauldotcom com
http://mail.pauldotcom.com/cgi-bin/mailman/listinfo/pauldotcom
Main Web Site: http://pauldotcom.com

Current thread: