zt2 / sqli-hunter

SQLi-Hunter is a simple HTTP / HTTPS proxy server and a SQLMAP API wrapper that makes digging SQLi easy.
420 stars 130 forks source link

I have a problem for execute sqli-hunter #17

Open Marcio861 opened 1 year ago

Marcio861 commented 1 year ago

please help me not running sqli-hunter

send request and log:

└─$ sudo ruby bin/sqli-hunter.rb

[sudo] password for kernel: /var/lib/gems/3.0.0/gems/bundler-2.1.4/lib/bundler/spec_set.rb:86:in block in materialize': Could not find activemodel-6.0.3.2 in any of the sources (Bundler::GemNotFound) from /var/lib/gems/3.0.0/gems/bundler-2.1.4/lib/bundler/spec_set.rb:80:inmap!' from /var/lib/gems/3.0.0/gems/bundler-2.1.4/lib/bundler/spec_set.rb:80:in materialize' from /var/lib/gems/3.0.0/gems/bundler-2.1.4/lib/bundler/definition.rb:170:inspecs' from /var/lib/gems/3.0.0/gems/bundler-2.1.4/lib/bundler/definition.rb:237:in specs_for' from /var/lib/gems/3.0.0/gems/bundler-2.1.4/lib/bundler/definition.rb:226:inrequested_specs' from /var/lib/gems/3.0.0/gems/bundler-2.1.4/lib/bundler/runtime.rb:101:in block in definition_method' from /var/lib/gems/3.0.0/gems/bundler-2.1.4/lib/bundler/runtime.rb:20:insetup' from /var/lib/gems/3.0.0/gems/bundler-2.1.4/lib/bundler.rb:149:in setup' from /home/kernel/Desktop/Hacking/sqli-hunter/lib/hunter/proxy.rb:9:in<top (required)>' from /home/kernel/Desktop/Hacking/sqli-hunter/lib/hunter.rb:15:in require_relative' from /home/kernel/Desktop/Hacking/sqli-hunter/lib/hunter.rb:15:in' from /home/kernel/Desktop/Hacking/sqli-hunter/lib/hunter.rb:6:in <top (required)>' from bin/sqli-hunter.rb:13:inrequire_relative' from bin/sqli-hunter.rb:13:in `

'

zt2 commented 1 year ago

It seems you have a problem with dependencies. Please check gem 'activemodel' is in your Ruby environment. Run bundler install.

Marcio861 commented 1 year ago

ok, maked, but now is new problem:

image

zt2 commented 1 year ago

It was because sqli-hunter could not find any valid certificate. You could solve this problem simply by changing your directory to bin