本文介紹了從活動(dòng)目錄獲取用戶的密碼的處理方法,對(duì)大家解決問題具有一定的參考價(jià)值,需要的朋友們下面隨著小編來一起學(xué)習(xí)吧!
問題描述
是否可以在機(jī)器加入的活動(dòng)目錄中獲取帳戶的密碼?我知道這聽起來很危險(xiǎn),但我想使用管理員用戶的用戶 ctx 啟動(dòng)一個(gè)進(jìn)程,而不需要硬編碼密碼.
Is it possible to get the password of an account on the active directory a machine is joined to? I know this may sound like a dangerous thing to do, but I'd like to launch a process with the user ctx of an admin user, without hard-coding a password.
我使用的是 .NET 3.5.
I'm using .NET 3.5.
推薦答案
這從根本上不可能.
Windows 使用 NTLM 哈希存儲(chǔ)密碼;密碼本身根本不存儲(chǔ).
This is fundamentally impossible.
Windows stores passwords using the NTLM hash; the passwords themselves are not stored at all.
這篇關(guān)于從活動(dòng)目錄獲取用戶的密碼的文章就介紹到這了,希望我們推薦的答案對(duì)大家有所幫助,也希望大家多多支持html5模板網(wǎng)!
【網(wǎng)站聲明】本站部分內(nèi)容來源于互聯(lián)網(wǎng),旨在幫助大家更快的解決問題,如果有圖片或者內(nèi)容侵犯了您的權(quán)益,請(qǐng)聯(lián)系我們刪除處理,感謝您的支持!