shell是弱类型语言如何查看linux支持哪些shell:cat/etc/shells
分类:
系统相关 时间:
2020-12-02 11:57:06
阅读次数:
7
code macname@localhost Desktop % cat content fox jumps over the lazy dog. fox jumps over the lazy dog. fox jumps over the lazy dog. fox jumps over the ...
分类:
系统相关 时间:
2020-12-01 12:32:52
阅读次数:
24
php后台验证两种方式绕过 前言 环境:buuctf中[GXYCTF2019]BabySQli1 知识点:两种验证方式,密码绕过 参考:博客 做题 sql注入,fuzz过滤了(,),=,or 然后就琢磨着都过滤了(),函数都不能用,还怎么进行sql注入 尝试着成功登录进去 1'||1 like 1# ...
分类:
Web程序 时间:
2020-12-01 12:30:43
阅读次数:
8
1.打开shell终端,输入 sudo vi /etc/rc.local 2.在编辑器里面输入自己要启动的脚本 #!/bin/bash echo "run incar ai program..." cd /opt/robot nohup bash autorobot.sh & 2>/dev/null ...
分类:
系统相关 时间:
2020-12-01 12:15:17
阅读次数:
12
code macname@localhost Desktop % cat test.sh while read line;do echo $line; done < a.txt macname@localhost Desktop % macname@localhost Desktop % cat a ...
分类:
系统相关 时间:
2020-11-30 16:14:46
阅读次数:
16
code macname@localhost Desktop % echo `uname -a` Darwin localhost 19.6.0 Darwin Kernel Version 19.6.0: Thu Oct 29 22:56:45 PDT 2020; root:xnu-6153.141 ...
分类:
系统相关 时间:
2020-11-30 16:12:29
阅读次数:
12
在紫书上看到的,挺有意思。 一看到位运算我就会躲,因为我整不明白。 代码 c++ include "iostream" include "cstdio" using namespace std; void subset(int n, int s) { printf("{"); for (int i ...
分类:
其他好文 时间:
2020-11-30 16:03:39
阅读次数:
8
在写shell命令之前,首先要知道为什么要使用Shell脚本。使用Shell脚本能够轻易处理文件和目录之类的对象,相对于其他编程语言,Shell脚本执行起来更快,而且他也是个UNIX系统之间通用的功能,下面就让我们看一下Shell脚本的一些简单的命令。 以下如果是命令用$表示,在输入的时候不需要加, ...
分类:
系统相关 时间:
2020-11-30 15:57:34
阅读次数:
12
Github星标8K+这款国人开源的Redis可视化管理工具,真香...收录于话题#Redis专辑5个点击上方“民工哥技术之路”,选择“设为星标”回复“1024”获取独家整理的学习资料!做程序员就少不了与一些工具打交道,比如:监控工具、管理工具等,有些工具是命令行界面,有些工具是可视化界面,反正都是可以能够满足日常使用的功能需求。对于redis管理工具来说,也有不少可能的产品,比如:1、Redis
分类:
其他好文 时间:
2020-11-30 15:48:25
阅读次数:
6
写一个脚本计算一下linux系统所有进程占用内存大小的和。 实现代码: #!/bin/bash count=0; for i in `ps aux | awk '{print $6}' | grep -v 'RSS'` do count=$[$count+$i] done echo "$count/ ...
分类:
系统相关 时间:
2020-11-30 15:38:30
阅读次数:
13