弱口令列表
更新時間 2025-07-09 15:31:52
最近更新時間: 2025-07-09 15:31:52
分享文章
接口功能介紹
統計最近一次弱口令檢測掃描出的信息。
接口約束
此功能為收費功能。確認已經購買系統配額,并且開啟服務器防護。如果沒有購買配額,可按照頁面提示進行購買。如果沒有開啟防護,請在服務器列表頁開啟機器防護。
URI
POST /v1/weakpw/list
路徑參數
無
Query參數
無
請求參數
請求頭header參數
| 參數 | 是否必填 | 參數類型 | 說明 | 示例 | 下級對象 |
|---|---|---|---|---|---|
| regionid | 是 | String | 資源池id | 100054c0416811e9a6690242ac110002 | |
| urlType | 是 | String | 請求地址類型。CTAPI | CTAPI | |
| Content-Type | 是 | String | Content-Type | application/json |
請求體body參數
| 參數 | 是否必填 | 參數類型 | 說明 | 示例 | 下級對象 |
|---|---|---|---|---|---|
| currentPage | 是 | Integer | 當前頁 | 1 | |
| pageSize | 是 | Integer | 每頁條數 | 10 | |
| paramType | 否 | Integer | 1. 服務器名稱;2.服務器ip | 1 | |
| param | 否 | String | 具體搜索內容(與paramType同時使用) | test | |
| checkType | 否 | Integer | 1:系統弱口令:2:應用弱口令,默認為系統弱口令 | 1 |
響應參數
| 參數 | 參數類型 | 說明 | 示例 | 下級對象 |
|---|---|---|---|---|
| statusCode | String | 狀態碼 200-成功 | ||
| error | String | 返回碼 CTCSSCN_000000:成功 CTCSSCN_000001:失敗 CTCSSCN_000003:用戶未簽署協議,安全衛士系統無法正常使用 CTCSSCN_000004:鑒權錯誤 CTCSSCN_000005:用戶沒有付費版配額,功能不可用 |
CTCSSCN_000000 | |
| message | String | 返回信息 | 成功 | |
| returnObj | Object | 返回對象 | map |
表 map
| 參數 | 參數類型 | 說明 | 示例 | 下級對象 |
|---|---|---|---|---|
| total | Integer | 記錄總數 | 5 | |
| pageSize | Integer | 頁大小 | 10 | |
| pageNum | Integer | 當前頁 | 1 | |
| pages | Integer | 總頁數 | 1 | |
| list | Array of Objects | 弱口令列表信息 | serverlist |
表 serverlist
| 參數 | 參數類型 | 說明 | 示例 | 下級對象 |
|---|---|---|---|---|
| agentIp | String | 私網IP | 172.31.0.71 | |
| publicIp | String | 公網IP | 172.31.0.71 | |
| custName | String | 服務器名稱 | vm-1634888455-0003 | |
| agentGuid | String | agentGuid | 2F828AAE-55BF-410D-B393-C053AC8742F4 | |
| userName | String | 用戶名 | test | |
| weakType | String | 弱口令類型 | 常見弱密碼 | |
| passwd | String | 密碼值 | D*** | |
| timestamp | String | 最后更新時間 | 2022-07-08 17:12:01 | |
| findTime | String | 發現時間 | 2022-07-08 17:12:01 | |
| app | String | 應用 | mysql | |
| version | String | 應用版本 | 3.2.1 |
枚舉參數
無
請求示例
請求url
無
請求頭header
{"regionid": "100054c0416811e9a6690242ac110002","Content-Type":"application/json","urlType": "CTAPI"}
請求體body
{"checkType":1,"currentPage":1,"pageSize":10}
響應示例
{"statusCode": "200","error": "CTCSSCN_000000","message": "查詢成功!","returnObj":{"total": 15,"list": [{"custName": "vm-76","publicIp": null,"agentIp": "192.168.0.76","agentGuid": "C39CD1FD-BEC1-44BF-ACF5-F7C412BD590C","userName": "test","findTime": "2022-10-09 10:16:38","timestamp": "2022-10-18 15:44:55","weakType": "Common weak password","passwd": "1***","app": null,"version": null},{"custName": "vm-27","publicIp": null,"agentIp": "192.168.0.27","agentGuid": "DAF3C42D-4983-4CBC-ABA5-0A06DA93F209","userName": "test","findTime": "2022-10-08 17:52:57","timestamp": "2022-10-09 10:16:51","weakType": "Common weak password","passwd": "1***","app": null,"version": null},{"custName": "Ubuntu1804-az1-1","publicIp": null,"agentIp": "192.168.0.7","agentGuid": "8BD932FF-903A-5CF6-547C-35263BF370E2","userName": "test","findTime": "2022-05-30 22:12:51","timestamp": "2022-08-13 16:02:05","weakType": "Common weak password","passwd": "1***","app": null,"version": null},{"custName": "Ubuntu1804-az1-1","publicIp": null,"agentIp": "192.168.0.7","agentGuid": "8BD932FF-903A-5CF6-547C-35263BF370E2","userName": "user1","findTime": "2022-05-30 22:12:51","timestamp": "2022-08-13 16:02:05","weakType": "Common weak password","passwd": "a***","app": null,"version": null},{"custName": "win2008-az1-1","publicIp": null,"agentIp": "192.168.0.9","agentGuid": "E01D1506-5095-E2DA-4DA5-6095BA687768","userName": "test","findTime": "2022-06-16 11:20:37","timestamp": "2022-08-13 16:00:09","weakType": "Common weak password","passwd": "A***","app": null,"version": null},{"custName": "win2012-az1-1","publicIp": null,"agentIp": "192.168.0.8","agentGuid": "2AE09314-D89E-24B2-F22E-9E4687A23A00","userName": "test","findTime": "2022-06-16 11:20:35","timestamp": "2022-08-13 16:00:09","weakType": "Common weak password","passwd": "A***","app": null,"version": null},{"custName": "win2016-az1-1","publicIp": null,"agentIp": "192.168.0.10","agentGuid": "FD48D74A-83A0-2C0B-E48D-81EDE3BA36C3","userName": "test","findTime": "2022-06-16 11:20:36","timestamp": "2022-08-13 16:00:06","weakType": "Common weak password","passwd": "a***","app": null,"version": null},{"custName": "win2019-az1-1","publicIp": null,"agentIp": "192.168.0.11","agentGuid": "0C5CAEA9-39BC-FC86-2EE9-9EEB5F64DFCC","userName": "test","findTime": "2022-06-16 15:59:58","timestamp": "2022-08-13 16:00:06","weakType": "Common weak password","passwd": "a***","app": null,"version": null},{"custName": "Ubuntu1804-az1-2","publicIp": null,"agentIp": "192.168.0.15","agentGuid": "C10B11E9-367C-A9F1-9111-B7E1222523D1","userName": "ruo","findTime": "2022-05-26 17:07:48","timestamp": "2022-08-13 15:54:51","weakType": "Common weak password","passwd": "1***","app": null,"version": null},{"custName": "Ubuntu1804-az1-2","publicIp": null,"agentIp": "192.168.0.15","agentGuid": "C10B11E9-367C-A9F1-9111-B7E1222523D1","userName": "test","findTime": "2022-05-24 20:18:01","timestamp": "2022-08-13 15:54:51","weakType": "Common weak password","passwd": "1***","app": null,"version": null}],"pageNum": 1,"pageSize": 10,"size": 0,"startRow": 0,"endRow": 0,"pages": 2,"prePage": 0,"nextPage": 0,"isFirstPage": false,"isLastPage": false,"hasPreviousPage": false,"hasNextPage": false,"navigatePages": 0,"navigatepageNums": null,"navigateFirstPage": 0,"navigateLastPage": 0}}
狀態碼
請參考
錯誤碼
請參考