Skip to content

Instantly share code, notes, and snippets.

@hmngwy
Last active December 4, 2015 04:18
Show Gist options
  • Save hmngwy/377a53067300b3ac0a05 to your computer and use it in GitHub Desktop.
Save hmngwy/377a53067300b3ac0a05 to your computer and use it in GitHub Desktop.
Purchasing a data package from Smart Telecom without having to open their god damned dashboard that barely works
# May or may not work depending on smart updating the website, use at your own risk - you only have yourself to blame
# Make sure you are not using a custom DNS(s) on your network configuration, so that smart doesn't filter you out
# SURFMAX 50
curl 'http://smart.com.ph/BroDashBoard/prepaid/availment/register' -H 'Accept: */*' -H 'Referer: http://smart.com.ph/brodashboard/prepaid/availment' -H 'Origin: http://smart.com.ph' -H 'X-Requested-With: XMLHttpRequest' -H 'User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11_0) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/46.0.2490.86 Safari/537.36' -H 'Content-Type: application/json; charset=UTF-8' --data-binary '{"promoId":2743,"brand":"BROPREPAID"}' --compressed
# SURFMAX 85
curl 'http://smart.com.ph/BroDashBoard/prepaid/availment/register' -H 'Accept: */*' -H 'Referer: http://smart.com.ph/brodashboard/prepaid/availment' -H 'Origin: http://smart.com.ph' -H 'X-Requested-With: XMLHttpRequest' -H 'User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11_0) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/46.0.2490.86 Safari/537.36' -H 'Content-Type: application/json; charset=UTF-8' --data-binary '{"promoId":2744,"brand":"BROPREPAID"}' --compressed
# SURFMAX 200
curl 'http://smart.com.ph/BroDashBoard/prepaid/availment/register' -H 'Accept: */*' -H 'Referer: http://smart.com.ph/brodashboard/prepaid/availment' -H 'Origin: http://smart.com.ph' -H 'X-Requested-With: XMLHttpRequest' -H 'User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11_0) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/46.0.2490.86 Safari/537.36' -H 'Content-Type: application/json; charset=UTF-8' --data-binary '{"promoId":2745,"brand":"BROPREPAID"}' --compressed
# SURFMAX 250
curl 'http://smart.com.ph/BroDashBoard/prepaid/availment/register' -H 'Accept: */*' -H 'Referer: http://smart.com.ph/brodashboard/prepaid/availment' -H 'Origin: http://smart.com.ph' -H 'X-Requested-With: XMLHttpRequest' -H 'User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11_0) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/46.0.2490.86 Safari/537.36' -H 'Content-Type: application/json; charset=UTF-8' --data-binary '{"promoId":2746,"brand":"BROPREPAID"}' --compressed
# SURFMAX 995
curl 'http://smart.com.ph/BroDashBoard/prepaid/availment/register' -H 'Accept: */*' -H 'Referer: http://smart.com.ph/brodashboard/prepaid/availment' -H 'Origin: http://smart.com.ph' -H 'X-Requested-With: XMLHttpRequest' -H 'User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11_0) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/46.0.2490.86 Safari/537.36' -H 'Content-Type: application/json; charset=UTF-8' --data-binary '{"promoId":2747,"brand":"BROPREPAID"}' --compressed
# SURFMAX 995
curl 'http://smart.com.ph/BroDashBoard/prepaid/availment/register' -H 'Accept: */*' -H 'Referer: http://smart.com.ph/brodashboard/prepaid/availment' -H 'Origin: http://smart.com.ph' -H 'X-Requested-With: XMLHttpRequest' -H 'User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11_0) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/46.0.2490.86 Safari/537.36' -H 'Content-Type: application/json; charset=UTF-8' --data-binary '{"promoId":2748,"brand":"BROPREPAID"}' --compressed
# BIG BYTES 50
curl 'http://smart.com.ph/BroDashBoard/prepaid/availment/register' -H 'Accept: */*' -H 'Referer: http://smart.com.ph/brodashboard/prepaid/availment' -H 'Origin: http://smart.com.ph' -H 'X-Requested-With: XMLHttpRequest' -H 'User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11_0) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/46.0.2490.86 Safari/537.36' -H 'Content-Type: application/json; charset=UTF-8' --data-binary '{"promoId":2411,"brand":"BROPREPAID"}' --compressed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment