News for hackers. Stuff that matters.
Re:Canary Tokens by rsync on Saturday December 31, 2022 @01:35AM (#34194229)
I have a shell login canary that uses the twilio API to send me an SMS:

~/.login contains the line:

/usr/local/sbin/sms ...

... where 'sms' calls the twilio API like this:

  /usr/local/bin/curl -s -X POST -d "Body=$msg" -d "From=$from" -d "To=$to" "https://api.twilio.com/2010-04-01/Accounts/$accountsid/Messages" -u "$accountsid:$authtoken"

There are no comments on this comment yet.