从注册表中读取六角键。 [英] Reading hex keys from registry.

查看:91
本文介绍了从注册表中读取六角键。的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

读取十六进制regedit C#?



  用户 = hex( 0 ):6b, 65  73  61  63 ,< span class =code-digit> 68 , 69  74  00  
EncPassword = hex( 0 ):6b, 60 ,7b,6e, 61 ,7f, 67 ,7a, 60 61 68 61 ,6e, 62 00





谢谢。!

解决方案

嗨Dave Kreskowia。



我要解密



  用户 = hex( 0 ) :6b, 65  73  61  63  68  69 ,< span class =code-digit> 74 , 00  
< span class =code-string> EncPassword = hex( 0 ):6b, 60 ,7b,6e, 61 ,7f, 67 ,7a, 60 61 68 61 ,6e, 62 00





我破译了具有以下用户的代码。



 字符串 regValue =   hex(0):6d,69,6b,65,70,74,00; 

字符串 dirPath = 字符串 .Empty;
foreach 字符串 hex in regValue.Split(' :')[ 1 ].Split(' ,'))
if (!hex.Equals( 00))
dirPath + =( char )Convert.ToInt32(hex, 16 );
textBox2.Text = dirPath;
MessageBox.Show(dirPath);





我解密密码不是吗?

抱歉。我的英文不好。


https://fbcdn-sphotos-ha.akamaihd.net/hphotos-ak-ash4/1374165_598501066880790_1849810332_n.jpg



我想要代码c#。

Reading hex regedit C#?

"User"=hex(0):6b,65,73,61,63,68,69,74,00
"EncPassword"=hex(0):6b,60,7b,6e,61,7f,67,7a,60,61,68,61,6e,62,00



thank.!

解决方案

hi Dave Kreskowia.

I want to decrypt

"User"=hex(0):6b,65,73,61,63,68,69,74,00
"EncPassword"=hex(0):6b,60,7b,6e,61,7f,67,7a,60,61,68,61,6e,62,00



I deciphered the code with the following User.

String regValue = "hex(0):6d,69,6b,65,70,74,00";

          String dirPath = String.Empty;
          foreach (String hex in regValue.Split(':')[1].Split(','))
              if (!hex.Equals("00"))
                  dirPath += (char)Convert.ToInt32(hex, 16);
          textBox2.Text = dirPath;
          MessageBox.Show(dirPath);



I decrypt the password is not?
sorry. my bad english.


https://fbcdn-sphotos-h-a.akamaihd.net/hphotos-ak-ash4/1374165_598501066880790_1849810332_n.jpg

I want code c#.


这篇关于从注册表中读取六角键。的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆