lmao.. varaible account number

This commit is contained in:
Shihaam Abdul Rahman 2024-10-22 01:44:05 +05:00
parent f43ec48fb1
commit 227b5e9e58
Signed by: shihaam
GPG Key ID: 6DA2E87EBC227636
2 changed files with 2 additions and 1 deletions

View File

@ -2,6 +2,7 @@ USERNAME=
PASSWORD=
TOTP_SEED=
ACCOUNT_NUMBER=
#Cookie
QL_0=

2
tx.sh
View File

@ -4,5 +4,5 @@ source .env 2> /dev/null
curl 'https://faisanet.mib.com.mv/ajaxAccounts/trxHistory' \
-H "cookie: ql_0=${QL_0}; IBSID=${IBSID}" \
--data-raw 'accountNo=90101400028321000&trxNo=&trxType=0&sortTrx=date&sortDir=desc&fromDate=&toDate=&start=1&end=20&includeCount=1' -s \
--data-raw "accountNo=${ACCOUNT_NUMBER}&trxNo=&trxType=0&sortTrx=date&sortDir=desc&fromDate=&toDate=&start=1&end=20&includeCount=1" -s \
| sed 's/"benefName":"BML - /"benefName":"/g'