- Home
- Security Operations
- Honeypots & Deception
- smart-honeypot PHP Script

smart-honeypot PHP Script
PHP Script demonstrating a smart honey pot for email form protection.

smart-honeypot PHP Script
PHP Script demonstrating a smart honey pot for email form protection.
smart-honeypot PHP Script Description
PHP Script demonstrating a smart honey pot. Gettings Started Download the latest release. Choose one of the forms: simple-form.php, hardened-form.php or bootstrap-form.php (simple-form.php is intended as a simple way to understand the script only. It is not intended for use in production.) Set the contants Set the $salt. I recommend http://www.sethcardoza.com/tools/random-password-generator/ as a quick tool to get some random stuff to put in there. Set $recipients to a comma-separated list of emails (as accepted by PHP mail function) Set $senderName. This will be included in the from address of the email. Set $sender. This is the email address where the form originates. Typically something like noreply@example.com. Set $subject. This is the email subject. Modify the form to include the fields you need. action defaults to the current script address method should remain set at post. Changing this will cause the form not to send emails. fields is an array of inputs (and form elements) that you would like in your form. You can use the following form elements: text, url, email, number, phone/tel, checkbox, file, textarea, select, and submit The last form input should always
FEATURED
Password manager with end-to-end encryption and identity protection features
VPN service providing encrypted internet connections and privacy protection
Fractional CISO services for B2B companies to accelerate sales and compliance
Stay Updated with Mandos Brief
Get the latest cybersecurity updates in your inbox
TRENDING CATEGORIES
POPULAR
Security platform that provides protection, monitoring and governance for enterprise generative AI applications and LLMs against various threats including prompt injection and data poisoning.
A threat intelligence aggregation service that consolidates and summarizes security updates from multiple sources to provide comprehensive cybersecurity situational awareness.
Fabric Platform is a cybersecurity reporting solution that automates and standardizes report generation, offering a private-cloud platform, open-source tools, and community-supported templates.
A weekly newsletter providing cybersecurity leadership insights, industry updates, and strategic guidance for security professionals advancing to management positions.