#全盘搜索木马文件,并记录在/tmp/php.txt文件内 find / -name "*.php" |xargs egrep "phpspy|c99sh|milw0rm|eval(gunerpress|eval(base64_decoolcode|spider_bc))" > /tmp/php.t ...
分类:
系统相关 时间:
2020-05-11 13:42:30
阅读次数:
103
本文档格式如下,命令说明在命令的上一行,尝试使用 Ctrl+f 组合键快速在页面内搜索。 命令说明 命令 参数起始目录:查找文件的起始目录。实例# 当前目录搜索所有文件,文件内容 包含 “140.206.111.111” 的内容find . -type f -name "*" | xargs gre ...
分类:
系统相关 时间:
2020-05-11 13:22:53
阅读次数:
72
环境篇:Superset Superset 是什么? Apache Superset 是一个开源、现代、轻量的BI分析工具,能够对接多种数据源,拥有丰富的图表展示形式、支持自定义仪表盘,用户界面友好,易用。 如果没有Superset 大数据展示需要自行开发,费时费力,不能直观的展示数据报表,如数据仓 ...
分类:
其他好文 时间:
2020-05-09 19:18:36
阅读次数:
110
1、查找文件 find / -name 'filename' 1 2、查找目录 find / -name 'path' -type d 1 3、查找内容 # find .| xargs grep -ri 'fmtmsg' 文件内容搜索 [root@localhost runtest]# grep f ...
分类:
其他好文 时间:
2020-05-08 18:30:32
阅读次数:
71
1,为啥要控制apache的日志文件? apache下有个日志文件叫error.log会记录运行过程中的错误,还有个access.log会记录谁访问了你的网站,每一次访问都对应者一条访问记录,也是绝了! apache日志的目录: windows:ur installation path/xampp/ ...
分类:
Web程序 时间:
2020-05-08 11:27:01
阅读次数:
156
常用命令: 1.文件内容包含指定字符串 find . | xargs grep string 查找当前目录下文件内容包含字符串string的文件 为什么要这样写,因为管道命令符是把上一部的结果传递给下一步来处理,在 find . | grep string中虽然看似和find . | xargs g ...
分类:
系统相关 时间:
2020-05-07 15:33:23
阅读次数:
110
#! /bin/bash #download url file_name file_dir define download_url=https://fastdl.mongodb.org/linux/mongodb-linux-x86_64-4.0.18.tgz file_name=${downloa ...
分类:
数据库 时间:
2020-05-02 09:24:48
阅读次数:
65
1、强制删除已安装python和yum及其关联 rpm -qa|grep python|xargs rpm -ev --allmatches --nodepswhereis python |xargs rm -frvwhereis python ##验证删除,返回无结果删除YUMrpm -qa|gr ...
分类:
编程语言 时间:
2020-05-01 16:45:25
阅读次数:
103
卸载python7.2和yum及安装python7.2和yum
分类:
编程语言 时间:
2020-04-30 17:38:24
阅读次数:
93
大家在工作中,是否遇到需要查询某个文件下内容中的关键词是否存在。例如: 需要查询在/etc/passwd下是否存在“yasuo”关键字: [root@localhost ~]# find /etc/passwd | xargs grep -ri 'yasuo'yasuo:x:1001:1001::/ ...
分类:
系统相关 时间:
2020-04-30 13:37:23
阅读次数:
138