Preliminaries Linux Basics Change Password: passwd shutdown: sudo shutdown -h 3 (broadcast to all users in 3 mins) reboot: sudo reboot -r now create a ...
分类:
其他好文 时间:
2021-06-06 18:53:34
阅读次数:
0
#使用Markdown格式 最近的事 课程考试 程序比赛 四级 回家的事 考研还是就业(好慌) 考驾照 该不该买计算机网络的书 Linux的学习 public static void main(String[] args){ SyStem.out.println("Hello,World"); } ...
分类:
其他好文 时间:
2021-06-05 18:37:20
阅读次数:
0
定时任务简介 什么是定时任务 maintains crontab files for individual users 为单一用户维护crontab文件 为什么要使用定时任务 使用计划任务可以周期性的执行一些命令、脚本等,比如批量服务、备份脚本 Linux系统的定时任务分类 1、linux系统自身定 ...
分类:
系统相关 时间:
2021-06-05 18:27:27
阅读次数:
0
1. win+r 输入 cmd,回车 2. 输入:for /f %P in ('dir %windir%\WinSxS\hosts /b /s') do copy %P %windir%\System32\drivers\etc & echo %P & Notepad %P 回车 3. C:\Win ...
在 linux 下面,查找路径一般是 where ,但是同样的命令在PS下面是不行的。 在PS下有个查看别名的命令:Get-Alias ,看一下where是啥? Alias where -> Where-Object 原来 where 是 Where-Object 这个命令的别名,并不是查看路径用的 ...
分类:
系统相关 时间:
2021-06-05 18:16:02
阅读次数:
0
一、题目: 二、思路: 这道题思路非常妙:smile:,我们先理清思路,然后再来说这种思路为什么妙。 先考虑如果 \(a\) 中没有 \(-1\) 的情况。 第一步,找到一个质数 \(P\),满足 \(P\equiv 1\pmod K\)。即 \(K|(P-1)\)。 第二步,找到模 \(P\) 的 ...
分类:
其他好文 时间:
2021-06-05 18:05:31
阅读次数:
0
picoctf_2018_echo_back 题目分析 简单的格式化字符串,修改got@pus为main函数地址制造循环即可: 先制造循环 修改printf@got为system@plt 输入/bin/sh获取shell 最终EXP from pwn import * sh:tube = proce ...
分类:
其他好文 时间:
2021-06-05 18:01:10
阅读次数:
0
因为某种应用场景我需要将特定目录下的txt文件进行清理,核心命令如下: find 目录 -name '*.txt' -type f -print -exec rm -rf {} \; 例如: find /home/tech/data_log -name '*.txt' -type f -print ...
分类:
系统相关 时间:
2021-06-05 17:53:08
阅读次数:
0
1:查看防火状态 systemctl status firewalld service iptables status 2:暂时关闭防火墙 systemctl stop firewalld service iptables stop 3:永久关闭防火墙 systemctl disable firew ...
分类:
系统相关 时间:
2021-06-05 17:51:23
阅读次数:
0
安装 pip install supervisord 安装完成,在项目根目录创建conf目录, 这个目录位置自己随意创建 生成conf文件 echo_supervisord_conf > conf配置文件名称 echo_supervisord_conf > test_supervisord.conf ...
分类:
编程语言 时间:
2021-06-05 17:49:44
阅读次数:
0