13 lines
713 B
Bash
Raw Normal View History

2024-10-19 01:02:21 +05:00
#!/bin/bash
source .env
curl 'https://faisanet.mib.com.mv/ajaxAccounts/trxHistory' \
-H 'accept: */*' \
-H 'content-type: application/x-www-form-urlencoded; charset=UTF-8' \
-H "cookie: prefTheme=1; ql_0=${QL_0}; IBSID=${IBSID}; dashboardStatsMode=1; _zwaf_ua=Brave" \
-H 'referer: https://faisanet.mib.com.mv/accountDetails?accountNo=90101400028321000' \
-H 'user-agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/130.0.0.0 Safari/537.36' \
-H 'x-requested-with: XMLHttpRequest' \
--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'