What Is Token-Based Authentication and Who Uses It? Our approach for securing buildings—whether they’re corporate or residential—and the items within ...
分类:
其他好文 时间:
2020-06-19 19:21:07
阅读次数:
58
2020.04.21 Kali Linux最新版 解决默认不是ROOT用户的问题 最新版Kali Linux下载Kali Linux 2020.02 打开终端:输入 passwd 输出想修改的root密码,修改成功后,重启系统,输入root账户,密码为刚刚修改的密码 重启后,打开终端,输入who命令 ...
分类:
系统相关 时间:
2020-06-17 11:19:32
阅读次数:
1410
记录所有用户登录系统的任何操作日志,以便有据可查。1.编辑/etc/profile文件vim/etc/profilehistoryUSER=`whoami`USER_IP=`who-uami2>/dev/null|awk‘{print$NF}‘|sed-e‘s/[()]//g‘`if["$USER_IP"=""];thenUSER_IP=`hostname`fiif[!-d/var/log/
分类:
系统相关 时间:
2020-06-17 10:43:12
阅读次数:
63
记录所有用户登录系统的任何操作日志,以便有据可查。1.编辑/etc/profile文件vim/etc/profilehistoryUSER=`whoami`USER_IP=`who-uami2>/dev/null|awk‘{print$NF}‘|sed-e‘s/[()]//g‘`if["$USER_IP"=""];thenUSER_IP=`hostname`fiif[!-d/var/log/
分类:
系统相关 时间:
2020-06-17 10:33:52
阅读次数:
61
1.cat cat(conCATenate 拼接) (1).打印单个文件 cat file.txt (2).打印多个文件 cat file1.txt file2.txt (3).去掉多余的空白行 cat -s file (4).显示行号 cat -n file 2.find (1).根据文件名或正则 ...
分类:
其他好文 时间:
2020-06-16 23:32:44
阅读次数:
73
常用的重定向如who->userlist.txt将who的输出定向到文件userlist.txt,这是如何做到的呢? who的默认输出对象是标准IO中的stdout,文件描述符为1,而重定向所做的事情是将文件描述符1从默认的tty设备文件移开,而重新分配给其他文件,在本例中为userlist.txt ...
分类:
其他好文 时间:
2020-06-16 15:38:37
阅读次数:
56
hadoop文件目录结构 http://192.168.21.110:50070/explorer.html#/ 登录后会看到hadoop的数据目录 报错解决 Permission denied: user=dr.who, access=WRITE, inode="/":root:supergrou ...
分类:
其他好文 时间:
2020-06-15 17:48:08
阅读次数:
55
//用PrintWriter写入文件 import java.io.IOException; import java.io.PrintWriter; public class PrintWriteDemo { public static void main(String[] args) throws ...
分类:
编程语言 时间:
2020-06-14 19:07:58
阅读次数:
140
从不订购的客户 sql 编程 1. 地址 https://leetcode-cn.com/problems/customers-who-never-order/ 2. 解法 子查询 select Name as Customers from Customers where Id not in ( s ...
分类:
其他好文 时间:
2020-06-14 14:29:06
阅读次数:
76
[GKCTF2020]CheckIN 解题思路 打开直接是源码: <title>Check_In</title> <?php highlight_file(__FILE__); class ClassName { public $code = null; public $decode = null; ...
分类:
其他好文 时间:
2020-06-09 20:25:14
阅读次数:
431