当前位置:网站首页>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
边栏推荐
- 山东大学软件学院项目实训-创新实训-网络安全靶场实验平台(七)
- PHP reference manual string (7.2000 words)
- Mysql database - single table query (II)
- Compact CUDA tutorial - CUDA driver API
- MySQL数据库 - 单表查询(一)
- 音频编辑生成软件
- Kubernetes入门到精通-裸机LoadBalence 80 443 端口暴露注意事项
- php参考手册String(7.2千字)
- Deep learning -- Summary of Feature Engineering
- Golang timer
猜你喜欢
Building googlenet neural network based on pytorch for flower recognition
【文本分类案例】(4) RNN、LSTM 电影评价倾向分类,附TensorFlow完整代码
Shanda Wangan shooting range experimental platform project - personal record (V)
Decompile and get the source code of any wechat applet - just read this (latest)
Virtual machine performance monitoring and fault handling tools
PHP reference manual string (7.2000 words)
山大网安靶场实验平台项目—个人记录(四)
Distinction between pointer array and array pointer
如何在BNB链上创建BEP-20通证
[transfer] summary of new features of js-es6 (one picture)
随机推荐
How to select the third-party package of golang
Kibana reports an error server is not ready yet. Possible causes
Decompile and get the source code of any wechat applet - just read this (latest)
MFC obtains local IP (used more in network communication)
对普通bean进行Autowired字段注入
Audio editing generation software
Deep learning -- Summary of Feature Engineering
antd dropdown + modal + textarea导致的textarea光标不可被键盘控制问题
Easy mock local deployment (you need to experience three times in a crowded time. Li Zao will do the same as me. Love is like a festival mock)
山东大学软件学院项目实训-创新实训-网络安全靶场实验平台(七)
山大网安靶场实验平台项目-个人记录(五)
本地调用feign接口报404
Go recursively loops through folders
Shanda Wangan shooting range experimental platform project - personal record (IV)
ESP8266-入门第一篇
Electron入门教程4 —— 切换应用的主题
Introduction to electron Tutorial 4 - switching application topics
IIS数据转换问题16bit转24bit
Kubernetes入门到精通-KtConnect(全称Kubernetes Toolkit Connect)是一款基于Kubernetes环境用于提高本地测试联调效率的小工具。
uIP1. 0 actively sent problem understanding