Usage: astra.py [-h] [-c COLLECTION_TYPE] [-n COLLECTION_NAME] [-u URL] [-headers HEADERS] [-method {GET,POST,PUT,DELETE}] [-b BODY] [-l LOGINURL] [-H LOGINHEADERS] [-d LOGINDATA] Astra - REST API Security testing Framework 可选参数: -h, --help 显示此帮助消息并退出 -c COLLECTION_TYPE, --collection_type COLLECTION_TYPE API collection 类型 -n COLLECTION_NAME, --collection_name COLLECTION_NAME API collection 名称 -u URL, --url URL 目标API的URL -headers HEADERS, --headers HEADERS 自定义首部 Example: {"token" : "123"} -method {GET,POST,PUT,DELETE}, --method {GET,POST,PUT,DELETE} HTTP请求方法 -b BODY, --body BODY API的请求主体 -l LOGINURL, --loginurl LOGINURL 登录API的URL -H LOGINHEADERS, --loginheaders LOGINHEADERS 首部应采用字典格式 Example: {"accesstoken" : "axzvbqdadf"} -d LOGINDATA, --logindata LOGINDATA API的登录数据