type-juggling은(는) 무엇을 하나요?
PHP 유형 변환 및 느슨한 비교(==) 우회. 인증, HMAC/서명 검증, 토큰 검증에서 느슨한 동등성, 숫자 강제 변환, 또는 엄격한 타입 없는 해시 비교를 사용하는 경우(레거시 PHP 및 CTF 스타일 코드 경로에서 흔함)에 사용합니다.
PHP 유형 변환 및 느슨한 비교(`==`) 우회. 인증, HMAC/서명 검증, 토큰 검증에서 느슨한 동등성, 숫자 강제 변환, 또는 엄격한 타입 없는 해시 비교를 사용하는 경우(레거시 PHP 및 CTF 스타일 코드 경로에서 흔함)에 사용합니다.
이 스킬은 PHP의 유형 변환(type juggling)과 느슨한 비교(`==`)를 악용하여 보안 우회를 수행하는 방법을 제공합니다. 인증, HMAC/서명 검증, 토큰 검증 등에서 느슨한 동등성 검사, 숫자 강제 변환, 또는 엄격한 타입 없이 해시를 비교하는 취약한 코드 경로(특히 레거시 PHP 애플리케이션 및 CTF 챌린지)를 대상으로 합니다. 이 스킬은 `yaklang` 기반이며, AI 에이전트(예: Claude Code, Cursor, Codex)와 함께 사용하도록 설계되었습니다. 내부적으로 `==` 연산자의 동작(예: 문자열과 숫자 비교 시 자동 변환, 특수 문자열('0e...' 등)을 통한 해시 충돌)을 분석하고, 이를 우회할 입력 값을 생성하거나 검증하는 로직을 제공합니다. 개발자나 보안 연구자는 이 스킬을 활용해 애플리케이션의 타입 관련 취약점을 발견하고 수정할 수 있습니다.
npx skills add https://github.com/yaklang/hack-skills/tree/main/skills/type-jugglingInstalled? Explore more 코딩 & 개발 skills: steipete/bluebubbles, steipete/eightctl, steipete/blucli · View all 6 →
PHP 유형 변환 및 느슨한 비교(==) 우회. 인증, HMAC/서명 검증, 토큰 검증에서 느슨한 동등성, 숫자 강제 변환, 또는 엄격한 타입 없는 해시 비교를 사용하는 경우(레거시 PHP 및 CTF 스타일 코드 경로에서 흔함)에 사용합니다.
This repo contains 20 individual skills — each has its own dedicated page.
401/403 bypass playbook. Use when encountering access-denied responses on admin panels, API endpoints, or restricted paths. Covers path manipulation, HTTP method tampering, header injection, protocol downgrade, and automated bypass tools.
Active Directory ACL abuse playbook. Use when exploiting misconfigured AD permissions including GenericAll, WriteDACL, DCSync rights, shadow credentials, LAPS reading, GPO abuse, and BloodHound-guided attack paths.
AD Certificate Services attack playbook. Use when targeting misconfigured AD CS for privilege escalation via ESC1-ESC13 template abuse, NTLM relay to enrollment, CA officer abuse, and certificate-based persistence.
Kerberos attack playbook for Active Directory. Use when targeting AD authentication via AS-REP roasting, Kerberoasting, golden/silver/diamond tickets, delegation abuse, or pass-the-ticket attacks.
AI/ML security playbook. Use when assessing model supply chain attacks (pickle RCE, poisoned weights), adversarial examples, model poisoning, model stealing, data privacy attacks (membership inference, model inversion), and autonomous agent security risks.
Android pentesting playbook. Use when testing Android applications for SSL pinning bypass, exported component abuse, WebView vulnerabilities, intent redirection, root detection bypass, tapjacking, and backup extraction during authorized mobile security assessments.
Anti-debugging detection and bypass playbook. Use when reversing protected binaries that detect debuggers via ptrace, PEB flags, timing checks, or signal/exception handlers on Linux and Windows.
API authentication and JWT abuse playbook. Use when testing bearer tokens, API keys, claim trust, header spoofing, rate limits, and API auth boundary weaknesses.
API authorization and BOLA testing playbook. Use when APIs expose object identifiers, nested resources, hidden writable fields, or weak function-level authorization.
API reconnaissance and documentation review playbook. Use when discovering endpoints, schemas, versions, OpenAPI specs, hidden docs, and surface area for API testing.
Entry P1 category router for API security. Use when choosing between API recon, authorization, token abuse, and hidden-parameter workflows before any deeper API topic skill.
Arbitrary write to RCE playbook. Use when you have an arbitrary write primitive (from heap exploitation, format string, or OOB write) and need to convert it into code execution by targeting GOT, hooks, _IO_FILE vtable, exit_funcs, TLS_dtor_list, modprobe_path, .fini_array, or C++ vtables.
Authentication bypass testing playbook. Use when assessing login flows, password reset logic, account recovery, MFA bypass, token predictability, brute-force resistance, and session boundary flaws.
Entry P1 category router for authentication and authorization. Use when testing login flows, sessions, object authorization, JWT, OAuth, CORS, CSRF, and enterprise SSO weaknesses before any deeper auth topic skill.
Binary protection bypass playbook. Use when identifying and bypassing ASLR, PIE, NX/DEP, stack canary, RELRO, FORTIFY_SOURCE, CET, and MTE protections in ELF binaries to enable exploitation.
Browser and V8 exploitation playbook. Use when exploiting JavaScript engine vulnerabilities including JIT type confusion, incorrect bounds elimination, and V8 sandbox bypass to achieve renderer RCE and sandbox escape in Chrome/Chromium.
Entry P1 category router for business logic testing. Use when workflow abuse, race conditions, pricing flaws, or multi-step state attacks matter more than parser-level input injection.
Business logic vulnerability playbook. Use when reasoning about workflows, race conditions, price manipulation, coupon abuse, state machines, and multi-step authorization gaps.
Classical cipher analysis playbook. Use when encountering substitution ciphers, Vigenere, transposition, XOR, or encoded text in CTF challenges that requires frequency analysis, Kasiski examination, or known-plaintext cryptanalysis.
Clickjacking playbook. Use when testing whether target pages can be framed, whether X-Frame-Options or CSP frame-ancestors are properly configured, and whether UI redress attacks can trigger sensitive actions.
Send and manage iMessages via BlueBubbles, including attachments, tapbacks, edits, replies, and groups.
Control Eight Sleep pods (status, temperature, alarms, schedules).
BluOS CLI (blu) for discovery, playback, grouping, and volume.
Create, search, and manage Bear notes via grizzly CLI.
Capture frames or clips from RTSP/ONVIF cameras.
Search GIF providers with CLI/TUI, download results, and extract stills/sheets.