PaulDotCom mailing list archives
Re: Non Interactive Shell
From: Ulisses Castro <uss.thebug () gmail com>
Date: Wed, 3 Nov 2010 14:21:29 -0200
Seems like the box you are talk about it is a *nix system, so... To fix the "interactive" problem you can try... python -c "import pty; pty.spawn('/bin/bash')" All new *nix systems has python and maybe you can solve the "upload/download" problem with it, just need to find a port with "inbound/outbound"... 443, 20, 21, 80, 8080, 23, 3389, 22, 3128.... Cheers, Ulisses Castro On Wed, Nov 3, 2010 at 11: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)