-
-
Notifications
You must be signed in to change notification settings - Fork 219
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #458 from m-1-k-3/exploit_updates
Update the known exploit behaviour
- Loading branch information
Showing
26 changed files
with
93,130 additions
and
9,412 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
#!/bin/sh | ||
# /etc/cron.weekly/emba_updater_data: Weekly EMBA exploit databases update script | ||
# Written by Michael Messner for EMBA https://github.com/e-m-b-a/emba | ||
|
||
BASE_PATH="$(pwd)" | ||
LOG_DIR="/var/log" | ||
LOG_FILE="emba_update_data.log" | ||
|
||
[ -d EMBA_INSTALL_PATH ] || exit 0 | ||
[ -d EMBA_INSTALL_PATH/helpers/ ] || exit 0 | ||
[ -d "$LOG_DIR" ] || exit 0 | ||
|
||
cd EMBA_INSTALL_PATH || exit | ||
|
||
echo -e "\n[*] Starttime: $(date)" | tee -a "$LOG_DIR"/"$LOG_FILE" | ||
echo -e "[*] EMBA data update - Metasploit framework module database" | tee -a "$LOG_DIR"/"$LOG_FILE" | ||
./helpers/metasploit_db_update.sh | tee -a "$LOG_DIR"/"$LOG_FILE" | ||
|
||
echo -e "\n[*] EMBA update - Known exploited database" | tee -a "$LOG_DIR"/"$LOG_FILE" | ||
./helpers/known_exploited_vulns_update.sh | tee -a "$LOG_DIR"/"$LOG_FILE" | ||
|
||
echo -e "\n[*] EMBA update - trickest database" | tee -a "$LOG_DIR"/"$LOG_FILE" | ||
./helpers/trickest_db_update.sh | tee -a "$LOG_DIR"/"$LOG_FILE" | ||
|
||
echo -e "\n[*] EMBA update - packetstorm database" | tee -a "$LOG_DIR"/"$LOG_FILE" | ||
./helpers/packet_storm_crawler.sh | tee -a "$LOG_DIR"/"$LOG_FILE" | ||
|
||
echo -e "\n[*] EMBA update - snyk database" | tee -a "$LOG_DIR"/"$LOG_FILE" | ||
./helpers/snyk_crawler.sh | tee -a "$LOG_DIR"/"$LOG_FILE" | ||
|
||
cd "$BASE_PATH" || exit | ||
|
||
echo -e "\n[*] Endtime: $(date)" | tee -a "$LOG_DIR"/"$LOG_FILE" | ||
echo -e "[*] EMBA data update - finished" | tee -a "$LOG_DIR"/"$LOG_FILE" |
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.