02 2023 档案
摘要:How to prevent long lines truncated to screen width --no-pager don't pipe output into a pager SYSTEMD_LESS=FKMRX journactl -aexu kube-proxy /etc/sudoe
阅读全文
摘要:rpm -i --root /mnt tree-pkg.src.rpm
阅读全文
摘要:remount / if (: > /.testrw) > /dev/null >&1; then rm -f /.testrw else mount -o remount,rw / || echo 'Failed mount / rw' fi mount pseudo fs /proc mount
阅读全文
摘要:CD-ROM stands for Compact Disk - Read-Only Memory CD-ROM mounted? findmnt -c --source /dev/cdrom --output TARGET findmnt -c --source /dev/sr0 --output
阅读全文
摘要:Disable Hyper-V to run virtualization software - Windows Client | Microsoft Learn
阅读全文
摘要:env: GO111MODULE go env -w GO111MODULE=on GOPROXY go env -w GOPROXY=https://goproxy.cn,https://mirrors.aliyun.com/goproxy,direct GONOPROXY, GONOSUMDB,
阅读全文
摘要:Fedora: modify /etc/pam.d/system-auth fedora采用authselect管理authorization Ubuntu: modify /etc/pamd.d/common-password
阅读全文
摘要:Symmetric key encryption is performed using the enc operation of OpenSSL. 查看可用encryption openssl enc -list Encrypt use -pass pass:minutia 指定密码 openssl
阅读全文
摘要:datastore: kubernetes kubectl get ipamblocks.crd.projectcalico.org -o jsonpath="{range .items[*]}{'podNetwork: '}{.spec.cidr}{'\t NodeIP: '}{.spec.aff
阅读全文
摘要:$GIT_DIR/info/attributes (which has the highest precedence) core.attributesFile: In addition to .gitattributes (per-directory) and .git/info/attribute
阅读全文
摘要:https://serverfault.com/questions/729025/what-are-all-the-flags-in-a-dig-response flags: +qr +noqr toggles the display of the query message as it is s
阅读全文
摘要:ip link: ip link set dev <ifname> name <NAME> 网卡down时, 可改名 ip addr: ip addr add dev tun0 10.1.1.1/24 broadcast 10.1.1.255 ip route: ip route add 1.1.1
阅读全文
摘要:反弹shell(reverse shell),就是攻击端(本机)监听在某TCP/UDP端口,受害端(目标服务器)发起请求到该端口,并将其命令行的输入输出转到控制端。reverse shell与telnet,ssh等标准shell对应,本质上是网络概念的客户端与服务端的角色反转。 ncat: atta
阅读全文
摘要:commands: echo -e 'GET / HTTP/1.0\r\n\r\n' | ncat x.com 80
阅读全文