当前位置:网站首页>Alipay failed to verify the signature (sandbox test indicates fishing risk?) [original]
Alipay failed to verify the signature (sandbox test indicates fishing risk?) [original]
2022-06-26 04:20:00 【Telkobe】
Alipay PC Payment synchronization jump signature verification failed , The general reason is that many people will configure the Alipay public key in the configuration to the application public key, resulting in failure , This is not the reason why I directly exclude .
By printing the received parameters, some fishy things are found .

The signature verification fails because there is a parameter not related to payment in the received packet , This is the culprit s, Finally, it was found that it was used before TP, Replace the back with Laravel after nginx The configuration of is copied directly , The rewriting part is also used TP Configuration of , As a result, there is one more in the received data s Parameters , Just modify the rewriting part .
Before the change :
location / {
index index.html index.htm index.php;
if (!-e $request_filename) {
rewrite ^(.*)$ /index.php?s=/$1 last;
break;
}
autoindex off;
}After modification :
location / {
index index.html index.htm index.php;
try_files $uri $uri/ /index.php?$query_string;
autoindex off;
}There's another problem , Sandbox test PC Prompt for fishing risk during payment

Open a new browser test directly
边栏推荐
- Lua grammar explanation
- A brain map to summarize the needs analysis (a supplement to the actual situation at work)
- Database related knowledge
- How do wechat applets delay? Timing? Execute a piece of code after? (kengji)
- Syntax error of go language generic in IDE
- Swagger
- ctf [RoarCTF 2019]easy_ calc
- [Qunhui] Internet access + custom port
- Implementation of seven classes of BlockingQueue interface
- 线程同步之条件变量
猜你喜欢

What if the serial port fails to open when the SCM uses stc-isp to download software?

35岁程序员炒Luna 千万资产3天归零,网友:和赌博一样
![[QT] dialog box](/img/ca/e65a0c167a4509f7c6a241870f6a32.png)
[QT] dialog box

Minecraft 1.16.5 生化8 模组 1.9版本 1.18版本同步

Implementation of seven classes of BlockingQueue interface

力扣 515. 在每个树行中找最大值

NPM installation tutorial

1. foundation closing

CTF serialization and deserialization

The statistics in the MySQL field become strings, and then they are converted into numbers for sorting
随机推荐
[Nuggets' operation routine disclosure] the routine of being truly Nuggets
Detailed explanation of widget construction process of fluent
[geek challenge 2019] rce me
Read / write lock for thread synchronization
Spark - understand parquet
Oracle data pump table
In the matter of getting customers at sea, how can advertisers play besides digital advertising?
微软禁止俄用户下载安装Win10/11
pip 批量完全卸载包
win10 系统打开的软件太小,如何变大(亲测有效)
[QT] resource file import
SQL related knowledge - DDL
1. foundation closing
Yolov5 improvements: replace the backbone
1064 (42000) error occurred when installing MySQL and modifying root password
【QT】资源文件导入
軟件調試測試的十大重要基本准則
Using jsup to extract images from interfaces
Conditional variables for thread synchronization
CTF crypto (I) some simple encoding and encryption