WangYihang / Platypus

:hammer: A modern multiple reverse shell sessions manager written in go
http://platypus-reverse-shell.vercel.app
GNU Lesser General Public License v3.0
1.52k stars 226 forks source link

Windows reverse shell is not properly managed by WebUI #135

Open pkreuzt opened 2 years ago

pkreuzt commented 2 years ago

Description

When some Windows reverse shell is spawned from within Platypus, the client window shows only the prompt twice and then it becomes unresponsive. This only affects WebUI, as shell interface works well.

Reproduce

  1. Connect a windows reverse shell to Platypus
  2. Click on "Shell" button on WebUI

Expected behavior

It should spawn an interactive shell, like it does with Linux/bash

Current behavior

It becomes unresponsive upon new browser tab spawn 2022-05-19-001707_935x349_scrot

Environments

pkreuzt commented 2 years ago

I have a litle extra info on this I haven't noticed before. Actually the console is not completely unresponsive, but you cannot see what you are typing on it. And the result of commands is only visible after closing and reopening the shell tab. If I try to execute a 'whoami' and close the tab, this is what I see after reopening:

2022-11-02-020026_958x696_scrot

Incidentally, note how the browser tab is labeled as '/bin/bash (ubuntu)', which is different from both the remote machine (windows) and Platypus server.