PaulDotCom mailing list archives

Non Interactive Shell


From: Craig Freyman <craigfreyman () gmail com>
Date: Wed, 3 Nov 2010 07:31:16 -0600

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

Current thread: