Linux的变量 作用域: 本地 局部 位置 特殊 环境 本地变量 当前的shell拥有 生命周期随shell name=gob [root@MDNode01 shell]# echo $$ 1091 [root@MDNode01 shell]# syy=123 [root@MDNode01 she ...
分类:
系统相关 时间:
2020-07-12 22:05:32
阅读次数:
67
[BJDCTF2020]Mark loves cat 发现git泄露,使用gitHack工具进行分析 python GitHack.py http://00db6bf7-dacb-4734-965d-9974f3882333.node3.buuoj.cn/.git 获得index.php和flag. ...
分类:
其他好文 时间:
2020-07-12 20:38:41
阅读次数:
103
使用五种方法查看文件权限 # 使用五种方法,查看文件的权限,数字形式 [root@wzh ~]# stat 123|awk -F '[(0/]' 'NR==4{print $3}' 755 [root@wzh ~]# stat 123|sed -nr '4s#.*\(0(.*)/d.*#\1#gp' ...
分类:
系统相关 时间:
2020-07-12 20:34:55
阅读次数:
96
0x01 进入题目 有一个上传页面 那看来就是要上传shell,然后来查看flag了。看一下页面给的代码 if($contents=file_get_contents($_FILES["file"]["tmp_name"])){ $data=substr($contents,5); foreach ...
分类:
系统相关 时间:
2020-07-12 19:03:23
阅读次数:
98
需求描述 网站头部及特效制作 Logo及搜索区域 导航区域及特效制作 轮播区域及特效制作 应季商品区域及特效 底部区域 HTML <!DOCTYPE html> <html> <head> <meta charset="utf-8"> <meta http-equiv="X-UA-Compatibl ...
分类:
其他好文 时间:
2020-07-12 18:34:52
阅读次数:
1245
创建目录mkdir [root@wzh ~]# mkdir wzh [root@wzh ~]# ll total 8 -rw . 1 root root 1430 Mar 16 22:50 anaconda-ks.cfg -rw-r--r--. 1 root root 16 Mar 18 23:30 ...
分类:
其他好文 时间:
2020-07-12 18:24:28
阅读次数:
87
curl -fsSL https://raw.githubusercontent.com/codinn/core-shell-scripts/master/bashrc_Core_Shell -o ~/.bashrc_Core_Shell && . ~/.bashrc_Core_Shell && g ...
分类:
Web程序 时间:
2020-07-12 17:18:12
阅读次数:
111
第1章 例:检查文件系统挂载状态 1.1 自动发现文件系统名称脚本 vi Linux_mountfilename_discovery.sh portarray=(`mount |grep "^/" |grep -E "ext3|reiserfs|ext4|xfs" |awk '{print $3}' ...
分类:
其他好文 时间:
2020-07-12 17:16:39
阅读次数:
174
1.主库操作 1.开启binlog [root@db01 ~]# cat /etc/my.cnf [mysqld] basedir = /usr/local/mysql datadir = /usr/local/mysql/data port=3306 socket=/tmp/mysql.sock ...
分类:
数据库 时间:
2020-07-12 16:56:59
阅读次数:
94
pom配置: <?xml version="1.0" encoding="UTF-8"?> <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" ...
分类:
数据库 时间:
2020-07-12 16:53:35
阅读次数:
68