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

Can't run msfupdate in metasploitframework/metasploit-framework:latest docker image #18975

Closed
CaledoniaProject opened this issue Mar 20, 2024 · 3 comments

Comments

@CaledoniaProject
Copy link

CaledoniaProject commented Mar 20, 2024

I'm trying to use the docker version of metasploit,

docker run -it metasploitframework/metasploit-framework:latest

The image is 3 months ago, so I need to run msfupdate, but the default configuration won't allow me to do that.

9c97e058b502:/usr/src/metasploit-framework$ ./msfupdate
Calling `DidYouMean::SPELL_CHECKERS.merge!(error_name => spell_checker)' has been deprecated. Please call `DidYouMean.correct_error(error_name, spell_checker)' instead.
[*]
[*] Attempting to update the Metasploit Framework...
[*]

[-] ERROR: User running msfupdate does not own the Metasploit installation
[-] Please run msfupdate as the same user who installed Metasploit.

Please fix the permissions by changing all file owners to the same user, the current owner is root.

@adfoster-r7
Copy link
Contributor

A new docker release is available now; I don't think msfupdate will ever work in the official docker images - potentially it should be updated to make that more clear

@CaledoniaProject
Copy link
Author

@adfoster-r7 In that case, can we do a nightly automatic build of docker images?

@adfoster-r7
Copy link
Contributor

Good call - hoping to have that wired that up this year, it's definitely on the TODO list 💯

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Archived in project
Development

No branches or pull requests

2 participants