Uploaded image for project: 'MINA SSHD'
  1. MINA SSHD
  2. SSHD-576

InvertedShellWrapper would not process all output from spawned processes

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 0.14.0
    • 1.1.0
    • None

    Description

      In some circumstances, where a spawned process outputs data just before it exits, the InvertedShellWrapper could return from InvertedShellWrapper.pumpStreams() before all data had been handled.

      To ensure all data is read, do not allow exit until the shell's/process' output streams are totally empty.

      Attachments

        1. 0001-SSHD-576-Fix.patch
          6 kB
          Lyor Goldstein
        2. 0001-Fix.patch
          1 kB
          Gustaf Lundh
        3. 0001-Fix.patch
          4 kB
          Gustaf Lundh

        Activity

          People

            lgoldstein Lyor Goldstein
            gustaflh Gustaf Lundh
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: