02 2020 档案
摘要:shell-init: error retrieving current directory: getcwd: cannot access parent directories: 没有那个文件或目录chdir: error retrieving current directory: getcwd:
阅读全文
摘要:Issue crontab -l command fails with the following error. # crontab -l You (user) are not allowed to access to (crontab) because of pam configuration.
阅读全文
摘要:SSL_CTX_set_default_passwd_cb[_userdata]() 这个函数比较简单,就是设置SSL要加载的证书的口令,如果不设置的话加载证书时会出提示符要求输入口令的,这样在程序中使用就比较麻烦,该函数就是预先将口令保存,在读证书时自动使用。 实现该功能的有两个函数SSL_CTX
阅读全文
摘要:我使用带有Python 2的Cherrypy 3.8.0来使用pyOpenSSL使用SSL / TLS。 我想禁用SSL3以避免POODLE(或其他弱密码)。 这是我到目前为止所拥有的: server_config={ 'server.socket_port': 443, 'server.ssl_m
阅读全文
摘要:https://segmentfault.com/q/1010000017962717/a-1020000017969409
阅读全文
摘要:In python3, we can use '__mro__' to get the method-resolution-order like below: >>> class a: ... pass ... >>> a.__mro__ (<class '__main__.a'>, <class
阅读全文