
빠른 IIS 짧은 파일명 열거 도구로, 물결표 취약점을 통해 숨겨진 파일과 디렉토리를 식별하며 자동 전체 파일명 확인 및 체크섬 기반 매칭 기능을 제공합니다.
IIS 짧은 파일명 열거 도구.
Shortscan은 IIS 웹 서버에 짧은 파일명을 가진 파일이 존재하는지 신속히 확인하도록 설계되었습니다. 짧은 파일명이 식별되면 도구는 자동으로 전체 파일명을 찾으려 시도합니다.
표준 검색 방법 외에도 Shortscan은 고유한 체크섬 매칭 접근 방식을 사용하여 짧은 파일명이 Windows의 독점적인 짧은 이름 충돌 방지 체크섬 알고리즘에 기반한 경우 긴 파일명을 찾으려고 합니다(이 연구에 대한 자세한 내용은 추후 공개 예정).
최신 버전의 go를 사용하여:
go install github.com/bitquark/shortscan/cmd/shortscan@latest
로컬에서 빌드(및 선택적으로 설치)하려면:
go get && go build
go install
Shortscan은 최소한의 설정으로 사용하기 쉽습니다. 기본 사용법은 다음과 같습니다:
$ shortscan http://example.org/
스캔할 URL 목록이 포함된 파일을 지정할 수도 있습니다:
$ shortscan @urls.txt
다음 예제는 --header/-H를 여러 번 사용하여 여러 사용자 정의 헤더를 설정합니다:
shortscan -H 'Host: gibson' -H 'Authorization: Basic ZGFkZTpsMzN0'
파일 열거 없이 사이트가 취약한지 확인하려면 다음을 사용하세요:
shortscan --isvuln
다음 옵션을 통해 추가 조정이 가능합니다:
🌀 Shortscan v0.9.2 · an IIS short filename enumeration tool by bitquark
Usage: main [--wordlist FILE] [--header HEADER] [--concurrency CONCURRENCY] [--timeout SECONDS] [--output format] [--verbosity VERBOSITY] [--fullurl] [--norecurse] [--stabilise] [--patience LEVEL] [--characters CHARACTERS] [--autocomplete mode] [--isvuln] URL [URL ...]
Positional arguments:
URL url to scan (multiple URLs can be provided; a file containing URLs can be specified with an «at» prefix, for example: @urls.txt)
Options:
--wordlist FILE, -w FILE
combined wordlist + rainbow table generated with shortutil
--header HEADER, -H HEADER
header to send with each request (use multiple times for multiple headers)
--concurrency CONCURRENCY, -c CONCURRENCY
number of requests to make at once [default: 20]
--timeout SECONDS, -t SECONDS
per-request timeout in seconds [default: 10]
--output format, -o format
output format (human = human readable; json = JSON) [default: human]
--verbosity VERBOSITY, -v VERBOSITY
how much noise to make (0 = quiet; 1 = debug; 2 = trace) [default: 0]
--fullurl, -F display the full URL for confirmed files rather than just the filename [default: false]
--norecurse, -n don't detect and recurse into subdirectories (disabled when autocomplete is disabled) [default: false]
--stabilise, -s attempt to get coherent autocomplete results from an unstable server (generates more requests) [default: false]
--patience LEVEL, -p LEVEL
patience level when determining vulnerability (0 = patient; 1 = very patient) [default: 0]
--characters CHARACTERS, -C CHARACTERS
filename characters to enumerate [default: JFKGOTMYVHSPCANDXLRWEBQUIZ8549176320-_()&'!#$%@^{}~]
--autocomplete mode, -a mode
autocomplete detection mode (auto = autoselect; method = HTTP method magic; status = HTTP status; distance = Levenshtein distance; none = disable) [default: auto]
--isvuln, -V bail after determining whether the service is vulnerable [default: false]
--help, -h display this help and exit
--version display version and exit
Shortscan 프로젝트에는 shortutil이라는 유틸리티가 포함되어 있으며, 이를 사용하여 다양한 짧은 파일명 작업을 수행하고 도구에 사용할 사용자 정의 레인보우 테이블을 만들 수 있습니다.
다음과 같이 기존 단어 목록에서 레인보우 테이블을 만들 수 있습니다:
shortutil wordlist input.txt > output.rainbow
파일에 대한 일회성 체크섬을 생성하려면:
shortutil checksum index.html
각 명령의 옵션에 대한 자세한 목록은 shortutil <command> --help를 실행하세요.
Shortutil v0.3 · a short filename utility by bitquark
Usage: main <command> [<args>]
Options:
--help, -h display this help and exit
Commands:
wordlist add hashes to a wordlist for use with, for example, shortscan
checksum generate a one-off checksum for the given filename
Shortscan용 사용자 정의 단어 목록이 구축되었습니다. 자세한 내용은 pkg/shortscan/resources/README.md를 참조하세요.
원본 IIS 짧은 파일명 연구: Soroush Dalili.
추가 연구 및 이 프로젝트: bitquark.