2024-10-19 01:02:21 +05:00
|
|
|
#!/bin/bash
|
|
|
|
|
2024-10-19 02:35:38 +05:00
|
|
|
if [ -f .env ]; then
|
|
|
|
source .env
|
|
|
|
else
|
|
|
|
echo .env file not found, using env
|
|
|
|
fi
|
2024-10-19 01:02:21 +05:00
|
|
|
|
|
|
|
curl 'https://faisanet.mib.com.mv/ajaxAccounts/trxHistory' \
|
|
|
|
-H "cookie: prefTheme=1; ql_0=${QL_0}; IBSID=${IBSID}; dashboardStatsMode=1; _zwaf_ua=Brave" \
|
2024-10-19 02:03:16 +05:00
|
|
|
--data-raw 'accountNo=90101400028321000&trxNo=&trxType=0&sortTrx=date&sortDir=desc&fromDate=&toDate=&start=1&end=2&includeCount=1' -s \
|
|
|
|
| sed 's/"benefName":"BML - /"benefName":"/g'
|