seclists-web-shells

Eyadkelleh's avatarfrom Eyadkelleh

Web shell samples for detection and analysis: PHP, ASP, ASPX, JSP, Python, Perl shells. Use for security research and detection system testing.

⭐0stars🔀0forks📁View on GitHub🕐Updated Dec 8, 2025

When & Why to Use This Skill

The SecLists Web-Shells skill provides a curated collection of web shell samples across various languages like PHP, ASP, JSP, and Python. It is an essential resource for security researchers and IT professionals to test detection systems, validate monitoring tools, and conduct authorized penetration testing or forensics research.

Use Cases

  • Web Shell Detection Testing: Verify the effectiveness of WAF, EDR, and antivirus solutions against a wide range of web shell patterns.
  • Security Monitoring Validation: Test IDS/IPS signatures and SIEM alerting rules by simulating realistic web shell activities.
  • Forensics and Malware Analysis: Study the code structure and behavior of different web shells to enhance incident response and forensic investigation skills.
  • Authorized Penetration Testing: Use standardized samples during security audits and bug bounty programs to identify vulnerabilities in web applications.
  • Cybersecurity Education: Provide real-world examples for CTF competitions, security training, and academic research in a controlled environment.
nameSecLists Web-Shells
descriptionWeb shell samples for detection and analysis: PHP, ASP, ASPX, JSP, Python, Perl shells. Use for security research and detection system testing.

SecLists Web-Shells

Description

Web shell samples for detection and analysis: PHP, ASP, ASPX, JSP, Python, Perl shells. Use for security research and detection system testing.

Source: SecLists/Web-Shells Repository: https://github.com/danielmiessler/SecLists License: MIT

When to Use This Skill

Use this skill when you need:

  • Web shell detection testing
  • Security monitoring validation
  • Malware analysis
  • IDS/IPS signature testing
  • Forensics research

⚠️ IMPORTANT: Only use for authorized security testing, bug bounty programs, CTF competitions, or educational purposes.

Key Files in This Skill

  • PHP shells - Common PHP web shells
  • ASP/ASPX shells - Microsoft web shells
  • JSP shells - Java server pages shells
  • Python shells - Python-based shells
  • Perl shells - Perl web shells

Usage Example

# Access files from this skill
import os

# Example: Load patterns/payloads
skill_path = "references/Web-Shells"

# List all available files
for root, dirs, files in os.walk(skill_path):
    for file in files:
        if file.endswith('.txt'):
            filepath = os.path.join(root, file)
            print(f"Found: {filepath}")
            
            # Read file content
            with open(filepath, 'r', errors='ignore') as f:
                content = f.read().splitlines()
                print(f"  Lines: {len(content)}")

Security & Ethics

Authorized Use Cases ✅

  • Authorized penetration testing with written permission
  • Bug bounty programs (within scope)
  • CTF competitions
  • Security research in controlled environments
  • Testing your own systems
  • Educational demonstrations

Prohibited Use Cases ❌

  • Unauthorized access attempts
  • Testing without permission
  • Malicious activities
  • Privacy violations
  • Any illegal activities

Complete SecLists Collection

This is a curated subset of SecLists. For the complete collection:


Generated by Skill Seeker | SecLists Web-Shells Collection License: MIT - Use responsibly with proper authorization