
이 도구는 다양한 서버에서 SSRF를 악용하고 RCE를 획득하기 위한 gopher 링크를 생성합니다.
SSRF(Server Side Request Forgery)에 취약한 곳을 알고 있다면, 이 도구는 SSRF를 악용하고 RCE(Remote Code Execution)를 얻기 위한 Gopher 페이로드를 생성하는 데 도움이 됩니다. 또한 피해자 서버에서 리버스 셸(Reverse shell)을 얻는 데도 도움이 됩니다. 더 자세한 정보는 다음 블로그를 참조하세요. Gopherus 관련 블로그
이 도구는 다음을 위한 페이로드를 생성할 수 있습니다:
chmod +x install.sh
sudo ./install.sh
| 명령어 | 설명 |
|---|---|
| gopherus --help | 도움말 |
| gopherus --exploit | 인수는 다음과 같습니다: |
| --exploit mysql | |
| --exploit postgresql | |
| --exploit fastcgi | |
| --exploit redis | |
| --exploit zabbix | |
| --exploit pymemcache | |
| --exploit rbmemcache | |
| --exploit phpmemcache | |
| --exploit dmpmemcache | |
| --exploit smtp |
gopherus --exploit mysql
MySQL 사용자의 사용자 이름만 묻고 gopher 링크를 제공합니다.
gopherus --exploit postgresql
Postgres 사용자의 사용자 이름과 데이터베이스 이름만 묻고 gopher 링크를 제공합니다.
gopherus --exploit fastcgi
피해자 시스템에 존재해야 하는 파일(가급적 .php 파일)만 요구합니다. 참고로 기본 파일이 있습니다.
gopherus --exploit redis
EnableRemoteCommands = 1이라면 피해자 시스템에서 셸 명령을 실행할 수 있습니다.gopherus --exploit zabbix
gopherus --exploit pymemcache
gopherus --exploit rbmemcache
gopherus --exploit phpmemcache
gopherus --exploit dmpmemcache
gopherus --exploit smtp

Tarunkant Gupta (SpyD3r)