{"id":944525,"date":"2024-12-26T23:08:14","date_gmt":"2024-12-26T15:08:14","guid":{"rendered":"https:\/\/docs.pingcode.com\/ask\/ask-ask\/944525.html"},"modified":"2024-12-26T23:08:17","modified_gmt":"2024-12-26T15:08:17","slug":"burpsuit%e5%a6%82%e4%bd%95%e5%92%8cpython","status":"publish","type":"post","link":"https:\/\/docs.pingcode.com\/ask\/944525.html","title":{"rendered":"burpsuit\u5982\u4f55\u548cpython"},"content":{"rendered":"<p style=\"text-align:center;\" ><img decoding=\"async\" src=\"https:\/\/cdn-kb.worktile.com\/kb\/wp-content\/uploads\/2024\/04\/25081504\/c21e44d3-605c-4952-a5f1-55f4817e7dfc.webp\" alt=\"burpsuit\u5982\u4f55\u548cpython\" \/><\/p>\n<p><p> <strong>Burp Suite\u53ef\u4ee5\u901a\u8fc7\u5176API\u4e0ePython\u8fdb\u884c\u96c6\u6210\u3001Python\u811a\u672c\u53ef\u4ee5\u901a\u8fc7Burp\u7684\u6269\u5c55\u529f\u80fd\u8fdb\u884c\u81ea\u52a8\u5316\u64cd\u4f5c\u3001Python\u811a\u672c\u53ef\u4ee5\u7528\u6765\u5904\u7406\u548c\u5206\u6790Burp Suite\u751f\u6210\u7684\u6d41\u91cf\u6570\u636e\u3002<\/strong>\u5176\u4e2d\uff0c\u4f7f\u7528Burp Suite\u7684API\u4e0ePython\u8fdb\u884c\u96c6\u6210\u662f\u6700\u4e3a\u5e38\u7528\u548c\u7075\u6d3b\u7684\u65b9\u5f0f\u3002API\u5141\u8bb8Python\u811a\u672c\u76f4\u63a5\u4e0eBurp\u8fdb\u884c\u4ea4\u4e92\uff0c\u6267\u884c\u8bf8\u5982\u542f\u52a8\u626b\u63cf\u3001\u83b7\u53d6\u626b\u63cf\u7ed3\u679c\u3001\u64cd\u4f5cHTTP\u8bf7\u6c42\u548c\u54cd\u5e94\u7b49\u4efb\u52a1\u3002\u5177\u4f53\u6765\u8bf4\uff0c\u7528\u6237\u53ef\u4ee5\u4f7f\u7528Burp Suite\u7684REST API\u6765\u81ea\u52a8\u5316\u8bb8\u591a\u4efb\u52a1\uff0c\u4ece\u800c\u63d0\u9ad8\u5de5\u4f5c\u6548\u7387\uff0c\u8282\u7701\u65f6\u95f4\u3002\u63a5\u4e0b\u6765\uff0c\u6211\u5c06\u8be6\u7ec6\u4ecb\u7ecd\u5982\u4f55\u901a\u8fc7API\u4e0ePython\u96c6\u6210Burp Suite\u3002<\/p>\n<\/p>\n<p><p>\u4e00\u3001BURP SUITE\u4e0ePYTHON\u7684API\u96c6\u6210<\/p>\n<\/p>\n<p><p>Burp Suite\u7684API\u63d0\u4f9b\u4e86\u4e00\u79cd\u901a\u8fc7Python\u811a\u672c\u4e0eBurp\u8fdb\u884c\u4ea4\u4e92\u7684\u65b9\u5f0f\u3002\u7528\u6237\u53ef\u4ee5\u901a\u8fc7API\u542f\u52a8\u626b\u63cf\u3001\u83b7\u53d6\u626b\u63cf\u7ed3\u679c\u3001\u64cd\u4f5cHTTP\u8bf7\u6c42\u548c\u54cd\u5e94\u7b49\u3002\u4e3a\u4e86\u4f7f\u7528\u8fd9\u4e9b\u529f\u80fd\uff0c\u9996\u5148\u9700\u8981\u786e\u4fddBurp Suite Professional\u6216Enterprise\u7248\u672c\u4e2d\u542f\u7528\u4e86API\u529f\u80fd\u3002<\/p>\n<\/p>\n<ol>\n<li>\n<p><strong>\u914d\u7f6eBurp Suite\u7684API<\/strong><\/p>\n<\/p>\n<p><p>\u9996\u5148\uff0c\u786e\u4fddBurp Suite\u7684API\u5df2\u542f\u7528\u3002\u6253\u5f00Burp Suite\uff0c\u8fdb\u5165\u201cUser options\u201d -&gt; \u201cConnections\u201d -&gt; \u201cAPI\u201d\u9009\u9879\u5361\uff0c\u542f\u7528API\u5e76\u8bbe\u7f6e\u4e00\u4e2aAPI\u5bc6\u94a5\u3002\u8bb0\u4e0bAPI\u7684URL\u548c\u5bc6\u94a5\uff0c\u5b83\u4eec\u5c06\u5728Python\u4e2d\u4f7f\u7528\u3002<\/p>\n<\/p>\n<\/li>\n<li>\n<p><strong>\u5b89\u88c5\u5fc5\u8981\u7684Python\u5e93<\/strong><\/p>\n<\/p>\n<p><p>\u5728Python\u4e2d\u4f7f\u7528Burp\u7684API\u9700\u8981\u5b89\u88c5\u4e00\u4e9b\u5e93\u3002\u4e3b\u8981\u662f\u7528\u4e8eHTTP\u8bf7\u6c42\u7684\u5e93\uff0c\u5982<code>requests<\/code>\u3002\u53ef\u4ee5\u901a\u8fc7\u4ee5\u4e0b\u547d\u4ee4\u5b89\u88c5\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-bash\">pip install requests<\/p>\n<p><\/code><\/pre>\n<\/p>\n<\/li>\n<li>\n<p><strong>\u7f16\u5199Python\u811a\u672c<\/strong><\/p>\n<\/p>\n<p><p>\u4f7f\u7528Python\u4e0eBurp Suite API\u8fdb\u884c\u4ea4\u4e92\u7684\u811a\u672c\u5982\u4e0b\u6240\u793a\u3002\u6b64\u811a\u672c\u6f14\u793a\u4e86\u5982\u4f55\u542f\u52a8\u626b\u63cf\u5e76\u83b7\u53d6\u7ed3\u679c\u3002<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">import requests<\/p>\n<h2><strong>Burp Suite API URL\u548c\u5bc6\u94a5<\/strong><\/h2>\n<p>api_url = &#39;http:\/\/localhost:8080\/v1\/&#39;  # \u66ff\u6362\u4e3a\u4f60\u7684API URL<\/p>\n<p>api_key = &#39;\u4f60\u7684API\u5bc6\u94a5&#39;<\/p>\n<h2><strong>\u542f\u52a8\u626b\u63cf<\/strong><\/h2>\n<p>def start_scan(target_url):<\/p>\n<p>    url = api_url + &#39;scan&#39;<\/p>\n<p>    headers = {&#39;Authorization&#39;: api_key}<\/p>\n<p>    data = {&#39;url&#39;: target_url}<\/p>\n<p>    response = requests.post(url, headers=headers, json=data)<\/p>\n<p>    return response.json()<\/p>\n<h2><strong>\u83b7\u53d6\u626b\u63cf\u7ed3\u679c<\/strong><\/h2>\n<p>def get_scan_results(scan_id):<\/p>\n<p>    url = api_url + f&#39;scan\/{scan_id}\/results&#39;<\/p>\n<p>    headers = {&#39;Authorization&#39;: api_key}<\/p>\n<p>    response = requests.get(url, headers=headers)<\/p>\n<p>    return response.json()<\/p>\n<h2><strong>\u793a\u4f8b\u7528\u6cd5<\/strong><\/h2>\n<p>target = &#39;http:\/\/example.com&#39;<\/p>\n<p>scan_response = start_scan(target)<\/p>\n<p>scan_id = scan_response.get(&#39;scan_id&#39;)<\/p>\n<p>if scan_id:<\/p>\n<p>    results = get_scan_results(scan_id)<\/p>\n<p>    print(results)<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u8fd9\u4e2a\u811a\u672c\u6f14\u793a\u4e86\u5982\u4f55\u901a\u8fc7API\u542f\u52a8\u5bf9\u7279\u5b9aURL\u7684\u626b\u63cf\uff0c\u5e76\u83b7\u53d6\u626b\u63cf\u7ed3\u679c\u3002\u7528\u6237\u53ef\u4ee5\u6839\u636e\u9700\u8981\u6269\u5c55\u6b64\u811a\u672c\uff0c\u4ee5\u5b9e\u73b0\u66f4\u591a\u529f\u80fd\u3002<\/p>\n<\/p>\n<\/li>\n<\/ol>\n<p><p>\u4e8c\u3001\u4f7f\u7528PYTHON\u811a\u672c\u5904\u7406\u548c\u5206\u6790BURP SUITE\u6570\u636e<\/p>\n<\/p>\n<p><p>\u9664\u4e86\u901a\u8fc7API\u76f4\u63a5\u4e0eBurp Suite\u4ea4\u4e92\uff0cPython\u8fd8\u53ef\u4ee5\u7528\u4e8e\u5904\u7406\u548c\u5206\u6790Burp Suite\u751f\u6210\u7684\u6570\u636e\u3002\u4f8b\u5982\uff0c\u7528\u6237\u53ef\u4ee5\u5c06Burp Suite\u5bfc\u51fa\u7684HTTP\u8bf7\u6c42\u548c\u54cd\u5e94\u6570\u636e\u5bfc\u5165Python\uff0c\u8fdb\u884c\u8fdb\u4e00\u6b65\u7684\u5206\u6790\u548c\u5904\u7406\u3002<\/p>\n<\/p>\n<ol>\n<li>\n<p><strong>\u5bfc\u51faBurp Suite\u6570\u636e<\/strong><\/p>\n<\/p>\n<p><p>\u5728Burp Suite\u4e2d\uff0c\u7528\u6237\u53ef\u4ee5\u5c06HTTP\u8bf7\u6c42\u548c\u54cd\u5e94\u6570\u636e\u5bfc\u51fa\u4e3a\u591a\u79cd\u683c\u5f0f\uff0c\u5982XML\u3001JSON\u6216CSV\u3002\u8fd9\u4e9b\u6570\u636e\u6587\u4ef6\u53ef\u4ee5\u901a\u8fc7Python\u8fdb\u884c\u89e3\u6790\u548c\u5904\u7406\u3002<\/p>\n<\/p>\n<\/li>\n<li>\n<p><strong>\u4f7f\u7528Python\u89e3\u6790\u548c\u5206\u6790\u6570\u636e<\/strong><\/p>\n<\/p>\n<p><p>Python\u63d0\u4f9b\u4e86\u4e30\u5bcc\u7684\u5e93\u6765\u89e3\u6790\u548c\u5206\u6790\u6570\u636e\u3002\u4ee5JSON\u683c\u5f0f\u4e3a\u4f8b\uff0c\u7528\u6237\u53ef\u4ee5\u4f7f\u7528Python\u7684\u5185\u7f6e<code>json<\/code>\u5e93\u8fdb\u884c\u89e3\u6790\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">import json<\/p>\n<h2><strong>\u8bfb\u53d6JSON\u6587\u4ef6<\/strong><\/h2>\n<p>with open(&#39;burp_data.json&#39;, &#39;r&#39;) as file:<\/p>\n<p>    data = json.load(file)<\/p>\n<h2><strong>\u793a\u4f8b\uff1a\u8f93\u51fa\u6240\u6709\u8bf7\u6c42\u7684URL<\/strong><\/h2>\n<p>for entry in data:<\/p>\n<p>    print(entry[&#39;request&#39;][&#39;url&#39;])<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u8fd9\u79cd\u65b9\u6cd5\u53ef\u4ee5\u8ba9\u7528\u6237\u5bf9Burp Suite\u751f\u6210\u7684\u5927\u91cf\u6570\u636e\u8fdb\u884c\u81ea\u52a8\u5316\u5206\u6790\uff0c\u63d0\u53d6\u51fa\u5173\u952e\u4fe1\u606f\u3002<\/p>\n<\/p>\n<\/li>\n<\/ol>\n<p><p>\u4e09\u3001PYTHON\u811a\u672c\u5728BURP SUITE\u4e2d\u7684\u81ea\u52a8\u5316\u64cd\u4f5c<\/p>\n<\/p>\n<p><p>Burp Suite\u7684\u6269\u5c55\u529f\u80fd\u5141\u8bb8\u7528\u6237\u7f16\u5199Python\u811a\u672c\u6765\u81ea\u52a8\u5316\u5e38\u89c1\u7684\u5b89\u5168\u6d4b\u8bd5\u4efb\u52a1\u3002\u8fd9\u4e9b\u6269\u5c55\u53ef\u4ee5\u76f4\u63a5\u5728Burp Suite\u4e2d\u8fd0\u884c\uff0c\u5e2e\u52a9\u7528\u6237\u63d0\u9ad8\u6d4b\u8bd5\u6548\u7387\u3002<\/p>\n<\/p>\n<ol>\n<li>\n<p><strong>\u5b89\u88c5Jython<\/strong><\/p>\n<\/p>\n<p><p>\u4e3a\u4e86\u5728Burp Suite\u4e2d\u8fd0\u884cPython\u811a\u672c\uff0c\u7528\u6237\u9700\u8981\u5b89\u88c5Jython\uff0c\u8fd9\u662f\u4e00\u4e2a\u7528Java\u5b9e\u73b0\u7684Python\u89e3\u91ca\u5668\u3002\u7528\u6237\u53ef\u4ee5\u4eceJython\u5b98\u65b9\u7f51\u7ad9\u4e0b\u8f7d\u5e76\u5b89\u88c5\u3002<\/p>\n<\/p>\n<\/li>\n<li>\n<p><strong>\u521b\u5efaBurp Suite\u6269\u5c55<\/strong><\/p>\n<\/p>\n<p><p>\u5728Burp Suite\u4e2d\uff0c\u7528\u6237\u53ef\u4ee5\u521b\u5efa\u4e00\u4e2a\u65b0\u7684\u6269\u5c55\uff0c\u5e76\u9009\u62e9Python\u4f5c\u4e3a\u8bed\u8a00\u3002\u6269\u5c55\u53ef\u4ee5\u7528\u4e8e\u81ea\u52a8\u5316\u7279\u5b9a\u7684\u6d4b\u8bd5\u6d41\u7a0b\uff0c\u5982\u81ea\u52a8\u68c0\u6d4b\u7279\u5b9a\u7c7b\u578b\u7684\u6f0f\u6d1e\u6216\u81ea\u52a8\u5bf9\u8bf7\u6c42\u8fdb\u884c\u4fee\u6539\u3002<\/p>\n<\/p>\n<\/li>\n<li>\n<p><strong>\u7f16\u5199Python\u811a\u672c<\/strong><\/p>\n<\/p>\n<p><p>\u4e0b\u9762\u662f\u4e00\u4e2a\u7b80\u5355\u7684Python\u811a\u672c\u793a\u4f8b\uff0c\u7528\u4e8e\u81ea\u52a8\u6807\u8bb0\u5305\u542bSQL\u6ce8\u5165\u6f0f\u6d1e\u7684\u8bf7\u6c42\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">from burp import IBurpExtender, IHttpListener<\/p>\n<p>class BurpExtender(IBurpExtender, IHttpListener):<\/p>\n<p>    def registerExtenderCallbacks(self, callbacks):<\/p>\n<p>        self._callbacks = callbacks<\/p>\n<p>        self._callbacks.setExtensionName(&quot;SQL Injection Detector&quot;)<\/p>\n<p>        self._callbacks.registerHttpListener(self)<\/p>\n<p>    def processHttpMessage(self, toolFlag, messageIsRequest, messageInfo):<\/p>\n<p>        if not messageIsRequest:<\/p>\n<p>            response = messageInfo.getResponse()<\/p>\n<p>            responseString = self._callbacks.getHelpers().bytesToString(response)<\/p>\n<p>            if &quot;SQL syntax&quot; in responseString:<\/p>\n<p>                messageInfo.setHighlight(&quot;red&quot;)<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u8fd9\u4e2a\u811a\u672c\u68c0\u67e5\u54cd\u5e94\u4e2d\u662f\u5426\u5305\u542b\u201cSQL syntax\u201d\u5b57\u7b26\u4e32\uff0c\u5982\u679c\u662f\uff0c\u5219\u5c06\u8be5\u8bf7\u6c42\u6807\u8bb0\u4e3a\u7ea2\u8272\u3002\u8fd9\u662f\u4e00\u4e2a\u7b80\u5355\u7684\u793a\u4f8b\uff0c\u7528\u6237\u53ef\u4ee5\u6839\u636e\u9700\u8981\u6269\u5c55\u6b64\u529f\u80fd\u3002<\/p>\n<\/p>\n<\/li>\n<\/ol>\n<p><p>\u56db\u3001\u901a\u8fc7BURP SUITE\u7684EXTENDER API\u8fdb\u884c\u9ad8\u7ea7\u64cd\u4f5c<\/p>\n<\/p>\n<p><p>Burp Suite\u63d0\u4f9b\u4e86Extender API\uff0c\u5141\u8bb8\u7528\u6237\u4ee5\u66f4\u9ad8\u7ea7\u7684\u65b9\u5f0f\u4e0eBurp\u8fdb\u884c\u4ea4\u4e92\u3002\u7528\u6237\u53ef\u4ee5\u4f7f\u7528Java\u3001Python\uff08\u901a\u8fc7Jython\uff09\u7b49\u8bed\u8a00\u7f16\u5199\u6269\u5c55\uff0c\u4ee5\u5b9e\u73b0\u590d\u6742\u7684\u81ea\u52a8\u5316\u4efb\u52a1\u3002<\/p>\n<\/p>\n<ol>\n<li>\n<p><strong>\u4e86\u89e3Extender API<\/strong><\/p>\n<\/p>\n<p><p>Extender API\u63d0\u4f9b\u4e86\u5bf9Burp Suite\u5185\u90e8\u529f\u80fd\u7684\u8bbf\u95ee\uff0c\u5305\u62ec\u4ee3\u7406\u3001\u626b\u63cf\u5668\u3001\u722c\u866b\u7b49\u3002\u7528\u6237\u53ef\u4ee5\u901a\u8fc7API\u5b9e\u73b0\u5bf9HTTP\u8bf7\u6c42\u7684\u62e6\u622a\u4e0e\u4fee\u6539\u3001\u81ea\u52a8\u5316\u6f0f\u6d1e\u626b\u63cf\u3001\u7ed3\u679c\u5206\u6790\u7b49\u3002<\/p>\n<\/p>\n<\/li>\n<li>\n<p><strong>\u7f16\u5199\u9ad8\u7ea7\u6269\u5c55<\/strong><\/p>\n<\/p>\n<p><p>\u4f7f\u7528Extender API\u7f16\u5199\u6269\u5c55\u9700\u8981\u5bf9Burp Suite\u7684\u67b6\u6784\u548cAPI\u6709\u4e00\u5b9a\u7684\u4e86\u89e3\u3002\u7528\u6237\u53ef\u4ee5\u53c2\u8003Burp Suite\u7684\u5b98\u65b9\u6587\u6863\uff0c\u5b66\u4e60\u5982\u4f55\u4f7f\u7528API\u7f16\u5199\u590d\u6742\u7684\u6269\u5c55\u3002<\/p>\n<\/p>\n<\/li>\n<li>\n<p><strong>\u793a\u4f8b\uff1a\u81ea\u52a8\u5316\u6f0f\u6d1e\u626b\u63cf<\/strong><\/p>\n<\/p>\n<p><p>\u901a\u8fc7Extender API\uff0c\u7528\u6237\u53ef\u4ee5\u5b9e\u73b0\u81ea\u52a8\u5316\u6f0f\u6d1e\u626b\u63cf\u3002\u4e0b\u9762\u662f\u4e00\u4e2a\u4f7f\u7528Python\u7f16\u5199\u7684\u7b80\u5355\u793a\u4f8b\uff0c\u6f14\u793a\u5982\u4f55\u81ea\u52a8\u5316SQL\u6ce8\u5165\u626b\u63cf\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">from burp import IBurpExtender, IScannerCheck, IScanIssue<\/p>\n<p>class BurpExtender(IBurpExtender, IScannerCheck):<\/p>\n<p>    def registerExtenderCallbacks(self, callbacks):<\/p>\n<p>        self._callbacks = callbacks<\/p>\n<p>        self._callbacks.setExtensionName(&quot;SQL Injection Scanner&quot;)<\/p>\n<p>        self._callbacks.registerScannerCheck(self)<\/p>\n<p>    def doPassiveScan(self, baseRequestResponse):<\/p>\n<p>        # \u5b9e\u73b0\u88ab\u52a8\u626b\u63cf\u903b\u8f91<\/p>\n<p>        pass<\/p>\n<p>    def doActiveScan(self, baseRequestResponse, insertionPoint):<\/p>\n<p>        # \u5b9e\u73b0\u4e3b\u52a8\u626b\u63cf\u903b\u8f91<\/p>\n<p>        pass<\/p>\n<p>    def consolidateDuplicateIssues(self, existingIssue, newIssue):<\/p>\n<p>        return 0<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u8fd9\u4e2a\u793a\u4f8b\u5c55\u793a\u4e86\u5982\u4f55\u4f7f\u7528Extender API\u6ce8\u518c\u4e00\u4e2a\u65b0\u7684\u626b\u63cf\u5668\u6269\u5c55\u3002\u7528\u6237\u53ef\u4ee5\u5728<code>doPassiveScan<\/code>\u548c<code>doActiveScan<\/code>\u65b9\u6cd5\u4e2d\u5b9e\u73b0\u5177\u4f53\u7684\u626b\u63cf\u903b\u8f91\uff0c\u4ee5\u68c0\u6d4b\u7279\u5b9a\u7684\u6f0f\u6d1e\u3002<\/p>\n<\/p>\n<\/li>\n<\/ol>\n<p><p>\u4e94\u3001\u603b\u7ed3\u4e0e\u6700\u4f73\u5b9e\u8df5<\/p>\n<\/p>\n<p><p>\u901a\u8fc7\u4e0ePython\u96c6\u6210\uff0cBurp Suite\u7684\u529f\u80fd\u5f97\u5230\u4e86\u6781\u5927\u7684\u6269\u5c55\u3002\u7528\u6237\u53ef\u4ee5\u901a\u8fc7API\u5b9e\u73b0\u81ea\u52a8\u5316\u4efb\u52a1\uff0c\u901a\u8fc7\u811a\u672c\u5904\u7406\u548c\u5206\u6790\u6570\u636e\uff0c\u901a\u8fc7\u6269\u5c55\u529f\u80fd\u5b9e\u73b0\u9ad8\u7ea7\u64cd\u4f5c\u3002\u4ee5\u4e0b\u662f\u4e00\u4e9b\u6700\u4f73\u5b9e\u8df5\u5efa\u8bae\uff1a<\/p>\n<\/p>\n<ol>\n<li>\n<p><strong>\u5b89\u5168\u6027<\/strong><\/p>\n<\/p>\n<p><p>\u5728\u4f7f\u7528API\u65f6\uff0c\u786e\u4fddAPI\u5bc6\u94a5\u7684\u5b89\u5168\u6027\uff0c\u4e0d\u8981\u5c06\u5176\u66b4\u9732\u5728\u4ee3\u7801\u4e2d\u3002\u4f7f\u7528HTTPS\u800c\u4e0d\u662fHTTP\u6765\u4fdd\u62a4\u6570\u636e\u4f20\u8f93\u7684\u5b89\u5168\u3002<\/p>\n<\/p>\n<\/li>\n<li>\n<p><strong>\u6548\u7387<\/strong><\/p>\n<\/p>\n<p><p>\u81ea\u52a8\u5316\u4efb\u52a1\u65f6\uff0c\u5c3d\u91cf\u51cf\u5c11\u5bf9Burp Suite\u7684\u8d44\u6e90\u6d88\u8017\uff0c\u4f8b\u5982\u907f\u514d\u4e0d\u5fc5\u8981\u7684\u626b\u63cf\u6216\u91cd\u590d\u7684\u8bf7\u6c42\uff0c\u5408\u7406\u914d\u7f6e\u626b\u63cf\u53c2\u6570\u3002<\/p>\n<\/p>\n<\/li>\n<li>\n<p><strong>\u53ef\u6269\u5c55\u6027<\/strong><\/p>\n<\/p>\n<p><p>\u7f16\u5199\u6269\u5c55\u65f6\uff0c\u4fdd\u6301\u4ee3\u7801\u7684\u6a21\u5757\u5316\u548c\u53ef\u6269\u5c55\u6027\uff0c\u4ee5\u4fbf\u4e8e\u540e\u7eed\u7684\u529f\u80fd\u6269\u5c55\u548c\u7ef4\u62a4\u3002<\/p>\n<\/p>\n<\/li>\n<\/ol>\n<p><p>\u901a\u8fc7\u4ee5\u4e0a\u65b9\u6cd5\uff0c\u7528\u6237\u53ef\u4ee5\u66f4\u6709\u6548\u5730\u5229\u7528Burp Suite\u8fdb\u884c\u5b89\u5168\u6d4b\u8bd5\uff0c\u63d0\u9ad8\u5de5\u4f5c\u6548\u7387\uff0c\u53d1\u73b0\u548c\u4fee\u590d\u6f5c\u5728\u7684\u5b89\u5168\u6f0f\u6d1e\u3002<\/p>\n<\/p>\n<h2><strong>\u76f8\u5173\u95ee\u7b54FAQs\uff1a<\/strong><\/h2>\n<p> <strong>\u5982\u4f55\u5c06Burp Suite\u4e0ePython\u96c6\u6210\u4ee5\u589e\u5f3a\u6d4b\u8bd5\u529f\u80fd\uff1f<\/strong><br \/>Burp Suite\u80fd\u591f\u4e0ePython\u7ed3\u5408\u4f7f\u7528\uff0c\u901a\u8fc7\u4f7f\u7528Burp\u7684API\u6216\u7f16\u5199\u81ea\u5b9a\u4e49\u6269\u5c55\u6765\u5b9e\u73b0\u3002\u8fd9\u79cd\u96c6\u6210\u53ef\u4ee5\u5e2e\u52a9\u5b89\u5168\u6d4b\u8bd5\u4eba\u5458\u81ea\u52a8\u5316\u67d0\u4e9b\u4efb\u52a1\uff0c\u6bd4\u5982\u6570\u636e\u6293\u53d6\u3001\u5206\u6790\u6216\u6f0f\u6d1e\u626b\u63cf\u3002\u5177\u4f53\u6b65\u9aa4\u5305\u62ec\u5b89\u88c5Jython\uff08\u4e00\u4e2a\u5141\u8bb8Python\u5728Java\u5e73\u53f0\u4e0a\u8fd0\u884c\u7684\u5b9e\u73b0\uff09\u5e76\u5728Burp\u4e2d\u914d\u7f6e\u5b83\uff0c\u4ee5\u4fbf\u80fd\u591f\u7f16\u5199\u548c\u8fd0\u884cPython\u811a\u672c\u3002<\/p>\n<p><strong>\u6709\u54ea\u4e9b\u5e38\u89c1\u7684Python\u5e93\u53ef\u4ee5\u4e0eBurp Suite\u642d\u914d\u4f7f\u7528\uff1f<\/strong><br \/>\u4f7f\u7528Burp Suite\u65f6\uff0c\u5e38\u89c1\u7684Python\u5e93\u5305\u62ecRequests\uff08\u8fdb\u884cHTTP\u8bf7\u6c42\uff09\u3001BeautifulSoup\uff08\u89e3\u6790HTML\u548cXML\uff09\u548cScapy\uff08\u8fdb\u884c\u7f51\u7edc\u5305\u5904\u7406\uff09\u3002\u8fd9\u4e9b\u5e93\u53ef\u4ee5\u5e2e\u52a9\u7528\u6237\u66f4\u9ad8\u6548\u5730\u5904\u7406\u6570\u636e\uff0c\u81ea\u52a8\u5316API\u6d4b\u8bd5\uff0c\u4ee5\u53ca\u8fdb\u884c\u7f51\u7edc\u6d41\u91cf\u5206\u6790\uff0c\u4ece\u800c\u63d0\u5347\u6574\u4f53\u6d4b\u8bd5\u6548\u679c\u3002<\/p>\n<p><strong>\u5982\u4f55\u5229\u7528Python\u811a\u672c\u63d0\u9ad8Burp Suite\u7684\u5de5\u4f5c\u6548\u7387\uff1f<\/strong><br \/>\u901a\u8fc7\u7f16\u5199Python\u811a\u672c\uff0c\u53ef\u4ee5\u5b9e\u73b0\u8bb8\u591a\u81ea\u52a8\u5316\u4efb\u52a1\uff0c\u6bd4\u5982\u81ea\u52a8\u53d1\u9001\u8bf7\u6c42\u3001\u5904\u7406\u54cd\u5e94\u6570\u636e\u6216\u751f\u6210\u62a5\u544a\u3002\u8fd9\u4e9b\u811a\u672c\u53ef\u4ee5\u901a\u8fc7Burp\u7684\u6269\u5c55\u529f\u80fd\u6765\u8fd0\u884c\uff0c\u7528\u6237\u53ef\u4ee5\u8bbe\u8ba1\u7279\u5b9a\u7684\u529f\u80fd\u6765\u5904\u7406\u91cd\u590d\u6027\u5de5\u4f5c\uff0c\u8282\u7701\u65f6\u95f4\u5e76\u51cf\u5c11\u4eba\u4e3a\u9519\u8bef\uff0c\u4ece\u800c\u63d0\u9ad8\u6574\u4f53\u6548\u7387\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"Burp Suite\u53ef\u4ee5\u901a\u8fc7\u5176API\u4e0ePython\u8fdb\u884c\u96c6\u6210\u3001Python\u811a\u672c\u53ef\u4ee5\u901a\u8fc7Burp\u7684\u6269\u5c55\u529f\u80fd\u8fdb\u884c\u81ea\u52a8 [&hellip;]","protected":false},"author":3,"featured_media":944531,"comment_status":"closed","ping_status":"","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[37],"tags":[],"acf":[],"_links":{"self":[{"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/posts\/944525"}],"collection":[{"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/comments?post=944525"}],"version-history":[{"count":"1","href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/posts\/944525\/revisions"}],"predecessor-version":[{"id":944532,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/posts\/944525\/revisions\/944532"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/media\/944531"}],"wp:attachment":[{"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/media?parent=944525"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/categories?post=944525"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/tags?post=944525"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}