2023年8月24日
摘要:
查看文件编码格式: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
阅读(383)
推荐(0)
2023年8月3日
摘要:
pip3 install click_house -i https://pypi.tuna.tsinghua.edu.cn/simple/
阅读全文
posted @ 2023-08-03 15:07
momingliu11
阅读(45)
推荐(0)
2023年7月21日
摘要:
nslookup myip.opendns.com resolver1.opendns.com curl -s ifconfig.me (Linux)
阅读全文
posted @ 2023-07-21 09:32
momingliu11
阅读(36)
推荐(0)
2023年7月7日
摘要:
脚本/data1/scripts/setuphids.sh位于本地服务器,没有位于远程服务器上。setuphids.sh脚本中的echo结果可以输出到本地服务器日志中 echo "#####Begin###########################################" >> /d
阅读全文
posted @ 2023-07-07 18:02
momingliu11
阅读(171)
推荐(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
阅读(247)
推荐(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
阅读(23)
推荐(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
阅读(1302)
推荐(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
阅读(504)
推荐(0)
2023年6月7日
摘要:
#定义连接到Vcenter的信息 $vc = "vc.dk" $user = "Administrator@v.com" $password = "Yi" #连接到Vcenter Connect-VIServer -Server $vc -username $user -Password $pass
阅读全文
posted @ 2023-06-07 17:34
momingliu11
阅读(105)
推荐(0)
2023年6月4日
摘要:
haproxy修改如下超时参数: timeout http-request 300s timeout http-keep-alive 300s echo "GET https://mail.test.com/EWS/Exchange.asmx"| vegeta attack -rate=300 -d
阅读全文
posted @ 2023-06-04 16:52
momingliu11
阅读(46)
推荐(0)