
정보 수집 도구 - DNS / 서브도메인 / 포트 / 디렉터리 열거
<p align="center">
<img src="https://raw.githubusercontent.com/edoardottt/images/main/scilla/logo.png"><br>
<b>🏴☠️ 정보 수집 도구 🏴☠️ - DNS / 서브도메인 / 포트 / 디렉터리 열거</b><br>
<br>
<!-- workflows -->
<a href="https://github.com/edoardottt/scilla/actions">
<img src="https://github.com/edoardottt/scilla/actions/workflows/go.yml/badge.svg" alt="workflows" />
</a>
<br>
<sub>
edoardottt가 💙을 담아 코딩함
</sub>
<br>
<!--Tweet button-->
<a href="https://twitter.com/intent/tweet?url=https%3A%2F%2Fgithub.com%2Fedoardottt%2Fscilla%20&text=Information%20Gathering%20tool%21&hashtags=pentesting%2Clinux%2Cgolang%2Cnetwork" target="_blank">트위터에 공유하기!
</a>
</p>
<p align="center">
<a href="#installation-">설치</a> •
<a href="#get-started-">시작하기</a> •
<a href="#examples-">예제</a> •
<a href="#changelog-">변경 로그</a> •
<a href="#contributing-">기여하기</a> •
<a href="#license-">라이선스</a>
</p>
<!--[](https://asciinema.org/a/406707)-->
<p align="center">
<img src="https://raw.githubusercontent.com/edoardottt/images/main/scilla/scilla.gif">
</p>
설치 📡
----------
### Homebrew
```console
brew install scilla
```
### Snap
```console
sudo snap install scilla
```
### Golang
```console
go install -v github.com/edoardottt/scilla/cmd/scilla@latest
```
### 소스에서 빌드하기
[Go](https://go.dev/) (>=1.23)가 필요합니다
<details>
<summary>Linux 및 Windows용 소스에서 빌드하기</summary>
#### Linux
```console
git clone https://github.com/edoardottt/scilla.git
cd scilla
go get ./...
make linux # (to install)
make unlinux # (to uninstall)
```
API 키를 사용하려면 `~/.config/scilla/keys.yaml` 파일을 편집하세요.
한 줄 명령: `git clone https://github.com/edoardottt/scilla.git && cd scilla && go get ./... && make linux`
#### Windows
실행 파일은 cariddi 폴더에서만 작동한다는 점에 유의하세요 ([별칭?](https://github.com/edoardottt/scilla/issues/10)).
```console
git clone https://github.com/edoardottt/scilla.git
cd scilla
.\make.bat windows # (to install)
.\make.bat unwindows # (to uninstall)
```
API 키를 사용하려면 `keys.yaml` 파일을 생성하세요.
</details>
### Docker 사용하기
```shell
docker build -t scilla .
docker run scilla help
```
예제 💡
----------
- DNS 열거:
- `scilla dns -target example.com`
- `scilla dns -oj output -target example.com`
- `scilla dns -oh output -target example.com`
- `scilla dns -ot output -target example.com`
- `scilla dns -plain -target example.com`
- 서브도메인 열거:
- `scilla subdomain -target example.com`
- `scilla subdomain -w wordlist.txt -target example.com`
- `scilla subdomain -oj output -target example.com`
- `scilla subdomain -oh output -target example.com`
- `scilla subdomain -ot output -target example.com`
- `scilla subdomain -i 400 -target example.com`
- `scilla subdomain -i 4** -target example.com`
- `scilla subdomain -c -target example.com`
- `scilla subdomain -db -target example.com`
- `scilla subdomain -plain -target example.com`
- `scilla subdomain -db -no-check -target example.com`
- `scilla subdomain -db -vt -target example.com`
- `scilla subdomain -db -bw -target example.com`
- `scilla subdomain -ua "CustomUA" -target example.com`
- `scilla subdomain -rua -target example.com`
- `scilla subdomain -dns 8.8.8.8 -target example.com`
- `scilla subdomain -alive -target example.com`
- 디렉터리 열거:
- `scilla dir -target example.com`
- `scilla dir -w wordlist.txt -target example.com`
- `scilla dir -oj output -target example.com`
- `scilla dir -oh output -target example.com`
- `scilla dir -ot output -target example.com`
- `scilla dir -i 500,401 -target example.com`
- `scilla dir -i 5**,401 -target example.com`
- `scilla dir -c -target example.com`
- `scilla dir -plain -target example.com`
- `scilla dir -nr -target example.com`
- `scilla dir -ua "CustomUA" -target example.com`
- `scilla dir -rua -target example.com`
- 포트 열거:
- 기본값 (모든 포트, 즉 1-65635) `scilla port -target example.com`
- 포트 범위 지정 `scilla port -p 20-90 -target example.com`
- 시작 포트 지정 (마지막 포트까지) `scilla port -p 20- -target example.com`
- 종료 포트 지정 (첫 번째 포트부터) `scilla port -p -90 -target example.com`
- 여러 포트 지정 `scilla port -p 21,25,80 -target example.com`
- 일반 포트 지정 `scilla port -common -target example.com`
- 단일 포트 지정 `scilla port -p 80 -target example.com`
- 출력 형식 지정 (json)`scilla port -oj output -target example.com`
- 출력 형식 지정 (html)`scilla port -oh output -target example.com`
- 출력 형식 지정 (txt)`scilla port -ot output -target example.com`
- 결과만 출력 `scilla port -plain -target example.com`
- 전체 보고서:
- 기본값(모든 포트, 즉 1-65635) `scilla report -target example.com`
- 포트 범위 지정 `scilla report -p 20-90 -target example.com`
- 시작 포트 지정(마지막 포트까지) `scilla report -p 20- -target example.com`
- 종료 포트 지정(첫 번째 포트부터) `scilla report -p -90 -target example.com`
- 단일 포트 지정 `scilla report -p 80 -target example.com`
- 여러 포트 지정 `scilla report -p 21,25,80 -target example.com`
- 출력 형식 지정(json) `scilla report -oj output -target example.com`
- 출력 형식 지정(html) `scilla report -oh output -target example.com`
- 출력 형식 지정(txt) `scilla report -ot output -target example.com`
- 디렉터리 워드리스트 지정 `scilla report -wd dirs.txt -target example.com`
- 서브도메인 워드리스트 지정 `scilla report -ws subdomains.txt -target example.com`
- 디렉터리 스캔에서 무시할 상태 코드 지정 `scilla report -id 500,501,502 -target example.com`
- 서브도메인 스캔에서 무시할 상태 코드 지정 `scilla report -is 500,501,502 -target example.com`
- 디렉터리 스캔에서 무시할 상태 코드 클래스 지정 `scilla report -id 5**,4** -target example.com`
- 서브도메인 스캔에서 무시할 상태 코드 클래스 지정 `scilla report -is 5**,4** -target example.com`
- 디렉터리 열거에 웹 크롤러도 사용 `scilla report -cd -target example.com`
- 서브도메인 열거에 웹 크롤러도 사용 `scilla report -cs -target example.com`
- 서브도메인 열거에 공개 데이터베이스도 사용 `scilla report -db -target example.com`
- 일반 포트 지정 `scilla report -common -target example.com`
- 리디렉션을 따르지 않음 `scilla report -nr -target example.com`
- 서브도메인 소스로 VirusTotal 사용 `scilla report -db -vt -target example.com`
- User Agent 설정 `scilla report -ua "CustomUA" -target example.com`
- 각 요청마다 무작위 user agent 생성 `scilla report -rua -target example.com`
- 서브도메인을 확인할 DNS IP 설정 `scilla report -dns 8.8.8.8 -target example.com`
- 서브도메인이 살아 있는지도 확인 `scilla report -alive -target example.com`
시작하기 🎉
----------
`scilla help`는 명령줄에서 도움말을 출력합니다.
```
usage: scilla subcommand { options }
Available subcommands:
- dns [-oj JSON output file]
[-oh HTML output file]
[-ot TXT output file]
[-plain Print only results]
-target <target (URL/IP)> REQUIRED
- port [-p <start-end> or ports divided by comma]
[-oj JSON output file]
[-oh HTML output file]
[-ot TXT output file]
[-common scan common ports]
[-plain Print only results]
-target <target (URL/IP)> REQUIRED
- subdomain [-w wordlist]
[-oj JSON output file]
[-oh HTML output file]
[-ot TXT output file]
[-i ignore status codes]
[-c use also a web crawler]
[-db use also a public database]
[-plain Print only results]
[-db -no-check Don't check status codes for subdomains]
[-db -vt Use VirusTotal as subdomains source]
[-db -bw Use BuiltWith as subdomains source]
[-ua Set the User Agent]
[-rua Generate a random user agent for each request]
[-dns Set DNS IP to resolve the subdomains]
[-alive Check also if the subdomains are alive]
-target <target (URL)> REQUIRED
- dir [-w wordlist]
[-oj JSON output file]
[-oh HTML output file]
[-ot TXT output file]
[-i ignore status codes]
[-c use also a web crawler]
[-plain Print only results]
[-nr No follow redirects]
[-ua Set the User Agent]
[-rua Generate a random user agent for each request]
-target <target (URL/IP)> REQUIRED
- report [-p <start-end> or ports divided by comma]
[-ws subdomains wordlist]
[-wd directories wordlist]
[-oj JSON output file]
[-oh HTML output file]
[-ot TXT output file]
[-id ignore status codes in directories scanning]
[-is ignore status codes in subdomains scanning]
[-cd use also a web crawler for directories scanning]
[-cs use also a web crawler for subdomains scanning]
[-db use also a public database for subdomains scanning]
[-common scan common ports]
[-nr No follow redirects]
[-db -vt Use VirusTotal as subdomains source]
[-ua Set the User Agent]
[-rua Generate a random user agent for each request]
[-dns Set DNS IP to resolve the subdomains]
[-alive Check also if the subdomains are alive]
-target <target (URL)> REQUIRED
- help
- examples
```
변경 로그 📌
-------
각 릴리스의 상세 변경 사항은 [릴리스 노트](https://github.com/edoardottt/scilla/releases)에 문서화되어 있습니다.
기여하기 🛠
-------
[이슈](https://github.com/edoardottt/scilla/issues) / [풀 리퀘스트](https://github.com/edoardottt/scilla/pulls)를 열기만 하면 됩니다.
풀 리퀘스트를 열기 전에 [golangci-lint](https://golangci-lint.run/usage/install/)를 다운로드하고 다음을 실행하세요
```bash
golangci-lint run
```
오류가 없다면, 계속 진행하세요 :)
뉴스 📰
-------
- [Kali Linux 튜토리얼](https://kalilinuxtutorials.com/scilla/)
- [GeeksForGeeks.org](https://www.geeksforgeeks.org/scilla-information-gathering-dns-subdomain-port-enumeration/)
- [Brisk Infosec](https://www.briskinfosec.com/tooloftheday/toolofthedaydetail/Scilla)
- [Kalitut](https://kalitut.com/scilla-nformation-gathering-tool/)
라이선스 📝
-------
이 저장소는 [GNU General Public License v3.0](https://github.com/edoardottt/scilla/blob/main/LICENSE)에 따라 배포됩니다.
저에게 연락하려면 [edoardottt.com](https://edoardottt.com/)을 방문하세요.