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

建设网站的叫什么职位青岛高品质网站建设

建设网站的叫什么职位,青岛高品质网站建设,pyhton可以做网站吗,网站开发建设好处本文转自王子博客#xff1a;http://www.cnblogs.com/killbit/p/4355950.html 首先要感谢哥们对我的指点#xff0c;多谢。 当我们遇到类似情况下#xff0c;如何获取保存在MSSQL工具里的凭证呢#xff1f; //如果对方连接地址后面加了IP\sqlexpress 连接的时候你也记得加上… 本文转自王子博客http://www.cnblogs.com/killbit/p/4355950.html 首先要感谢哥们对我的指点多谢。 当我们遇到类似情况下如何获取保存在MSSQL工具里的凭证呢  //如果对方连接地址后面加了IP\sqlexpress 连接的时候你也记得加上不然即使密码正确也会说登录失败。   通过和哥们讨论研究分析以及查找资料知道了密码存放的地方 C:\Users\Administrator\AppData\Roaming\Microsoft\Microsoft SQL Server\90\Tools\ShellSEM\mru.dat (当前MSSQL 连接工具为2005) 我们通过C32来查看MRU.DAT会发现一串BASE64编码   这个就是我们的保存的凭证但是并不是直接还原BASE64就可以了需要DECODE后还需要DPAPI来进行解密   代码如下   // Encode.cpp : 定义控制台应用程序的入口点。 // #include stdafx.h #include Windows.h #include stdio.h #include iostream #include cstdlib #include stdio.h #pragma comment(lib, crypt32.lib) using namespace std;int Base64Decoder(char *input, unsigned char *output) {char base64string[]ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789/;BYTE dataBuffer[4];BYTE outputBuffer[3];BYTE finalBuffer[1000];int count0;int padCount0;int length;length strlen(input);//Validate the data for BASE64if( length % 4 ){printf(%s - Invalid base64 data is supplied %s (%d) , input, length);return 0;}//count the no of paddingif (input[length-1] )padCount;if (input[length-2] )padCount;// Process 4 chars in each loop to produce 3 charsfor (int i0; i length; i 4){// Populate data buffer with position of Base64 characters for// next 4 bytes from encoded datafor (int j0; j 4 (i j length); j) dataBuffer[j] ( (int)strchr(base64string, input[ij]) - (int)base64string );//Decode data buffer back into bytesoutputBuffer[0] (dataBuffer[0] 2) ((dataBuffer[1] 0x30) 4);outputBuffer[1] ((dataBuffer[1] 0x0f) 4) ((dataBuffer[2] 0x3c) 2); outputBuffer[2] ((dataBuffer[2] 0x03) 6) dataBuffer[3];// Add all non-padded bytes in output buffer to decoded datafor (int k 0; k 3; k)finalBuffer[count]outputBuffer[k];}count count-padCount;//copy the decoded data into input buffermemcpy(output, finalBuffer, count);output[count]\0;printf(Base64 decoded string is [%s] (%d) , output, count);// std::cout 11111 std::endl;std::cout finalBuffer std::endl;return count; }int main(int argc,char** argv) {unsigned char output[1000] {0};//Base64Decoder(ZnVja3lvdQ,output);int iBase64Decoder(AQAAANCMnd8BFdERjHoAwE/ClsBAAAAfKVVCtCkz0SDfRfzGeyufQAAAAAQAAAARABlAGYAYQB1AGwAdAAAABBmAAAAAQAAIAAAAIDhFHSsCl9qoM1CbxlSVXqLXSDUuBs5sCx2hzytnkuAAAAAA6AAAAAAgAAIAAAAAdEQoQTYAeQGJYMsDfuOJdLHMGK4VtTu6SOzbla/TZFEAAAAACxb3rEQZjUHOpYTlkfwnhAAAAASc5uN4LAZ9A2IZadYsBRG87JhQjbWaQLY18FKf0fbyRlxIEQmxJm1FLBCep32aWY4qkPy1aELhj6IjnbCq/A,output);if (i 0){printf(Encode error\r\n);return -1;}DATA_BLOB DataPassword;DATA_BLOB DataOutput;DataPassword.cbData i;DataPassword.pbData output;if(CryptUnprotectData(DataPassword,0,0,0,0,CRYPTPROTECT_UI_FORBIDDEN,DataOutput)) //Crypt Mssql password{wcout Mssql credence Password Length: DataOutput.cbData \r\n; wcout Mssql credence Password: (wchar_t*)DataOutput.pbData; }else{wcout Error;     return -1;}return 0;}   还有一份C#是我哥们写的   using System; using System.Collections.Generic; //using System.Linq; using System.Text;namespace Mssql {class Program{static void Main(string[] args){Console.WriteLine(Encoding.Unicode.GetString(System.Security.Cryptography.ProtectedData.Unprotect(Convert.FromBase64String(AQAAANCMnd8BFdERjHoAwE/ClsBAAAAfKVVCtCkz0SDfRfzGeyufQAAAAAQAAAARABlAGYAYQB1AGwAdAAAABBmAAAAAQAAIAAAAIDhFHSsCl9qoM1CbxlSVXqLXSDUuBs5sCx2hzytnkuAAAAAA6AAAAAAgAAIAAAAAdEQoQTYAeQGJYMsDfuOJdLHMGK4VtTu6SOzbla/TZFEAAAAACxb3rEQZjUHOpYTlkfwnhAAAAASc5uN4LAZ9A2IZadYsBRG87JhQjbWaQLY18FKf0fbyRlxIEQmxJm1FLBCep32aWY4qkPy1aELhj6IjnbCq/A), null, System.Security.Cryptography.DataProtectionScope.LocalMachine)));}} }     还原后 VC     C#  转载于:https://www.cnblogs.com/dongchi/p/4491421.html
http://www.zqtcl.cn/news/587909/

相关文章:

  • php网站语言切换功能如何做263邮箱入口
  • 电商网站及企业微信订烟专门做红酒的网站
  • 大庆商城网站建设微网站建设找哪家
  • 渝快办官网seo管理平台
  • 网站建设辶金手指排名十二厦门建设局
  • 网站反链接什么seo推广优化多少钱
  • 建设工程公司采购的网站找不到网站后台怎么办
  • 江门网站seo推广湖南省建设银行网站官网
  • 网站底部关键词指向网站打开速度慢跟什么有关系
  • 网站右侧广告合肥高端网站设计
  • 漯河市郾城区网站建设wordpress文件管理
  • 网站栅格大连做网站的
  • 珠海企业网站建设报价鄂州网吧什么时候恢复营业
  • 手机制作钓鱼网站id转换为wordpress
  • 手机网站 好处信用中国 网站有那个部门支持建设
  • 模板免费网站自己如何做网站优化
  • 自适应网站做mip改造淘宝上买衣服的网站
  • 射阳做企业网站哪家好利用新冠消灭老年人
  • 网站头部修改wordpress php幻灯片代码
  • 网络违法犯罪举报网站哪里有制作网站服务
  • 临沂怎么做网站网站 单页
  • 科技信息网站系统建设方案建筑设计专业世界大学排名
  • 做网站运营的简历小型视频网站建设
  • 福建省亿力电力建设有限公司网站网页设计html代码大全动物
  • 如何建网站赚取佣金企业网站的在线推广方法有
  • 嵌入式转行到网站开发免费秒玩小游戏
  • 采购网站排名不需要证件做网站
  • wordpress添加用户登录东莞网络公司seo优化
  • 哪些企业网站使用水墨风格设计免费
  • 河北邯郸做网站的公司哪家好云南建站公司