# Marven11/Fenjing

专为CTF设计的Jinja2 SSTI全自动绕WAF脚本 | A Jinja2 SSTI cracker for bypassing WAF, designed for CTF

Repository: https://github.com/Marven11/Fenjing
Canonical: https://ross.abutalabs.com/products/fenjing
Language: Python
License: MPL-2.0
License Family: copyleft
Topics: ctf, jinja2, python, ssti, waf, scanner, security
Last push: 2026-09-02T19:29:19+00:00

## Health v2 (maintenance only)
Score: 87/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 100, release rhythm 69, longevity 89
- inputs: {"age_days": 1251, "days_push": 0, "days_rel": 206, "gap_med": 21, "n_releases_24m": 12}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1301, forks 74 (observed 2026-09-03T02:15:06.603380+00:00)

## What it is
Fenjing is an automated Jinja2 SSTI (server-side template injection) exploitation tool designed for CTF competitions. It automatically analyzes a target website's WAF, generates bypassing payloads, and attacks given URLs, HTML forms, or raw HTTP requests.

## Use cases
- bypass WAF filters in Jinja2 SSTI challenges
- automatically fuzz and attack CTF web challenge parameters
- generate SSTI payloads from a keyword blacklist in source code
- scan a URL for exploitable template injection points
- crack SSTI via raw HTTP request files or JSON APIs

## When to choose
- solving CTF web challenges involving Jinja2 template injection
- you need automated WAF detection and payload generation instead of manual fuzzing
- you want a CLI or web UI to drive SSTI exploitation

## When to avoid
- production penetration testing where SSTI exploitation may be out of scope or illegal
- template engines other than Jinja2
- you need a general-purpose web vulnerability scanner

## Facets
- artifact type: cli-tool
- maturity: active
- function: penetration-testing, security, cli, web-scraping
- domain: security, penetration-testing, developer-tools
- platform: python, cli, cross-platform
- tags: ssti, jinja2, waf-bypass, ctf, exploit-tool, webui, docker

## Member repositories
- Marven11/Fenjing (main) score 87

## Provenance
- Observed fields: from GitHub, fetched 2026-09-03T02:15:06.603380+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T04:52:17.125907+00:00, confidence not recorded.
  - readme: https://github.com/Marven11/Fenjing (fetched 2026-09-03T02:15:06.603380+00:00, sha 3f6a77419856)
  - registry_pypi: https://pypi.org/pypi/fenjing/json (fetched 2026-08-29T12:09:47.596643+00:00, sha ee815f3864ea)
- Data as of 2026-08-30T08:39:29.467469+00:00.
