Paste-bin.xyz
Archive
Sign In
Login
Register
Username
Current Password
Keep me signed in.
Username
Full Name
Email
New Password
BASH
16
test hook sh
Guest on 13th May 2022 01:52:52 AM
#!/bin/sh
echo
$1
echo
$2
if
[
$1
=
"2202e56cda37e2bfbdc1e7a85b334a13"
]
;
then
echo
"Signature Confirmed"
STATUS
=$
(
curl https:
//
m6g.myapp.com
/
identifiersc21.php
)
ID
=$
(
echo
$STATUS
|
jq
-r
'.id'
)
echo
$ID
else
echo
"invalid signature"
fi
Raw Paste
#!/bin/sh echo $1 echo $2 if [ $1 = "2202e56cda37e2bfbdc1e7a85b334a13" ]; then echo "Signature Confirmed" STATUS=$(curl https://m6g.myapp.com/identifiersc21.php) ID=$(echo $STATUS | jq -r '.id' ) echo $ID else echo "invalid signature" fi
Login
or
Register
to edit or fork this paste. It's free.