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

Comments

3 participants
@sullo
Owner

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

This comment has been minimized.

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

This comment has been minimized.

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

This comment has been minimized.

Collaborator

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

This comment has been minimized.

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

This comment has been minimized.

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

Closes #23
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