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

[Feature] - Log session #222

Open
jenaye opened this issue Jun 21, 2024 · 1 comment
Open

[Feature] - Log session #222

jenaye opened this issue Jun 21, 2024 · 1 comment
Labels
enhancement New feature or request

Comments

@jenaye
Copy link

jenaye commented Jun 21, 2024

The needs

I would like a log system that takes into account the entire exegol session

Description

Hello everyone,

thank you for your work, it's a pleasure to use it every day

however I have a request or perhaps a feature to create

The idea is as follows: during a pentest, more and more customers are asking us for time-stamped commands. Until now I've been using asciinema to record the content of my pentests, but I'm faced with several limitations.

I've also been able to test @claire-lex tool: https://github.com/claire-lex/mish which works very well on a work environment where the host contains all the tools but is less practical when working in a container

I'd like to know how you go about logging several shells or logging the contents of a screen/tmux that contains several subshells.

the most ideal solution would be to have something that takes effect for the entire container and which would be stored in the .exegol/workspace.

depending on the day I have 2 uses, either I create a shell via screen and I make a subshell by action led, or I do alt + enter then I write exegol start to open a 2nd shell exegol. I think that some people have their own habits, so we need to find the most transparent option for the user

Thank you for reading this and I look forward to reading your proposals.

Alternatives

No response

Additional context

No response

@jenaye jenaye added the enhancement New feature or request label Jun 21, 2024
@Dramelac
Copy link
Member

Hello @jenaye

more and more customers are asking us for time-stamped commands

Since Exegol images 3.1.5 (and nightly) you can use the command history-dump to extract every commands run on your exegol container with the timestamp of execution of each command (it works with multipe subshell, tmux etc).

We also have a few ideas in our roadmap to improve the shell logging functionality, but we don't have enough time at the moment. We are open to any suggestion to improve this feature !

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

2 participants