13 lines
713 B
Bash
Executable File
13 lines
713 B
Bash
Executable File
#!/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'
|