{"id":151046,"date":"2019-08-05T14:08:05","date_gmt":"2019-08-05T06:08:05","guid":{"rendered":"https:\/\/lrxjmw.cn\/?p=151046"},"modified":"2019-07-17T11:09:06","modified_gmt":"2019-07-17T03:09:06","slug":"security-redis","status":"publish","type":"post","link":"https:\/\/lrxjmw.cn\/security-redis.html","title":{"rendered":"redis\u51fa\u73b0\u5b89\u5168\u6f0f\u6d1e\uff0c\u8be5\u5982\u4f55\u52a0\u5f3a\u5b89\u5168\u6027"},"content":{"rendered":"\n\n\n
\u5bfc\u8bfb<\/td>\nRedis\u662f\u4e00\u4e2a\u5f00\u6e90\u7684\u4f7f\u7528ANSI C\u8bed\u8a00\u7f16\u5199\u3001\u652f\u6301\u7f51\u7edc\u3001\u53ef\u57fa\u4e8e\u5185\u5b58\u4ea6\u53ef\u6301\u4e45\u5316\u7684\u65e5\u5fd7\u578b\u3001Key-Value\u6570\u636e\u5e93\uff0c\u5e76\u63d0\u4f9b\u591a\u79cd\u8bed\u8a00\u7684API\u3002\u8fd1\u671f\uff0cRedis\u88ab\u7206\u51fa\u5b58\u5728\u901a\u8fc7\u4e3b\u4ece\u590d\u5236\u4ece\u800cGetshell\u7684\u6f0f\u6d1e\u3002<\/strong><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n

\"\"
\n\u5728Redis4.x\u4ee5\u53ca\u4ee5\u4e0a\u7248\u672c\u4e2d\uff0c\u56e0\u4e3a\u65b0\u589e\u4e86\u6a21\u5757\u529f\u80fd\uff0c\u653b\u51fb\u8005\u53ef\u4ee5\u901a\u8fc7\u6784\u9020\u6076\u610f\u4ee3\u7801\uff0c\u4f7f\u88ab\u653b\u51fb\u7684\u670d\u52a1\u5668\u52a0\u8f7d\u6076\u610f.so\u6587\u4ef6\uff0c\u5982\u679credis-server\u4ee5root\u6743\u9650\u542f\u52a8\uff0c\u4f7f\u5f97\u6076\u610f\u4ee3\u7801\u80fd\u591f\u88ab\u6267\u884c\uff0c\u653b\u51fb\u8005\u5c31\u53ef\u4ee5\u5728\u670d\u52a1\u5668\u4e0a\u521b\u5efa\u4ed6\u60f3\u521b\u5efa\u7684\u4efb\u610f\u6587\u4ef6\uff0c\u5371\u5bb3\u975e\u5e38\u7684\u5927\u3002<\/p>\n

Redis\u4f5c\u8005\u7684\u7406\u5ff5\u662f\u201c\u7b80\u6d01\u4e3a\u7f8e\u201d\uff0c\u6240\u4ee5\u5e76\u6ca1\u6709\u4e3aRedis\u8bbe\u8ba1\u590d\u6742\u7684\u5b89\u5168\u914d\u7f6e\uff0c\u90a3\u4e48\u8981\u5982\u4f55\u4fdd\u8bc1Redis\u7684\u5b89\u5168\u5462?<\/p>\n

\u914d\u7f6e\u9632\u706b\u5899\u4fdd\u62a4redis<\/strong><\/div>\n

\u200b\u901a\u8fc7\u914d\u7f6e\u9632\u706b\u5899\u9632\u6b62\u5916\u90e8\u7528\u6237\u8bbf\u95ee\u5b83\u7684redis\u7aef\u53e3\u3002<\/p>\n

\u4e0d\u4f7f\u7528redis\u7684\u9ed8\u8ba4\u7aef\u53e3<\/strong><\/div>\n

\u9632\u6b62\u5916\u90e8\u7528\u6237\u8bbf\u95eeRedis\uff0c\u6307\u5b9a\u4fe1\u4efb\u7684Redis\u7684IP\uff0c\u9632\u6b62\u5916\u90e8\u8bbf\u95ee\uff0c\u4ec5\u6709\u53ef\u4fe1\u7684\u7528\u6237IP\u624d\u80fd\u8bbf\u95eeRedis\u7aef\u53e3\u3002\u5982\u679c\u4e0d\u7981\u6b62\u7684\u8bdd\uff0c\u5f53\u53d7\u5230\u6765\u81ea\u5916\u90e8\u653b\u51fb\u65f6\u5f88\u6709\u53ef\u80fd\u6240\u6709\u7684\u6570\u636e\u90fd\u5c06\u88ab\u5220\u9664\u3002<\/p>\n

\u8bbe\u7f6e\u8bbf\u95eeredis\u65f6\u9700\u8981\u5bc6\u7801\u6388\u6743<\/strong><\/div>\n

Redis\u5bf9\u4e8e\u7ecf\u5178\u7f51\u7edc\u7684\u5b9e\u4f8b\u5f3a\u5236\u5f00\u542f\u5bc6\u7801\u9274\u6743\uff0c\u7528\u6237\u53ef\u4ee5\u901a\u8fc7\u8bbe\u7f6e\u590d\u6742\u7684\u5bc6\u7801\u907f\u514d\u5bc6\u7801\u88ab\u653b\u7834\u3002\u9700\u8981\u6ce8\u610f\u7684\u662f\uff0c\u5bc6\u7801\u7684\u5f3a\u5ea6\u8981\u8bbe\u7f6e\u8db3\u591f\u9ad8\uff0c\u4f8b\u598232\u4f4d\u4ee5\u4e0a\u3002redis\u7684\u6027\u80fd\u975e\u5e38\u597d\uff0c\u66b4\u529b\u7834\u89e3\u5bc6\u7801\u7684\u8bdd\uff0c\u6bcf\u79d2\u949f\u53ef\u4ee5\u8fbe\u523015\u4e07\u6b21\u3002<\/p>\n

\u4f7f\u7528\u7981\u7528\u547d\u4ee4<\/strong><\/div>\n

\u5728 Redis \u4e2d\u53ef\u4ee5\u7981\u7528\u547d\u4ee4\u6216\u8005\u5c06\u5b83\u4eec\u91cd\u547d\u540d\u6210\u96be\u4ee5\u63a8\u6d4b\u7684\u540d\u79f0\uff0c\u8fd9\u6837\u53ea\u6709\u5185\u90e8\u7528\u6237\u80fd\u591f\u8fd9\u4e9b\u91cd\u547d\u540d\u7684\u540d\u79f0\uff0c\u800c\u4e00\u822c\u7684\u7528\u6237\u53ea\u80fd\u591f\u4f7f\u7528\u4e00\u90e8\u5206\u547d\u4ee4\u3002<\/p>\n

\u5bf9\u4e00\u4e9b\u5371\u9669\u547d\u4ee4\u8fdb\u884c\u91cd\u547d\u540d\uff0c\u80fd\u591f\u9632\u6b62\u6076\u610f\u64cd\u4f5c\uff0c\u76f8\u5f53\u4e8e\u628a\u547d\u4ee4\u540d\u79f0\u53d8\u4e3a\u5bc6\u7801\uff0c\u53ea\u6709\u5185\u90e8\u4eba\u5458\u77e5\u9053\u3002<\/p>\n

Redis \u5728\u4f18\u5316\u9ad8\u6027\u80fd\u4ee5\u53ca\u6613\u7528\u6027\u4e0a\u4e0b\u529f\u592b\uff0c\u5bf9\u4e8e\u5b89\u5168\u65b9\u9762\u5e76\u6ca1\u6709\u6781\u529b\u53bb\u4f18\u5316\u3002\u56e0\u6b64redis\u9700\u8981\u8fd0\u884c\u5728\u5b89\u5168\u7684\u73af\u5883\u4e0b\uff0c\u5c31\u8981\u8981\u505a\u597dredis\u5916\u90e8\u7684\u5b89\u5168\u5de5\u4f5c\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"

\u5728Redis4.x\u4ee5\u53ca\u4ee5\u4e0a\u7248\u672c\u4e2d\uff0c\u56e0\u4e3a\u65b0\u589e\u4e86\u6a21\u5757\u529f\u80fd\uff0c\u653b\u51fb\u8005\u53ef\u4ee5\u901a\u8fc7\u6784\u9020\u6076\u610f\u4ee3\u7801\uff0c\u4f7f\u88ab\u653b\u51fb\u7684\u670d\u52a1\u5668\u52a0\u8f7d\u6076\u610f.s […]<\/p>\n","protected":false},"author":1469,"featured_media":151048,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[21],"tags":[],"class_list":["post-151046","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-news"],"acf":[],"_links":{"self":[{"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/posts\/151046","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/users\/1469"}],"replies":[{"embeddable":true,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/comments?post=151046"}],"version-history":[{"count":2,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/posts\/151046\/revisions"}],"predecessor-version":[{"id":151157,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/posts\/151046\/revisions\/151157"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/media\/151048"}],"wp:attachment":[{"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/media?parent=151046"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/categories?post=151046"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/tags?post=151046"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}