#!/bin/sh
code="[payload removed: 2800 characters]"
md5="9a968180be46c235630c1f1d12f73c66"
sha1="31f9d5d3de952b044ce982b52f0e03555d3b6ce6"
sha256="5dbdfc6fc5fd3467a2a19ad61da74d2f584e4175119b62caa184df52528c0693"
crc32="3025258796"

# 解密
script=$(echo -n "$code" | base64 -d 2>/dev/null)

# 校验
check_md5=$(echo -n "$script" | md5sum | awk '{print $1}')
check_sha1=$(echo -n "$script" | sha1sum | awk '{print $1}')
check_sha256=$(echo -n "$script" | sha256sum | awk '{print $1}')
check_crc32=$(echo -n "$script" | cksum | awk '{print $1}')

if [ "$check_md5" = "$md5" ] && [ "$check_sha1" = "$sha1" ] && [ "$check_sha256" = "$sha256" ] && [ "$check_crc32" = "$crc32" ]; then
eval "$script"
else
echo "校验失败"
exit 1
fi
