I hereby claim:
- I am h0bbel on github.
- I am cmohn (https://keybase.io/cmohn) on keybase.
- I have a public key whose fingerprint is 7772 04CE 1839 8E83 1A33 3C8D B60F 4263 BFD6 00C7
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
| # See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to | |
| # newer versions of the distribution. | |
| deb http://us.archive.ubuntu.com/ubuntu/ bionic main restricted | |
| # deb-src http://us.archive.ubuntu.com/ubuntu/ bionic main restricted | |
| ## Major bug fix updates produced after the final release of the | |
| ## distribution. | |
| deb http://us.archive.ubuntu.com/ubuntu/ bionic-updates main restricted | |
| # deb-src http://us.archive.ubuntu.com/ubuntu/ bionic-updates main restricted |
| - platform: rest | |
| resource: https://visits.evofitness.no/api/v1/locations/451c2ecf-3268-4b2b-ac62-efa3206b6b14/current | |
| value_template: "{{ value_json.current }}" | |
| name: evocurrent |
| # Script to update a given Shodan Alert with new public IP, if the IP has changed | |
| # v0.5 — Christian Mohn | vNinja.net | |
| #!/bin/bash | |
| # Variables | |
| MYIPFILE="shodanip.txt" # The file where you keep your current public IP | |
| MYIP=`shodan myip` # Get public IP through Shodan CLI and store it in the $MYIP variable | |
| SHODANALERTID="XXXXXXXXXXXXXXXX" # Shodan Alert ID — NB! Replace with your own |