From 77ac4dca597c4e92ae60660f260151e4038c6384 Mon Sep 17 00:00:00 2001 From: Shihaam Abdul Rahman Date: Sat, 19 Oct 2024 02:42:57 +0500 Subject: [PATCH] that was a mistake, just stay quite and use whatever --- keepalive.sh | 8 +------- tx.sh | 6 +----- 2 files changed, 2 insertions(+), 12 deletions(-) diff --git a/keepalive.sh b/keepalive.sh index 6a01dbe..ddda2c1 100755 --- a/keepalive.sh +++ b/keepalive.sh @@ -1,13 +1,7 @@ #!/bin/bash -if [ -f .env ]; then - source .env -else - echo .env file not found, using env -fi - while true; do - +source .env 2> /dev/null curl 'https://faisanet.mib.com.mv/aProfile/keepAlive' \ -X 'POST' \ -H "cookie: prefTheme=1; ql_0=${QL_0}; IBSID=${IBSID}; dashboardStatsMode=1; _zwaf_ua=Brave; time-tracker=600" diff --git a/tx.sh b/tx.sh index 2296171..6b3c03b 100755 --- a/tx.sh +++ b/tx.sh @@ -1,10 +1,6 @@ #!/bin/bash -if [ -f .env ]; then - source .env -else - echo .env file not found, using env -fi +source .env 2> /dev/null curl 'https://faisanet.mib.com.mv/ajaxAccounts/trxHistory' \ -H "cookie: prefTheme=1; ql_0=${QL_0}; IBSID=${IBSID}; dashboardStatsMode=1; _zwaf_ua=Brave" \