Advertisement
widhisec

[Bash] As00PaRt2

Nov 19th, 2019
657
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 1.80 KB | None | 0 0
  1. #!/bin/bash
  2. # powered by zsecc0de-crew-id
  3. # di buat oleh widhisec
  4. gex(){
  5. dat
  6. sem=$(curl -s -X POST -H "Host: api.duniagames.co.id" \
  7. -H "origin: https://duniagames.co.id" \
  8. -H "accept-language: id" \
  9. -H "user-agent: Mozilla/5.0 (Linux; Android 9; Redmi 4A) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3904.96 Mobile Safari/537.36" \
  10. -H "content-type: application/json" \
  11. -H "accept: application/json, text/plain, */*" \
  12. -H "cookie: __cfduid=$co" \
  13. -H "referer: https://duniagames.co.id/top-up/item/freefire" --url "https://api.duniagames.co.id/api/transaction/v1/top-up/transaction/store" -d '{"inquiryId":"'"$QID"'","phoneNumber":"'"$no"'","transactionId":"'"$TRID"'","email":"'"$mailyour"'"}')
  14. outt=$(echo -e "$sem" | grep -Po '(?<="gameDetail":)(.*?)(?=})'|cut -d ',' -f1)
  15. printf "$no %s\n" "${outt}" >> hasil
  16. printf "$no %s\n" "${outt}"
  17. }
  18. dat(){
  19. co=$(curl -s 'https://duniagames.co.id/top-up/item/freefire' -I|grep -Po '(?<=__cfduid=)[^,]*'|gawk '{print $1}')
  20. semua=$(curl -s -X POST -H "Host: api.duniagames.co.id" -H "content-length: 79" -H "origin: https://duniagames.co.id" -H "accept-language: id" -H "user-agent: Mozilla/5.0 (Linux; Android 9; Redmi 4A) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3904.96 Mobile Safari/537.36" -H "content-type: application/json" -H "accept: application/json, text/plain, */*" -H "referer: https://duniagames.co.id/top-up/item/freefire" -H "cookie: __cfduid=$co" -d '{"productId":3,"itemId":16,"catalogId":71,"paymentId":163,"gameId":"725833022"}' --url "https://api.duniagames.co.id/api/transaction/v1/top-up/inquiry/store" )
  21. QID=$(echo $semua| grep -Po '(?<="inquiryId":)(.*?)(?=})'|cut -d ',' -f1)
  22. TRID=$(echo $semua|grep -Po '(?<="transactionId":)(.*?)(?=})'|cut -d ',' -f1)
  23. }
  24.  
  25. echo -ne "mail your  : "; read mailyour
  26. echo -ne "nomer your : "; read no
  27. gex
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement