我想使用以下命令输出所有 ascii 字符的字符串
for i in `seq 32 127`; do printf "%c" $i; done
Run Code Online (Sandbox Code Playgroud)
上面命令的输出是:
33333334444444444555555555566666666667777777777..............
Run Code Online (Sandbox Code Playgroud)
它是每个数字的第一个(从左边开始)数字。
浏览这个网站,我发现了我的问题的答案如何在 CLI 中打印所有可打印的 ASCII 字符?,但是我仍然不明白为什么我的原始代码段没有按预期输出 ascii 字符。
我想使用 tcpflow 来监控https请求。我已经阅读了有关如何监控 http 流量的教程,但是当我使用 https 连接到主机时,输出是乱码。我以下列方式使用 tcpflow:
sudo tcpflow -s -c -i eth0 src or dst host api.linkedin.com
Run Code Online (Sandbox Code Playgroud)