[go: nahoru, domu]

Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

showing error about config file #592

Closed
bhatumar533 opened this issue Mar 10, 2019 · 10 comments
Closed

showing error about config file #592

bhatumar533 opened this issue Mar 10, 2019 · 10 comments

Comments

@bhatumar533
Copy link

the error its showing is below
Could not find a valid nikto config file. Tried: nikto.pl/nikto.conf.default /etc/nikto.conf /data/data/com.termux/files/home/nikto.conf nikto.pl/nikto.conf nikto.conf

@digininja
Copy link
Contributor
digininja commented Mar 10, 2019 via email

@sullo
Copy link
Owner
sullo commented Mar 10, 2019 via email

@ghost
Copy link
ghost commented Mar 13, 2019

change file name >nikto/program/nikto.conf.default to
nikto/program/nikto.conf

It works

@sullo
Copy link
Owner
sullo commented Mar 13, 2019

@pple7000 it should still work if there's no .conf file. If yours didn't please let me know. I tested quite a few combos of that and all worked--so there could be a bug if it didn't for you.

Also as digininja pointed out something is borked with the path in @bhatumar533 output.

@ghost
Copy link
ghost commented Mar 14, 2019

Nmm.....I'm not good at Perl.Maybe just wait for next update.(Fixing the path)

@sullo
Copy link
Owner
sullo commented Mar 20, 2019

@pple7000 that is just renaming the file, no code needed!

The path problem is more complex. What OS are you on?

@Hax0rG1rl
Copy link
Hax0rG1rl commented Mar 25, 2019

Got the same issue here:

perl nikto.pl -h https://<target>
- Could not find a valid nikto config file. Tried: nikto.pl/nikto.conf.default /etc/nikto.conf nikto.pl/program/nikto.conf.default /home/xxxxxxxx/nikto.conf nikto.pl/nikto.conf nikto.conf

OS: Ubuntu

Installation: The repository was cloned with git clone.

I have tried to change some bits into the config file just to point nikto to the right default config file. No luck. Something is borked.

Per example, you can use this to test this issue.

https://console.cloud.google.com/cloudshell/editor?shellonly=true

Thanks!

sullo pushed a commit that referenced this issue Mar 26, 2019
@sullo
Copy link
Owner
sullo commented Mar 26, 2019

I think using Cwd module will help resolve these errors, and it's a core module so should not be an additional installation.

please confirm?

@Hax0rG1rl
Copy link
Hax0rG1rl commented Mar 26, 2019

I confirm the issue was resolved. Thanks!

Please, could you close this issue now? Apparently, I can't do it from my end. 🤦‍♀️

@chris-camm
Copy link

I get the same issue when installing via brew install nikto on mac osx.

  • Could not find a valid nikto config file. Tried: /usr/local/Cellar/nikto/2.1.6/bin/nikto/nikto.conf.default /etc/nikto.conf /Users/xxxxx/nikto.conf /usr/local/Cellar/nikto/2.1.6/bin/nikto/nikto.conf nikto.conf

@sullo sullo closed this as completed Dec 31, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants