有没有大佬能帮忙解一个脚本,是一个短网址形式的

32次阅读

共计 2040 个字符,预计需要花费 6 分钟才能阅读完成。

curl s.qwq.pink/fe-vqwqqvwqow58 | sh 我想学习下这个内网穿透的自动设置脚本,苦于不知道真实地址和脚本内容,感谢各位 18cm 的了 xuhaoa 2023-05-14 10:32 2wget s.qwq.pink/fe-vqwqqvwqow58 emptysuns 2023-05-14 10:39 3 不说别的,这种靠请求头返回不同内容的脚本,10 个里面 9 个加了料 Laoliu 2023-05-14 10:51 4cla=""clb=""clc=""cld=""cle=""clf=""clg=""cllg=""clcc=""frpPort="42329"clearecho "${cle}QwQ.Pink FRP Installer | Port: ${clf}$frpPort"projectPath="/opt/moecdn/qwqfrp/frpc"echo "${clb}Download and Install FRP …${clcc}"mkdir -p ${projectPath}rm -rf ${projectPath}/frpccurl –progress-bar –fail -o ${projectPath}/frpc http://file.qwq.pink/soft/frpc/frpcif [$? -eq 0]; then        echo "${cla}Download Success.${clcc}"else        echo "${clc}Download failed.${clcc}"        exit 1fichmod +x ${projectPath}/frpcsshPort=$(cat /etc/ssh/sshd_config|grep \’Port \’|awk \'{print $2}\’)cat << EOF > ${projectPath}/frpc.ini[common]server_addr = frp.qwq.pinkserver_port = 65000token = moecdn.qwq.pink[ssh_${frpPort}]type = tcplocal_ip = 127.0.0.1local_port = ${sshPort}remote_port = ${frpPort}EOFecho "${clb}Register and Enable FRP Service …${clcc}"cat << EOF > /lib/systemd/system/qwqfrp.service[Unit]Description=QwQ.Pink Frp Client ServiceAfter=network.target[Service]User=rootPermissionsStartOnly=trueExecStart=${projectPath}/frpc -c ${projectPath}/frpc.iniExecReload=${projectPath}/frpc reload -c ${projectPath}/frpc.iniKillMode=processRestart=alwaysRestartSec=5sTimeoutStartSec=30s[Install]WantedBy=multi-user.targetEOFsystemctl daemon-reloadsystemctl enable qwqfrpsystemctl restart qwqfrpsystemctl start qwqfrpsed -i -e \’/^[#]*UseDNS yes*/cUseDNS no\’ /etc/ssh/sshd_configsed -i -e \’/^[#]*GSSAPIAuthentication yes*/cGSSAPIAuthentication no\’ /etc/ssh/sshd_configecho ""echo "${cla}Everything is ok.${clcc}"echo ""echo "${cla}/*====================================================*\\"echo "${cla} |                                                    |"echo "${cla} |   ${clb}Your FRP Connect IP   ${cld}: ${clf}${frpPort}.frp.qwq.pink       ${cla}|"echo "${cla} |   ${clb}Your FRP Connect Port ${cld}: ${clf}${frpPort}                    ${cla}|"echo "${cla} |                                                    |"echo "${cla}\\\\*====================================================*/"echo "${clcc}" 复制代码

正文完
 0