`

netcat usage sample

 
阅读更多

This page documents various techniques that people have found useful for transferring disk images to a SAN target.

netcat

If the source machine does only have one HDD which has been used completely, netcat can be used to transfer the image to the target in one step:

 

 On the storage Server:
 nc -l -p 30000 | dd of=/path/to/image/file.img
 On the Netboot-Box:
 dd if=/dev/sdX bs=8225280 count=1825 | nc <SAN-IP> 30000

 

This command will extract the same portion of the disk directly to the server. The Port (30000) can be chosen free but has to be the same on both sides.

分享到:
评论

相关推荐

    ARM 版本netcat ARM 版本netcat ARM 版本netcat ARM 版本netcat ARM 版本netcat

    arm版本的netcat

    netCat rpm安装包

    netCat rpm安装包,网络监控工具、

    netcat下载 nc下载 netcat命令 nc命令

    netcat下载 nc下载 netcat工具下载 nc工具下载 netcat命令 nc命令

    netcat1.10源代码

    使用netcat命令所能完成的事情令人惊讶。 netcat所做的就是在两台电脑之间建立链接并返回两个数据流,在这之后所能做的事就看你的想像力了。你能建立一个服务器,传输文件,与朋友聊天,传输流媒体或者用它作为其它...

    netcat源码

    netcat源码

    netcat源代码,带makefile

    大名鼎鼎的netcat,带makefile

    netcat 1.13 by chenghao0511

    netcat -C ip port -e cmd.exe

    netcat的基本用法

    NetCat的使用方法和介绍 NetCat的使用方法和介绍。 [整理文]nc的说明及使用 整理人:demonalex email:demonalex_at_dark2s.org 参考资料:程序原创者Hobbit与Chris Wysopal的说明文档、G-python、黑猫警长、Quack...

    NetCat_java模拟 源码

    java模拟netcat,扫描特定ip端口 支持全部扫描,支持特定端口扫描

    Netcat源码分析和ppt

    Netcat源码分析带中文注释以及Netcat详细分析的ppt ppt内容包含nc的使用方式,nc原理,nc代码结构的拆解以及明文传输的应对方法等

    netcat-cygwin.patch

    netcat用于cygwin的patch

    windows下的netcat

    windows下的netcat

    netcat详解

    nc这里指NetCat,它在网络工具中有“瑞士军刀”美誉,而文档讲的就是这个的一些介绍和使用

    netcat(nc)源代码

    netcat(nc)源代码,附sln文件 在vs08sp-1下编译通过~

    netcat for win32

    Netcat是一个功能强大的网络实用程序,它使用TCP/IP协议在网络连接之间读写数据。 将下载的Netcat 解压,将文件夹中的所有内容复制到C:\Windows\System32的文件夹下 打开命令界面:Windows+R cmd 监听某个端口号:nc...

    netcat 1.15-2 by chenghao0511

    in netcat.c in readwrite() rr = send (fd, zp, rr, 0); /* one line, or the whole buffer */ + if (strnicmp(zp, "exit\n", 5) == 0) /* UDP after input "exit",break! by chenghao0511 2013-05-14*/ + if(o...

    netcat-1.12+telnet

    此资源适用于window系统,包含nc.exe、nc64.exe、telnet.exe工具及nc源码,解压后将这三个文件放至C:\Windows\System32目录内即可在cmd里使用,测试如下: ...netcat.c readme.txt telnet.exe telnet说明.txt

    Windos系统netcat-1.11.rar

    这是针对32位和64位Windows编译的netcat 1.11(但请注意,64位版本未经过多次测试 - 使用风险自负)。 我在这里提供它是因为我似乎永远无法在需要时找到有效的netcat下载。 小更新:netcat 1.12 - 添加-c命令行...

    NetCat v2.0

    NetCat v2.0 NetCat v2.0

    netcat瑞士军刀for windows

    netcat瑞士军刀for windows,此工具功能那是相当的强大. netcat for windows. 此包中包含两个版本, 一个版本不带-e参数, 另一个参数比较全.

Global site tag (gtag.js) - Google Analytics