上一页 1 2 3 4 5 6 7 8 9 ··· 90 下一页
  2023年8月25日
摘要: 遍历目录下文件并上传到ftp #!/bin/sh #定义ftp上传函数,一次只上传一个文件 ftp_put_file(){ ftp -v -n $ftp_server<<EOF user $ftp_user $ftp_password binary cd $remote_path_ftp lcd $ 阅读全文
posted @ 2023-08-25 11:25 momingliu11 阅读(36) 评论(0) 推荐(0) 编辑
  2023年8月24日
摘要: 1.升级openssl到1.1.1n cd /data/softwares cd openssl-1.1.1n ./config make && make install ln -s /usr/local/lib64/libssl.so.1.1 /usr/lib64/libssl.so.1.1 ln 阅读全文
posted @ 2023-08-24 17:39 momingliu11 阅读(628) 评论(0) 推荐(0) 编辑
摘要: 查看文件编码格式:file fishmails.csv.old 修改文件编码格式: iconv -f iso-8859-1 -t UTF-8 fishmails.csv.oldt -o fishmails.csv 阅读全文
posted @ 2023-08-24 17:28 momingliu11 阅读(347) 评论(0) 推荐(0) 编辑
  2023年8月3日
摘要: pip3 install click_house -i https://pypi.tuna.tsinghua.edu.cn/simple/ 阅读全文
posted @ 2023-08-03 15:07 momingliu11 阅读(23) 评论(0) 推荐(0) 编辑
  2023年7月21日
摘要: nslookup myip.opendns.com resolver1.opendns.com curl -s ifconfig.me (Linux) 阅读全文
posted @ 2023-07-21 09:32 momingliu11 阅读(12) 评论(0) 推荐(0) 编辑
  2023年7月7日
摘要: 脚本/data1/scripts/setuphids.sh位于本地服务器,没有位于远程服务器上。setuphids.sh脚本中的echo结果可以输出到本地服务器日志中 echo "#####Begin###########################################" >> /d 阅读全文
posted @ 2023-07-07 18:02 momingliu11 阅读(125) 评论(0) 推荐(0) 编辑
  2023年7月5日
摘要: cp ca.crt /etc/pki/ca-trust/source/anchors/extca.crt # 更新受信任的根证书 update-ca-trust 阅读全文
posted @ 2023-07-05 10:47 momingliu11 阅读(130) 评论(0) 推荐(0) 编辑
  2023年6月28日
摘要: 备份exchangedb库下的systemtable表 mysqldump --defaults-extra-file=/etc/my_pass.txt --flush-logs --single-transaction --set-gtid-purged=OFF exchangedb system 阅读全文
posted @ 2023-06-28 20:40 momingliu11 阅读(6) 评论(0) 推荐(0) 编辑
  2023年6月13日
摘要: 提权到nt authority\system权限:1.在PowerShell下运行p.ps1脚本2.运行如下命令: [MyProcess]::CreateProcessFromParent(1580,"c:\windows\system32\cmd.exe","")3.在新打开的窗口中运行whoam 阅读全文
posted @ 2023-06-13 15:51 momingliu11 阅读(517) 评论(0) 推荐(0) 编辑
  2023年6月10日
摘要: local function urlEncode(s) s = string.gsub(s, "([^%w%.%- ])", function(c) return string.format("%%%02X", string.byte(c)) end) return string.gsub(s, " 阅读全文
posted @ 2023-06-10 17:48 momingliu11 阅读(268) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 7 8 9 ··· 90 下一页