上一页 1 ··· 3 4 5 6 7 8 9 10 11 ··· 18 下一页
摘要: VIM使用 | 操作 | 效果 | | : : | : : | | f | | | t | 只把光标移动到目标字符的前一个字符上 | | [num]% | "50%" 移动到文件的中间, 而 "90%" 移到差不多结尾的位置 | | % | 括号匹配 | | CTRL-U | 向下(文本向上)滚动半 阅读全文
posted @ 2022-05-28 17:40 nsfoxer 阅读(62) 评论(0) 推荐(0)
摘要: 多线程 Hello world线程 线程创建pthread_create() int pthread_create(pthread_t *thread, const pthread_attr_t *attr, void *(*start_routine) (void *), void *arg); 阅读全文
posted @ 2022-05-28 17:40 nsfoxer 阅读(65) 评论(0) 推荐(0)
摘要: cmd 渗透 下载文件 vbs iLocal = LCase(WScript.Arguments(1)) iRemote = LCase(WScript.Arguments(0)) Set xPost = CreateObject("Microsoft.XMLHTTP") xPost.Open "G 阅读全文
posted @ 2022-05-28 17:40 nsfoxer 阅读(61) 评论(0) 推荐(0)
摘要: cmd防火墙 管理员权限 netsh firewall set opmode mode=disable #防火墙关闭 netsh firewall set opmode mode=enable #防火墙开启 防火墙配置查看 netsh advfirewall firewall show rule n 阅读全文
posted @ 2022-05-28 17:40 nsfoxer 阅读(92) 评论(0) 推荐(0)
摘要: 查找进程文件位置 wmic 1. 使用get查询 wmic process get name,executablepath 2 无条件查询 wmic process list brief wmic process list full 3 加where条件查询 wmic process where n 阅读全文
posted @ 2022-05-28 17:40 nsfoxer 阅读(235) 评论(0) 推荐(0)
摘要: U1FMaXRlIGZvcm1hdCAzABAAAgIAQCAgAAABJgAAAAYAAAAAAAAAAAAAAAIAAAAEAAAAAAAAAAAAAAABAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAEmAC5XSA0AAAACDaAADmUNoA 阅读全文
posted @ 2022-05-28 17:40 nsfoxer 阅读(59) 评论(0) 推荐(0)
摘要: linux文件操作 文件切割 #切割为10000bit的文件 split -b 10000 XXX.txt #每三个字节拆分成一个文件,默认不加单位就是字节,也可以带单位比如KB,MB等 split -b 3 linuxidc -d -a 1 CentOS 文件合并 #Windows cmd cop 阅读全文
posted @ 2022-05-28 17:40 nsfoxer 阅读(88) 评论(0) 推荐(0)
摘要: Linux时间同步.md ntpdate time.ntp.org 阅读全文
posted @ 2022-05-28 17:40 nsfoxer 阅读(40) 评论(0) 推荐(0)
摘要: iptables 基本概念 iptables 可以检测、修改、转发、重定向和丢弃 IPv4 数据包。过滤 IPv4 数据包的代码已经内置于内核中,并且按照不同的目的被组织成 表 的集合。表 由一组预先定义的 链 组成,链 包含遍历顺序规则。每一条规则包含一个谓词的潜在匹配和相应的动作(称为 目标), 阅读全文
posted @ 2022-05-28 17:40 nsfoxer 阅读(72) 评论(0) 推荐(0)
摘要: bash shell 技巧 逐行读取文件内容 指定换行符读取: #! /bin/bash IFS=" " for LINE in `cat /etc/passwd` do echo $LINE done 文件重定向给read处理: #! /bin/bash cat /etc/passwd | whi 阅读全文
posted @ 2022-05-28 17:40 nsfoxer 阅读(122) 评论(0) 推荐(0)
上一页 1 ··· 3 4 5 6 7 8 9 10 11 ··· 18 下一页