Advertisement
Guest User

init_DEX

a guest
Sep 7th, 2017
373
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 0.47 KB | None | 0 0
  1. #!/bin/bash
  2. echo "Enter username: "
  3. read USERN
  4. echo "Enter password: "
  5. read -s PASSW
  6. curl -s \
  7.   -H "Accept: application/json" -H "Content-Type: application/json" \
  8.   -H "User-Agent: Dexcom Share/3.0.2.11 CFNetwork/711.2.23 Darwin/14.0.0" \
  9.   -X POST https://share1.dexcom.com/ShareWebServices/Services/General/LoginPublisherAccountByName \
  10.   -d '{"accountName":"'$USERN'","applicationId":"d8665ade-9673-4e27-9ff6-92db4ce13d13","password":'$PASSW'}'| tr -d '"' > init.ID
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement