当前位置:网站首页>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
边栏推荐
- Speex Wiener filter and rewriting of hypergeometric distribution
- Project training of Software College of Shandong University - Innovation Training - network security shooting range experimental platform (6)
- SRS deployment
- nc基础用法
- 【文本分类案例】(4) RNN、LSTM 电影评价倾向分类,附TensorFlow完整代码
- Understanding various team patterns in scrum patterns
- How to select the third-party package of golang
- nc基础用法2
- 音频编辑生成软件
- MySQL syntax collation
猜你喜欢

MySQL lock

Fundamentals of programming language (2)

Grafana shares links with variable parameters
![[transfer] summary of new features of js-es6 (one picture)](/img/45/76dba32e4fa7ed44a42e5f98ea8207.jpg)
[transfer] summary of new features of js-es6 (one picture)

Kubernetes entry to mastery - bare metal loadbalance 80 443 port exposure precautions

C6748 software simulation and hardware test - with detailed FFT hardware measurement time

Class loading mechanism

Command - sudo

如何在BNB鏈上創建BEP-20通證

Lottery applet, mother no longer have to worry about who does the dishes (assign tasks), so easy
随机推荐
Efficient serial port cyclic buffer receiving processing idea and code 2
高效的串口循环Buffer接收处理思路及代码2
Use test of FFT and IFFT library functions of TI DSP
Grafana 分享带可变参数的链接
How to use go code to compile Pb generated by proto file with protoc Compiler Go file
OpenHarmony开源开发者成长计划,寻找改变世界的开源新生力!
LPC1768 关于延时Delay时间与不同等级的优化对比
How about Bohai futures. Is it safe to open futures accounts?
C6748 软件仿真和硬件测试 ---附详细FFT硬件测量时间
Command - sudo
Electron入门教程4 —— 切换应用的主题
MySQL数据库 - 连接查询
nc基础用法
IIS data conversion problem: 16bit to 24bit
Database query - course selection system
Scrum Patterns之理解各种团队模式
Go recursively loops through folders
MySQL数据库 - 单表查询(三)
MySQL advanced lock - overview of MySQL locks and classification of MySQL locks: global lock (data backup), table level lock (table shared read lock, table exclusive write lock, metadata lock and inte
How to create bep-20 pass on BNB chain