使用vagrant启动的虚拟机总是有一块特殊的网卡,ip地址为10.0.2.15, 这是个什么东东? 为了便于 …
作者存档:phpor
WS-Management Protocol (Windows)
https://msdn.microsoft.com/library/windows/desktop/aa38 …
winrm
winrm 协议报文:
1 2 3 4 5 6 7 8 9 |
POST /wsman HTTP/1.1 Content-Type: application/soap+xml;charset=UTF-8 User-Agent: Ruby WinRM Client (2.6.0.1, ruby 2.0.0 (2014-11-13)) Accept: */* Date: Wed, 08 Feb 2017 09:41:16 GMT Content-Length: 1658 Host: 127.0.0.1:55985 <?xml version="1.0" encoding="UTF-8"?><env:Envelope xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:env="http://www.w3.org/2003/05/soap-envelope" xmlns:a="http://schemas.xmlsoap.org/ws/2004/08/addressing" xmlns:b="http://schemas.dmtf.org/wbem/wsman/1/cimbinding.xsd" xmlns:n="http://schemas.xmlsoap.org/ws/2004/09/enumeration" xmlns:x="http://schemas.xmlsoap.org/ws/2004/09/transfer" xmlns:w="http://schemas.dmtf.org/wbem/wsman/1/wsman.xsd" xmlns:p="http://schemas.microsoft.com/wbem/wsman/1/wsman.xsd" xmlns:rsp="http://schemas.microsoft.com/wbem/wsman/1/windows/shell" xmlns:cfg="http://schemas.microsoft.com/wbem/wsman/1/config"><env:Header><a:To>http://127.0.0.1:55985/wsman</a:To><a:ReplyTo><a:Address mustUnderstand="true">http://schemas.xmlsoap.org/ws/2004/08/addressing/role/anonymous</a:Address></a:ReplyTo><w:MaxEnvelopeSize mustUnderstand="true">153600</w:MaxEnvelopeSize><a:MessageID>uuid:AC14F680-D388-4B9D-B41E-4A0D6C51865B</a:MessageID><w:Locale xml:lang="en-US" mustUnderstand="false"/><p:DataLocale xml:lang="en-US" mustUnderstand="false"/><w:OperationTimeout>PT30M0S</w:OperationTimeout><w:ResourceURI mustUnderstand="true">http://schemas.microsoft.com/wbem/wsman/1/windows/shell/cmd</w:ResourceURI><a:Action mustUnderstand="true">http://schemas.xmlsoap.org/ws/2004/09/transfer/Create</a:Action><w:OptionSet><w:Option Name="WINRS_NOPROFILE">FALSE</w:Option><w:Option Name="WINRS_CODEPAGE">437</w:Option></w:OptionSet></env:Header><env:Body><rsp:Shell><rsp:InputStreams>stdin</rsp:InputStreams><rsp:OutputStreams>stdout stderr</rsp:OutputStreams></rsp:Shell></env:Body></env:Envelope> |
当wi …
vnc 学习
vncserve命令示例: 启动vnc:
1 2 3 4 5 6 |
# vncserver :1 New 'VM-2:1 (root)' desktop is VM-2:1 Starting applications specified in /root/.vnc/xstartup Log file is /root/.vnc/VM-2:1.log |
& …
linux 之多网卡问题
现象: centos 6或7上配置两块(或者多块)网卡,如果默认网关配置在eth1(ip1)上,则通过另外一 …
golang IDE之 gogland
https://www.jetbrains.com/go/ 优点: 可以debug
golang 可以用于windows编程吗
golang 可以用于windows编程吗? 理论上可以,但是又有哪个IDE去支持golang进行window …
深入学习linux
https://camo.githubusercontent.com/cf320eee49cd4e4143f4 …
docker mount on fly(容器动态挂卷)
理论上来讲,mount操作一定是发生在容器启动之后的(包括宿主机也如此);但是,docker只是在create …
ftp之EPRT/EPSV
参考资料: https://tools.ietf.org/html/rfc2428 当知道了ftp有主动模式、 …