当前位置: 首页 > news >正文

北京移动官网网站建设360免费wifi电脑版

北京移动官网网站建设,360免费wifi电脑版,推广策略模板,哪些网站做问卷可以赚钱内网的一台服务器上的装机默认用户密码忘记了#xff0c;但是好在别的电脑上使用RDCMan#xff08;Remote Desktop Connection Manager#xff09;连接过这台服务器#xff0c;并且保存了密码。于是经过一番折腾#xff0c;最后把密码找回来了#xff1a; 最后成功的powe…内网的一台服务器上的装机默认用户密码忘记了但是好在别的电脑上使用RDCManRemote Desktop Connection Manager连接过这台服务器并且保存了密码。于是经过一番折腾最后把密码找回来了 最后成功的powershell脚本来自于这个地址 https://www.undocumented-features.com/2019/10/03/decrypting-credentials-stored-in-remote-desktop-manager-rdcman-rdg/ 但是能找到这个地址是因为这篇文章给出的三个方案就有powershell https://www.cnblogs.com/Thorndike/p/15325079.html 因为不好使就根据脚本里面的关键字去搜索才找到的。百度和bing都没有有效的结果这次实际上发挥作用的是google 最终有效的脚本是这个 # Decrypt passwords in RDG files param($RDGFile,$PasswordString,$RDCManSource) If (!$RDCManSource) {$RDCManSource (Get-ChildItem -Path (C:\Program Files\Microsoft, C:\Program Files (x86)\Microsoft) -File RDCMan.exe -Recurse -ErrorAction SilentlyContinue)[0] } If (!$RDCManSource) {Write-Error Remote Desktop Manager must be installed. If it is installed, use the -RDCManSource parameter to specify the executables location.Exit } else {Write-Host goto RDCManSource.Write-Host $RDCManSource.FullNametry{$Assembly [Reflection.Assembly]::LoadFile($RDCManSource)}catch{$_.Exception.Message.ToString();Write-Host Catch; Exit}try { Import-Module $Assembly }catch{$_.Exception.Message.ToString();Write-Host Import Exception; exit } } If ($RDGFile) {Write-Host goto RDGFile.Write-Host[xml]$Data Get-Content $RDGFile$CredentialValues $Data.SelectNodes(*//logonCredentials)$global:Output ()foreach ($obj in $CredentialValues){try{$EncryptionSettings New-Object -TypeName RdcMan.EncryptionSettings$Password [RdcMan.Encryption]::DecryptString($obj.password, $EncryptionSettings)}catch{$_.Exception.Message.ToString(); continue}If ($Password -and ($Password -notcontains Failed to decrypt)){$CredObject New-Object PSObject$CredObject | Add-Member -Type NoteProperty -Name ProfileName -Value $obj.ProfileName -ea SilentlyContinue -Force$CredObject | Add-Member -Type NoteProperty -Name UserName -Value $obj.username -ea SilentlyContinue -Force$CredObject | Add-Member -Type NoteProperty -Name Password -Value $Password$CredObject | Add-Member -Type NoteProperty -Name Domain -Value $obj.domain$global:Output $CredObject}}If ($Output){$Output}Else{Write-Host Nothing to show.} } else {If ($PasswordString){$EncryptionSettings New-Object -TypeName RdcMan.EncryptionSettings$Password [RdcMan.Encryption]::DecryptString($PasswordString, $EncryptionSettings)Write-Host Cleartext password: $($Password)} } 需要注意的是我电脑上使用的是绿色版所以是传参进来的 .\dops2 -RDGFile .\本地电脑.rdg -RDCManSource D:\Green\RDCMan\RDCMan.exe 其它另外一个尝试过的脚本 Copy-Item C:\Program Files (x86)\Microsoft\Remote Desktop Connection Manager\RDCMan.exe C:\windows\temp\RDCMan.dll Import-Module C:\windows\temp\RDCMan.dll $EncryptionSettingsNew-Object-TypeName RdcMan.EncryptionSettings $linesGet-Content RDCManpass.txt foreach ($line in $lines){$PwdString $line[RdcMan.Encryption]::DecryptString($PwdString,$EncryptionSettings) } windows 10系统直接执行脚本会报错 解决办法 https://blog.csdn.net/qq_15585305/article/details/131436046 另外PowerShell脚本传参参考了这篇 https://blog.csdn.net/wan_ghuan/article/details/104346908
http://www.pierceye.com/news/251173/

相关文章:

  • 做播放器电影网站需要多少钱6网络工程师证
  • dw怎么做网站标题图标网站建设进度表 免费下载
  • 西安哪些做网站的公司好做电子商务网站的意义
  • 圣融网站建设包装设计网站是什么样子的
  • 网站建设的利润设计宝
  • 厦门网站制作案例dede做手机网站
  • 网站建设 环保 图片重庆信息网
  • 做网站的主流软件珠海网站建设珠海
  • 江门市网站建设 熊掌号wordpress分类不显示图片
  • 上海做网站技术有趣的网站小游戏
  • 网站建设需要哪些内容中国建设银行对公网站
  • 网站菜单实现原理全网营销外包
  • 江阴招聘网站建设学徒开源网站开发文档下载
  • 金融网站开发公司六安城市网新闻
  • 什邡网站建设公司linux怎么使用wordpress
  • 安阳网站建设公司网络推广的目标
  • 人像摄影网站有哪些贵阳网站制作企业
  • 山西山西省建设厅网站首页哪个网站做分享赚佣金
  • 曲靖网站制作一条龙赣州章贡区邮政编码是多少
  • 海南省网站设计公司网址百度小说风云榜排名
  • 刷网站关键词排名原理寮步建设网站
  • 银川网站建设一条龙服务服装行业网站模板
  • 重庆建站程序建筑网站起名
  • 便宜网站制作wordpress函数手册
  • 适合在家做的网站工作做音乐网站要求
  • 在哪个网站做视频赚钱的建设彩票网站需要多少投资
  • 大连网站建设意动科技推荐做那个的电影网站
  • 博达 网站群建设wordpress打开乱码
  • 电商网站建设代理商定制网站开发介绍图
  • 网站系统问题解决措施上海网站建设系