#!/bin/bashINPUT="$1"LEN=$(echo -n "$INPUT" | wc -c)PORT="1234"if [ "$LEN" == "0" ] || [ "$INPUT" == "-h" ] || [ "$UID" != "0" ]then echo -e "\nUsage: sudo $0 <POST data>\n" exit 1ficp $(which qemu-mipsel-static) ./qemuecho "$INPUT" | chroot . qemu -E REQUEST_METHOD="POST" -E CONTENT_LENGTH=$LEN -E CONTENT_TYPE="multipart/x-form-data" -E REMOTE_ADDR="1.1.1.100" -g $PORT /usr/bin/my_cgi.cgi 2>/dev/null
[注意]传递专业知识、拓宽行业人脉——看雪讲师团队等你加入!