We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
第一次调用结果为b8542eca05ca0f2042a48179bada006b,后面调用为9378351b56c3f4f645a1e28571f3f3b8,求MD5字符串为:{"msg": "", "code": 200, "data": {"scan_policy": {"rules": [{"sensitive_level": 3, "rule_info": "\u626b\u63cf\u5408\u540c\u6587\u4ef6", "tags": ["\u5408\u540c", "\u5546\u4e1a\u79d8\u5bc6"], "rule_name": "dlp_file_scan_rule_001", "filters": {"must": [], "connect_type": "and", "should": [{"field": "file_content", "params": [{"key": "language", "value": "cn"}, {"key": "int_min_match", "value": "3"}], "method": "aho_corasick", "value": ["\u5408\u540c", "\u4f17\u5b89\u79d1\u6280", "\u4f17\u5b89\u4fdd\u9669", "\u91d1\u989d"], "tags": ["\u4e2d\u6587\u5408\u540c"]}, {"field": "file_content", "params": [{"key": "language", "value": "en"}, {"key": "int_min_match", "value": "3"}], "method": "aho_corasick", "value": ["contract", "zhongan", "amount"], "tags": ["\u82f1\u6587\u5408\u540c"]}, {"field": "file_name", "params": [{"key": "language", "value": "en"}, {"key": "int_min_match", "value": "1"}], "method": "contains", "value": ["\u5408\u540c", "contracts"], "tags": ["\u6587\u4ef6\u540d\u5305\u542b\u5408\u540c"]}]}, "fileTypes": ["doc", "docx", "ppt", "pptx"], "rule_id": 1}, {"sensitive_level": 4, "rule_info": "\u5305\u542b\u7528\u6237\u8eab\u4efd\u654f\u611f\u4fe1\u606f\u7684\u6587\u4ef6", "tags": ["\u624b\u673a\u53f7", "\u94f6\u884c\u5361\u53f7", "\u8eab\u4efd\u8bc1", "\u90ae\u7bb1"], "rule_name": "dlp_file_scan_rule_002", "filters": {"must": [{"field": "file_content", "params": [{"key": "language", "value": "cn"}, {"key": "int_min_match", "value": "2"}], "method": "user_info", "value": ["bank_card", "id_number", "email", "phone"], "tags": []}], "connect_type": "and", "should": []}, "fileTypes": ["doc", "docx", "ppt", "pptx", "xls", "xlsx"], "rule_id": 2}, {"sensitive_level": 2, "rule_info": "\u7b80\u5386\u6587\u4ef6", "tags": ["\u7b80\u5386"], "rule_name": "dlp_file_scan_rule_003", "filters": {"must": [], "connect_type": "and", "should": [{"field": "file_simhash", "params": [{"key": "language", "value": "cn"}, {"key": "int_distance", "value": "3"}], "method": "simhash_distance", "value": ["2200560496555275593"], "tags": ["\u730e\u8058\u7b80\u5386"]}, {"field": "file_simhash", "params": [{"key": "language", "value": "cn"}, {"key": "int_distance", "value": "3"}], "method": "simhash_distance", "value": ["2200560496555275593"], "tags": ["51job\u7b80\u5386"]}]}, "fileTypes": ["doc", "docx", "ppt", "pptx", "xls", "xlsx"], "rule_id": 3}, {"sensitive_level": 4, "rule_info": "\u6b63\u5219\u5339\u914d\u89c4\u5219\u793a\u4f8b,\u5339\u914d\u542b\u6709AK\u7684\u6587\u4ef6", "tags": ["AK"], "rule_name": "dlp_file_scan_rule_004", "filters": {"must": [{"field": "file_content", "params": [{"key": "int_min_match", "value": "3"}], "method": "regex", "value": ["QUt8QWt8YWt8YUs="], "tags": ["\u5bc6\u94a5\u4fe1\u606f"]}], "connect_type": "and", "should": []}, "fileTypes": ["doc", "docx", "ppt", "pptx", "xls", "xlsx"], "rule_id": 4}], "rules_version": 1, "enable": true, "threads": 3, "performance_limits": {"max_cpu": 10, "max_mem": 20}}, "acl_policy": {"usb_acl": {"default_action": "notify", "device_list": [{"vid": "vid", "pid": "", "sn": "", "aciton": "notify"}, {"vid": "0B95", "pid": "1790", "sn": "000000000009A7", "aciton": "permit"}, {"vid": "vid", "pid": "", "sn": "", "aciton": "deny"}]}}, "tracking_policy": {"screen": {"text": {"endpoint_info": {"color": "#ff0000", "enable": true, "type": 1, "transparency": 123, "size": 16}, "title": {"color": "#ff0000", "enable": false, "value": "\u4f17\u5b89\u79d1\u6280", "transparency": 123, "size": 26}}, "dot": {"color": "#ff0000", "distance": 20, "enable": true, "radius": 2, "transparency": 255}}}, "defense_policy": {"enable": true, "upload_defence": {"threshold": [1, 3], "processes": ["chrome.exe", "WeChat.exe", "WXWork.exe", "QQ.exe", "notepad.exe"], "enable": true}, "paste_defence": {"rules": [{"sensitive_level": 3, "rule_info": "\u5305\u542b\u7528\u6237\u4fe1\u606f\u7684\u7c98\u8d34\u5185\u5bb9", "tags": ["\u7528\u6237\u4fe1\u606f"], "rule_name": "pause_content_scan_rule1", "filters": {"must": [{"field": "file_content", "params": [{"key": "language", "value": "cn"}, {"key": "int_min_match", "value": "2"}], "method": "user_info", "value": ["bank_card", "id_number", "email", "phone"], "tags": []}], "connect_type": "and", "should": []}, "rule_id": 1}, {"sensitive_level": 3, "rule_info": "\u5305\u542bAK\u4fe1\u606f\u7684\u7c98\u8d34\u5185\u5bb9", "tags": ["AK"], "rule_name": "pause_content_scan_rule2", "filters": {"must": [{"field": "file_content", "params": [{"key": "int_min_match", "value": "3"}], "method": "regex", "value": ["QUt8QWt8YWt8YUs="], "tags": ["AK\u5bc6\u94a5"]}], "connect_type": "and", "should": []}, "rule_id": 2}], "threshold": [1, 3], "processes": ["chrome.exe", "WeChat.exe", "QQ.exe", "notepad.exe"], "enable": true}, "file_copy_defence": {"threshold": [1, 3], "enable": true}, "file_print_defence": {"threshold": [1, 3], "enable": true}}}}
The text was updated successfully, but these errors were encountered:
Sorry, something went wrong.
on linux echo "mohammed" | md5sum 864dcf65a9ff4cd5a226264a93de87d0 -using the project g++ test.cpp md5.cpp md5.h mo@mo:~/code/md5-master/src$ ./a.out md5("mohammed") = d79cd06799863224b7324d969c1e2084
echo will append source text with a newline character, thus you got the different hash. try echo -n "mohammed" | md5sum
@leaf-lxh yes it`s work thank you
No branches or pull requests
第一次调用结果为b8542eca05ca0f2042a48179bada006b,后面调用为9378351b56c3f4f645a1e28571f3f3b8,求MD5字符串为:{"msg": "", "code": 200, "data": {"scan_policy": {"rules": [{"sensitive_level": 3, "rule_info": "\u626b\u63cf\u5408\u540c\u6587\u4ef6", "tags": ["\u5408\u540c", "\u5546\u4e1a\u79d8\u5bc6"], "rule_name": "dlp_file_scan_rule_001", "filters": {"must": [], "connect_type": "and", "should": [{"field": "file_content", "params": [{"key": "language", "value": "cn"}, {"key": "int_min_match", "value": "3"}], "method": "aho_corasick", "value": ["\u5408\u540c", "\u4f17\u5b89\u79d1\u6280", "\u4f17\u5b89\u4fdd\u9669", "\u91d1\u989d"], "tags": ["\u4e2d\u6587\u5408\u540c"]}, {"field": "file_content", "params": [{"key": "language", "value": "en"}, {"key": "int_min_match", "value": "3"}], "method": "aho_corasick", "value": ["contract", "zhongan", "amount"], "tags": ["\u82f1\u6587\u5408\u540c"]}, {"field": "file_name", "params": [{"key": "language", "value": "en"}, {"key": "int_min_match", "value": "1"}], "method": "contains", "value": ["\u5408\u540c", "contracts"], "tags": ["\u6587\u4ef6\u540d\u5305\u542b\u5408\u540c"]}]}, "fileTypes": ["doc", "docx", "ppt", "pptx"], "rule_id": 1}, {"sensitive_level": 4, "rule_info": "\u5305\u542b\u7528\u6237\u8eab\u4efd\u654f\u611f\u4fe1\u606f\u7684\u6587\u4ef6", "tags": ["\u624b\u673a\u53f7", "\u94f6\u884c\u5361\u53f7", "\u8eab\u4efd\u8bc1", "\u90ae\u7bb1"], "rule_name": "dlp_file_scan_rule_002", "filters": {"must": [{"field": "file_content", "params": [{"key": "language", "value": "cn"}, {"key": "int_min_match", "value": "2"}], "method": "user_info", "value": ["bank_card", "id_number", "email", "phone"], "tags": []}], "connect_type": "and", "should": []}, "fileTypes": ["doc", "docx", "ppt", "pptx", "xls", "xlsx"], "rule_id": 2}, {"sensitive_level": 2, "rule_info": "\u7b80\u5386\u6587\u4ef6", "tags": ["\u7b80\u5386"], "rule_name": "dlp_file_scan_rule_003", "filters": {"must": [], "connect_type": "and", "should": [{"field": "file_simhash", "params": [{"key": "language", "value": "cn"}, {"key": "int_distance", "value": "3"}], "method": "simhash_distance", "value": ["2200560496555275593"], "tags": ["\u730e\u8058\u7b80\u5386"]}, {"field": "file_simhash", "params": [{"key": "language", "value": "cn"}, {"key": "int_distance", "value": "3"}], "method": "simhash_distance", "value": ["2200560496555275593"], "tags": ["51job\u7b80\u5386"]}]}, "fileTypes": ["doc", "docx", "ppt", "pptx", "xls", "xlsx"], "rule_id": 3}, {"sensitive_level": 4, "rule_info": "\u6b63\u5219\u5339\u914d\u89c4\u5219\u793a\u4f8b,\u5339\u914d\u542b\u6709AK\u7684\u6587\u4ef6", "tags": ["AK"], "rule_name": "dlp_file_scan_rule_004", "filters": {"must": [{"field": "file_content", "params": [{"key": "int_min_match", "value": "3"}], "method": "regex", "value": ["QUt8QWt8YWt8YUs="], "tags": ["\u5bc6\u94a5\u4fe1\u606f"]}], "connect_type": "and", "should": []}, "fileTypes": ["doc", "docx", "ppt", "pptx", "xls", "xlsx"], "rule_id": 4}], "rules_version": 1, "enable": true, "threads": 3, "performance_limits": {"max_cpu": 10, "max_mem": 20}}, "acl_policy": {"usb_acl": {"default_action": "notify", "device_list": [{"vid": "vid", "pid": "", "sn": "", "aciton": "notify"}, {"vid": "0B95", "pid": "1790", "sn": "000000000009A7", "aciton": "permit"}, {"vid": "vid", "pid": "", "sn": "", "aciton": "deny"}]}}, "tracking_policy": {"screen": {"text": {"endpoint_info": {"color": "#ff0000", "enable": true, "type": 1, "transparency": 123, "size": 16}, "title": {"color": "#ff0000", "enable": false, "value": "\u4f17\u5b89\u79d1\u6280", "transparency": 123, "size": 26}}, "dot": {"color": "#ff0000", "distance": 20, "enable": true, "radius": 2, "transparency": 255}}}, "defense_policy": {"enable": true, "upload_defence": {"threshold": [1, 3], "processes": ["chrome.exe", "WeChat.exe", "WXWork.exe", "QQ.exe", "notepad.exe"], "enable": true}, "paste_defence": {"rules": [{"sensitive_level": 3, "rule_info": "\u5305\u542b\u7528\u6237\u4fe1\u606f\u7684\u7c98\u8d34\u5185\u5bb9", "tags": ["\u7528\u6237\u4fe1\u606f"], "rule_name": "pause_content_scan_rule1", "filters": {"must": [{"field": "file_content", "params": [{"key": "language", "value": "cn"}, {"key": "int_min_match", "value": "2"}], "method": "user_info", "value": ["bank_card", "id_number", "email", "phone"], "tags": []}], "connect_type": "and", "should": []}, "rule_id": 1}, {"sensitive_level": 3, "rule_info": "\u5305\u542bAK\u4fe1\u606f\u7684\u7c98\u8d34\u5185\u5bb9", "tags": ["AK"], "rule_name": "pause_content_scan_rule2", "filters": {"must": [{"field": "file_content", "params": [{"key": "int_min_match", "value": "3"}], "method": "regex", "value": ["QUt8QWt8YWt8YUs="], "tags": ["AK\u5bc6\u94a5"]}], "connect_type": "and", "should": []}, "rule_id": 2}], "threshold": [1, 3], "processes": ["chrome.exe", "WeChat.exe", "QQ.exe", "notepad.exe"], "enable": true}, "file_copy_defence": {"threshold": [1, 3], "enable": true}, "file_print_defence": {"threshold": [1, 3], "enable": true}}}}
The text was updated successfully, but these errors were encountered: