Assorted Bash scripts
- Add a user to
sudo
group with an SSH jey - Usage:
./add_sudo_user {Username} {SSH Public Key}
- For the given domain query Certificate Transparency to get a list of subdomains which have SSL/TLS certificates issued for them
- Usage:
./ct-abuse.sh {target_domain}
- Check if your email or password has been involved in a breach indexed by haveibeenpwned.com
- Usage:
./haveibeenpwned [email protected]
- Usage:
./haveibeenpwned P@ssw0rd1
- Check if bash scripts have a shebang on line one (
#!
) - Usgae:
./shebang.sh *
or./shebang.sh {file 1} {file ...}