首页
学习
活动
专区
圈层
工具
发布
  • 您找到你想要的搜索结果了吗?
    是的
    没有找到

    CTF线下防御战 — 让你的靶机变成“铜墙铁壁”

    /etc/profile   将/var/www/html目录下的文件设置为不允许任何人修改: chattr -R +i /var/www/html   (2)自己动手丰衣足食 python的第三方库pyinotify...安装了pyinotify库之后,我们仅仅运行在机器上: "python -m pyinotify 监控目录路径" 这条简单的命令,就可以看到对这个目录以及该目录下所有进行任何操作的的监控日志。.../usr/bin/env python # -*- coding: utf-8 -*- # ** Author: ssooking import os import argparse from pyinotify...import WatchManager, Notifier,ProcessEvent from pyinotify import IN_DELETE, IN_CREATE,IN_MOVED_TO,IN_ATTRIB...directory to watch,default is /var/www/html")     args=parser.parse_args()     Monitor(args.path)   关于pyinotify

    2.6K40
    领券