Skip to content
This repository has been archived by the owner on Jul 14, 2023. It is now read-only.

Commit

Permalink
scanners: close #9
Browse files Browse the repository at this point in the history
  • Loading branch information
williballenthin committed Mar 25, 2020
1 parent 0ca9caf commit b4064d1
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 3 deletions.
2 changes: 1 addition & 1 deletion build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ set -o errexit;
# ref: https://stackoverflow.com/a/4774063/87207
readonly current_directory="$( cd "$(dirname "$0")" ; pwd -P )"

# generate a version file with GIT metadata
# generate a version file with git metadata
version_file="$current_directory/version.sh";
if [ -f "$version_file" ]; then
rm "$version_file";
Expand Down
4 changes: 3 additions & 1 deletion scanners/netscaler-content.sh
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,9 @@ ns_content_blacklist[19]="xp_eternalblue.replay";
# match filename `ld.sh` without matching `build.sh`
ns_content_blacklist[20]="[^i]ld.sh";
ns_content_blacklist[21]="piz.Lan";
ns_content_blacklist[22]="de.py";
# match filename `de.py` without matching `upgrade.py`
# see #9
ns_content_blacklist[22]="[^a]de.py";
ns_content_blacklist[23]=".new.zip";
ns_content_blacklist[24]="/tmp/rAgn";
# other activity
Expand Down
3 changes: 2 additions & 1 deletion scanners/shell-history.sh
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,8 @@ shell_history_blacklist[23]="x86.dll"
shell_history_blacklist[24]="xp_eternalblue.replay"
shell_history_blacklist[25]="ld.sh"
shell_history_blacklist[26]="piz.Lan"
shell_history_blacklist[27]="de.py"
# disabled due to #9
# shell_history_blacklist[27]="de.py"
shell_history_blacklist[28]=".new.zip"
shell_history_blacklist[29]="/tmp/rAgn"
shell_history_blacklist[30]="/tmp/.init/httpd"
Expand Down

0 comments on commit b4064d1

Please sign in to comment.