I hereby claim:
- I am foospidy on github.
- I am foospidy (https://keybase.io/foospidy) on keybase.
- I have a public key whose fingerprint is 5FA9 F16A 1FC7 051D EB93 A6DA CAEA 3613 5AFB E6D9
To claim this, I am signing this object:
| #!/usr/bin/env bash | |
| # clock_skew.sh - Check remote hosts for clock skew (time drift), and | |
| # output a warning or alert message based on defined thresholds. | |
| # | |
| # Instructions: | |
| # Create a hosts.txt file that contains the list of hosts to be checked. | |
| # | |
| # hosts.txt should contain one host entry per line, and username and | |
| # port fields are optional. Format: | |
| # |
| #!/usr/bin/env bash | |
| ################### | |
| # Signal Sciences helper script: | |
| # sigsci-integration-replace.sh | |
| # For a given configuration, the script will delete all instances based on type and url, | |
| # it will then recreate the configuration with the specified events. | |
| # Requires: | |
| # - pysigsci (https://pypi.org/project/pysigsci/) | |
| # - jq (https://stedolan.github.io/jq/) |
| #!/usr/bin/env bash | |
| ################### | |
| # Signal Sciences helper script: | |
| # sigsci-revproxy-agents.sh | |
| # For all sites in a corp, print reverse proxy agents. | |
| # Requires: | |
| # - pysigsci (https://pypi.org/project/pysigsci/) | |
| # - jq (https://stedolan.github.io/jq/) |
| POST / HTTP/1.1 | |
| Content-Type: application/x-www-form-urlencoded | |
| User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; Trident/7.0; rv:11.0) like Gecko | |
| Host: x.x.x.x | |
| Content-Length: 408 | |
| Cache-Control: no-cache | |
| Q/Rayd3IZhxBqzgkL0J7deIVkVpJ20LD8qxp2iY6wqlhb7uJMoBoekEb9ZFuseGv3J5TnIUnC7pDXGwIc/1LM7v/5BNrkt/rlfBG7gZ4m7O7CGW0DCGfqGVXT4c7ex/ZNqFhOM1WyXCI+nAcWTbrF95VC2y3XDi1VpsMdE06YNWnmYdB57kkO1ZFTa9uxMukUBALs0kybZEXot2gj8gGd2NnoFzMpfbX85JschPX0MBY1uJV1TdhBQKcQ6h+ZBAC7JVBKqUXtuBu+ZyiJZRk7+OB/kVcWeWKqzEaavg1C1dEg4+sfjWcvU2N2DcvbPsx9aF/qYjhYuJSQ8AeawsNCcvwwlJg1aQuG+hrAPX5qkTOLzmaNTeIVqPUvdDNitzOR+WUyDoOfskqy7Txzxlf9JZy | |
| POST /wls-wsat/CoordinatorPortType11 HTTP/1.1 |
| sigsci-agent-install-multi.sh | |
| # Installs multiple service instances of the sigsci-agent (tcp listener only). | |
| # Note: this does not modify the default sigsci-agent installation. | |
| # | |
| # This script takes two arguments: | |
| # The first argument (required) specifies how many new service instances to create. | |
| # The second argument (optional) sepcifies what port the first service instance | |
| # should listen on. It will automaticly increment the port number for each new instance. | |
| # | |
| # Usage: |
| #!/usr/bin/env python | |
| # | |
| # clock_skew.py | |
| # This script reads json data from /tmp/sigsci-agents.json | |
| # and prints a message if an agent's clock skew is greater | |
| # or equal to the defined thresholds. | |
| # | |
| # SigSciApiPy (https://github.com/signalsciences/SigSciApiPy) is | |
| # an easy way to pull agent data from the Signal Sciences API and | |
| # save it to /tmp/sigsci-agents.json |
I hereby claim:
To claim this, I am signing this object:
| #!/usr/bin/python | |
| # | |
| # str2implode.py | |
| # | |
| # Usage: python str2implody.py "example string with spaces" | |
| # | |
| import sys | |
| out = "" |
| #!/usr/bin/env bash | |
| # | |
| # Installs/upgrades the latest version of honeydb-agent. | |
| # An existing configuration will be backed up, and applied | |
| # to the new install/upgrade. | |
| # | |
| # sudo ./honeydb-agent-install.sh | |
| # | |
| ARCHITECTURE=`uname -m` |
| <?php | |
| function api_limit_exceeded($id='nobody', $limit=1500) { | |
| $redis = new Redis(); | |
| $usage = 0; | |
| if($redis->connect($GLOBALS['REDIS_HOST'], $GLOBALS['REDIS_PORT'])) { | |
| if($redis->auth($GLOBALS['REDIS_PASSWORD'])) { | |
| $usage = $redis->get($id); | |
| } else { | |
| error_log('Error authenticating to redis!'); |