Skip to content

Instantly share code, notes, and snippets.

@Porrapat
Created January 11, 2020 05:12
Show Gist options
  • Save Porrapat/604c76010d0ec0306d8cf8a48bb8155c to your computer and use it in GitHub Desktop.
Save Porrapat/604c76010d0ec0306d8cf8a48bb8155c to your computer and use it in GitHub Desktop.
# 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