Results 1 to 3 of 3

Thread: Linux Bind Shell Question

  1. #1
    Just burned his ISO
    Join Date
    May 2008
    Posts
    7

    Default Linux Bind Shell Question

    Hi,

    First off, thanks for making a fantastic program. It's fun to tinker around with and learn. I only have about hundred hours invested in the program so far but I love having fun with it

    In my home lab I am practicing reverse tcp shells via nc or an exploit in metasploit/milworm. Since I come from a windows background when I have a windows shell it seems more stable and easier to do what you want, but when I have a linux shell it seems unstable (no prompt)

    Normally if I wanted to extract information I would create a tftp session or ftp session. My question is there any good way to configure/edit a file without having to download it? I tried using VI over the session and it doesn't quite work so well. Is there another way to edit a file on a linux OS through the reverse shell without having to modify it on your machine and uploading it back? Maybe the answer is pretty easy but I am just not seeing the big picture.

    Thanks

  2. #2
    Junior Member
    Join Date
    Jan 2010
    Posts
    79

    Default

    google "ed manpage" or "sed manpage"

  3. #3
    Senior Member
    Join Date
    Apr 2008
    Posts
    2,008

    Default

    The rule of thumb when operating within a remote shell is to avoid programs that require interactive user inputs at all costs.

    For example use TFTP instead of FTP, or a precompiled text file with login/password and other commands along with it. Otherwise the FTP program will unsuccessfully try to prompt for commands and the shell will eventually time out and die.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •