doc:hacks:envoyer_des_sms_avec_une_airbox
no way to compare when less than two revisions
Différences
Ci-dessous, les différences entre deux révisions de la page.
— | doc:hacks:envoyer_des_sms_avec_une_airbox [2020/08/04 07:17] (Version actuelle) – créée beu | ||
---|---|---|---|
Ligne 1: | Ligne 1: | ||
+ | ====== Envoyer des SMS avec une Airbox ====== | ||
+ | <code bash> | ||
+ | #!/bin/bash | ||
+ | |||
+ | LOGIN=" | ||
+ | PASSWORD=" | ||
+ | ################################# | ||
+ | |||
+ | curl -sSL -D - http:// | ||
+ | COOKIE=`grep SessionID tmpfile | cut -b 12-150` | ||
+ | TOKEN=`grep csrf_token tmpfile | head -n 1 | cut -b 34-65` | ||
+ | NUMBER=$1 | ||
+ | SMS=$2 | ||
+ | |||
+ | password=`echo -n " | ||
+ | |||
+ | curl -sSL -D - http:// | ||
+ | COOKIE=`grep SessionID tmpfile | cut -b 12-149` | ||
+ | TOKEN=`grep RequestVerificationToken tmpfile | cut -b 31-62` | ||
+ | |||
+ | data=`echo '<? | ||
+ | #echo $data | ||
+ | curl -v http:// | ||
+ | </ |
doc/hacks/envoyer_des_sms_avec_une_airbox.txt · Dernière modification : 2020/08/04 07:17 de beu