Skip to content

Exegol-history v2#429

Merged
ShutdownRepo merged 22 commits into
ThePorgs:devfrom
lap1nou:fb-dbassets
Mar 10, 2025
Merged

Exegol-history v2#429
ShutdownRepo merged 22 commits into
ThePorgs:devfrom
lap1nou:fb-dbassets

Conversation

@lap1nou
Copy link
Copy Markdown
Member

@lap1nou lap1nou commented Jan 24, 2025

Description

Hello,

I'm adding a tool that I wrote called dbassets (https://github.com/lap1nou/db-assets), it can be useful to manage compromised assets (credentials / hosts) informations and store them in an env variable ($USER, $PASSWORD, ...)

Feel free to close the PR if you already have something in progress for that.

Related issues

#40

Point of attention

N / A

Copy link
Copy Markdown
Member

@ShutdownRepo ShutdownRepo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Love the PR, here's a change to make imo
Also, wouldn't it be interesting to add an alias like dbshow to list the values so that a user can check them before running a command?

Comment thread sources/install/package_wordlists.sh
@ShutdownRepo ShutdownRepo added enhancement New feature or request new tool(s) This adds one or multiple tools to Exegol labels Feb 18, 2025
@ShutdownRepo ShutdownRepo mentioned this pull request Feb 18, 2025
@ShutdownRepo
Copy link
Copy Markdown
Member

Also, what do you think about changing the prompt if $USER and $DOMAIN are not empty?
see for reference the screenshot at #40 (comment)

@lap1nou
Copy link
Copy Markdown
Member Author

lap1nou commented Feb 20, 2025

Hey,

Thank you for your feedback, I think this commit should do the trick.

Copy link
Copy Markdown
Member

@ShutdownRepo ShutdownRepo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this change and we should be good to go in my opinion

Comment thread sources/assets/shells/zshrc Outdated
@lap1nou
Copy link
Copy Markdown
Member Author

lap1nou commented Feb 22, 2025

@ShutdownRepo Also wouldn't that be better to pin the version of the package using pipx install --system-site-packages git+https://github.com/lap1nou/db-assets@1.0 ? In case I got compromised or some shit like that

@ShutdownRepo
Copy link
Copy Markdown
Member

Lgtm

@ShutdownRepo Also wouldn't that be better to pin the version of the package using pipx install --system-site-packages git+https://github.com/lap1nou/db-assets@1.0 ? In case I got compromised or some shit like that

Not sure this is the best move, because if we were to do that on all tools, we'd have a serious problem in keeping tools up to date
Imo, we should rather work on another set of checks, for all tools, to limit risks

@gbe
Copy link
Copy Markdown
Contributor

gbe commented Feb 23, 2025

I am afraid that using USER, PASSWORD, ... may be too much generic and get in conflict with user-defined variables.
Maybe DBUSER, DBPASSWORD, ... would be less problematic.

Edit: But of course, using USER and PASSWORD are interesting to be in line with the commands in zsh_history.

Edit2: Or maybe add a way to revert the variables to what was defined by the user. But maybe that's already what dbassets offers.

@ShutdownRepo any thoughts?

@ShutdownRepo
Copy link
Copy Markdown
Member

I am afraid that using USER, PASSWORD, ... may be too much generic and get in conflict with user-defined variables. Maybe DBUSER, DBPASSWORD, ... would be less problematic.

But of course, using USER and PASSWORD are interesting to be in line with the commands in zsh_history.

@ShutdownRepo any thoughts?

That's the purpose of this PR 😁 to improve on the current Exegol-history management which basically consists in a profile.sh file in /opt/tools/Exegol-history/
With this PR, users will be able to edit that with DBAssets

@ShutdownRepo ShutdownRepo added on hold Item on hold. Requires another matter to be resolved first. and removed on hold Item on hold. Requires another matter to be resolved first. labels Feb 25, 2025
@lap1nou
Copy link
Copy Markdown
Member Author

lap1nou commented Feb 27, 2025

I moved the install function after the pipx install, this should fix the pipeline.

Copy link
Copy Markdown
Member

@qu35t-code qu35t-code left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

In my opinion we can keep exegol_history, it does not change much and can allow users who use it to not be lost or dependent on dbasssets.

@qu35t-code qu35t-code self-assigned this Feb 27, 2025
Comment thread sources/install/package_base.sh Outdated
@ShutdownRepo ShutdownRepo changed the title Added DBAssets utility Exegol-history v2 Mar 4, 2025
@ShutdownRepo ShutdownRepo merged commit 1c023a2 into ThePorgs:dev Mar 10, 2025
@ShutdownRepo ShutdownRepo mentioned this pull request Mar 14, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request new tool(s) This adds one or multiple tools to Exegol

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants