diff options
| author | Danilo M. <danix@danix.xyz> | 2026-04-03 23:12:36 +0200 |
|---|---|---|
| committer | Danilo M. <danix@danix.xyz> | 2026-04-03 23:12:36 +0200 |
| commit | 11735b294450fbb6b4478748c57df2f9969b31ce (patch) | |
| tree | 1b15658f1eb274712a579ba8141753fcbc28d4ad /nessus/rc.nessusd | |
| parent | 21cdfef9c762bb2e548abc7cf88f9207376abaf2 (diff) | |
| download | slackware-pentesting-suite-11735b294450fbb6b4478748c57df2f9969b31ce.tar.gz slackware-pentesting-suite-11735b294450fbb6b4478748c57df2f9969b31ce.zip | |
remove hydra and nessus packages
Both are already maintained on SBo and identical to upstream.
Remove package directories and clean up README and nvchecker.toml.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Diffstat (limited to 'nessus/rc.nessusd')
| -rw-r--r-- | nessus/rc.nessusd | 112 |
1 files changed, 0 insertions, 112 deletions
diff --git a/nessus/rc.nessusd b/nessus/rc.nessusd deleted file mode 100644 index d600b40..0000000 --- a/nessus/rc.nessusd +++ /dev/null @@ -1,112 +0,0 @@ -#!/bin/sh - -# Tenable(TM) Nessus Scanner Start & Stop script -# - -# Source function library. -if [ -f /etc/init.d/functions ] ; then - . /etc/init.d/functions -else - exit 0 -fi - -# Load nessusd environment -[ -f /etc/sysconfig/nessusd ] && . /etc/sysconfig/nessusd - -# Avoid using root's TMPDIR -unset TMPDIR - -test -x /opt/nessus/sbin/nessus-service || { - echo "Nessus not properly installed" - exit 1 -} - -RETVAL=0 - -NESSUS_PID_FILE="/opt/nessus/var/nessus/nessus-service.pid" -NESSUS_NAME="Nessus" - -start() { - - echo -n $"Starting Nessus services: " - - /opt/nessus/sbin/nessus-service -q -D - RETVAL=$? - - if [ "$RETVAL" == "0" ]; then - success - else - failure - fi - - echo - return 0 - -} - -stop() { - - echo -n $"Shutting down Nessus services: " - - test -f "$NESSUS_PID_FILE" && kill `cat $NESSUS_PID_FILE` - RETVAL=$? - - sleep 4 - - if [ "$RETVAL" == "0" ]; then - success - else - failure - fi - - echo - return 0 - -} - -restart() { - stop - start -} - -status() { - - if [ -f "$NESSUS_PID_FILE" ]; then - - exp_pid=$(cat $NESSUS_PID_FILE) - pid_dir="/proc/$exp_pid" - - if [ -d "$pid_dir" ]; then - if [ "$(cat ${pid_dir}/stat | awk '{print $2}' | tr -d '()')" == "nessus-service" ]; then - echo "$NESSUS_NAME is running" - return 0 - fi - fi - - fi - - echo "$NESSUS_NAME is not running" - return 3 - -} - - -case "$1" in - start) - start - ;; - status) - status - ;; - stop) - stop - ;; - restart) - restart - ;; - *) - echo $"Usage: $0 {start|stop|restart|status}" - exit 1 -esac - -exit $? |
