{"id":723,"date":"2008-05-01T13:43:09","date_gmt":"2008-05-01T04:43:09","guid":{"rendered":"https:\/\/y2tech.net\/blog\/?p=723"},"modified":"2008-05-01T13:43:09","modified_gmt":"2008-05-01T04:43:09","slug":"security-up-2","status":"publish","type":"post","link":"https:\/\/y2tech.net\/blog\/inet\/wp\/security-up-2-723\/","title":{"rendered":"WordPress \u306e\u30bb\u30ad\u30e5\u30ea\u30c6\u30a3\u30fc\u5bfe\u7b56\uff08\u305d\u306e\uff12\uff09"},"content":{"rendered":"<h4> phpMyAdmin \u306b\u3088\u308b\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u30c6\u30fc\u30d6\u30eb\u306e\u30d7\u30ec\u30d5\u30a3\u30af\u30b9\u5909\u66f4 <\/h4>\r\n<br>\r\n<p>\u524d\u306e\u8a18\u4e8b\u3067\u306f &#8220;WP Security Scan&#8221; \u30d7\u30e9\u30b0\u30a4\u30f3\u306b\u3088\u308b\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u30c6\u30fc\u30d6\u30eb\u306e\u30d7\u30ec\u30d5\u30a3\u30af\u30b9\u5909\u66f4\u306b\u3064\u3044\u3066\u7d39\u4ecb\u3057\u307e\u3057\u305f\u304c\u3001\u3053\u306e\u65b9\u6cd5\u3067\u306f\u3046\u307e\u304f\u5909\u66f4\u3067\u304d\u306a\u3044\u5834\u5408\u304c\u3042\u308a\u307e\u3059\uff0e\u305d\u3053\u3067\u4eca\u56de\u306f phpMyAdmin \u3092\u7528\u3044\u3066SQL \u30b3\u30de\u30f3\u30c9\u30d9\u30fc\u30b9\u3067\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u30c6\u30fc\u30d6\u30eb\u306e\u30d7\u30ec\u30d5\u30a3\u30af\u30b9\u5909\u66f4\u3092\u884c\u3046\u65b9\u6cd5\u3092\u7d39\u4ecb\u3057\u307e\u3059\uff0e<\/p>\n<h4> \u5909\u66f4\u624b\u9806 <\/h4>\r\n<\/p>\r\n<br>\r\n<p>\uff11\uff0e\u5909\u66f4\u4f5c\u696d\u4e2d\u4ed6\u306e\u30e6\u30fc\u30b6\u304c WordPress \u306b\u30a2\u30af\u30bb\u30b9\u3067\u304d\u306a\u3044\u3088\u3046\u306b\u3059\u308b\uff0e\r\n\r\n<br>\r\n<p>\u3000\u30d7\u30e9\u30b0\u30a4\u30f3\u306e &#8220;<a href=\"http:\/\/sw-guide.de\/wordpress\/plugins\/maintenance-mode\/\">Maintenance Mode<\/a>&#8221; \u3092\u7528\u3044\u308b\u306e\u304c\u4fbf\u5229\u3067\u3059\uff0e\r\n<br>\r\n<br>\r\n<p>\uff12\uff0e\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u306e\u30d0\u30c3\u30af\u30a2\u30c3\u30d7\u3092\u884c\u3046\r\n<br>\r\n<br>\r\n<p>\u3000\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u30c6\u30fc\u30d6\u30eb\u3092\u76f4\u63a5\u64cd\u4f5c\u3059\u308b\u4f5c\u696d\u3092\u4f34\u3044\u307e\u3059\u306e\u3067\u3001\u5fc5\u305a\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u306e\u30d0\u30c3\u30af\u30a2\u30c3\u30d7\u3092\r\n<br>\r\n<p>\u3000\u884c\u3063\u3066\u4e0b\u3055\u3044\uff0e\r\n<br>\r\n<br>\r\n<p>\u3000\u30d0\u30c3\u30af\u30a2\u30c3\u30d7\u306e\u65b9\u6cd5\u306f\u8272\u3005\u3042\u308a\u307e\u3059\u304c\u3001Wordpress \u304b\u3089\u884c\u3046\u306b\u306f &#8220;<a href=\"http:\/\/lesterchan.net\/portfolio\/programming.php\">DBManager<\/a>&#8221; \u3068\u3044\u3046\u30d7\u30e9\u30b0\r\n<br>\r\n<p>\u3000\u30a4\u30f3\u3092\u4f7f\u3046\u65b9\u6cd5\u304c\u4fbf\u5229\u3067\u3059\uff0e\u305f\u3060\u79c1\u306e\u5834\u5408\u3053\u306e\u30d7\u30e9\u30b0\u30a4\u30f3\u3067\u306f\u51fa\u529b\u3055\u308c\u308bSQL\u30c7\u30fc\u30bf\u3092\u30c6\u30ad\u30b9\u30c8\r\n<br>\r\n<p>\u3000\u30a8\u30c7\u30a3\u30bf\u3067\u958b\u3053\u3046\u3068\u3059\u308b\u3068\u3001\u5168\u89d2\u6587\u5b57\u306e\u90e8\u5206\u304c\u6587\u5b57\u5316\u3051\u3057\u3066\u4e0a\u624b\u304f\u8aad\u307f\u8fbc\u3081\u307e\u305b\u3093\u3067\u3057\u305f\uff0e\r\n<br>\r\n<p>\u3000\u3000\r\n<br>\r\n<p>\u3000\u4ed6\u306b\u3001phpMyAdmin \u306e Export \u3092\u7528\u3044\u3066SQL\u30c0\u30f3\u30d7\u3092\u884c\u3046\u65b9\u6cd5\u3082\u3042\u308a\u307e\u3059\uff0e\u3053\u306e\u65b9\u6cd5\u304c\u4e00\u756a\r\n<br>\r\n<p>\u3000\u78ba\u5b9f\u306b\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u3092\u30d0\u30c3\u30af\u30a2\u30c3\u30d7\u3067\u304d\u308b\u3067\u3057\u3087\u3046\uff0e\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u306e\u30b3\u30f3\u30c6\u30f3\u30c4\u304c\u81a8\u5927\u3067\u3001\r\n<br>\r\n<p>\u3000\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u5168\u4f53\u3092\u30d0\u30c3\u30af\u30a2\u30c3\u30d7\u3059\u308b\u3068\u5de8\u5927\u306aSQL\u30c0\u30f3\u30d7\u30c7\u30fc\u30bf\u306b\u306a\u3063\u3066\u3057\u307e\u3046\u5834\u5408\u306f\u3001\u500b\u3005\u306e\r\n<br>\r\n<p>\u3000\u30c6\u30fc\u30d6\u30eb\u6bce\u306b\u30d0\u30c3\u30af\u30a2\u30c3\u30d7\u3092\u53d6\u308b\u3068\u3044\u3046\u3053\u3068\u3082\u3067\u304d\u307e\u3059\uff0e\r\n<br>\r\n<br>\r\n<p>\uff13\uff0ephpMyAdmin \u3092\u7528\u3044\u3066\u30c6\u30fc\u30d6\u30eb\u306e\u540d\u524d\u3092\u5909\u66f4\u3059\u308b\r\n<\/p>\r\n<br>\r\n<p>\u3000phpMyAdmin \u3092\u8d77\u52d5\u3057Wordpress \u3067\u7528\u3044\u3066\u3044\u308b\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u3092\u9078\u629e\u3057\u307e\u3059\uff0e\r\n\r\n<br>\r\n<p>\u3000\u6a19\u6e96\u7684\u306a\u74b0\u5883\u3067\u306f 10\u500b\u306e\u30c6\u30fc\u30d6\u30eb\u304c\u4f5c\u6210\u3055\u308c\u3066\u3044\u308b\u3067\u3057\u3087\u3046\uff0eNEXT Gen Gallery \u30d7\u30e9\u30b0\u30a4\u30f3\r\n<br>\r\n<p>\u3000\u306e\u3088\u3046\u306a\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u3092\u72ec\u81ea\u306b\u6301\u3064\u30d7\u30e9\u30b0\u30a4\u30f3\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u3066\u3044\u308b\u5834\u5408\u306f\u3001\u305d\u308c\u3089\u306e\u30c6\u30fc\u30d6\u30eb\r\n<br>\r\n<p>\u3000\u3082\u5bfe\u8c61\u306b\u52a0\u3048\u3066\u4e0b\u3055\u3044\uff0e\r\n<br>\r\n<br>\r\n<p>\u3000(1)\u3000phpMyAdmin\u3067\u5bfe\u8a71\u7684\u306b\u64cd\u4f5c\u3092\u884c\u3063\u3066\u3082\u69cb\u3044\u307e\u305b\u3093\u304c\u3001\u9762\u5012\u3067\u3059\u306e\u3067 SQL\u30b3\u30de\u30f3\u30c9\u3092\u7528\u3044\u3066\r\n<br>\r\n<p>\u3000\u3000\u3000\u3000\u4e00\u6c17\u306b\u30c6\u30fc\u30d6\u30eb\u306e\u540d\u524d\u3092\u5909\u66f4\u3057\u307e\u3059\uff0e\r\n<br>\r\n<p>\u3000\u3000\r\n<br>\r\n<p>\u3000\u3000\u3000\u3000SQL \u64cd\u4f5c\u753b\u9762\u3067\u3001\u6b21\u306e SQL\u30b3\u30de\u30f3\u30c9\u3092\u6253\u3061\u8fbc\u3093\u3067\u4e0b\u3055\u3044\uff0e\uff08\u753b\u9762\u306e\u4f8b\u3067\u306f &#8220;tb5963&#8221; \u3068\u3044\u3046\r\n<br>\r\n<p>\u3000\u3000\u3000\u3000\u540d\u524d\u306b\u5909\u66f4\u3057\u3066\u3044\u307e\u3059\u304c\u3001 xxxxxxx \u306e\u90e8\u5206\u306f\u81ea\u5206\u3067\u9069\u5b9c\u5909\u66f4\u3057\u3066\u4e0b\u3055\u3044\uff0e\u306a\u308b\u3079\u304f\u4ed6\u4eba\u306b\u63a8\u5b9a\r\n<br>\r\n<p>\u3000\u3000\u3000\u3000\u3055\u308c\u306b\u304f\u3044\u540d\u524d\u306b\u3059\u308b\u306e\u304c\u826f\u3044\u3067\u3057\u3087\u3046\uff09\r\n<br>\r\n<p>\u3000\u3000\n<pre style=\"font-size: 1.0em;\">\nRENAME TABLE `wp_comments` TO `xxxxxxx_comments`;\nRENAME TABLE `wp_links` TO `xxxxxxx_links`;\nRENAME TABLE `wp_options` TO `xxxxxxx_options`;\nRENAME TABLE `wp_postmeta` TO `xxxxxxx_postmeta`;\nRENAME TABLE `wp_posts` TO `xxxxxxx_posts`;\nRENAME TABLE `wp_terms` TO `xxxxxxx_terms`;\nRENAME TABLE `wp_term_relationships` TO `xxxxxxx_term_relationships`;\nRENAME TABLE `wp_term_taxonomy` TO `xxxxxxx_term_taxonomy`;\nRENAME TABLE `wp_usermeta` TO `xxxxxxx_usermeta`;\nRENAME TABLE `wp_users` TO `xxxxxxx_users`;\n<\/code><\/pre>\r\n<br>\r\n<br>\r\n<p>\u3000(2)\u3000\u4e0a\u8a18\u306eSQL\u30b3\u30de\u30f3\u30c9\u3067\u30c6\u30fc\u30d6\u30eb\u306e\u540d\u524d\u306f\u5909\u66f4\u3055\u308c\u307e\u3057\u305f\u304c\u3001\u307e\u3060\u3053\u308c\u3060\u3051\u3067\u306f\u4e0d\u5341\u5206\u3067\u3059\uff0e\r\n<br>\r\n<p>\u3000\u3000\u3000\u3000\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u306e\u30ec\u30b3\u30fc\u30c9\u306e\u4e2d\u306b\u3001\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u30c6\u30fc\u30d6\u30eb\u540d\u306b\u4f9d\u5b58\u3057\u3066\u3044\u308b\u90e8\u5206\u304c\u3042\u308a\u307e\u3059\u306e\u3067\u3001\r\n<br>\r\n<p>\u3000\u3000\u3000\u3000\u305d\u306e\u90e8\u5206\u3092\u65b0\u3057\u3044\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u30c6\u30fc\u30d6\u30eb\u540d\u306b\u5408\u308f\u305b\u3066\u5909\u66f4\u3057\u307e\u3059\uff0e\r\n<br>\r\n<p>\u3000\u3000\u3000\u3000\uff08\u3053\u306e\u4f5c\u696d\u306f\u3001\u500b\u3005\u306eWordpress\u74b0\u5883\u306b\u3088\u3063\u3066\u5185\u5bb9\u304c\u7570\u306a\u308a\u307e\u3059\u306e\u3067\u3001\u5404\u81ea\u3067\u81ea\u5206\u306e\u74b0\u5883\u306b\r\n<br>\r\n<p>\u3000\u3000\u3000\u3000\u3000\u5fdc\u3058\u305f\u4f5c\u696d\u304c\u5fc5\u8981\u3067\u3059\uff09\r\n<br>\r\n<p>\u3000\u3000\u3000\u3000\r\n<br>\r\n<p>\u3000\u3000\u3000\u3000\u30fb xxxxxxx_options \u30c6\u30fc\u30d6\u30eb\u3092\u958b\u304d\u3001option_name \u30d5\u30a3\u30fc\u30eb\u30c9\u306e\u5024\u304c &#8220;wp_user_roles&#8221;\r\n<br>\r\n<p>\u3000\u3000\u3000\u3000\u3000\u306e\u30ec\u30b3\u30fc\u30c9\u3092\u63a2\u3057\u307e\u3059\uff0e\r\n<br>\r\n<p>\u3000\u3000\u3000\u3000\u3000\u305d\u306e\u30ec\u30b3\u30fc\u30c9\u306eoption_name \u30d5\u30a3\u30fc\u30eb\u30c9\u306e\u5024\u3092 &#8220;xxxxxxx_user_roles&#8221; \u306b\u4fee\u6b63\u3057\u3066\u4e0b\u3055\u3044\uff0e<\/p>\r\n<br>\r\n<p>\u3000\u3000\u3000\u3000\u30fb xxxxxxx_usermeta \u30c6\u30fc\u30d6\u30eb\u3092\u958b\u304d\u3001meta_key \u30d5\u30a3\u30fc\u30eb\u30c9\u306e\u5024\u304c &#8220;wp_&#8221; \u3067\u59cb\u307e\u308b\u30ec\u30b3\u30fc\u30c9\r\n<br>\r\n<p>\u3000\u3000\u3000\u3000\u3000\u3092\u63a2\u3057\u307e\u3059\uff0e\uff11\u30e6\u30fc\u30b6 ID \u3042\u305f\u308a\u30012\u301c3 \u500b\u6709\u308b\u306f\u305a\u3067\u3059\uff0e\r\n<br>\r\n<br>\r\n<p>\u3000\u3000\u3000\u3000\u3000\u3000&#8221;wp_capabilities&#8221;, &#8220;wp__user_level&#8221;, &#8220;wp_autosave_draft_ids&#8221;\r\n<\/p>\r\n<br>\r\n<p>\u3000\u3000\u3000\u3000\u3000\u3000\u8a72\u5f53\u3059\u308b\u30ec\u30b3\u30fc\u30c9\u306e meta_key \u30d5\u30a3\u30fc\u30eb\u30c9\u306e\u5024\u306e &#8220;wp_&#8221; \u306e\u90e8\u5206\u3092\u5168\u3066 &#8220;xxxxxxx_&#8221;\u3000\u306b\r\n<br>\r\n<p>\u3000\u3000\u3000\u3000\u3000\u3000\u7f6e\u304d\u63db\u3048\u3066\u4e0b\u3055\u3044\uff0e\r\n<br>\r\n<br>\r\n<p>\u3000\u3000\u3000\u4ee5\u4e0a\u3067\u3001 phpMyAdmin \u306b\u3088\u308b\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u30c6\u30fc\u30d6\u30eb\u306e\u5909\u66f4\u306f\u7d42\u4e86\u3067\u3059\uff0e\r\n<br>\r\n<br>\r\n<p>\uff14\uff0eWordpress \u306e\u30b3\u30f3\u30d5\u30a3\u30b0\u30ec\u30fc\u30b7\u30e7\u30f3\u30d5\u30a1\u30a4\u30eb &#8220;wp-config.php&#8221; \u306e $table_prefix \u306e\u90e8\u5206\u3092\u65b0\u3057\u3044\r\n<br>\r\n<p>\u3000\u30c6\u30fc\u30d6\u30eb\u306e\u540d\u524d\u306b\u5408\u308f\u305b\u3066\u5909\u66f4\u3057\u307e\u3059\uff0e\r\n<br>\r\n<pre style=\"font-size: 1.0em;\">\r\n\r\ndefine('DB_HOST', 'localhost');    \/\/ 99% chance you won't need to change this value\ndefine('DB_CHARSET', 'utf8');\ndefine('DB_COLLATE', '');\r\n\r\n\/\/ You can have multiple installations in one database if you give each a unique prefix\n$table_prefix  = '<span style=\"color: #F33;\">xxxxxxx_<\/span>';   \/\/ Only numbers, letters, and underscores please!\r\n\r\n<\/code><\/pre>\r\n<br>\r\n<br>\r\n<p>\uff15\uff0e\u6700\u5f8c\u306b WordPress \u306e\u7ba1\u7406\u753b\u9762\u306b\u30ed\u30b0\u30a4\u30f3\u3057\u3066 \u30e6\u30fc\u30b6\u304c\u518d\u3073Wordpress\u306b\u30a2\u30af\u30bb\u30b9\u3067\u304d\u308b\u3088\u3046\u306b\r\n<br>\r\n<p>\u3000\u3057\u307e\u3059\uff08&#8221;Maintenance Mode&#8221; \u3092\u89e3\u9664\uff09\r\n<br>\r\n<br>\r\n<p>\u4ee5\u4e0a\u3067\u4f5c\u696d\u306f\u7d42\u4e86\u3067\u3059\uff0e\u904e\u53bb\u306e\u8a18\u4e8b\u3092\u5e7e\u3064\u304b\u958b\u3044\u3066\u307f\u3066\u304d\u3061\u3093\u3068\u8a18\u4e8b\u306e\u5185\u5bb9\u304c\u8868\u793a\u3055\u308c\u308b\u304b\u78ba\u8a8d\u3057\u3066\u898b\u3066\u4e0b\u3055\u3044\uff0e<\/p>\n<div class=\"lbthumb\">\n[mygallery columns=&#8221;4&#8243; bgs=&#8221;width: 680px;&#8221; display=&#8221;galleria&#8221; ]\n<\/div>","protected":false},"excerpt":{"rendered":"\u3000Wordpress \u306e\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u30c6\u30fc\u30d6\u30eb\u306e\u30d7\u30ec\u30d5\u30a3\u30af\u30b9\u3092\u3001phpMyAdmin \u3092\u7528\u3044\u3066\u5909\u66f4\u3059\u308b\u624b\u9806\u3067\u3059\uff0e","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"ngg_post_thumbnail":0,"footnotes":""},"categories":[12],"tags":[72,688,135,144],"class_list":["post-723","post","type-post","status-publish","format-standard","hentry","category-wp","tag-phpmyadmin","tag-wp","tag-135","tag-144"],"_links":{"self":[{"href":"https:\/\/y2tech.net\/blog\/wp-json\/wp\/v2\/posts\/723","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/y2tech.net\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/y2tech.net\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/y2tech.net\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/y2tech.net\/blog\/wp-json\/wp\/v2\/comments?post=723"}],"version-history":[{"count":0,"href":"https:\/\/y2tech.net\/blog\/wp-json\/wp\/v2\/posts\/723\/revisions"}],"wp:attachment":[{"href":"https:\/\/y2tech.net\/blog\/wp-json\/wp\/v2\/media?parent=723"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/y2tech.net\/blog\/wp-json\/wp\/v2\/categories?post=723"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/y2tech.net\/blog\/wp-json\/wp\/v2\/tags?post=723"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}