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.63k stars 1.27k forks source link

get_process_mem error while trying to run wpscan #1864

Open Motil3 opened 1 month ago

Motil3 commented 1 month ago

It might be a mistake on my end. but I'm trying to run wpscan on ruby on windows 10 and I get this error:


> C:/Ruby33-x64/lib/ruby/gems/3.3.0/gems/get_process_mem-0.2.6/lib/get_process_mem.rb:113:in `ps_memory': undefined method `working_set_size' for nil (NoMethodError)
> 
>       size = ProcTable.ps(pid: pid).working_set_size
>                                    ^^^^^^^^^^^^^^^^^
>         from C:/Ruby33-x64/lib/ruby/gems/3.3.0/gems/get_process_mem-0.2.6/lib/get_process_mem.rb:62:in `bytes'
>         from C:/Ruby33-x64/lib/ruby/gems/3.3.0/gems/cms_scanner-0.14.3/lib/cms_scanner/scan.rb:9:in `initialize'
>         from C:/Ruby33-x64/lib/ruby/gems/3.3.0/gems/wpscan-3.8.27/bin/wpscan:6:in `new'
>         from C:/Ruby33-x64/lib/ruby/gems/3.3.0/gems/wpscan-3.8.27/bin/wpscan:6:in `<top (required)>'
>         from C:/Ruby33-x64/bin/wpscan:32:in `load'
>         from C:/Ruby33-x64/bin/wpscan:32:in `<main>'