1 Star 2 Fork 3

Glacier/Python渗透测试工具包

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
uninstall 1.32 KB
一键复制 编辑 原始数据 按行查看 历史
#!/bin/bash
# Script for uninstall Fsociety tools
# ----- FSociety Team -----
#
# Coded by: CRO-THEHACKER
# * https://github.com/CRO-THEHACKER/
# Feel free to share any ideas with the
# project!
#
# -------------------------
clear
echo "
";
if [ "$PREFIX" = "/data/data/com.termux/files/usr" ]; then
INSTALL_DIR="$PREFIX/usr/share/doc/fsociety"
BIN_DIR="$PREFIX/bin/"
BASH_PATH="$PREFIX/bin/bash"
TERMUX=true
elif [ "$(uname)" = "Darwin" ]; then
INSTALL_DIR="/usr/local/fsociety"
BIN_DIR="/usr/local/bin/"
BASH_PATH="/bin/bash"
TERMUX=false
else
INSTALL_DIR="$HOME/.fsociety"
BIN_DIR="/usr/local/bin/"
BASH_PATH="/bin/bash"
TERMUX=false
fi
echo "[✔] Checking directories...";
if [ -d "$INSTALL_DIR" ]; then
rm -rf "$INSTALL_DIR"
rm "$BIN_DIR/fsociety*"
sudo rm -rf "$INSTALL_DIR"
sudo rm "$BIN_DIR/fsociety*"
else
echo "[✘] If you want to uninstall you must remove previous installations [✘] ";
echo "[✘] Failed! [✘] ";
fi
echo "[✔] Cleaning up old directories...";
if [ -d "$ETC_DIR/Manisso" ]; then
echo "$DIR_FOUND_TEXT"
if [ "$TERMUX" = true ]; then
rm -rf "$ETC_DIR/Manisso"
else
sudo rm -rf "$ETC_DIR/Manisso"
fi
fi
clear
clear
echo "[✔] all good!"
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/Glacier1043/Study-fsociety.git
[email protected]:Glacier1043/Study-fsociety.git
Glacier1043
Study-fsociety
Python渗透测试工具包
master

搜索帮助