Skip to content

Instantly share code, notes, and snippets.

@AppSecExplained
AppSecExplained / wordpress-latest
Created June 12, 2023 08:04
quickly spin up a wordpress instance
version: "3"
services:
database:
image: mysql
restart: always
environment:
MYSQL_ROOT_PASSWORD: wppassword
MYSQL_DATABASE: wpdb
MYSQL_USER: wpuser
MYSQL_PASSWORD: wppassword
<?php
// A script to check what you can use for RCE on a target
$test_command = 'echo "time for some fun!"';
$functions_to_test = [
'system',
'shell_exec',
'exec',
'passthru',