Skip to content

Commit

Permalink
Merge pull request blacklanternsecurity#1444 from domwhewell-sage/wpscan
Browse files Browse the repository at this point in the history
Fix wpscan again!
  • Loading branch information
TheTechromancer authored Jun 10, 2024
2 parents d9b664f + 47cab06 commit d3a2c5e
Showing 1 changed file with 13 additions and 9 deletions.
22 changes: 13 additions & 9 deletions bbot/modules/wpscan.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,21 +30,25 @@ class wpscan(BaseModule):
"disable_tls_checks": "Disables the SSL/TLS certificate verification (Default True)",
"force": "Do not check if the target is running WordPress or returns a 403",
}
deps_apt = ["curl", "make", "gcc"]
deps_ansible = [
{
"name": "Install Rubygems (Non-Debian)",
"package": {"name": "rubygems", "state": "present"},
"name": "Install Ruby Deps (Debian/Ubuntu)",
"package": {"name": ["ruby-rubygems", "ruby-dev"], "state": "present"},
"become": True,
"when": "ansible_facts['os_family'] != 'Debian'",
"when": "ansible_facts['os_family'] == 'Debian'",
},
{
"name": "Install Rubygems (Debian)",
"package": {
"name": "ruby-rubygems",
"state": "present",
},
"name": "Install Ruby Deps (Arch)",
"package": {"name": ["rubygems"], "state": "present"},
"become": True,
"when": "ansible_facts['os_family'] == 'Debian'",
"when": "ansible_facts['os_family'] == 'Archlinux'",
},
{
"name": "Install Ruby Deps (Fedora)",
"package": {"name": ["rubygems", "ruby-devel"], "state": "present"},
"become": True,
"when": "ansible_facts['os_family'] == 'Fedora'",
},
{
"name": "Install wpscan gem",
Expand Down

0 comments on commit d3a2c5e

Please sign in to comment.