1 Star 1 Fork 0

aaaac/AWD_CTF_Platform

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
run.sh 360 Bytes
一键复制 编辑 原始数据 按行查看 历史
moxiaoxi 提交于 6年前 . 调整代码
#!/bin/sh
service ssh start
a2enmod rewrite
service apache2 start
chown www-data:www-data /var/www/html/* -R
python /tmp/flag.py & 2>&1 1>/dev/null
cd /var/www/html
useradd ctf
echo ctf:moxiaoxi666 | chpasswd
sleep 2
rm -rf /tmp
#service mysql start
#mysql -e "source /var/www/html/test.sql;"
supervisord -n
if [ -x "extra.sh" ]; then
./extra.sh
fi
/bin/bash
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/mucn/AWD_CTF_Platform.git
git@gitee.com:mucn/AWD_CTF_Platform.git
mucn
AWD_CTF_Platform
AWD_CTF_Platform
master

搜索帮助