wpscan
WordPress-Coding-Standards
Our great sponsors
wpscan | WordPress-Coding-Standards | |
---|---|---|
25 | 12 | |
8,182 | 2,443 | |
1.3% | 1.1% | |
6.4 | 9.2 | |
3 months ago | 6 days ago | |
Ruby | PHP | |
Dual | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
wpscan
- WPScan
- What are you all doing to protect your internal network?
-
A Beginner's Guide to Penetration Testing (Part 1)
After our initial port scan, we might do more scans depending on what we find. In order to be as effective as possible, and to gather as much information as possible, pentesters are often running multiple scans simultaneously on a target. There are hundreds of tools out there for every service imaginable. Some of the tools worth mentioning are wpscan (https://wpscan.com/wordpress-security-scanner) for Wordpress sites or sqlmap (https://sqlmap.org/) for automatic SQL injection. For a more extensive list of tools check out https://0xcybery.github.io/ehtk/ or https://github.com/enaqx/awesome-pentest
-
HTB - Paper (Writeup)
So the website is using Wordpress. Having said that, we are going to use WPScan. But before that, make sure that you have already acquired your API token before using WPScan or you will never be able to utilize the scanner. You can get your own API token by signing up on their website.
-
The most important step in hacking - Enumeration
Specialised tools can be used, for example WPScan. Allowing us to enumerate the wordpress CMS.
- Finding security vulnerabilities in a WordPress plugin
-
Boss wants vulnerability scans completed on Linux servers and WordPress websites.
Linux Servers (Remotely): nmap -> nmap -sC -sV -p- ipHere WordPress Websites: wpscan -> wpscan --url http://site.com/
-
wordpress enumeration without wpscan
There is one annoying "gotcha" when using WPScan, especially plugin enumeration, which is for the best results you have to go an extra step and add the "--plugins-detection mixed" option. It is documented in our user documentation - https://github.com/wpscanteam/wpscan/wiki/WPScan-User-Documentation#enumeration-modes
-
Best free security plugin for WP website?
There is a free wordpress security scanning service that you could leverage for regular security auditing of your site called WPScan that is fantastic on detecting and auditing common vulnerabilities to plugins and security exposures.
-
How to tell if a plugin is being used?
wpscan will audit for plugins used that have publicly exposed vulnerabilities. The methods of detection are quite clever and it works well.
WordPress-Coding-Standards
-
Docker environment for WordPress development
Is a Docker WordPress Environment focused on the development of WordPress plugins and themes, supports WP-CLI, phpMyAdmin, Xdebug and WordPress Coding Standards - WPCS.
-
Setting WordPress Coding Standards per project using Composer
PHP Code Sniffer helps us to achieve uniformity of code styles, we also can add other standards, like WordPress Coding Standars, some companies define their own standards etc. There are several ways to config that, but in this article, I will manage WordPress Coding Standards through Composer so we can manage these standards per project, using VS Code IDE.
-
Code style checker and reformater
The standard here is probably wpcs (https://github.com/WordPress/WordPress-Coding-Standards) which is a set of rules for the tool phpcs (https://github.com/squizlabs/PHP_CodeSniffer)
- Finding security vulnerabilities in a WordPress plugin
-
WordPress is 18
Use the official docs instead of going off what people say to do on stackoverflow and the other wp seo spam sites out there. The snippets are often not optimized correctly, using an outdated method, or just insecure.
I suggest going through the VIP docs as well as they have some really good advice on securing and speeding up wordpress along with what to avoid.
https://docs.wpvip.com/technical-references/
Also just a tip: https://github.com/WordPress/WordPress-Coding-Standards
What are some alternatives?
SecLists - SecLists is the security tester's companion. It's a collection of multiple types of lists used during security assessments, collected in one place. List types include usernames, passwords, URLs, sensitive data patterns, fuzzing payloads, web shells, and many more.
RustScan - 🤖 The Modern Port Scanner 🤖
ModSecurity - ModSecurity is an open source, cross platform web application firewall (WAF) engine for Apache, IIS and Nginx that is developed by Trustwave's SpiderLabs. It has a robust event-based programming language which provides protection from a range of attacks against web applications and allows for HTTP traffic monitoring, logging and real-time analysis. With over 10,000 deployments world-wide, ModSecurity is the most widely deployed WAF in existence.
vane - A GPL fork of the popular wordpress vulnerability scanner WPScan
WhatWeb - Next generation web scanner
Uniscan - Uniscan web vulnerability scanner
Sublist3r - Fast subdomains enumeration tool for penetration testers
SQLMap - Automatic SQL injection and database takeover tool
aws-recon - Multi-threaded AWS inventory collection tool with a focus on security-relevant resources and metadata.
PEASS-ng - PEASS - Privilege Escalation Awesome Scripts SUITE (with colors)
CVE-2021-3560-Polkit-Privilege-Esclation
BloodHound - Six Degrees of Domain Admin