blacklanternsecurity / bbot

A recursive internet scanner for hackers.
https://www.blacklanternsecurity.com/bbot/
GNU General Public License v3.0
4.55k stars 411 forks source link

WPScan Installation Error #1441

Closed Sh4d0wHunt3rX closed 3 months ago

Sh4d0wHunt3rX commented 3 months ago

I got this while installing bbot

image image image

TheTechromancer commented 3 months ago

Why tf is ruby building a native extension? Why ruby??

Sh4d0wHunt3rX commented 3 months ago

Also when I want to execute bbot with wpscan module image

TheTechromancer commented 3 months ago

@amiremami what's your OS?

Sh4d0wHunt3rX commented 3 months ago

Ubuntu 22.04

Sh4d0wHunt3rX commented 3 months ago

Just for clarification, I only used:

pipx install --pip-args '\--pre' bbot
bbot --install-all-deps

to install BBOT on a new Ubuntu 22.04 server as I always do.

domwhewell-sage commented 3 months ago

For the deps_ansible I have added back become and added user_install to false as it defaults to true

{
        "name": "Install wpscan gem",
        "gem": {"name": "wpscan", "state": "latest", "user_install": False},
        "become": True,
},

So it should install into /usr/bin systemwide for all users instead of in /root/.local/share....

TheTechromancer commented 3 months ago

@amiremami did that fix work?

Sh4d0wHunt3rX commented 3 months ago

@TheTechromancer , I upgraded to BBOT 1.1.9.3411rc0 and unfortunately, still can't run a scan with wpscan module.

domwhewell-sage commented 3 months ago

@amiremami was it the same error? / Could you post the error message

Sh4d0wHunt3rX commented 3 months ago

@domwhewell-sage Yes, same error, so when I add wpscan, it tries to download some stuff as visible in the screenshots. Then it shows an error

image image image image

Sh4d0wHunt3rX commented 3 months ago

Seems different error though 🤔

domwhewell-sage commented 3 months ago

Ah yeh that's more like it. I would've thought rubygems would have a dependency on ruby-devel but I guess not! Thanks for testing @amiremami I'll get a fix sorted

Sh4d0wHunt3rX commented 3 months ago

This is fixed now, thanks : )