After installing cURL and starting the install via command
gem install wpscan
It will give an error for macOS 10.11 or newer due to Apple's System Integrity Protection (SIP).
Try to install wpscan via terminal on macos 10.11 or newer.
It should install
It will throw an error
Gem::FilePermissionError
this is caused due to the fact that gem installation works in Apple's SIP area.
Solved it via
sudo gem install -n /usr/local/bin wpscan
Please update the docs, for this issue, because it was a pain for me and probably it will be for others.
Another solutions would be to disable Apple's SIP (reboot, cmd + r, open terminal and type csrutil disable - reboot and it's off)
p.s. Have to thank to who replied on twitter, it gave me the idea to check SIP status.
I solve this problem - sudo xcode-select --installand then sudo gem install wpscan
@erwanlr on macOS 10.15 (Catalina) it doesn't work anymore, I guess it works only for 10.11-10.14, for 10.15 the solution proposed by @Tiposbingo works, just tried it and it's all good.
Most helpful comment
@erwanlr on macOS 10.15 (Catalina) it doesn't work anymore, I guess it works only for 10.11-10.14, for 10.15 the solution proposed by @Tiposbingo works, just tried it and it's all good.