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

gitlist in sub-directory #333

Open
cliffe opened this issue Jul 19, 2024 · 0 comments
Open

gitlist in sub-directory #333

cliffe opened this issue Jul 19, 2024 · 0 comments

Comments

@cliffe
Copy link
Owner

cliffe commented Jul 19, 2024

gitlist040 is exploitable in principle, however the MSF module exploits/linux/http/gitlist_exec only works if the gitlist is located in www_root/gitlist/. in our setup the gitlist is in www_root/. As a result the regular expression in the script cannot find any repository and exits with the error message 'Failed to retrieve the remote repository'.

Maybe we should deploy the gitlist in www_root/gitlist/ and configure the apache to use /gitlist/index.php as DirectoryIndex. The second solution is more natural if we do not want to modify the msf.

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