{"id":9040,"date":"2020-02-17T11:59:13","date_gmt":"2020-02-17T11:59:13","guid":{"rendered":"https:\/\/www.milesweb.in\/hosting-faqs\/?p=9040"},"modified":"2022-02-15T17:43:48","modified_gmt":"2022-02-15T12:13:48","slug":"verifying-wordpress-checksums-using-wp-cli","status":"publish","type":"post","link":"https:\/\/www.milesweb.in\/hosting-faqs\/verifying-wordpress-checksums-using-wp-cli\/","title":{"rendered":"Verifying WordPress Checksums Using WP-CLI"},"content":{"rendered":"<p>In case you don\u2019t update your site plugins along with WordPress core then there are chances that your site might get hacked or infected by malware. If malware infects your website, it is easy to find any of the non-standard WordPress core and plugin files by using the verify checksums commands in WP-CLI (the WordPress Command Line Interface).<\/p>\n<h3>Preparing to Run Commands<\/h3>\n<p>At first, login to your portal via SSH.<\/p>\n<h3>Getting Started<\/h3>\n<p>Security plugins are used for specific purposes, but plugins aren\u2019t the appropriate tool for verifying WordPress core along with installed plugins on the WordPress.org checksums. For your information, WP-CLI comprises of checksum commands for both WordPress core and all plugins.<\/p>\n<h3>Checksums Commands<\/h3>\n<ul>\n<li>Run the below command, to verify that all WordPress core files checksum match:\n<pre class=\"lang:default decode:true \">wp core verify-checksums<\/pre>\n<\/li>\n<li>For verifying checksum against specific versions of WordPress, the version number can be added in the command. For example for verifying for version 5.2.1 of WordPress core, the command would be:\n<pre class=\"lang:default decode:true \">wp core verify-checksums --version=5.2.1<\/pre>\n<\/li>\n<li>For an older version of WordPress, for example version 4.9.10, the command would be:\n<pre class=\"lang:default decode:true \">wp core verify-checksums --version=4.9.10<\/pre>\n<\/li>\n<li>If you want to verify checksum of all plugins installed on your site server (this would only include plugins available from WordPress), then you would need to run the below command:<\/li>\n<\/ul>\n<pre class=\"lang:default decode:true \">wp plugin verify-checksums --all<\/pre>\n<ul>\n<li>For verifying the checksums of a specific plugin (e.g., WooCommerce), you will need to know the plugin \u201cslug\u201d (or short name). You can find it by searching in the plugins links on the WordPress website.<\/li>\n<\/ul>\n<p>The WooCommerce\u2019s plugin slug is woocommerce, so to verify the checksums of the WooCommerce plugin, you need to use the below command:<\/p>\n<pre class=\"lang:default decode:true \">wp plugin verify-checksum woocommerce<\/pre>\n<h3>Conclusion<\/h3>\n<p>The files in WP-CLI that the core verify checksum or plugin verify checksum commands will display will be any of the non-standard PHP or other files that shouldn\u2019t be present in WordPress folders. The files need to be deleted (it is always better to take backups prior to deleting data from your server) and then the same verify checksums commands can be run to check there aren\u2019t any other files that shouldn\u2019t exist on your site server.<\/p>\n<p>By learning to verify the checksums of WordPress core files, plugins installed from WordPress.org, and those installed from WordPress.org with easy-to-use WP-CLI commands will help you stay tension free. This is because you will know that no non-standard files exist in those folder directories.<\/p>\n<p><strong>Also Read:<\/strong><\/p>\n<p><a href=\"https:\/\/www.milesweb.in\/hosting-faqs\/how-to-work-with-file-checksums\/\" target=\"_blank\" rel=\"noopener\"><strong>How to work with file checksums?<\/strong><\/a><br \/>\n<a href=\"https:\/\/www.milesweb.in\/hosting-faqs\/improve-security-wordpress-website\/\" target=\"_blank\" rel=\"noopener\"><strong>How To Improve The Security Of Your WordPress Website?<\/strong><\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>In case you don\u2019t update your site plugins along with WordPress core then there are chances that your site might get hacked or infected by malware. If malware infects your website, it is easy to find any of the non-standard WordPress core and plugin files by using the verify checksums commands in WP-CLI (the WordPress [&hellip;]<\/p>\n","protected":false},"author":16,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[17],"tags":[78,1295,1297,1296],"class_list":["post-9040","post","type-post","status-publish","format-standard","placeholder-for-hentry","category-wordpress-faq","tag-wordpress-2","tag-wordpress-checksums","tag-wordpress-malware-infection","tag-wp-cli"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.1.1 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Verifying WordPress Checksums Using WP-CLI<\/title>\n<meta name=\"description\" content=\"You can easily find any of the non-standard WordPress core and plugin files using the verify checksums commands in WP-CLI.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.milesweb.in\/hosting-faqs\/verifying-wordpress-checksums-using-wp-cli\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Verifying WordPress Checksums Using WP-CLI\" \/>\n<meta property=\"og:description\" content=\"You can easily find any of the non-standard WordPress core and plugin files using the verify checksums commands in WP-CLI.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.milesweb.in\/hosting-faqs\/verifying-wordpress-checksums-using-wp-cli\/\" \/>\n<meta property=\"og:site_name\" content=\"Web Hosting FAQs by MilesWeb\" \/>\n<meta property=\"article:published_time\" content=\"2020-02-17T11:59:13+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2022-02-15T12:13:48+00:00\" \/>\n<meta name=\"author\" content=\"Pallavi Godse\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Pallavi Godse\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"2 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/www.milesweb.in\/hosting-faqs\/verifying-wordpress-checksums-using-wp-cli\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/www.milesweb.in\/hosting-faqs\/verifying-wordpress-checksums-using-wp-cli\/\"},\"author\":{\"name\":\"Pallavi Godse\",\"@id\":\"https:\/\/www.milesweb.in\/hosting-faqs\/#\/schema\/person\/7e3952607fa9eb4e82fea9f7cad9c945\"},\"headline\":\"Verifying WordPress Checksums Using WP-CLI\",\"datePublished\":\"2020-02-17T11:59:13+00:00\",\"dateModified\":\"2022-02-15T12:13:48+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/www.milesweb.in\/hosting-faqs\/verifying-wordpress-checksums-using-wp-cli\/\"},\"wordCount\":412,\"commentCount\":0,\"keywords\":[\"WordPress\",\"WordPress checksums\",\"WordPress malware infection\",\"WP-CLI\"],\"articleSection\":[\"WordPress FAQ\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/www.milesweb.in\/hosting-faqs\/verifying-wordpress-checksums-using-wp-cli\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.milesweb.in\/hosting-faqs\/verifying-wordpress-checksums-using-wp-cli\/\",\"url\":\"https:\/\/www.milesweb.in\/hosting-faqs\/verifying-wordpress-checksums-using-wp-cli\/\",\"name\":\"Verifying WordPress Checksums Using WP-CLI\",\"isPartOf\":{\"@id\":\"https:\/\/www.milesweb.in\/hosting-faqs\/#website\"},\"datePublished\":\"2020-02-17T11:59:13+00:00\",\"dateModified\":\"2022-02-15T12:13:48+00:00\",\"author\":{\"@id\":\"https:\/\/www.milesweb.in\/hosting-faqs\/#\/schema\/person\/7e3952607fa9eb4e82fea9f7cad9c945\"},\"description\":\"You can easily find any of the non-standard WordPress core and plugin files using the verify checksums commands in WP-CLI.\",\"breadcrumb\":{\"@id\":\"https:\/\/www.milesweb.in\/hosting-faqs\/verifying-wordpress-checksums-using-wp-cli\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.milesweb.in\/hosting-faqs\/verifying-wordpress-checksums-using-wp-cli\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.milesweb.in\/hosting-faqs\/verifying-wordpress-checksums-using-wp-cli\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/www.milesweb.in\/hosting-faqs\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Verifying WordPress Checksums Using WP-CLI\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.milesweb.in\/hosting-faqs\/#website\",\"url\":\"https:\/\/www.milesweb.in\/hosting-faqs\/\",\"name\":\"Web Hosting FAQs by MilesWeb\",\"description\":\"\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.milesweb.in\/hosting-faqs\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.milesweb.in\/hosting-faqs\/#\/schema\/person\/7e3952607fa9eb4e82fea9f7cad9c945\",\"name\":\"Pallavi Godse\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.milesweb.in\/hosting-faqs\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/3602d0ac1ab89332aea8205dcf474af4ff4eb319cfd584544038908cd5e4c966?s=96&d=blank&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/3602d0ac1ab89332aea8205dcf474af4ff4eb319cfd584544038908cd5e4c966?s=96&d=blank&r=g\",\"caption\":\"Pallavi Godse\"},\"description\":\"Pallavi is a Digital Marketing Executive at MilesWeb and has an experience of over 4 years in content development. She is interested in writing engaging content on business, technology, web hosting and other topics related to information technology.\",\"sameAs\":[\"https:\/\/www.milesweb.in\"],\"url\":\"https:\/\/www.milesweb.in\/hosting-faqs\/author\/pallavi\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Verifying WordPress Checksums Using WP-CLI","description":"You can easily find any of the non-standard WordPress core and plugin files using the verify checksums commands in WP-CLI.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.milesweb.in\/hosting-faqs\/verifying-wordpress-checksums-using-wp-cli\/","og_locale":"en_US","og_type":"article","og_title":"Verifying WordPress Checksums Using WP-CLI","og_description":"You can easily find any of the non-standard WordPress core and plugin files using the verify checksums commands in WP-CLI.","og_url":"https:\/\/www.milesweb.in\/hosting-faqs\/verifying-wordpress-checksums-using-wp-cli\/","og_site_name":"Web Hosting FAQs by MilesWeb","article_published_time":"2020-02-17T11:59:13+00:00","article_modified_time":"2022-02-15T12:13:48+00:00","author":"Pallavi Godse","twitter_misc":{"Written by":"Pallavi Godse","Est. reading time":"2 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.milesweb.in\/hosting-faqs\/verifying-wordpress-checksums-using-wp-cli\/#article","isPartOf":{"@id":"https:\/\/www.milesweb.in\/hosting-faqs\/verifying-wordpress-checksums-using-wp-cli\/"},"author":{"name":"Pallavi Godse","@id":"https:\/\/www.milesweb.in\/hosting-faqs\/#\/schema\/person\/7e3952607fa9eb4e82fea9f7cad9c945"},"headline":"Verifying WordPress Checksums Using WP-CLI","datePublished":"2020-02-17T11:59:13+00:00","dateModified":"2022-02-15T12:13:48+00:00","mainEntityOfPage":{"@id":"https:\/\/www.milesweb.in\/hosting-faqs\/verifying-wordpress-checksums-using-wp-cli\/"},"wordCount":412,"commentCount":0,"keywords":["WordPress","WordPress checksums","WordPress malware infection","WP-CLI"],"articleSection":["WordPress FAQ"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.milesweb.in\/hosting-faqs\/verifying-wordpress-checksums-using-wp-cli\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.milesweb.in\/hosting-faqs\/verifying-wordpress-checksums-using-wp-cli\/","url":"https:\/\/www.milesweb.in\/hosting-faqs\/verifying-wordpress-checksums-using-wp-cli\/","name":"Verifying WordPress Checksums Using WP-CLI","isPartOf":{"@id":"https:\/\/www.milesweb.in\/hosting-faqs\/#website"},"datePublished":"2020-02-17T11:59:13+00:00","dateModified":"2022-02-15T12:13:48+00:00","author":{"@id":"https:\/\/www.milesweb.in\/hosting-faqs\/#\/schema\/person\/7e3952607fa9eb4e82fea9f7cad9c945"},"description":"You can easily find any of the non-standard WordPress core and plugin files using the verify checksums commands in WP-CLI.","breadcrumb":{"@id":"https:\/\/www.milesweb.in\/hosting-faqs\/verifying-wordpress-checksums-using-wp-cli\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.milesweb.in\/hosting-faqs\/verifying-wordpress-checksums-using-wp-cli\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.milesweb.in\/hosting-faqs\/verifying-wordpress-checksums-using-wp-cli\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.milesweb.in\/hosting-faqs\/"},{"@type":"ListItem","position":2,"name":"Verifying WordPress Checksums Using WP-CLI"}]},{"@type":"WebSite","@id":"https:\/\/www.milesweb.in\/hosting-faqs\/#website","url":"https:\/\/www.milesweb.in\/hosting-faqs\/","name":"Web Hosting FAQs by MilesWeb","description":"","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.milesweb.in\/hosting-faqs\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/www.milesweb.in\/hosting-faqs\/#\/schema\/person\/7e3952607fa9eb4e82fea9f7cad9c945","name":"Pallavi Godse","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.milesweb.in\/hosting-faqs\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/3602d0ac1ab89332aea8205dcf474af4ff4eb319cfd584544038908cd5e4c966?s=96&d=blank&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/3602d0ac1ab89332aea8205dcf474af4ff4eb319cfd584544038908cd5e4c966?s=96&d=blank&r=g","caption":"Pallavi Godse"},"description":"Pallavi is a Digital Marketing Executive at MilesWeb and has an experience of over 4 years in content development. She is interested in writing engaging content on business, technology, web hosting and other topics related to information technology.","sameAs":["https:\/\/www.milesweb.in"],"url":"https:\/\/www.milesweb.in\/hosting-faqs\/author\/pallavi\/"}]}},"_links":{"self":[{"href":"https:\/\/www.milesweb.in\/hosting-faqs\/wp-json\/wp\/v2\/posts\/9040","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.milesweb.in\/hosting-faqs\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.milesweb.in\/hosting-faqs\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.milesweb.in\/hosting-faqs\/wp-json\/wp\/v2\/users\/16"}],"replies":[{"embeddable":true,"href":"https:\/\/www.milesweb.in\/hosting-faqs\/wp-json\/wp\/v2\/comments?post=9040"}],"version-history":[{"count":2,"href":"https:\/\/www.milesweb.in\/hosting-faqs\/wp-json\/wp\/v2\/posts\/9040\/revisions"}],"predecessor-version":[{"id":15905,"href":"https:\/\/www.milesweb.in\/hosting-faqs\/wp-json\/wp\/v2\/posts\/9040\/revisions\/15905"}],"wp:attachment":[{"href":"https:\/\/www.milesweb.in\/hosting-faqs\/wp-json\/wp\/v2\/media?parent=9040"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.milesweb.in\/hosting-faqs\/wp-json\/wp\/v2\/categories?post=9040"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.milesweb.in\/hosting-faqs\/wp-json\/wp\/v2\/tags?post=9040"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}