• Home
  • Archive
  • Tools
  • Contact Us

The Customize Windows

Technology Journal

  • Cloud Computing
  • Computer
  • Digital Photography
  • Windows 7
  • Archive
  • Cloud Computing
  • Virtualization
  • Computer and Internet
  • Digital Photography
  • Android
  • Sysadmin
  • Electronics
  • Big Data
  • Virtualization
  • Downloads
  • Web Development
  • Apple
  • Android
Advertisement
You are here:Home » WordPress Security Test with Nmap NSE Scripts

By Abhishek Ghosh May 16, 2017 12:55 am Updated on May 16, 2017

WordPress Security Test with Nmap NSE Scripts

Advertisement

Periodic security checking, particularly on cloud server is important. Here is how to perform WordPress security test with Nmap NSE scripts. Previously we have some important guides like for brute force vulnerability checking(it is important to read before this guide in case you are completely new). In this guide we are showing quite basic things including installation, reading help of the scripts, running the scripts. NSE script is a big topic and actually it is beyond our capability to go in depth. But knowing and doing these basic operations will help to slowly learn the terminologies and tricks yourself. We are using a Ubuntu server running WordPress for this guide’s examples. Reconnaissance is crucial to a successful penetration test. Without proper reconnaissance, closing an exploit is going to be a guess work.

WordPress Security Test with Nmap NSE Scripts

 

WordPress Security Test with Nmap NSE Scripts

 

Installing Nmap is easy :

Vim
1
sudo apt-get install nmap

You need to locate the nse scripts with locate utility and change directory to the script directory :

Advertisement

---

Vim
1
locate *.nse

You’ll get output like :

Vim
1
2
3
4
5
6
7
8
9
10
11
/usr/share/nmap/scripts/acarsd-info.nse
/usr/share/nmap/scripts/address-info.nse
/usr/share/nmap/scripts/afp-brute.nse
/usr/share/nmap/scripts/afp-ls.nse
/usr/share/nmap/scripts/afp-path-vuln.nse
/usr/share/nmap/scripts/afp-serverinfo.nse
/usr/share/nmap/scripts/afp-showmount.nse
/usr/share/nmap/scripts/ajp-auth.nse
/usr/share/nmap/scripts/ajp-brute.nse
/usr/share/nmap/scripts/ajp-headers.nse
...

Change directory to /usr/share/nmap/scripts/ and do a ls :

Vim
1
2
cd /usr/share/nmap/scripts
ls

In case you want to find WordPress specific nse scrips you can pipe with grep :

Vim
1
ls | grep wordpress

You’ll find three files at this moment :

Vim
1
2
3
http-wordpress-brute.nse
http-wordpress-enum.nse
http-wordpress-users.nse

In order to read the help file, you have to run this kind of command :

Vim
1
nmap -script-help http-wordpress-brute.nse

In most easy simple form you can run the script in this way :

Vim
1
nmap -sV --script http-wordpress-brute 127.0.0.1

You’ll get this kind of output :

Vim
1
Starting Nmap 7.01 ( https://nmap.org ) at 2017-05-16 05:48 IST

After a time you’ll get the full result :

Vim
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
Nmap scan report for localhost.localdomain (127.0.0.1)
Host is up (0.000019s latency).
Not shown: 996 closed ports
PORT     STATE SERVICE  VERSION
22/tcp   open  ssh      OpenSSH 7.2p2 Ubuntu 4ubuntu2.2 (Ubuntu Linux; protocol 2.0)
80/tcp   open  http     nginx
|_http-server-header: nginx
443/tcp  open  ssl/http nginx
|_http-server-header: nginx
| http-wordpress-brute:
|   Accounts: No valid accounts found
|_  Statistics: Performed 18633 guesses in 599 seconds, average tps: 31
3306/tcp open  mysql    MySQL 5.6.32-78.1-log
Service Info: OS: Linux; CPE: cpe:/o:linux:linux_kernel
 
Service detection performed. Please report any incorrect results at https://nmap.org/submit/ .
Nmap done: 1 IP address (1 host up) scanned in 613.35 seconds

You can read the official documentation on Nmap WordPress NSE script related pages :

Vim
1
2
3
https://nmap.org/nsedoc/scripts/http-wordpress-enum.html
https://nmap.org/nsedoc/scripts/http-wordpress-users.html
https://nmap.org/nsedoc/scripts/http-wordpress-brute.html

There are other user created scripts like you can see few on GitHub’s this repo :

Vim
1
https://github.com/peter-hackertarget/nmap-nse-scripts

You’ll see installation of custom Nmap scripts for that repo is written. After test is done, do not keep the scripts on publicly available directory.

Tagged With create own nse script , http-wordpress-plugins nse nmap , nmap scripts http-wordpress-plugins nse download , nmap scripts to test network security , nmap ssh-brute nse , review nmap with nse scripts , wordpress nmap
Facebook Twitter Pinterest

Abhishek Ghosh

About Abhishek Ghosh

Abhishek Ghosh is a Businessman, Surgeon, Author and Blogger. You can keep touch with him on Twitter - @AbhishekCTRL.

Here’s what we’ve got for you which might like :

Articles Related to WordPress Security Test with Nmap NSE Scripts

  • Tools & Commands For Testing Brute Force Vulnerability (White Hat)

    After Securing Server, Basic Penetration Testing For Security is Needed. Here Are Few Tools & Commands For Brute Force Vulnerability Checking.

  • Nginx WordPress Installation Guide (All Steps)

    This is a Full Nginx WordPress Installation Guide With All the Steps, Including Some Optimization and Setup Which is Compatible With WordPress DOT ORG Example Settings For Nginx.

  • WordPress Multisite on Nginx on Ubuntu 14.04 on HP Cloud

    Here is a Step by Step Guide on Setting Up WordPress Multisite on Nginx on Ubuntu 14.04 on HP Cloud with All Commands and the Configuration.

  • Nmap on Windows : How to Use From CLI and GUI

    A port scanner is software that can be used to check which services in a system are working with TCP or UDP over the Internet protocol. The port scanner relieves the user of the work of examining and interpreting the response behavior of a system itself with a sniffer. Nmap is a free port scanner […]

performing a search on this website can help you. Also, we have YouTube Videos.

Take The Conversation Further ...

We'd love to know your thoughts on this article.
Meet the Author over on Twitter to join the conversation right now!

If you want to Advertise on our Article or want a Sponsored Article, you are invited to Contact us.

Contact Us

Subscribe To Our Free Newsletter

Get new posts by email:

Please Confirm the Subscription When Approval Email Will Arrive in Your Email Inbox as Second Step.

Search this website…

 

Popular Articles

Our Homepage is best place to find popular articles!

Here Are Some Good to Read Articles :

  • Cloud Computing Service Models
  • What is Cloud Computing?
  • Cloud Computing and Social Networks in Mobile Space
  • ARM Processor Architecture
  • What Camera Mode to Choose
  • Indispensable MySQL queries for custom fields in WordPress
  • Windows 7 Speech Recognition Scripting Related Tutorials

Social Networks

  • Pinterest (24.3K Followers)
  • Twitter (5.8k Followers)
  • Facebook (5.7k Followers)
  • LinkedIn (3.7k Followers)
  • YouTube (1.3k Followers)
  • GitHub (Repository)
  • GitHub (Gists)
Looking to publish sponsored article on our website?

Contact us

Recent Posts

  • Hybrid Multi-Cloud Environments Are Becoming UbiquitousJuly 12, 2023
  • Data Protection on the InternetJuly 12, 2023
  • Basics of BJT TransistorJuly 11, 2023
  • What is Confidential Computing?July 11, 2023
  • How a MOSFET WorksJuly 10, 2023
PC users can consult Corrine Chorney for Security.

Want to know more about us?

Read Notability and Mentions & Our Setup.

Copyright © 2023 - The Customize Windows | dESIGNed by The Customize Windows

Copyright  · Privacy Policy  · Advertising Policy  · Terms of Service  · Refund Policy