
서브도메인 브루트포싱 도구로, 기존 서브도메인을 열거하고 AWS, GitHub, Heroku, Shopify, Tumblr, Squarespace에서 잘못 구성된 클라우드 호스팅 서브도메인이 탈취에 취약한지 감지합니다.
이 앱은 존재하는 서브도메인을 무차별 대입(bruteforce)하여 다음 정보를 제공합니다:
호스트 구성에 따라 약간의 오탐(false positive)이 있을 수 있습니다. (최대한 제거하려고 노력했습니다) 또한 마지막에 재귀적으로 작동하여 이미 찾은 서브도메인 아래의 서브도메인을 가져오고, 모든 데이터를 output.txt 파일에 덤프합니다 (각 프로세스 시작 시 새로운 파일이 생성됩니다).
##더 많은 정보 http://labs.detectify.com/post/109964122636/hostile-subdomain-takeover-using
##예제 출력
Enter a domain you'd like to brute force and look for hostile subdomain takeover(example: yahoo.com)
example.com
200 0.example.com ---> 198.185.159.177
- Subdomain pointing to a non-existing SquareSpace account showing: No Such Account
- Seems like 0.example.com is an alias for exampledomain111.squarespace.com
404 a.example.com ---> 50.116.58.222
- Subdomain pointing to a non-existing WPEngine subdomain indicatingThe site you were looking for couldn't be found.
- Seems like a.example.com is an alias for exampledomain111.wpengine.com
----> Check for further information on where this is pointing to.
404 b.example.com ---> 54.231.18.81
- Subdomain pointing to an unclaimed AmazonAWS bucket showing: NoSuchBucket
- Seems like b.example.com is an alias for exampledomain111.images.s3.amazonaws.com
----> Check for further information on where this is pointing to.
404 c.example.com ---> 23.227.38.70
- Subdomain pointing to a non-existing Shopify subdomain indicatingSorry, this shop is currently unavailable.
- Seems like c.example.com is an alias for theresnosuchdomain.myshopify.com
----> Check for further information on where this is pointing to.
301 cpanel.example.com ---> 1.1.1.1
404 e.example.com ---> 23.235.47.133
- Subdomain pointing to a non-existing Github subdomain indicatingThere isn't a GitHub Pages site here
- Seems like e.example.com is an alias for noneexistingexampledomain.github.com
----> Check for further information on where this is pointing to.
404 f.example.com ---> 199.27.79.133
- Subdomain pointing to a non-existing Github subdomain indicatingThere isn't a GitHub Pages site here
- Seems like f.example.com is an alias for noneexistingexampledomain.github.io
----> Check for further information on where this is pointing to.
200 ftp.example.com ---> 1.1.1.1
200 g.example.com ---> 104.238.181.195
- Seems like g.example.com is an alias for somedomain.anotherexample.com
이 모드는 여러 스레드를 사용하므로 결과를 더 빠르게 생성합니다. 현재 출력이 동기화되지 않았습니다. 이 모드를 실행하려면 --fast를 인수로 사용하세요.
ruby sub_brute.rb --fast
행운을 빕니다!