# 复制这段代码保存为 9char.sh 然后运行
#!/bin/bash
gen() { cat /dev/urandom | tr -dc 'a-zA-Z' | head -c 9; }
ZIP=$(ls *.zip 2>/dev/null | head -1)
[ -z "$ZIP" ] && echo "No zip" && exit 1
unzip -o -q "$ZIP"
N1=$(gen); N2="$(gen).so"
sed -i "s/反作弊/$N1/g; s/腾讯.so/$N2/g" "09注入.sh"
mv "反作弊" "$N1"; mv "腾讯.so" "$N2"
tar -czf "Output_$(date +%s).tar.gz" "09注入.sh" "$N1" "$N2"
rm -f "09注入.sh" "$N1" "$N2"
echo "Done! Output file created."
echo "9-char names: $N1 ${N2%.so}"