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

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

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

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

도구 디렉토리

카테고리

모든 카테고리 보기
Loading categories
second-order — 웹 애플리케이션을 크롤링하여 URL을 수집하고 200이 아닌 응답에 대해 구성 가능한 규칙을 매칭함으로써 2차 서브도메인 탈취 취약점을 탐지합니다. | Kitploit
도구/GitHubGitHub/mhmdiaa/second-order
ReconnaissanceVulnerability ScannersWeb SecuritySubdomain EnumerationCrawler
GitHubmhmdiaa/second-order

second-order

웹 애플리케이션을 크롤링하여 URL을 수집하고 200이 아닌 응답에 대해 구성 가능한 규칙을 매칭함으로써 2차 서브도메인 탈취 취약점을 탐지합니다.

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

인기

모두 보기 →

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

모든 도구 탐색

도구 컬렉션을 둘러보세요

모든 도구 보기 →
공유

Second Order

웹 애플리케이션을 크롤링하여 특정 규칙과 일치하거나 특정 방식으로 응답하는 URL(및 기타 데이터)을 수집함으로써 2차 서브도메인 탈취(second-order subdomain takeover)를 검사합니다.

설치

바이너리로 설치

릴리스 페이지에서 미리 빌드된 바이너리를 다운로드하여 압축을 푸세요.

소스로 설치

Go 버전 1.17을 권장합니다.

root@kitploit:~
go install -v github.com/mhmdiaa/second-order@latest

Docker

root@kitploit:~
docker pull mhmdiaa/second-order

명령줄 옵션

root@kitploit:~
  -target string
        Target URL
  -config string
        Configuration file (default "config.json")
  -depth int
        Depth to crawl (default 1)
  -header value
    	Header name and value separated by a colon 'Name: Value' (can be used more than once)
  -insecure
        Accept untrusted SSL/TLS certificates
  -output string
        Directory to save results in (default "output")
  -threads int
        Number of threads (default 10)

설정 파일

예제 설정 파일은 config 디렉토리에 있습니다.

  • LogQueries: 크롤링된 페이지에서 검색할 태그-속성 쿼리의 맵입니다. 예를 들어 "a": "href"는 모든 a 태그의 모든 href 속성을 기록한다는 의미입니다.
  • LogNon200Queries: 크롤링된 페이지에서 검색할 태그-속성 쿼리의 맵이며, 유효한 URL을 포함하고 있지만 200 상태 코드를 반환하지 않는 경우에만 기록됩니다.
  • LogInline: 여는 태그와 닫는 태그 사이의 인라인 콘텐츠가 기록될 태그 목록입니다. 예를 들어 title과 script 등이 있습니다.

출력

모든 결과는 데이터가 발견된 내용과 위치를 지정하는 JSON 파일로 저장됩니다.

  • LogQueries의 결과는 attributes.json에 저장됩니다.
root@kitploit:~
{
    "https://example.com/": {
        "input[name]": [
            "user",
            "id",
            "debug"
        ]
    }
}
  • LogNon200Queries의 결과는 non-200-url-attributes.json에 저장됩니다.
root@kitploit:~
{
    "https://example.com/": {
        "script[src]": [
            "https://cdn.old_abandoned_domain.com/app.js",
        ]
    }
}
  • LogInline의 결과는 inline.json에 저장됩니다.
root@kitploit:~
{
    "https://example.com/": {
        "title": [
            "Example - Home"
        ]
    },
      "https://example.com/login": {
        "title": [
            "Example - login"
        ]
    }
}

사용 아이디어

다음은 Second Order를 사용할 수 있는 팁과 아이디어 목록입니다(반드시 2차 서브도메인 탈취와 관련된 것은 아닙니다).

  • 2차 서브도메인 탈취 확인: takeover.json. (당연하죠!)
  • 인라인 및 임포트된 JS 코드 수집: javascript.json.
  • 대상이 정적 파일을 호스팅하는 위치 찾기: cdn.json. (S3 버킷, 아시죠?)
  • 맞춤형 파라미터 브루트포싱 워드리스트를 구축하기 위해 <input> 이름 수집: parameters.json.
  • 더 많은 아이디어를 자유롭게 기여해 주세요!

참조

https://shubs.io/high-frequency-security-bug-hunting-120-days-120-bugs/#secondorder

https://edoverflow.com/2017/broken-link-hijacking/

도구 다운로드