2024-10-20 00:59:53 +05:00
|
|
|
#!/bin/bash
|
|
|
|
|
|
|
|
source .env 2> /dev/null
|
|
|
|
|
|
|
|
accountNo=$1
|
|
|
|
|
2025-01-10 07:52:09 +05:00
|
|
|
COOKIE=$(curl -s $COOKIE_SERVER/getcookie)
|
|
|
|
IBSID=$(echo $COOKIE | jq -r .IBSID)
|
|
|
|
QL_0=$(echo $COOKIE | jq -r .ql_0)
|
|
|
|
|
2024-10-20 00:59:53 +05:00
|
|
|
curl -s 'https://faisanet.mib.com.mv/ajaxBeneficiary/getAccountName' \
|
|
|
|
-H "cookie: ql_0=${QL_0}; IBSID=${IBSID}" \
|
|
|
|
--data-raw "accountNo=${accountNo}"
|