Created
October 22, 2021 14:32
-
-
Save pfspence/4610f514c3f4662484a91ca33f40b6c5 to your computer and use it in GitHub Desktop.
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
#!/bin/bash | |
#Check if root | |
if [ "$EUID" -ne 0 ] | |
then echo "Please run as root" | |
exit | |
fi | |
URL='https://raw.githubusercontent.com/pfspence/metasploit-framework/master/modules/auxiliary/scanner/http/dlink_dir_session_cgi_http_login.rb' | |
TARGET='/usr/share/metasploit-framework/modules/auxiliary/scanner/http/dlink_dir_session_cgi_http_login.rb' | |
rm $TARGET | |
curl $URL -o $TARGET |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment