-
-
Notifications
You must be signed in to change notification settings - Fork 934
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
Multiple issues when installing on Ubuntu 24.04 #907
Comments
Thanks for your detailed report! Some tools installation is already added to the auto installer in the dev branch but not yet merged to the main branch. adding EmailFinder to auto isntaller add metaFinder to auto installer add porch-pirate to auto-install Add xnLinkFinder to auto installer The remaining issues will be analysed later . |
I don't think those commits address the problems highlighted in this issues. Unless I missed something, but when running on Ubuntu 22.04 (or Ubuntu 24.04 with some hotfixes to make the
Ok, no problem! Please let me know what you think of my diagnostic and proposed solutions. I'm able to put effort into writing and sending PR to fix those issues. |
i have the similar problem |
The problem is with Python 3.12.X, which now requires the If you're using a virtual machine, VPS, or similar setup just for pentesting, you can fix this by editing the eval "$SUDO pip3 install . $DEBUG_STD" &>/dev/null Change it to this: eval "$SUDO pip3 install . --break-system-packages $DEBUG_STD" &>/dev/null Then, run the install.sh script again to install everything. |
TL;DR
Description
I recently tried to install reconftw on a Ubuntu 24.04 and notice that something was wrong. The
install.sh
script would report that everything was installed while thereconftw.sh
script would report a bunch of tools missing. Runninginstall.sh
again wouldn't fix the issue.Re-enabling output during the install (vars
DEBUG_STD
andDEBUG_ERROR
inreconftw.cfg
) allowed me to notice a few problems with the install process.The installing system packages step failed silently because the package
libasound2
is a virtual package with two possible candidates (this is unique to Ubuntu 24.04). The resulting error blocks the installation of all required system packages.Many python tools rely on PIP to install their requirements, but reconftw do it by running
sudo pip3 install -r requirements.txt
, which is now blocked by the Externally Managed Environments feature.There is also a bunch more errors that are probably caused by the missing apt packages and/or the missing python dependencies.
Affected Systems
Expected Results
Cloning the repo and running
./install.sh
should install all the required dependencies and tools.Actual Results
Cloning the repo and running
./install.sh
is silently falling and not installing all the dependencies and tools. See screenshots above.Steps to Reproduce
git clone https://github.com/six2dez/reconftw.git cd reconftw/ ./install.sh
./reconftw.sh --help
Discussion and Proposed Solutions
I've been using reconftw for the past year at work and it has been a great tool to have in my toolbox! I'm ready to put the time and effort to fix the issues highlighted and submit PRs for review. But since there is no contributing guide for this project, I just want to make sure we all agree on the work that need to be done before starting to work on fixes.
I'd like to propose the following changes:
./install.sh
to a log file by default, like it is already the case with./reconftw.sh
pipx
, or setup avenv
for those who do not support itsudo
when it's not necessary (all tools would be installed for the local user only, like it is the case with the golang tools)./install.sh
, to make the scripts more resilient and detect abnormal states and errorsI can break down this issue in multiple issues if that would make it easier to keep track of the different issues and proposed changes.
See Also
The text was updated successfully, but these errors were encountered: