
环境配置
wouijvziqy
这个作者很懒,什么都没留下…
展开
-
kali linux 中python2不带pip的解决方法
在使用kali2020版本时,发现pip只能安装python3的模块,没办法安装python2模块,但是我有需要用到python2来运行脚本,在此贴出解决办法wget https://bootstrap.pypa.io/2.6/get-pip.pysupython2 get-pip.py报错就再运行一次,一般是因为网速不行报错...原创 2021-02-23 14:41:58 · 2115 阅读 · 1 评论 -
PHP代码审计调试环境配置(PHPstudy+PHPstorm+xDebug+Chrome)
0、在chrome浏览器下载并安装xdebug插件,当开启该插件时,在phpstorm中设置断点,将自动运行到该断点在选项中设置好IDEkey,与下面php.ini的配置文件一致1、在phpstudy上选择好对应的php版本由于phpstudy集成xdebug的扩展,所以不用下载xdebug,在phpstudy->其他选项菜单->php扩展及设置->php扩展->xdebug2、修改php.ini文件把php.ini中[xdebug]部分改成如下,里面地址按照实际情原创 2021-02-07 15:37:19 · 667 阅读 · 0 评论 -
Windows快速安装openssl
1、下载安装包http://slproweb.com/products/Win32OpenSSL.html往下拉,选择对应的版本2、安装选择路径,一直点下一步。3、配置环境变量配置环境变量,老生常谈,这里简单贴一下配置,我这里是win7系统配置完成后,测试运行成功...原创 2021-02-07 10:25:54 · 320 阅读 · 0 评论 -
NameError: global name ‘unicode‘ is not defined - in Python 3 错误解决
我正在尝试使用一个名为bidi的Python包。在此程序包(algorithm.py)中的模块中,尽管它是程序包的一部分,但仍有一些行会给我带来错误。以下是这些行:# utf-8 ? we need unicodeif isinstance(unicode_or_str, unicode): text = unicode_or_str decoded = Falseelse: text = unicode_or_str.decode(encoding) decoded原创 2021-02-05 14:44:26 · 899 阅读 · 0 评论 -
DeprecationWarning: please use dns.resolver.Resolver.resolve() 解决
警告提示为:DeprecationWarning: please use dns.resolver.Resolver.resolve()警告源代码类似下面: # my_resolver = dns.resolver.Resolver() my_resolver = dns.resolver.Resolver.resolve() answers = my_resolver.query(host, "A") answer_txt = my_resolver原创 2021-02-05 14:39:01 · 2240 阅读 · 0 评论 -
Sublist3r 报错处理
1、 Error: Virustotal probably now is blocking our requests完成错误详情/root/infoscaner-master/./Sublist3r-master/sublist3r.py:614: DeprecationWarning: please use dns.resolver.Resolver.resolve() instead ip = Resolver.query(host, 'A')[0].to_text()Process Goog原创 2021-02-05 14:34:55 · 6169 阅读 · 18 评论 -
使用yum提示Error: rpmdb open failed的解决方案
[root@www~]# cd /var/lib/rpm # rpmdb所在目录[root@www rpm]# rm -f __db.* # 清除原rpmdb文件[root@www rpm]# rpm --rebuilddb # 重建rpm数据库[root@www rpm]# yum clean all # 清除所有yum的缓存原创 2021-02-05 14:27:23 · 169 阅读 · 0 评论 -
pyblake2 安装错误
pyblake2 安装错误Building wheel for pyblake2 (setup.py) ... error ERROR: Command errored out with exit status 1: command: /usr/bin/python3 -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-6p8ufhqt/pyblake2_23f313a8e7bd48eb90e2原创 2021-02-05 14:25:48 · 811 阅读 · 0 评论