Skip to content

Instantly share code, notes, and snippets.

@Egregius

Egregius/readsmart.sh Secret

Created Sep 5, 2020
Embed
What would you like to do?
#!/usr/bin/env bash -e
smart=`/usr/local/bin/smartctl -Aj disk0`
curl -k -F "device=Apple_1TB_iMac2020" -F "token=Apricot-4Contented-Carless-Spiritism-Clubs7-Trinity" -F "data=$smart" https://egregius.be/smartupd.php
exit
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment