当前位置:网站首页>NC basic usage 3
NC basic usage 3
2022-04-23 20:05:00 【franket】
The encrypted
mcrypt Is a simple encryption software , Combined with its pipeline function, encrypted transmission can be realized
[[email protected] nc]# echo ooooooooo > file.txt
[[email protected] nc]# mcrypt --flush --bare -F -q -m ecb < file.txt | nc -l 4567
Enter the passphrase (maximum of 512 characters)
Please use a combination of upper and lower case letters and numbers.
Enter passphrase:
Enter passphrase:
----------
[[email protected] nc]# nc h102 4567 | mcrypt --flush --bare -F -q -d -m ecb > f.txt
Enter passphrase:
[[email protected] nc]# cat f.txt
ooooooooo
[[email protected] nc]#
Remote cloning
Using this method, batch deployment can be realized
[[email protected] nc]# df -h
Filesystem Size Used Avail Use% Mounted on
/dev/mapper/vg_temp-lv_root
50G 22G 25G 47% /
tmpfs 935M 0 935M 0% /dev/shm
/dev/sda1 477M 34M 419M 8% /boot
/dev/mapper/vg_temp-lv_home
5.4G 12M 5.1G 1% /home
[[email protected] nc]# dd if=/dev/sda1 | nc -l 5678
1024000+0 records in
1024000+0 records out
524288000 bytes (524 MB) copied, 403.753 s, 1.3 MB/s
[[email protected] nc]#
----------
[[email protected] nc]# nc h102 5678 | dd of=h102.boot.backup
1022488+2911 records in
1024000+0 records out
524288000 bytes (524 MB) copied, 340.562 s, 1.5 MB/s
[[email protected] nc]# du -sh h102.boot.backup
501M h102.boot.backup
[[email protected] nc]#
Tip: The following methods can be used to view the contents
版权声明
本文为[franket]所创,转载请带上原文链接,感谢
https://yzsam.com/2022/04/202204231947044759.html
边栏推荐
- nc基础用法2
- Project training of Software College of Shandong University - Innovation Training - network security shooting range experimental platform (V)
- 一个简单的(基于redisson的)分布式同步工具类封装
- SIGIR'22「微软」CTR估计:利用上下文信息促进特征表征学习
- nc基础用法1
- 视频理解-Video Understanding
- 深度学习——特征工程小总结
- Executor、ExecutorService、Executors、ThreadPoolExecutor、Future、Runnable、Callable
- Codeworks round 783 (Div. 2) d problem solution
- OpenHarmony开源开发者成长计划,寻找改变世界的开源新生力!
猜你喜欢
Distinction between pointer array and array pointer
LeetCode异或运算
C6748 software simulation and hardware test - with detailed FFT hardware measurement time
Grafana 分享带可变参数的链接
@Mapperscan and @ mapper
MySQL syntax collation (3)
Openharmony open source developer growth plan, looking for new open source forces that change the world!
[transfer] summary of new features of js-es6 (one picture)
山东大学软件学院项目实训-创新实训-网络安全靶场实验平台(五)
2021-2022-2 ACM training team weekly Programming Competition (8) problem solution
随机推荐
山东大学软件学院项目实训-创新实训-网络安全靶场实验平台(六)
Kubernetes introduction to mastery - ktconnect (full name: kubernetes toolkit connect) is a small tool based on kubernetes environment to improve the efficiency of local test joint debugging.
@Mapperscan and @ mapper
filebeat、logstash配置安装
How to create bep-20 pass on BNB chain
Esp8266 - beginner level Chapter 1
【文本分类案例】(4) RNN、LSTM 电影评价倾向分类,附TensorFlow完整代码
MFC获取本机IP(网络通讯时用得多)
Hot reload debugging
Possible root causes include a too low setting for -Xss and illegal cyclic inheritance dependencies
How about Bohai futures. Is it safe to open futures accounts?
How to use go code to compile Pb generated by proto file with protoc Compiler Go file
【数值预测案例】(3) LSTM 时间序列电量预测,附Tensorflow完整代码
精简CUDA教程——CUDA Driver API
腾讯邱东洋:深度模型推理加速的术与道
Software College of Shandong University Project Training - Innovation Training - network security shooting range experimental platform (8)
FFT物理意义: 1024点FFT就是1024个实数,实际进入fft的输入是1024个复数(虚部为0),输出也是1024个复数,有效的数据是前512个复数
[报告] Microsoft :Application of deep learning methods in speech enhancement
【h264】libvlc 老版本的 hevc h264 解析,帧率设定
Command - sudo