Exploit database

GH-3f2f1dfa083fb13cb008c47db8f2910d

mogwailabs/cve-2023-32692-codeigniter4

GitHubNot listedPoC
Download repository ZIP

Sources for CVE-2023-32692

1 source

Preferred order: Exploit-DB, Metasploit, then GitHub repositories by stars.

Repository files37
mogwailabs/cve-2023-32692-codeigniter4Revision 190ca52d8204

Files from this repository share one source choice. Supporting files may cover other vulnerabilities.

app/Config/Honeypot.php

PHP · 855 bytes
<?php

namespace Config;

use CodeIgniter\Config\BaseConfig;

class Honeypot extends BaseConfig
{
    /**
     * Makes Honeypot visible or not to human
     */
    public bool $hidden = true;

    /**
     * Honeypot Label Content
     */
    public string $label = 'Fill This Field';

    /**
     * Honeypot Field Name
     */
    public string $name = 'honeypot';

    /**
     * Honeypot HTML Template
     */
    public string $template = '<label>{label}</label><input type="text" name="{name}" value="">';

    /**
     * Honeypot container
     *
     * If you enabled CSP, you can remove `style="display:none"`.
     */
    public string $container = '<div style="display:none">{template}</div>';

    /**
     * The id attribute for Honeypot container tag
     *
     * Used when CSP is enabled.
     */
    public string $containerId = 'hpc';
}