python-security-tools

Python Security Tools

Safety Notice

This listing is imported from skills.sh public index metadata. Review upstream SKILL.md and repository scripts before running.

Copy this and send it to your AI assistant to learn

Install skill "python-security-tools" with this command: npx skills add duck4nh/antigravity-kit/duck4nh-antigravity-kit-python-security-tools

Python Security Tools

Essential Libraries

Web

import requests from bs4 import BeautifulSoup from urllib.parse import urljoin, quote

Network

import socket from scapy.all import *

Binary/Exploit

from pwn import *

Async

import asyncio import aiohttp

Utils

import argparse import concurrent.futures

HTTP Requests

s = requests.Session() s.verify = False # Ignore SSL s.proxies = {"http": "http://127.0.0.1:8080"} # Burp

GET with params

r = s.get(url, params={"id": "1"})

POST with data

r = s.post(url, data={"user": "admin", "pass": "test"})

POST JSON

r = s.post(url, json={"key": "value"})

Custom headers

r = s.get(url, headers={"Authorization": "Bearer token"})

Handle response

print(r.status_code, r.text, r.json())

Socket Programming

TCP client

import socket

s = socket.socket(socket.AF_INET, socket.SOCK_STREAM) s.connect((HOST, PORT)) s.sendall(b"data\n") response = s.recv(4096) s.close()

UDP

s = socket.socket(socket.AF_INET, socket.SOCK_DGRAM) s.sendto(b"data", (HOST, PORT))

Multithreading

from concurrent.futures import ThreadPoolExecutor

def scan(target): # scan logic pass

targets = ["url1", "url2", "url3"] with ThreadPoolExecutor(max_workers=10) as executor: results = executor.map(scan, targets)

Common Patterns

URL fuzzing

for word in wordlist: url = f"{base_url}/{word}" r = requests.get(url) if r.status_code == 200: print(f"[+] Found: {url}")

Parameter brute

for payload in payloads: r = requests.get(url, params={"id": payload}) if "error" not in r.text: print(f"[+] Possible: {payload}")

Source Transparency

This detail page is rendered from real SKILL.md content. Trust labels are metadata-based hints, not a safety guarantee.

Related Skills

Related by shared tags or category signals.

Security

web-security-expert

No summary provided by upstream source.

Repository SourceNeeds Review
General

linux-server-expert

No summary provided by upstream source.

Repository SourceNeeds Review
General

pentest-expert

No summary provided by upstream source.

Repository SourceNeeds Review