Giter VIP home page Giter VIP logo

wp-inspect's Introduction

WP-Inspect: Investigate Hacked WordPress Instances

Introduction

This tool is designed to assist in identifying changes made to WordPress files by comparing it to either the original source code from the internet or a backup of the installation.

Alt Text

Purpose

The primary purpose of this tool is to aid in forensic investigations of WordPress websites by identifying any alterations or additions to the core files or uploaded content. It helps investigators determine if any unauthorized changes have been made, such as malware injections, file modifications, or user uploads that may be of interest.

Features

  • Comparison with Original Source Code: Compare the WordPress installation folder with the original source code obtained from the internet to identify any discrepancies.

  • Comparison with Backup: Compare the WordPress installation folder with a backup to detect any changes made since the backup was created.

Prerequisites

  • Python Version 3.9 or above is required.
  • Please note that as of my last update, this tool may not be compatible with Windows operating systems.

Installation

  • Install WP-Inspect using pip:

    pip install git+https://github.com/LucaKuechler/WP-Inspect.git

Usage

  • Compare WordPress Source Code to Original Source Code and export results to csv:

    wpinspect web ../wordpress_hacked_files/ --csv /tmp/out.csv
  • Compare WordPress Source Code to WordPress Backup Files and export results to csv:

    wpinspect local ../wordpress_backup_files/ ../wordpress_hacked_files/ --csv /tmp/out.csv

Acknowledgments

  • Special thanks to @ym405nm for inspiring this project with his tool wp-forensics.

wp-inspect's People

Contributors

lucakuechler avatar

Watchers

 avatar

wp-inspect's Issues

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.