{"id":2829,"date":"2023-08-24T14:39:03","date_gmt":"2023-08-24T06:39:03","guid":{"rendered":"https:\/\/www.cloudbypass.com\/tutorial\/?p=2829"},"modified":"2024-04-30T20:07:33","modified_gmt":"2024-04-30T12:07:33","slug":"%e6%97%a0%e9%98%bb%e7%88%ac%e5%8f%96%e5%88%a9%e5%99%a8%ef%bc%9a%e5%85%ab%e7%88%aa%e9%b1%bc%e9%87%87%e9%9b%86%e5%99%a8%e7%bb%93%e5%90%88%e7%a9%bf%e4%ba%91api%e5%ba%94%e5%af%b9captcha%e9%aa%8c%e8%af%81","status":"publish","type":"post","link":"https:\/\/www.cloudbypass.com\/tutorial\/2829.html","title":{"rendered":"\u65e0\u963b\u722c\u53d6\u5229\u5668\uff1a\u516b\u722a\u9c7c\u91c7\u96c6\u5668\u7ed3\u5408\u7a7f\u4e91API\u5e94\u5bf9CAPTCHA\u9a8c\u8bc1\u4e0eWAF"},"content":{"rendered":"\n<p>\u3000\u3000\u5728\u5f53\u4eca\u6570\u5b57\u5316\u65f6\u4ee3\uff0c\u6570\u636e\u88ab\u5e7f\u6cdb\u8ba4\u4e3a\u662f\u4f01\u4e1a\u51b3\u7b56\u548c\u5e02\u573a\u6d1e\u5bdf\u7684\u6838\u5fc3\u3002\u7136\u800c\uff0c\u968f\u7740\u4e92\u8054\u7f51\u6280\u672f\u7684\u53d1\u5c55\uff0c\u8d8a\u6765\u8d8a\u591a\u7684\u7f51\u7ad9\u91c7\u7528\u4e86\u9a8c\u8bc1\u7801\u6280\u672f\u4ee5\u53caWeb\u5e94\u7528\u9632\u706b\u5899\uff08WAF\uff09\u7b49\u673a\u5236\uff0c\u4ee5\u4fdd\u62a4\u81ea\u8eab\u514d\u53d7\u6076\u610f\u6293\u53d6\u548c\u673a\u5668\u4eba\u653b\u51fb\u3002\u8fd9\u4e9b\u673a\u5236\u867d\u7136\u63d0\u9ad8\u4e86\u7f51\u7edc\u5b89\u5168\u6027\uff0c\u5374\u4e5f\u5728\u4e00\u5b9a\u7a0b\u5ea6\u4e0a\u5f71\u54cd\u4e86\u6b63\u5e38\u7684\u6570\u636e\u6293\u53d6\u6d41\u7a0b\u3002\u516b\u722a\u9c7c\u91c7\u96c6\u5668\u4f5c\u4e3a\u4e00\u6b3e\u5168\u7f51\u901a\u7528\u7684\u4e92\u8054\u7f51\u6570\u636e\u91c7\u96c6\u5668\uff0c\u7ed3\u5408\u7a7f\u4e91API\uff0c\u4e3a\u7528\u6237\u63d0\u4f9b\u4e86\u5e94\u5bf9CAPTCHA\u9a8c\u8bc1\u548cWAF\u7684\u5f3a\u5927\u5229\u5668\u3002\u672c\u6587\u5c06\u6df1\u5165\u63a2\u8ba8\u516b\u722a\u9c7c\u91c7\u96c6\u5668\u53ca\u5176\u4e0e\u7a7f\u4e91API\u7684\u534f\u540c\u4f18\u52bf\uff0c\u4ee5\u53ca\u5728\u7ed5\u8fc7\u5b89\u5168\u673a\u5236\u7684\u5e94\u7528\u573a\u666f\u3002<\/p>\n\n\n\n<p>\u3000<strong>\u3000\u4e00\uff1a\u6570\u636e\u91c7\u96c6\u7684\u91cd\u8981\u6027\u4e0e\u96be\u9898<\/strong><\/p>\n\n\n\n<p>\u3000\u3000\u6570\u636e\u5728\u73b0\u4ee3\u4f01\u4e1a\u4e2d\u626e\u6f14\u7740\u5173\u952e\u89d2\u8272\uff0c\u4ece\u5e02\u573a\u6d1e\u5bdf\u5230\u7ade\u4e89\u5206\u6790\uff0c\u6570\u636e\u9a71\u52a8\u4e86\u51b3\u7b56\u7684\u667a\u6167\u3002\u7136\u800c\uff0c\u8bb8\u591a\u7f51\u7ad9\u4e3a\u4e86\u4fdd\u62a4\u81ea\u8eab\u5b89\u5168\uff0c\u91c7\u7528\u4e86CAPTCHA\u9a8c\u8bc1\u548cWAF\u7b49\u5b89\u5168\u673a\u5236\u3002CAPTCHA\u9a8c\u8bc1\u8981\u6c42\u7528\u6237\u8f93\u5165\u96be\u4ee5\u88ab\u673a\u5668\u8bc6\u522b\u7684\u9a8c\u8bc1\u7801\uff0c\u800cWAF\u5219\u76d1\u6d4b\u548c\u62e6\u622a\u53ef\u80fd\u7684\u6076\u610f\u6d41\u91cf\u3002\u8fd9\u4e9b\u5b89\u5168\u673a\u5236\u5728\u4e00\u5b9a\u7a0b\u5ea6\u4e0a\u786e\u4fdd\u4e86\u7f51\u7ad9\u7684\u5b89\u5168\uff0c\u4f46\u4e5f\u5bf9\u6b63\u5e38\u7684\u6570\u636e\u6293\u53d6\u9020\u6210\u4e86\u6311\u6218\u3002<\/p>\n\n\n\n<p><strong>\u3000\u3000\u4e8c\uff1a\u516b\u722a\u9c7c\u91c7\u96c6\u5668\u7684\u7279\u70b9\u4e0e\u4f18\u52bf<\/strong><\/p>\n\n\n\n<p>\u3000\u3000\u516b\u722a\u9c7c\u91c7\u96c6\u5668\u4f5c\u4e3a\u4e00\u6b3e\u5168\u7f51\u901a\u7528\u7684\u6570\u636e\u91c7\u96c6\u5de5\u5177\uff0c\u5177\u5907\u591a\u9879\u7279\u70b9\u4e0e\u4f18\u52bf\u3002\u5b83\u80fd\u591f\u6a21\u62df\u4eba\u7c7b\u6d4f\u89c8\u7f51\u9875\u7684\u884c\u4e3a\uff0c\u901a\u8fc7\u7b80\u5355\u7684\u9875\u9762\u70b9\u9009\uff0c\u751f\u6210\u81ea\u52a8\u5316\u7684\u91c7\u96c6\u6d41\u7a0b\u3002\u516b\u722a\u9c7c\u91c7\u96c6\u5668\u80fd\u5c06\u7f51\u9875\u6570\u636e\u8f6c\u5316\u4e3a\u7ed3\u6784\u5316\u6570\u636e\uff0c\u5e76\u652f\u6301\u5b58\u50a8\u4e8eEXCEL\u6216\u6570\u636e\u5e93\u7b49\u591a\u79cd\u5f62\u5f0f\u3002\u5176\u57fa\u4e8e\u4e91\u8ba1\u7b97\u7684\u5927\u6570\u636e\u4e91\u91c7\u96c6\u89e3\u51b3\u65b9\u6848\uff0c\u4f7f\u5f97\u6570\u636e\u91c7\u96c6\u53d8\u5f97\u66f4\u52a0\u9ad8\u6548\u4fbf\u6377\u3002<\/p>\n\n\n\n<p>\u3000<strong>\u3000\u4e09\uff1a\u7a7f\u4e91API\u7684\u7a81\u7834\u4e0e\u5e94\u7528<\/strong><\/p>\n\n\n\n<p>\u3000\u3000\u7a7f\u4e91API\u4f5c\u4e3a\u7f51\u7edc\u722c\u866bAPI\u7684\u4ee3\u8868\uff0c\u4e3a\u516b\u722a\u9c7c\u91c7\u96c6\u5668\u63d0\u4f9b\u4e86\u66f4\u5f3a\u5927\u7684\u6293\u53d6\u80fd\u529b\u3002\u7a7f\u4e91API\u5177\u5907\u591a\u9879\u6280\u672f\u7a81\u7834\uff0c\u80fd\u591f\u7ed5\u8fc7\u591a\u79cd\u53cd\u722c\u673a\u5236\uff0c\u5305\u62ecCAPTCHA\u9a8c\u8bc1\u548cWAF\u7b49\u3002\u5b83\u91c7\u7528\u5148\u8fdb\u7684\u6d4f\u89c8\u5668\u6e32\u67d3\u6280\u672f\uff0c\u6a21\u62df\u4eba\u7c7b\u7684\u6d4f\u89c8\u884c\u4e3a\uff0c\u6267\u884cJavaScript\u4ee3\u7801\uff0c\u4ece\u800c\u907f\u514d\u89e6\u53d1\u8fd9\u4e9b\u5b89\u5168\u673a\u5236\u3002\u8fd9\u4e3a\u7528\u6237\u5728\u9ad8\u6548\u6293\u53d6\u6570\u636e\u7684\u540c\u65f6\u7ed5\u8fc7\u9650\u5236\u63d0\u4f9b\u4e86\u53ef\u80fd\u6027\u3002<\/p>\n\n\n\n<p><strong>\u3000\u3000\u56db\uff1a\u516b\u722a\u9c7c\u91c7\u96c6\u5668\u4e0e\u7a7f\u4e91API\u7684\u534f\u540c\u5e94\u7528<\/strong><\/p>\n\n\n\n<p>\u3000\u3000\u516b\u722a\u9c7c\u91c7\u96c6\u5668\u4e0e\u7a7f\u4e91API\u7684\u534f\u540c\u5e94\u7528\u4e3a\u7528\u6237\u5e26\u6765\u4e86\u66f4\u52a0\u5f3a\u5927\u7684\u6570\u636e\u6293\u53d6\u80fd\u529b\u3002\u901a\u8fc7\u7ed3\u5408\u516b\u722a\u9c7c\u91c7\u96c6\u5668\u7684\u81ea\u52a8\u5316\u91c7\u96c6\u6d41\u7a0b\u548c\u7a7f\u4e91API\u7684\u7a81\u7834\u6280\u672f\uff0c\u7528\u6237\u53ef\u4ee5\u8f7b\u677e\u5e94\u5bf9CAPTCHA\u9a8c\u8bc1\u548cWAF\u7b49\u9650\u5236\uff0c\u5b9e\u73b0\u9ad8\u6548\u7684\u6570\u636e\u91c7\u96c6\u3002\u4f8b\u5982\uff0c\u5728\u9700\u8981\u7ed5\u8fc7CAPTCHA\u9a8c\u8bc1\u7684\u60c5\u51b5\u4e0b\uff0c\u7528\u6237\u53ef\u4ee5\u5229\u7528\u516b\u722a\u9c7c\u91c7\u96c6\u5668\u6a21\u62df\u6d4f\u89c8\u5668\u884c\u4e3a\uff0c\u7ed3\u5408\u7a7f\u4e91API\u7ed5\u8fc7\u9a8c\u8bc1\u7801\u9650\u5236\uff0c\u6210\u529f\u6293\u53d6\u6570\u636e\u3002<\/p>\n\n\n\n<p>\u3000\u3000<strong>\u4e94\uff1a\u5e94\u7528\u573a\u666f\u4e0e\u6548\u679c\u5c55\u793a<\/strong><\/p>\n\n\n\n<p>\u3000\u3000\u516b\u722a\u9c7c\u91c7\u96c6\u5668\u7ed3\u5408\u7a7f\u4e91API\u5728\u5b9e\u9645\u5e94\u7528\u4e2d\u5177\u6709\u5e7f\u6cdb\u7684\u5e94\u7528\u573a\u666f\u3002\u5728\u5e02\u573a\u5206\u6790\u4e2d\uff0c\u4f01\u4e1a\u53ef\u4ee5\u5229\u7528\u8fd9\u4e00\u7ec4\u5408\u6293\u53d6\u7ade\u4e89\u5bf9\u624b\u7684\u6570\u636e\uff0c\u5206\u6790\u5e02\u573a\u8d8b\u52bf\u3002\u5728\u8206\u60c5\u76d1\u6d4b\u4e2d\uff0c\u7528\u6237\u53ef\u4ee5\u9ad8\u6548\u5730\u6293\u53d6\u793e\u4ea4\u5a92\u4f53\u4e0a\u7684\u8bc4\u8bba\u548c\u610f\u89c1\uff0c\u4ece\u800c\u4e86\u89e3\u516c\u4f17\u8206\u8bba\u3002\u8fd9\u4e9b\u5e94\u7528\u573a\u666f\u5c55\u793a\u4e86\u516b\u722a\u9c7c\u91c7\u96c6\u5668\u4e0e\u7a7f\u4e91API\u7684\u534f\u540c\u4f5c\u7528\uff0c\u4e3a\u6570\u636e\u91c7\u96c6\u548c\u4fe1\u606f\u5206\u6790\u63d0\u4f9b\u4e86\u65e0\u9650\u53ef\u80fd\u3002<\/p>\n\n\n\n<p>\u3000<strong>\u3000\u516d\uff1a\u7a7f\u4e91API\u7684\u7efc\u5408\u4f18\u52bf<\/strong><\/p>\n\n\n\n<p>\u3000\u3000\u7a7f\u4e91API\u7684\u7efc\u5408\u4f18\u52bf\u5728\u4e8e\u5176\u6280\u672f\u7a81\u7834\u3001\u4e30\u5bcc\u7684\u529f\u80fd\u548c\u7075\u6d3b\u7684\u914d\u7f6e\u3002\u4f5c\u4e3a\u89e3\u51b3CAPTCHA\u9a8c\u8bc1\u548cWAF\u7b49\u9650\u5236\u7684\u91cd\u8981\u5de5\u5177\uff0c\u7a7f\u4e91API\u80fd\u591f\u6a21\u62df\u4eba\u7c7b\u884c\u4e3a\uff0c\u7ed5\u8fc7\u5404\u79cd\u9632\u722c\u673a\u5236\uff0c\u786e\u4fdd\u6570\u636e\u91c7\u96c6\u7684\u9ad8\u6548\u6027\u548c\u51c6\u786e\u6027\u3002\u5176\u7075\u6d3b\u6027\u4f7f\u7528\u6237\u80fd\u591f\u6839\u636e\u4e0d\u540c\u7684\u6293\u53d6\u9700\u6c42\u8fdb\u884c\u914d\u7f6e\uff0c\u5b9e\u73b0\u4e2a\u6027\u5316\u7684\u6570\u636e\u91c7\u96c6\u65b9\u6848\u3002<\/p>\n\n\n\n<p><strong>\u3000\u3000\u7a7f\u4e91API\u4e3a\u65e0\u963b\u722c\u53d6\u5229\u5668\u7684\u5173\u952e<\/strong><\/p>\n\n\n\n<p>\u3000\u3000\u5728\u7f51\u7edc\u6293\u53d6\u9886\u57df\uff0cCAPTCHA\u9a8c\u8bc1\u548cWAF\u7b49\u5b89\u5168\u673a\u5236\u786e\u5b9e\u4e3a\u7f51\u7ad9\u63d0\u4f9b\u4e86\u91cd\u8981\u7684\u4fdd\u62a4\u3002\u7136\u800c\uff0c\u8fd9\u4e9b\u673a\u5236\u4e5f\u5e26\u6765\u4e86\u6570\u636e\u91c7\u96c6\u7684\u6311\u6218\u3002\u516b\u722a\u9c7c\u91c7\u96c6\u5668\u7ed3\u5408\u7a7f\u4e91API\u7684\u534f\u540c\u5e94\u7528\uff0c\u4e3a\u7528\u6237\u63d0\u4f9b\u4e86\u7ed5\u8fc7\u8fd9\u4e9b\u9650\u5236\u7684\u5229\u5668\u3002\u901a\u8fc7\u6a21\u62df\u771f\u5b9e\u7684\u4eba\u7c7b\u6d4f\u89c8\u884c\u4e3a\uff0c\u7a7f\u4e91API\u7a81\u7834\u4e86CAPTCHA\u9a8c\u8bc1\u548cWAF\u7b49\u9650\u5236\uff0c\u5b9e\u73b0\u4e86\u9ad8\u6548\u7684\u6570\u636e\u6293\u53d6\u3002\u8fd9\u4f7f\u5f97\u7528\u6237\u53ef\u4ee5\u5728\u4e0d\u5f71\u54cd\u7528\u6237\u4f53\u9a8c\u7684\u60c5\u51b5\u4e0b\uff0c\u8f7b\u677e\u83b7\u5f97\u6240\u9700\u7684\u6570\u636e\u3002<\/p>\n\n\n\n<p>\u3000\u3000\u7a7f\u4e91API\u4f5c\u4e3a\u89e3\u51b3\u7f51\u7edc\u6570\u636e\u91c7\u96c6\u96be\u9898\u7684\u5173\u952e\u5de5\u5177\uff0c\u4e3a\u7528\u6237\u63d0\u4f9b\u4e86\u5f3a\u5927\u7684\u89e3\u51b3\u65b9\u6848\u3002\u5b83\u4e0d\u4ec5\u80fd\u7ed5\u8fc7CAPTCHA\u9a8c\u8bc1\u548cWAF\u7b49\u9650\u5236\uff0c\u8fd8\u5177\u5907\u591a\u9879\u7a81\u7834\u6027\u6280\u672f\uff0c\u4f7f\u6570\u636e\u91c7\u96c6\u66f4\u52a0\u9ad8\u6548\u3001\u51c6\u786e\u3002\u65e0\u8bba\u662f\u5728\u7ade\u4e89\u5206\u6790\u3001\u8206\u60c5\u76d1\u6d4b\u8fd8\u662f\u5e02\u573a\u6d1e\u5bdf\u7b49\u9886\u57df\uff0c\u7a7f\u4e91API\u4e3a\u7528\u6237\u521b\u9020\u4e86\u66f4\u591a\u7684\u53ef\u80fd\u6027\u3002\u901a\u8fc7\u516b\u722a\u9c7c\u91c7\u96c6\u5668\u4e0e\u7a7f\u4e91API\u7684\u8054\u5408\u5e94\u7528\uff0c\u7528\u6237\u5c06\u65e0\u963b\u5730\u83b7\u5f97\u6570\u636e\uff0c\u4ece\u800c\u63a8\u52a8\u4e1a\u52a1\u51b3\u7b56\u548c\u521b\u65b0\u53d1\u5c55\u3002<\/p>\n\n\n\n<p><strong>\u3000\u3000\u4f7f\u7528\u7a7f\u4e91API\uff0c\u60a8\u53ef\u4ee5\u8f7b\u677e\u5730\u7ed5\u8fc7<a href=\"https:\/\/www.cloudbypass.com\/\" data-type=\"link\" data-id=\"https:\/\/www.cloudbypass.com\/\">Cloudflare\u53cd\u722c\u866b<\/a>\u7684\u673a\u5668\u4eba\u9a8c\u8bc1\uff0c\u5373\u4f7f\u60a8\u9700\u8981\u53d1\u900110\u4e07\u4e2a\u8bf7\u6c42\uff0c\u4e5f\u4e0d\u5fc5\u62c5\u5fc3\u88ab\u8bc6\u522b\u4e3a\u6293\u53d6\u8005\u3002<\/strong><\/p>\n\n\n\n<p>\u3000<strong>\u3000\u4e00\u4e2a\u7a7f\u4e91API\u5373\u53ef\u7a81\u7834\u6240\u6709\u53cdAnti-bot\u673a\u5668\u4eba\u68c0\u67e5\uff0c\u8f7b\u677e<a href=\"https:\/\/www.cloudbypass.com\/\" data-type=\"link\" data-id=\"https:\/\/www.cloudbypass.com\/\">\u7ed5\u8fc7Cloudflare\u9a8c\u8bc1<\/a>\u3001CAPTCHA\u9a8c\u8bc1\uff0cWAF\uff0cCC\u9632\u62a4\uff0c\u5e76\u63d0\u4f9b\u4e86HTTPAPI\u548cProxy\uff0c\u5305\u62ec\u63a5\u53e3\u5730\u5740\u3001\u8bf7\u6c42\u53c2\u6570\u3001\u8fd4\u56de\u5904\u7406\uff1b\u4ee5\u53ca\u8bbe\u7f6eReferer\uff0c\u6d4f\u89c8\u5668UA\u548cheadless\u72b6\u6001\u7b49\u5404\u6d4f\u89c8\u5668\u6307\u7eb9\u8bbe\u5907\u7279\u5f81\u3002<\/strong><\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u3000\u3000\u5728\u5f53\u4eca\u6570\u5b57\u5316\u65f6\u4ee3\uff0c\u6570\u636e\u88ab\u5e7f\u6cdb\u8ba4\u4e3a\u662f\u4f01\u4e1a\u51b3\u7b56\u548c\u5e02\u573a\u6d1e\u5bdf\u7684\u6838\u5fc3\u3002\u7136\u800c\uff0c\u968f\u7740\u4e92\u8054\u7f51\u6280\u672f\u7684\u53d1\u5c55\uff0c\u8d8a\u6765\u8d8a\u591a\u7684\u7f51\u7ad9\u91c7\u7528&#8230;<\/p>\n<p class=\"more-link-wrap\"><a href=\"https:\/\/www.cloudbypass.com\/tutorial\/2829.html\" class=\"more-link\">Read More<span class=\"screen-reader-text\"> &ldquo;\u65e0\u963b\u722c\u53d6\u5229\u5668\uff1a\u516b\u722a\u9c7c\u91c7\u96c6\u5668\u7ed3\u5408\u7a7f\u4e91API\u5e94\u5bf9CAPTCHA\u9a8c\u8bc1\u4e0eWAF&rdquo;<\/span> &raquo;<\/a><\/p>\n","protected":false},"author":1,"featured_media":1162,"comment_status":"closed","ping_status":"","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[10,35,30],"tags":[],"class_list":["post-2829","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-how-to-bypass-cloudflare","category-crawlercloudflare","category-crawlers-bypass-cloudflare"],"_links":{"self":[{"href":"https:\/\/www.cloudbypass.com\/tutorial\/wp-json\/wp\/v2\/posts\/2829","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.cloudbypass.com\/tutorial\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.cloudbypass.com\/tutorial\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.cloudbypass.com\/tutorial\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.cloudbypass.com\/tutorial\/wp-json\/wp\/v2\/comments?post=2829"}],"version-history":[{"count":1,"href":"https:\/\/www.cloudbypass.com\/tutorial\/wp-json\/wp\/v2\/posts\/2829\/revisions"}],"predecessor-version":[{"id":2830,"href":"https:\/\/www.cloudbypass.com\/tutorial\/wp-json\/wp\/v2\/posts\/2829\/revisions\/2830"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.cloudbypass.com\/tutorial\/wp-json\/wp\/v2\/media\/1162"}],"wp:attachment":[{"href":"https:\/\/www.cloudbypass.com\/tutorial\/wp-json\/wp\/v2\/media?parent=2829"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.cloudbypass.com\/tutorial\/wp-json\/wp\/v2\/categories?post=2829"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.cloudbypass.com\/tutorial\/wp-json\/wp\/v2\/tags?post=2829"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}