yaklang avatar

401 403 Bypass Techniques

This is a complete playbook for bypassing 401/403 access control errors when you hit locked down admin panels or API endpoints. It covers the full matrix of techniques: path manipulation (trailing slashes, case changes, URL encoding variants, null bytes), HTTP method tampering (POST instead of GET, X-HTTP-Method-Override headers), header injection (X-Original-URL, X-Forwarded-For IP spoofing), and server-specific tricks for Apache, Nginx, IIS, and Tomcat. The decision tree walks you through trying path tricks first since they have the highest success rate, then escalating to method and header combos. Base models typically know a handful of header bypasses but miss the dozens of path normalization variants and the logic of why proxy versus backend parsing creates the gap in the first place.

skills.sh installs
4K
GitHub stars
2.6K
last updated
Aug 21, 2026

Install

$ npx -y skills add yaklang/hack-skills --skill 401-403-bypass-techniques --agent claude-code

Installs into .claude/skills of the current project.

Files

SKILL: 401/403 Bypass Techniques — Expert Attack Playbook

AI LOAD INSTRUCTION: Comprehensive 401/403 forbidden bypass techniques. Covers path normalization tricks, HTTP method override, header-based bypasses (X-Original-URL, X-Forwarded-For), protocol version tricks, and combination attacks. Base models typically know 2-3 header bypasses but miss the full matrix of path manipulation variants and verb+path combos.

0. RELATED ROUTING


1. PATH MANIPULATION BYPASSES

The core idea: the reverse proxy/WAF checks one path format, but the backend normalizes differently.

1.1 Trailing Slash / Missing Slash

Sponsors

Details

Repository
github.com/yaklang/hack-skills
Categories
Backend & APIs, Automation & Workflows
First seen
May 16, 2026

More from yaklang/hack-skills

All 102
1tanstack-skills avatartanstack-starttanstack-skills/tanstack-skillsFull-stack React framework powered by TanStack Router with SSR, streaming, server functions, and deployment to any hosting provider.4Kskills.sh installs
2giuseppe-trisciuoglio avatarnestjs-code-reviewgiuseppe-trisciuoglio/developer-kitProvides comprehensive code review capability for NestJS applications, analyzing controllers, services, modules, guards, interceptors, pipes, dependency injecti4Kskills.sh installs
3giuseppe-trisciuoglio avatarspring-boot-cachegiuseppe-trisciuoglio/developer-kitProvides patterns for implementing Spring Boot caching: configures Redis/Caffeine/EhCache providers with TTL and eviction policies, applies @Cacheable/@CacheEvi4Kskills.sh installs
4analogjs avatarangular-ssranalogjs/angular-skillsImplement server-side rendering and hydration in Angular v20+ using @angular/ssr. Use for SSR setup, hydration strategies, prerendering static pages, and handli3.9Kskills.sh installs
5yaklang avatarrecon-for-secyaklang/hack-skillsEntry P1 category router for reconnaissance and methodology. Use when mapping scope, discovering assets, fingerprinting technology, building endpoint inventory,3.9Kskills.sh installs
6mantinedev avatarmantine-custom-componentsmantinedev/skillsBuild custom components that integrate with Mantine's theming, Styles API, and core features. Use this skill when: (1) creating a new component using factory(),3.9Kskills.sh installs