Created
January 11, 2020 05:12
-
-
Save Porrapat/604c76010d0ec0306d8cf8a48bb8155c to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Link on bank website using gotted | |
# Please provide SESSIONEASY variable and cookie_file you previously captured | |
# chmod -R 777 login_scb_using_got_info.sh | |
# ./ | |
statement_url=https://www.scbeasy.com/online/easynet/page/acc/acc_mpg.aspx | |
SESSIONEASY= | |
cookie_file= | |
echo "SESSIONEASY IS : $SESSIONEASY" | |
echo "COOKIE FILE IS : $cookie_file" | |
# Show your money on bank protected page. | |
echo "======= YOU HAVE MONEY IN scbeasy.net (THB) =====" | |
curl -X POST -s -b $cookie_file -d "SESSIONEASY=$SESSIONEASY" "$statement_url" | grep -oP "([0-9.,]+)(?=<\/strong><\/td><td style=\"width: 230px;\">)" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment