Skip to content

Commit

Permalink
v4
Browse files Browse the repository at this point in the history
  • Loading branch information
nk-ava committed Dec 25, 2023
1 parent 2cf1c6a commit 0945cf9
Show file tree
Hide file tree
Showing 31 changed files with 67 additions and 226 deletions.
44 changes: 43 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,2 +1,44 @@
# mys_geetest_demo
米游社验证demo

* 用于手动过米游社的geetest验证,支持v3和v4

#### 环境

* jdk1.8

#### 部署

```
> java -jar geetest-0.0.2.jar
```

#### 使用方法

* 请求验证

```text
方法: get
路径: /verification或者/
v3参数: gt=${}&new_captcha=${}&success=${}&challenge=${}
v4参数: gt=${}&risk_type=${}&mmt_key=${}&use_v4=true
注意: 参数必须全传,否则会显示缺少参数
```

* 轮询结果

```text
方法: get
路径: /result/get
参数: key=${}
key的构造方法:
使用MD5加密字符串
v3加密`challenge=${}&gt=${}`
v4加密`mmt_key=${}&gt=${}`
返回结果:
application/json
{"code":-1,"message":"缺少参数key","data":null}
```
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
<packaging>jar</packaging>
<groupId>pm</groupId>
<artifactId>geetest</artifactId>
<version>0.0.1-SNAPSHOT</version>
<version>0.0.2</version>
<name>geetest</name>
<description>Demo project for Spring Boot</description>
<properties>
Expand Down
1 change: 0 additions & 1 deletion src/main/resources/static/css/app.1bd5efdc.css

This file was deleted.

1 change: 0 additions & 1 deletion src/main/resources/static/css/app.568f63bf.css

This file was deleted.

1 change: 1 addition & 0 deletions src/main/resources/static/css/app.c3b7794a.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion src/main/resources/static/index.html
Original file line number Diff line number Diff line change
@@ -1 +1 @@
<!DOCTYPE html><html lang=en><head><meta charset=utf-8><meta http-equiv=X-UA-Compatible content="IE=edge"><meta name=viewport content="width=device-width,initial-scale=1"><link rel=icon href=/favicon.ico><title>GEETEST行为验证</title><link href=/css/app.568f63bf.css rel=preload as=style><link href=/js/app.5944d848.js rel=preload as=script><link href=/js/chunk-vendors.e750fa1a.js rel=preload as=script><link href=/css/app.568f63bf.css rel=stylesheet></head><body><noscript><strong>We're sorry but default doesn't work properly without JavaScript enabled. Please enable it to continue.</strong></noscript><div id=app></div><script src=/js/chunk-vendors.e750fa1a.js></script><script src=/js/app.5944d848.js></script></body></html>
<!DOCTYPE html><html lang=en><head><meta charset=utf-8><meta http-equiv=X-UA-Compatible content="IE=edge"><meta name=viewport content="width=device-width,initial-scale=1"><link rel=icon href=/favicon.ico><title>GEETEST行为验证</title><link href=/css/app.c3b7794a.css rel=preload as=style><link href=/js/app.9242d26c.js rel=preload as=script><link href=/js/chunk-vendors.d8092227.js rel=preload as=script><link href=/css/app.c3b7794a.css rel=stylesheet></head><body><noscript><strong>We're sorry but default doesn't work properly without JavaScript enabled. Please enable it to continue.</strong></noscript><div id=app></div><script src=/js/chunk-vendors.d8092227.js></script><script src=/js/app.9242d26c.js></script></body></html>
23 changes: 0 additions & 23 deletions src/main/resources/static/js/app.2911ccb7.js

This file was deleted.

1 change: 0 additions & 1 deletion src/main/resources/static/js/app.2911ccb7.js.map

This file was deleted.

23 changes: 0 additions & 23 deletions src/main/resources/static/js/app.4b9e41da.js

This file was deleted.

1 change: 0 additions & 1 deletion src/main/resources/static/js/app.4b9e41da.js.map

This file was deleted.

23 changes: 0 additions & 23 deletions src/main/resources/static/js/app.4c5510cc.js

This file was deleted.

1 change: 0 additions & 1 deletion src/main/resources/static/js/app.4c5510cc.js.map

This file was deleted.

1 change: 0 additions & 1 deletion src/main/resources/static/js/app.5944d848.js.map

This file was deleted.

23 changes: 0 additions & 23 deletions src/main/resources/static/js/app.722d15d0.js

This file was deleted.

1 change: 0 additions & 1 deletion src/main/resources/static/js/app.722d15d0.js.map

This file was deleted.

23 changes: 0 additions & 23 deletions src/main/resources/static/js/app.765967c9.js

This file was deleted.

1 change: 0 additions & 1 deletion src/main/resources/static/js/app.765967c9.js.map

This file was deleted.

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions src/main/resources/static/js/app.9242d26c.js.map

Large diffs are not rendered by default.

23 changes: 0 additions & 23 deletions src/main/resources/static/js/app.962ae0c8.js

This file was deleted.

1 change: 0 additions & 1 deletion src/main/resources/static/js/app.962ae0c8.js.map

This file was deleted.

23 changes: 0 additions & 23 deletions src/main/resources/static/js/app.e6bfb33e.js

This file was deleted.

1 change: 0 additions & 1 deletion src/main/resources/static/js/app.e6bfb33e.js.map

This file was deleted.

15 changes: 0 additions & 15 deletions src/main/resources/static/js/chunk-vendors.43eafb8d.js

This file was deleted.

1 change: 0 additions & 1 deletion src/main/resources/static/js/chunk-vendors.43eafb8d.js.map

This file was deleted.

15 changes: 15 additions & 0 deletions src/main/resources/static/js/chunk-vendors.d8092227.js

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions src/main/resources/static/js/chunk-vendors.d8092227.js.map

Large diffs are not rendered by default.

15 changes: 0 additions & 15 deletions src/main/resources/static/js/chunk-vendors.e5ecfd01.js

This file was deleted.

1 change: 0 additions & 1 deletion src/main/resources/static/js/chunk-vendors.e5ecfd01.js.map

This file was deleted.

15 changes: 0 additions & 15 deletions src/main/resources/static/js/chunk-vendors.e750fa1a.js

This file was deleted.

1 change: 0 additions & 1 deletion src/main/resources/static/js/chunk-vendors.e750fa1a.js.map

This file was deleted.

0 comments on commit 0945cf9

Please sign in to comment.