PaulDotCom mailing list archives
Re: Non Interactive Shell
From: Kevin Shaw <kevin.lee.shaw () gmail com>
Date: Wed, 3 Nov 2010 10:39:53 -0400
I had a similar issue with a command line backdoor on a SAN array that had limited functionality and a much older netcat I couldn't upgrade. I think I copied everything over by converting them in some fashion similar to how you can on Windows with exe2bat. Also, instead of "telling" the FTP to use the command file why not write a bash script to do all of it? When I've done that I've had to put some 3-5 second wait commands in it so that I don't accidentally "type too fast" and miss getting the right commands in to the server. On Wed, Nov 3, 2010 at 9:31 AM, 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
Current thread:
- Non Interactive Shell Craig Freyman (Nov 03)
- Re: Non Interactive Shell Kevin Shaw (Nov 03)
- Re: Non Interactive Shell Robert Portvliet (Nov 03)
- Re: Non Interactive Shell Ulisses Castro (Nov 03)
- Re: Non Interactive Shell Robin Wood (Nov 04)
- Re: Non Interactive Shell Craig Freyman (Nov 04)