Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
HaiSoft (public)
Wrong Listener Killer
Commits
7031e5a1
Commit
7031e5a1
authored
May 26, 2017
by
UltimateByte
Committed by
GitHub
May 26, 2017
Browse files
added hostname
parent
e1b3877c
Changes
1
Hide whitespace changes
Inline
Side-by-side
wlk.sh
View file @
7031e5a1
...
...
@@ -100,7 +100,7 @@ if [ "${harm}" == "1" ]; then
fn_logecho
"[INFO] The following process will be killed:
${
pid
}
${
pidname
}
${
piduser
}
${
pidcommand
}
"
kill
-9
"
${
pid
}
"
fn_logecho
"[OK] Job done, exiting"
tail
-
${
maillogsize
}
"
${
log
}
"
| mail
-s
"
localhost
-
${
pidname
}
-
${
portcheck
}
killed"
${
maillog
}
tail
-
${
maillogsize
}
"
${
log
}
"
| mail
-s
"
$(
hostname
-s
)
-
${
pidname
}
-
${
portcheck
}
killed"
${
maillog
}
else
fn_logecho
"[OK] This program seems legit, exiting."
fi
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment