Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

无法成功运行(python3 w13scan.py -s 127.0.0.1:7778 --html)这条命令 #526

Open
XiongYN opened this issue Mar 2, 2023 · 1 comment

Comments

@XiongYN
Copy link

XiongYN commented Mar 2, 2023

[04:35:36] [INFO] HTTPServer is running at address('127.0.0.1','7778')......
Traceback (most recent call last):
File "D:\渗透工具\w13scan-master\W13SCAN\w13scan.py", line 93, in
main()
File "D:\渗透工具\w13scan-master\W13SCAN\w13scan.py", line 80, in main
baseproxy = AsyncMitmProxy(server_addr=conf.server_addr, https=True)
File "D:\渗透工具\w13scan-master\W13SCAN\lib\proxy\baseproxy.py", line 697, in init
self.ca = CAAuth(ca_file="ca.pem", cert_file='ca.crt')
File "D:\渗透工具\w13scan-master\W13SCAN\lib\proxy\baseproxy.py", line 323, in init
self._gen_ca() # 生成CA证书,需要添加到浏览器的合法证书机构中
File "D:\渗透工具\w13scan-master\W13SCAN\lib\proxy\baseproxy.py", line 342, in _gen_ca
self.cert.gmtime_adj_notBefore(0)
File "D:\python3\lib\site-packages\OpenSSL\crypto.py", line 1346, in gmtime_adj_notBefore
notBefore = _lib.X509_get_notBefore(self._x509)
AttributeError: module 'lib' has no attribute 'X509_get_notBefore'

@XiongYN XiongYN changed the title 无法常规运行(python3 w13scan.py -s 127.0.0.1:7778 --html)这条命令 无法成功运行(python3 w13scan.py -s 127.0.0.1:7778 --html)这条命令 Mar 2, 2023
@Mick-code
Copy link

Mick-code commented Mar 11, 2023

I solved it through this method:

# pip uninstall pyOpenSSL
# pip install pyOpenSSL

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants