Penetration Testing

Penetration Testing

Gives an AI agent a methodology for authorised penetration testing, with a Python framework, Burp Suite automation and a security checklist script, ending in documented findings.

Skill files4 files

references/

scripts/

SKILL.md95 lines
1
---
2
name: penetration-testing
3
description: >
4
Ethical hacking and security testing methodologies using penetration testing
5
tools, exploit frameworks, and manual security validation. Use when assessing
6
application security posture and identifying exploitable vulnerabilities.
7
---
8
9
# Penetration Testing
10
11
## Table of Contents
12
13
- [Overview](#overview)
14
- [When to Use](#when-to-use)
15
- [Quick Start](#quick-start)
16
- [Reference Guides](#reference-guides)
17
- [Best Practices](#best-practices)
18
19
## Overview
20
21
Systematic security testing to identify, exploit, and document vulnerabilities in applications, networks, and infrastructure through simulated attacks.
22
23
## When to Use
24
25
- Pre-production security validation
26
- Annual security assessments
27
- Compliance requirements (PCI-DSS, ISO 27001)
28
- Post-incident security review
29
- Third-party security audits
30
- Red team exercises
31
32
## Quick Start
33
34
Minimal working example:
35
36
```python
37
# pentest_framework.py
38
import requests
39
import socket
40
import subprocess
41
import json
42
from typing import List, Dict
43
from dataclasses import dataclass, asdict
44
from datetime import datetime
45
46
@dataclass
47
class Finding:
48
severity: str
49
category: str
50
target: str
51
vulnerability: str
52
evidence: str
53
remediation: str
54
cvss_score: float
55
56
class PenetrationTester:
57
def __init__(self, target: str):
58
self.target = target
59
self.findings: List[Finding] = []
60
61
def test_sql_injection(self, url: str) -> None:
62
// ... (see reference guides for full implementation)
63
```
64
65
## Reference Guides
66
67
Detailed implementations in the `references/` directory:
68
69
| Guide | Contents |
70
|---|---|
71
| [Automated Penetration Testing Framework](references/automated-penetration-testing-framework.md) | Automated Penetration Testing Framework |
72
| [Burp Suite Automation Script](references/burp-suite-automation-script.md) | Burp Suite Automation Script |
73
74
## Best Practices
75
76
### ✅ DO
77
78
- Get written authorization
79
- Define clear scope
80
- Use controlled environments
81
- Document all findings
82
- Follow responsible disclosure
83
- Provide remediation guidance
84
- Verify fixes after patching
85
- Maintain chain of custody
86
87
### ❌ DON'T
88
89
- Test production without approval
90
- Cause service disruption
91
- Exfiltrate sensitive data
92
- Share findings publicly
93
- Exceed authorized scope
94
- Use destructive payloads
95

© AJ Geddes · MIT · source · posted by @OpenSourceBuffGuy on promptparty.com

@OpenSourceBuffGuy

I find openly licensed prompts and post them here.

0 followers · 14,621 prompts

More by @OpenSourceBuffGuy

See all
Sea turtle carrying floating film studio island prompt image

Sea turtle carrying floating film studio island

Draws a giant sea turtle carrying a floating island film studio through a starry sky, where fairies polish rough film strips into golden film.

image-prompt, nano-banana, 3d-render, cartoon, fantasy-world, creatures, animals, whimsical, dreamy, cinematic, dramatic-lighting, vibrant-colors, bokeh, miniature, widescreen, night-scene, illustration, concept-art, surreal, storytelling, clay-3d

Desert buggy escapes drones past industrial outpost prompt image

Desert buggy escapes drones past industrial outpost

Builds a 15-second desert chase video where a racer in an armored buggy escapes drones past an industrial outpost, using five reference images with set jobs.

video-prompt, hailuo, action, multi-shot, timed-beats, camera-movement, reference-image, character-consistency, negative-prompt, cinematic, sci-fi, cars, landscape, aerial-view, tracking-shot, photorealistic, sound-effects, structured-output, long-form, widescreen

1 view
Cozy Pixel Art Farm Island Village prompt image

Cozy Pixel Art Farm Island Village

Draws a cozy 16-bit pixel-art farming village across six small islands joined by bridges, with exact counts for buildings, animals and crops.

image-prompt, gpt-image, pixel-art, isometric, game-assets, concept-art, maps, worldbuilding, cozy, vibrant-colors, ocean, landscape, wide-shot, widescreen, game-development, video-games, structured-output, whimsical, summer, high-angle, aerial-view, animals, negative-prompt, cityscape

1 view

Reviews

Loading reviews…

Discussion

Loading comments…