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

Set Arbitrary Headers #23

Closed
sullo opened this issue Nov 27, 2012 · 5 comments
Closed

Set Arbitrary Headers #23

sullo opened this issue Nov 27, 2012 · 5 comments
Labels
Milestone

Comments

@sullo
Copy link
Owner

@sullo sullo commented Nov 27, 2012

Create a method to allow arbitrary headers to be set with every request.
**
Technically this is easy enough, as most stuff routes through nfetch and setup_hash. The only difficult bit is the UI variant, a couple of suggestions:

In nikto.conf:
HEADERS=X-Debug:true X-RevealSource:true

and on the CLI:
-headers X-Debug:true,X-RevealSource:true

@wrycu
Copy link

@wrycu wrycu commented Dec 3, 2015

Was this accepted or declined? I see that it's quite old and AFAIK still has not been implemented.

@ghost
Copy link

@ghost ghost commented Dec 3, 2015

@wrycu The issue here is open and has no commit / pull request reference so its unlikely that it was implemented.

@tautology0
Copy link
Collaborator

@tautology0 tautology0 commented Dec 3, 2015

This was copied over from the old assembla bug system and yes it's still open. It should be quite simple to implement - just need an idea of which user interface is preferred (e.g. CLI or conf file).

@wrycu
Copy link

@wrycu wrycu commented Dec 3, 2015

@RealRancor understood, but the lack of commits / pull requests are not an indication of if the team has accepted it and just hasn't done work on it or not.

@tautology0 I see your point. At the same time, certainly it's better to have it somewhere than nowhere... but that's just my two cents.

@ghost
Copy link

@ghost ghost commented Dec 3, 2015

@wrycu But a label as "enhancement" or a non-closed issue is mostly a indication that its planned or was accepted. :-)

@sullo sullo modified the milestones: Nikto 2.1.6, Nikto 2.2.0 May 15, 2016
sullo added a commit that referenced this issue Sep 9, 2016
Set arbitrary headers via nikto.conf (HEADERS) or command line (-Headers).
Values should be name:value pairs, such as: header1:value1,header2:value2
@sullo sullo closed this Sep 9, 2016
sullo added a commit that referenced this issue Sep 19, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
3 participants