Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

无法添加扫描任务 #1

Open
ghost opened this issue Sep 25, 2019 · 2 comments
Open

无法添加扫描任务 #1

ghost opened this issue Sep 25, 2019 · 2 comments

Comments

@ghost
Copy link

ghost commented Sep 25, 2019

看了下脚本,发现在添加扫描的时候,少了一个ui_session_id的参数,这个脚本应该是适用于AWVS11的。

我自己也写了一个批量的脚本,目前是卡在无法自动获取ui_session_id,只能手动获取。
这个值是固定的,重新登陆后不变,每个账号都不同,但是可以混用。

POST /api/v1/scans HTTP/1.1
Host: localhost:3446
Content-Type: application/json;charset=UTF-8
X-Auth: XXXXXXXXX

{"ui_session_id": "XXXX", "profile_id": "11111111-1111-1111-1111-111111111111", "target_id": "XXXXXXX", "schedule": {"disable": false, "time_sensitive": false, "start_date": null}}
@wudicainiao
Copy link
Owner

12我可以提交啊

@ghost
Copy link
Author

ghost commented Oct 13, 2019

我这是Version: 12.0.190530102这个版本。
对比了11和12,12确实多一个ui_session_id参数,随便传个md5值就能用了

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant