Skip to content
KitploitKITPLOIT
도구블로그
제출
도구블로그
제출

해킹, 침투 테스트 및 사이버 보안 도구를 당신의 보안 무기고에!

Kitploit은 해킹, 사이버 보안 및 침투 테스트 도구 디렉토리입니다. 최신 프로젝트 업데이트를 발견하여 취약점을 찾고, 시스템을 분석하고, 테스트를 자동화하고, 보안을 강화하세요.

··피드·문의·개인정보·© 2026 Kitploit

도구 디렉토리

카테고리

모든 카테고리 보기
Loading categories
jwtear — 모듈형 커맨드라인 도구로, 해커를 위해 JWT 토큰을 파싱, 생성 및 조작합니다. | Kitploit
도구/GitHubGitHub/kingsabri/jwtear
Password CrackingVulnerability AnalysisWeb SecurityPenetration TestingLearning & Education
GitHubkingsabri/jwtear

jwtear

모듈형 커맨드라인 도구로, 해커를 위해 JWT 토큰을 파싱, 생성 및 조작합니다.

저장소 보기
104224년 전Kitploit 검토 완료

인기

모두 보기 →

커뮤니티에서 가장 많이 사용되는 도구를 찾아보세요.

모든 도구 탐색

도구 컬렉션을 둘러보세요

모든 도구 보기 →
공유

Jwtear

보안 테스트 목적으로 JSON 웹 토큰(JWT)을 파싱, 생성 및 조작하기 위한 모듈식 명령줄 도구입니다.

기능

  • 완전한 모듈성.
    • 모든 명령은 플러그인입니다.
    • 새 플러그인을 쉽게 추가할 수 있습니다.
    • JWS 및 JWE 토큰을 지원합니다.
  • 플러그인을 위한 쉬운 인터페이스. (템플릿 예제 참조)
  • 유연함
  • 프로덕션 수준의 라이브러리(예: json-jwt, jwe) 기반 토큰 생성

사용 가능한 플러그인

  • Parse: jwt 토큰을 파싱합니다.
  • jws: JWS 토큰을 조작하고 생성합니다.
  • jwe: JWE 토큰을 조작하고 생성합니다.
  • bruteforce: JWS 서명 키 무차별 대입
  • wiki: JWT, 공격 아이디어, 참고 자료에 대한 오프라인 정보 포함

설치

다음과 같이 직접 설치하십시오:

root@kitploit:~
$ gem install jwtear

사용법

  • 메인 메뉴 표시
root@kitploit:~
    888888 888       888 88888888888
      "88b 888   o   888     888
       888 888  d8b  888     888
       888 888 d888b 888     888   .d88b.   8888b.  888d888
       888 888d88888b888     888  d8P  Y8b     "88b 888P"
       888 88888P Y88888     888  88888888 .d888888 888
       88P 8888P   Y8888     888  Y8b.     888  888 888
       888 888P     Y888     888   "Y8888  "Y888888 888
     .d88P                                       v1.0.0
   .d88P"
  888P"    
NAME
    jwtear - Parse, create and manipulate JWT tokens.

SYNOPSIS
    jwtear [global options] command [command options] [arguments...]

GLOBAL OPTIONS
    -v, --version - Check current and latest version
    -h, --help    - Show this help message

COMMANDS
    help            - Shows a list of commands or help for one command
    bruteforce, bfs - plugin to offline bruteforce and crack token's signature.
    jws, s          - Generate signature-based JWT (JWS) token.
    jwe, e          - Generate encryption-based JWT (JWE) token.
    parse           - Parse JWT token (accepts JWS and JWE formats).
    wiki, w         - A JWT wiki for hackers.
  • 하위 명령 도움말을 보려면 -h COMMAND를 사용하십시오
root@kitploit:~
$jwtear -h jws

NAME
    jws - Generate signature-based JWT (JWS) token.

SYNOPSIS
    jwtear [global options] jws [command options] 

DESCRIPTION
    Generate JWS and JWE tokens. 

COMMAND OPTIONS
    -h, --header=JSON               - JWT header (JSON format). eg. {"typ":"JWT","alg":"HS256"}. Run 'jwtear gen -l' for supported algorithms. (required, default: none)
    -p, --payload=JSON              - JWT payload (JSON format). eg. {"login":"admin"} (required, default: none)
    -k, --key=PASSWORD|PUB_KEY_FILE - Key as a password string or a file public key. eg. P@ssw0rd  | eg. public_key.pem (default: none)
  • 플러그인 사용

플러그인은 하위 명령으로 정의됩니다. 각 하위 명령은 하나 이상의 인수 및/또는 스위치를 가질 수 있습니다.

root@kitploit:~
$ jwtear parse -t eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiaWF0IjoxNTE2MjM5MDIyfQ.J8SS8VKlI2yV47C4BtfYukWPx_2welF34Mz7l-MNmkE
$ jwtear jws -h '{"alg":"HS256","typ":"JWT"}' -p '{"user":"admin"}' -k p@ss0rd123
$ jwtear jwe -header '{"enc":"A192GCM","typ":"JWT"}' --payload '{"user":"admin"}' --key public.pem 
$ jwtear bruteforce -v -t eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyIjpudWxsfQ.Tr0VvdP6rVBGBGuI_luxGCOaz6BbhC6IxRTlKOW8UjM -l ~/tmp/pass.list

플러그인 추가

새 플러그인을 추가하려면 plugins 디렉토리 아래에 다음과 같은 구조로 새 Ruby 파일을 만드십시오.

root@kitploit:~
module JWTear
  module CLI
    extend GLI::App
    extend JWTear::Helpers::Extensions::Print
    extend JWTear::Helpers::Utils

    desc "Plugin short description"
    long_desc "Plugin long description"
    command [:template, :pt] do |c|
      c.action do |global, options, arguments|
        print_h1 "Plugin template"
        print_good "Hi, I'm a template."
        template = TemplatePlugin.new
      end
    end
  end

  module Plugin
    class TemplatePlugin
      include JWTear::Helpers::Extensions::Print
      include JWTear::Helpers::Utils

      def initialize
        check_dependencies
        # ..code...
      end
     
      # ..code...
    end
  end
end

각 플러그인에 대한 모든 종속성을 jwtear에 포함시키는 대신, 이러한 종속성을 check_dependencies 메서드에 해시로 추가할 수 있습니다. 그러면 라이브러리를 require하고 누락된 gem을 설치하도록 사용자에게 친절한 오류 메시지를 표시합니다.

해시 _key_는 설치할 gem 이름이고, 해시 _value_는 require 문자열입니다.

root@kitploit:~
deps = {'async-io' => 'async/ip'}
check_dependencies(deps)

사용자가 누락된 종속성을 설치하면 check_dependencies는 플러그인 클래스가 초기화될 때 이를 require합니다.

기여

버그 리포트 및 풀 리퀘스트는 GitHub (https://github.com/[USERNAME]/jwtear) 에서 환영합니다.

  1. Fork 하기 ( https://github.com/KINGSABRI/jwtear/fork )
  2. 기능 브랜치 생성 (git checkout -b my-new-feature)
  3. 변경 사항 커밋 (git commit -am 'Add some feature')
  4. 브랜치에 푸시 (git push origin my-new-feature)
  5. 새 풀 리퀘스트 생성

기여할 분야

  • 버그 보고를 통한 기여.
  • 현재 코드 개선을 통한 기여.
  • 새 플러그인 추가를 통한 기여.
  • jwtear 위키 향상을 통한 기여.
  • 기능 및/또는 플러그인 요청을 통한 기여.

라이선스

이 gem은 MIT 라이선스 조건에 따라 오픈 소스로 제공됩니다.

도구 다운로드