← All Categories

Shell

利用PDCA模型揪出macOS偷跑流量的进程

## 前言 最近办公环境没有无线网,只能拿手机热点来凑合一下,没想到短短2天时间,居然用完了原本套餐中的20G。本来以为是电脑平台网页内容比较丰富,一些广告和预加载的视频消耗了绝大多数流量。 可是,当新办理的3天10G流量包又被耗尽后,终于还是忍不住穷人的好奇心,本着栽都栽了,总得知道谁挖了坑的...

格式化Linux行式命令输出

# 写在最前 说来也奇怪,人人都标榜圆满之后的不破不立,但为人初时想做一些规矩之外的事,却被说成是大逆不道。世人皆言,走过千山万水,再看山不是山,才能悟得非常道。你我都没有剧中所言传承之类的秘法,从一无所知修到一无所知,究竟是返璞归真,还是可怜的命运循环。所谓慈悲,都是执著。 当然,说回主题,L...

DevMon - 通用SNMP编排工具

[](https://github.com/RichardLitt/standard-readme) # DevMon - Devices Monitor with SNMP [![standard-readme compliant](https://img.shields.io/badge/r...

What Cause SSH Connection be Refused

## Summary By default, the value of 'MaxStartups' is **10:30:100**, which means if there are 10 *ssh* requests **established** and waiting for **auth...

Parallel Shell 用例详解

#### 1\. IP子网计算 ``` ipcalc - calculate subnet for given <IP/Prefix> | [Netmask]     parash.py ipcalc 192.168.0.1/24     parash.py ipcalc 192.168.0...

Parallel Shell for Multiple Hosts

#### Usage ``` Usage:   mminit.py [module] [options] [action] Modules:   ipcalc - calculate subnet for given <IP/Prefix> | [Netmask]     mminit.py...

Script for Creating WLS Domain&Server

##### filename: wlstoolkit.sh ##### [](https://github.com/n0rvyn/wlstoolkit/blob/main/README.md#this-script-is-used-for-creating-domainserver-for-web...

Script for Port Forwarding on MacOS

``` #!/bin/bash # # if [[ "$1" == '' || "$2" == '' || "$3" == '' ]]; then echo -e "Usage:" echo -e " $0 [local port to forward] [target address] [t...

Script to Generate Password for Linux

Requirement: - The length of the string must be 12 bits - The password must contain numbers, lowercase letters, uppercase letters and at least on...