FS#62570 - [nikto] Launch script switches directory, breaking output options
Attached to Project:
Community Packages
Opened by Drew Noel (drewmnoel) - Tuesday, 07 May 2019, 19:19 GMT
Last edited by Buggy McBugFace (bugbot) - Saturday, 25 November 2023, 20:00 GMT
Opened by Drew Noel (drewmnoel) - Tuesday, 07 May 2019, 19:19 GMT
Last edited by Buggy McBugFace (bugbot) - Saturday, 25 November 2023, 20:00 GMT
|
Details
Description:
The script that is installed to /usr/bin/ contains a "cd" to another directory (/usr/share/nikto/). This means that when a user gives an output flag to nikto, nikto attempts to write the output to /usr/share/nikto/, rather than the user's real working directory. Additional info: * Nikto v2.1.6 Reproduction Examples (as a non-privileged user): 1. nikto -host https://example.com -output example.txt 2. nikto -host https://example.com -Save . |
This task depends upon
Closed by Buggy McBugFace (bugbot)
Saturday, 25 November 2023, 20:00 GMT
Reason for closing: Moved
Additional comments about closing: https://gitlab.archlinux.org/archlinux/p ackaging/packages/nikto/issues/1
Saturday, 25 November 2023, 20:00 GMT
Reason for closing: Moved
Additional comments about closing: https://gitlab.archlinux.org/archlinux/p ackaging/packages/nikto/issues/1
#!/bin/sh
exec /usr/bin/perl /usr/share/nikto/nikto.pl "$@"
is there a chance this can be pushed out to the package? I know it's a low, but I'm really tired of fixing it every time I install nikto on a new VM.