This file contains hidden or 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 | |
| mem=$(free -m | awk 'NR==2{print $3*100/$2}' | awk -F. '{print $1}') | |
| disk=$(df -h | awk '$NF=="/"{print $5}' | awk -F% '{print $1}') | |
| cpu=$(top -bn1 | grep load | awk '{print $(NF-2)}' | awk -F. '{print $1}') | |
| if [ "$cpu" -ge "80" ] | |
| then | |
| notify-send -u critical "The CPU Almost Filled: $cpu" |
This file contains hidden or 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
| #!/usr/bin/env python | |
| # -*- coding: utf-8 -*- | |
| # | |
| import os, time | |
| from Crypto.Cipher import AES | |
| from Crypto.Hash import SHA256 | |
| from Crypto import Random | |
This file contains hidden or 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
| #copied from: https://gist.github.com/BuffaloWill/fa96693af67e3a3dd3fb | |
| ## IPv6 Tests | |
| http://[::ffff:169.254.169.254] | |
| http://[0:0:0:0:0:ffff:169.254.169.254] | |
| ## AWS | |
| # Amazon Web Services (No Header Required) | |
| # from http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-instance-metadata.html#instancedata-data-categories | |
| http://169.254.169.254/latest/meta-data/iam/security-credentials/dummy | |
| http://169.254.169.254/latest/user-data |
This file contains hidden or 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
| !.gitignore | |
| !.htaccess | |
| !.htpasswd | |
| %20../ | |
| %2e%2e//google.com | |
| %3f/ | |
| %EXT% | |
| %ff/ | |
| ..;/ | |
| .7z |
This file contains hidden or 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
| !.gitignore | |
| !.htaccess | |
| !.htpasswd | |
| %20../ | |
| %2e%2e//google.com | |
| %3f/ | |
| %EXT% | |
| %ff/ | |
| ..;/ | |
| .7z |
This file contains hidden or 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
| 10250: kubernetes / http://ghostlulz.com/exposed-kubernetes-api/ | |
| # https://github.com/swisskyrepo/PayloadsAllTheThings/tree/master/Kubernetes | |
| - Insecure API server | |
| curl -k https://<IP Address>:8080 | |
| - Secure API Server | |
| curl -k https://<IP Address>:(8|6)443/swaggerapi | |
| curl -k https://<IP Address>:(8|6)443/healthz | |
| curl -k https://<IP Address>:(8|6)443/api/v1 |
This file contains hidden or 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
| #!/usr/bin/env python | |
| yellow = "\033[93m" | |
| green = "\033[92m" | |
| blue = "\033[94m" | |
| red = "\033[91m" | |
| bold = "\033[1m" | |
| end = "\033[0m" | |
| (blue+bold+""" |
This file contains hidden or 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 | |
| # | |
| # cat ips | xargs -I% sh -c "host %" | |
| # -z True if it's a zero | -n True if it's not a zero! | |
| # | |
| PRG=${0##*/} | |
| Usage() { | |
| while read -r info; do |
This file contains hidden or 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 | |
| # | |
| # bash script for directory brute forcing but it takes a list of directories | |
| # and try it one by one on a list of domains | |
| #set -x | |
| Usage() { | |
| while read -r line | |
| do |
This file contains hidden or 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 | |
| # | |
| # script for subdomain enumeration using 4 of the best tools with some APIs: | |
| # * findomain: https://github.com/Edu4rdSHL/findomain | |
| # * SubFinder: https://github.com/projectdiscovery/subfinder | |
| # * Amass: https://github.com/OWASP/Amass | |
| # * AssetFinder: https://github.com/tomnomnom/assetfinder | |
| # | |
| # a perl version is being developed by @terminalforlife | |
| # * https://github.com/terminalforlife/PerlProjects/tree/master/source/dominator |
OlderNewer