bml-cli/bml.sh

26 lines
455 B
Bash
Raw Normal View History

2021-04-25 14:59:31 +05:00
#!/bin/bash
2021-04-28 01:46:14 +05:00
#Setting intial variables
2021-04-25 14:59:31 +05:00
BML_URL='https://www.bankofmaldives.com.mv/internetbanking/api'
COOKIE=/tmp/bmlcookie
CREDENTIALS=.env
2021-04-25 22:50:50 +05:00
#Setting terminal output colors
2021-04-28 19:15:19 +05:00
red=`tput setaf 1`
green=`tput setaf 2`
2021-04-28 19:18:59 +05:00
brown=`tput setaf 3`
blue=`tput setaf 4`
pink=`tput setaf 5`
cyan=`tput setaf 6`
gray=`tput setaf 7`
darkgray=`tput setaf 8`
lightred=`tput setaf 9`
lightgreen=`tput setaf 10`
yellow=`tput setaf 11`
2021-04-28 19:15:19 +05:00
reset=`tput sgr0`
2021-04-25 14:59:31 +05:00
source readpass.sh