├── README.md
└── rfc822_email_validator.py
/README.md:
--------------------------------------------------------------------------------
1 | RFC822 Email Validator
2 | =====================
3 |
4 | A simple, offline Python tool for validating email addresses against the RFC822 standard.
5 | Perfect for quick checks, integration into scripts, or security testing of email input fields.
6 |
7 | Features
8 | --------
9 | - RFC822-compliant: Uses a regular expression closely matching the RFC822 specification.
10 | - Offline: No network connection required.
11 | - Easy to use: Just run the script and enter an email address.
12 | - Security Testing: Useful for testing input validation, including XSS payloads.
13 |
14 | Usage
15 | -----
16 | 1. Clone the repository or download the script:
17 | git https://github.com/coffinxp/RFC822-Email-Validator.git)
18 | cd RFC822-Email-Validator
19 |
20 | 2. Run the script:
21 | python3 rfc822_email_validator.py
22 |
23 | 3. Enter the email address you want to validate when prompted.
24 |
25 | 4. Result:
26 | The script will print "RFC822 valid: YES" if the email is valid, or "RFC822 valid: NO" if not.
27 |
28 | Example
29 | -------
30 | $ python3 rfc822_email_validator.py
31 | Enter email address: test@example.com
32 | RFC822 valid: YES
33 |
34 | $ python3 rfc822_email_validator.py
35 | Enter email address: ">@test.com
36 | RFC822 valid: NO
37 |
38 | 
39 |
40 | Security Testing
41 | ----------------
42 | You can use this tool to test how your application handles potentially malicious email input, such as XSS payloads.
43 | Example payloads to try:
44 | - ">@test.com
45 | - ">