
모듈 기반 웹 취약점 스캐너 및 버그 바운티 자동화 프레임워크로, 내장된 XSS, SSTI, SSRF, Firebase 탐지 엔진을 갖추고 있습니다. 재사용 가능한 유틸리티를 제공하여 보안 테스트를 위한 스크립팅 시간을 절약하도록 설계되었습니다.
scant3r 대신 Lotus 프로젝트(https://github.com/rusty-sec/lotus/)를 사용해야 합니다. scant3r는 많은 오류와 함께 개발되었으며, 이를 수정하는 데 더 많은 시간이 걸리고 scant3r는 Lotus에 비해 매우 느리기 때문입니다.
이것은 제가 스크립팅 시간을 절약하기 위해 만든 모듈 기반 웹 자동화 도구입니다.
모든 웹 펜테스터가 자동화 스크립트에서 필요로 하는 몇 가지 유틸리티를 제공하여
(logger, parsers, output function, cmd args, multi-threading)에 집중하는 대신
scant3r 유틸리티로 스캔 아이디어의 로직만 작성하면 됩니다.
이러한 것들에 신경 쓸 필요 없이 callback/parsing/logging 유틸리티와 출력 함수를 찾을 수 있습니다. 또한 곧 Restful API를 추가할 예정입니다.
스크립트에 새로운 Command 옵션을 추가해야 한다면?
코드를 전혀 작성하지 않고도 간단히 conf/opts.YAML 파일을 열면 scant3r의 모든 옵션을 찾을 수 있으므로 원하는 대로 변경하고 추가할 수 있습니다 ;D
짧은 답변은 시간을 절약하기 위해서입니다. 보안 담당자로서 "완벽한 CLI 스크립트 작성 방법"에 대해 더 많이 배울 필요가 없으며, 스크립트의 로직만 이해하면 됩니다.
SSRF CVE 스캐너와 같은 것을 작성해야 한다면, "interact.sh를 어떻게 호출하지?", "이 코드 문제를 어떻게 고치지?", "이걸 어떻게 파싱하지?"를 검색하는 대신
답을 얻은 후에도 코드에서 멋진 오류를 만나게 되고 이러한 버그를 검색하고 수정하는 데 더 많은 시간이 필요하다는 것을 알게 될 것입니다.
이것은 시간 낭비이므로, 이 프로젝트는 더 많은 시간을 절약하는 데 도움이 될 것입니다.
예제 모듈을 살펴보고 공식 문서(아직 제공되지 않음)를 읽거나
Feature request로 이슈를 열면 저희가 직접 손으로 스크립트를 작성해 드리겠습니다.
이것은 저희 커뮤니티를 위해 제공하는 모듈입니다. 새 모듈이 필요하면 Feature request 템플릿으로 이슈를 열어주세요.
| module | Short description |
|---|---|
| xss | (ATTR_NAME, ATTR_VALUE, Comments, TAG_NAME)을 위한 xss 스캐너 |
| req_callback | Out-of-band Resources 매개변수를 찾습니다 |
| ssti | Server-side Template injection을 찾습니다 |
| firebase | 공개 Firebase 데이터베이스 (쓰기/읽기) 권한을 확인합니다 |
공식 문서: https://scant3r.knas.me
$ pip3 install git+https://github.com/knassar702/scant3r
$ scant3r --help
usage: scant3r [-h] [-e EXIT_AFTER] [-ct CALLBACK_TIME] [-c] [-o OUTPUT_FILE]
[-H HEADERS] [-C COOKIES] [-v LOG_MODE] [-s DELAY] [-M METHODS]
[-m MODULES] [-O] [-P LORSRF_PARAMETERS] [-l TARGETLIST] [-g] [-j]
[-p PROXY] [-r] [-b BLINDXSS] [-x HOST] [-R] [-w THREADS]
[-t TIMEOUT]
options:
-h, --help show this help message and exit
-e EXIT_AFTER, --exit-after EXIT_AFTER
Exit after get this number of errors
-ct CALLBACK_TIME, --callback-time CALLBACK_TIME
Callback timeout
-c, --convert-body Change the url parameters into request body ( in non-GET methods )
-o OUTPUT_FILE, --output OUTPUT_FILE
The output json file location
-H HEADERS, --header HEADERS
add custom header (ex:-H='Cookie: test=1; PHPSESSID=test')
-C COOKIES, --cookie COOKIES
add cookie to the header (ex: 'cookie1=1; cookie2=2')
-v LOG_MODE, --logger-mode LOG_MODE
change debug messages mode (1: info 2: debug 3: warning 4: error)
-s DELAY, --sleep DELAY
number of seconds to hold between each HTTP(S) requests.
-M METHODS, --method METHODS
Methods Allowed on your target
-m MODULES, --module MODULES
run scant3r module (ex: -m=example)
-O, --more-scan scanning with the current module with import another modules (eg: lorsrf xss/ssti scanner)
-P LORSRF_PARAMETERS, --lorsrf-parameters LORSRF_PARAMETERS
how many parameters in one request for lorsrf module
-l TARGETLIST, --list TARGETLIST
add targets list
-g, --add-parameters Generate Famouse Parameters if your url dosen't have parameters
-j, --json JSON Request Body
-p PROXY, --proxy PROXY
Forward all requests to proxy
-r, --follow-redirects
Follow redirects
-b BLINDXSS, --blind-host BLINDXSS
add your xsshunter host (or any xss host)
-x HOST, --host HOST add your host (burpcall,etc..)
-R, --random-agents use random user agent
-w THREADS, --workers THREADS
Number of workers (default: 50)
-t TIMEOUT, --timeout TIMEOUT
set connection timeout (default: 10)
질문/제안/버그: https://github.com/knassar702/scant3r/issues
위키: https://github.com/knassar702/scant3r/wiki
$ echo "http://testphp.vulnweb.com/listproducts.php?cat=1" | scant3r -m all
이전 버전의 데모 GIF입니다.


Nokia https://www.nokia.com/responsible-disclosure/

