View Issue Details

IDProjectCategoryView StatusLast Update
0005120Kali LinuxKali Package Bugpublic2018-12-03 07:41
Reportersumgro Assigned Torhertzog  
PrioritynormalSeverityminorReproducibilityhave not tried
Status closedResolutionno change required 
Product Version2018.4 
Summary0005120: wpscan is broken after the latest update
Description

Running the wpscan results in the below error message, since the last update to Kali:

╭─root@kaliOS ~
╰─# wpscan
Traceback (most recent call last):
7: from /usr/local/bin/wpscan:23:in <main>' 6: from /usr/lib/ruby/2.5.0/rubygems.rb:309:inactivate_bin_path'
5: from /usr/lib/ruby/2.5.0/rubygems.rb:309:in synchronize' 4: from /usr/lib/ruby/2.5.0/rubygems.rb:310:inblock in activate_bin_path'
3: from /usr/lib/ruby/2.5.0/rubygems/specification.rb:1440:in activate' 2: from /usr/lib/ruby/2.5.0/rubygems/specification.rb:1458:inactivate_dependencies'
1: from /usr/lib/ruby/2.5.0/rubygems/specification.rb:1458:in each' /usr/lib/ruby/2.5.0/rubygems/specification.rb:1466:inblock in activate_dependencies': can't satisfy 'activesupport (~> 5.2)', already activated 'activesupport-4.2.10' (Gem::LoadError)

Relationships

duplicate of 0005102 closedsbrun Wpscan is not running. 
related to 0005134 closedrhertzog WPScan is broken after the latest update 

Activities

sumgro

sumgro

2018-11-26 13:48

reporter   ~0010007

wpscan version 3.4.0

ethicalhack3r

ethicalhack3r

2018-11-26 13:57

reporter   ~0010009

We're tracking this issue on the wpscan Github here: https://github.com/wpscanteam/wpscan/issues/1243

sumgro

sumgro

2018-11-26 14:00

reporter   ~0010011

Looks like a loop...

wpscan team asks to create a kali bug tracker...and kali team says its wpscan devs to resolve the issue... :)

sumgro

sumgro

2018-11-26 14:01

reporter   ~0010012

my bad... please ignore the previous note

steev

steev

2018-11-26 14:15

manager   ~0010013

Where is /usr/local/bin/wpscan from? Because the Kali package installs it to /usr/bin/wpscan

rhertzog

rhertzog

2018-11-26 14:57

administrator   ~0010014

@sumgro, if you mixup manual installation via "gem" and installation via .deb, you will surely end up in problems like the one shown here. Please don't do that. Can you reproduce the problem with a fresh Kali install or on the daily live image? https://archive.kali.org/kali-daily-images/

As steev pointed out, /usr/local/bin/wpscan is not provided by any Kali package. It's your fault if you manually installed wpscan and if it doesn't get properly updated... some of the dependencies might be managed by apt and they will get out of sync with whatever you installed manually. We ensure consistency between all Debian packages, we can't ensure consistency with whatever you installed manually.

sumgro

sumgro

2018-11-26 14:58

reporter   ~0010015

@rhertzog I get it, let me try that and come back. Thanks

sumgro

sumgro

2018-11-26 15:06

reporter   ~0010016

Update: Resolved by following the below steps:

Remove wpscan installed manually through gem - gem uninstall wpscan
Install wpscan via Kali repository - apt get wpscan

wpscan now works.

rhertzog

rhertzog

2018-11-26 15:28

administrator   ~0010017

@sumgro solved his problem as explained here:
https://github.com/wpscanteam/wpscan/issues/1243#issuecomment-441670644

He just did this to fix his problem:

gem uninstall wpscan

apt install wpscan

Thus confirming our diagnosis.

Issue History

Date Modified Username Field Change
2018-11-26 13:44 sumgro New Issue
2018-11-26 13:48 sumgro Note Added: 0010007
2018-11-26 13:57 ethicalhack3r Note Added: 0010009
2018-11-26 14:00 sumgro Note Added: 0010011
2018-11-26 14:01 sumgro Note Added: 0010012
2018-11-26 14:15 steev Note Added: 0010013
2018-11-26 14:33 g0tmi1k Category General Bug => Kali Package Bug
2018-11-26 14:49 sbrun Relationship added duplicate of 0005102
2018-11-26 14:57 rhertzog Note Added: 0010014
2018-11-26 14:58 sumgro Note Added: 0010015
2018-11-26 15:06 sumgro Note Added: 0010016
2018-11-26 15:28 rhertzog Assigned To => rhertzog
2018-11-26 15:28 rhertzog Status new => closed
2018-11-26 15:28 rhertzog Resolution open => no change required
2018-11-26 15:28 rhertzog Note Added: 0010017
2018-12-03 07:41 g0tmi1k Relationship added related to 0005134