Skip to content

Commit

Permalink
Fix tempfix msfenom skip
Browse files Browse the repository at this point in the history
  • Loading branch information
Dramelac committed Aug 14, 2024
1 parent 9bb8e76 commit b7f81a6
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions sources/install/package_c2.sh
Original file line number Diff line number Diff line change
Expand Up @@ -53,12 +53,11 @@ function install_metasploit() {
add-aliases metasploit
add-test-command "msfconsole --version"
add-test-command "msfdb --help"
#add-test-command "msfvenom --list platforms"
# Skipping msfvenom test because its currently broken: https://github.com/rapid7/metasploit-framework/issues/19384
local temp_fix_limit="2024-08-25"
if [[ "$(date +%Y%m%d)" -gt "$(date -d $temp_fix_limit +%Y%m%d)" ]]; then
criticalecho "Temp fix expired. Exiting."
else
add-test-command "msfvenom --list platforms"
fi
add-to-list "metasploit,https://github.com/rapid7/metasploit-framework,A popular penetration testing framework that includes many exploits and payloads"
}
Expand Down

0 comments on commit b7f81a6

Please sign in to comment.