How to create a backdoor script in WordPress

In this tutorial, I will explain how to create a backdoor script in WordPress with an example.

Here is the piece of WordPress code to create a new user using the script with the Administrator rights.

1. Open functions.php file from your theme folder.

2. Copy the below code and paste it inside the functions.php file.

3. Save the changes.

4. Open the web browser and this URL http://www.yourdomain.com/?backdoor=knockknock. Once the page is loaded, a new user will be created with the Administrator rights.

10 Best Security Plugins For WordPress

Recommended Posts:


Prem Tiwari

An engineer by profession and a passionate blogger by heart. Founder of FreeWebMentor.com (A Programming blog for beginners), Tech Speaker at various forums. A part from this he is an open source enthusiast, WordPress Lover, Blogger, SEO, and Growth Strategic.

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Solved Programs