wpscanteam / wpscan

WPScan WordPress security scanner. Written for security professionals and blog maintainers to test the security of their WordPress websites. Contact us via contact@wpscan.com
https://wpscan.com/wordpress-cli-scanner
Other
8.57k stars 1.26k forks source link

Scan Aborted: wrong number of arguments (given 2, expected 1) #1651

Closed OOOlledj closed 3 years ago

OOOlledj commented 3 years ago

Subject of the issue

Related to #1429, I met problem during scanning

Your environment

Steps to reproduce

wpscan --url

Actual behavior

Scan Aborted: wrong number of arguments (given 2, expected 1)
Trace: /home/ooolledj/.local/share/gem/ruby/3.0.0/gems/psych-4.0.1/lib/psych.rb:323:in 'safe_load'
/home/ooolledj/.local/share/gem/ruby/3.0.0/gems/wpscan-3.8.17/lib/wpscan/db/dynamic_finders/base.rb:14:in 'all_df_data'
/home/ooolledj/.local/share/gem/ruby/3.0.0/gems/wpscan-3.8.17/lib/wpscan/db/dynamic_finders/wordpress.rb:9:in 'df_data'
/home/ooolledj/.local/share/gem/ruby/3.0.0/gems/wpscan-3.8.17/lib/wpscan/db/dynamic_finders/wordpress.rb:51:in 'versions_finders_configs'
/home/ooolledj/.local/share/gem/ruby/3.0.0/gems/wpscan-3.8.17/lib/wpscan/db/dynamic_finders/wordpress.rb:55:in 'create_versions_finders'
/home/ooolledj/.local/share/gem/ruby/3.0.0/gems/wpscan-3.8.17/app/controllers/wp_version.rb:20:in 'before_scan'
/home/ooolledj/.local/share/gem/ruby/3.0.0/gems/cms_scanner-0.13.4/lib/cms_scanner/controllers.rb:46:in 'each'
/home/ooolledj/.local/share/gem/ruby/3.0.0/gems/cms_scanner-0.13.4/lib/cms_scanner/controllers.rb:46:in 'block in run'
/usr/lib/ruby/3.0.0/timeout.rb:80:in 'timeout'
/home/ooolledj/.local/share/gem/ruby/3.0.0/gems/cms_scanner-0.13.4/lib/cms_scanner/controllers.rb:45:in 'run'
/home/ooolledj/.local/share/gem/ruby/3.0.0/gems/cms_scanner-0.13.4/lib/cms_scanner/scan.rb:24:in 'run'
/home/ooolledj/.local/share/gem/ruby/3.0.0/gems/wpscan-3.8.17/bin/wpscan:17:in 'block in <top (required)>'
/home/ooolledj/.local/share/gem/ruby/3.0.0/gems/cms_scanner-0.13.4/lib/cms_scanner/scan.rb:15:in 'initialize'
/home/ooolledj/.local/share/gem/ruby/3.0.0/gems/wpscan-3.8.17/bin/wpscan:6:in 'new'
/home/ooolledj/.local/share/gem/ruby/3.0.0/gems/wpscan-3.8.17/bin/wpscan:6:in '<top (required)>'
/home/ooolledj/.local/share/gem/ruby/3.0.0/bin/wpscan:23:in 'load'
/home/ooolledj/.local/share/gem/ruby/3.0.0/bin/wpscan:23:in '<main>'

What have you already tried

Tell us what you have already tried to do to fix the issue you are having.

Things you have tried (where relevant):

erwanlr commented 3 years ago

See https://github.com/wpscanteam/wpscan/issues/1646#issuecomment-846385059