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

Fix Hang when gen stager #1575

Closed
wants to merge 3 commits into from
Closed

Fix Hang when gen stager #1575

wants to merge 3 commits into from

Conversation

n00b-bot
Copy link

@n00b-bot n00b-bot commented Feb 3, 2024

Details

OS: Linux kali 6.5.0-kali3-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.5.6-1kali1 (2023-10-09) x86_64 GNU/Linux
Metasploit: Framework Version: 6.3.43-dev
Something is wrong when running service with /root/sliver-server daemon
Run with /root/sliver-server daemon will hang
image

Run with runuser -l root -c "/root/sliver-server daemon" => generate success
image

@n00b-bot n00b-bot requested a review from a team as a code owner February 3, 2024 13:22
@hyperreality
Copy link

hyperreality commented Feb 9, 2024

Can you report the results of running which msfvenom as root?

Adding runuser into the systemd config should not be necessary, so I suspect msfvenom is not on your PATH properly, but something about executing the daemon in root's login shell means it is getting seen on your system.

@n00b-bot
Copy link
Author

image
When I run without runas the generate command also exhausts resources like RAM and CPU. I try to find out the problem (try other versions ) but still don't why. Guess something weird when running without runas

@rkervella
Copy link
Member

Closing as I found a proper fix.

@rkervella rkervella closed this Mar 26, 2024
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

Successfully merging this pull request may close these issues.

3 participants