WELCOME

2008年4月17日 星期四

十二種 Windows 作業系統常用密碼破解


在日常操作中,我們經常要輸入各種各樣的密碼,例如開機時要輸入密碼, QQ時也要先輸入密碼,假如你忘記了這些密碼,就有可能用不了機器、打不開檔案、不能聊天......

也許還會造成很大的損失!下面我們就介紹電腦操作中常用密碼的破解方法,希望能解你燃眉之急!

一、遺忘了SYSTEM密碼

如果你遺忘了CMOS設定中的SYSTEM密碼,就無法啟動機器了,解決的辦法只能是:打開機箱,把電池取下、正負極短接,給CMOS放電,清除CMOS中的所有內容 (當然也就包括密碼) ,然後重新開機進行設定。

注意:有些主板設定了CMOS密碼清除跳線,請參照主板說明書將該跳線短接,這樣也可以清除CMOS密碼。

二、遺忘了SETUP密碼

遺忘了該密碼,就不能進行CMOS設定了。如果你能使用電腦,但不能進入CMOS設定,可以這樣解決:在 DOS狀態下啟動DEBUG,然後輸入如下命令手工清除SETUP密碼:

_ o 70 16

_ o 71 16

_ q

你也可以用CMOS密碼破解軟體來顯示CMOS 密碼,這樣的軟體有很多,例如Cmospwd,它支援 AcerAMI AWARDCOMPAQDELLIBMPACKARD BELLPHOENIXZENITH AMI等多種BIOS,在DOS下啟動該程式,CMOS 密碼就會顯示出來 。

三、遺忘了Windows 登錄密碼

WinMe/98 下對策:開機後按F8鍵選擇DOS啟動,然後刪除Windows安裝目錄下的*.PWL 密碼檔案、以及 Profiles 子目錄碌乃懈 ? 人資訊檔案,重新啟動 Windows 後,系統會彈出一個不包含任何用戶名的密碼設定框,此時無需輸入任何內容,直接單擊“確定”,登錄密碼即被刪除。

另外,將登錄檔資料庫 HKEY_LOCAL_MACHINE Network Logon分支下的 UserProfiles 修改為“ 0 ,然後重新啟動 Windows 也可達到同樣目的。

WinXP/2000 下對策 : 刪除系統安裝目錄 \system32 \config下的SAM檔案,重新啟動,此時管理員 Administrator帳號已經沒有密碼了,用Administrator帳戶登陸系統,不用輸入任何密碼,進入系統後再重新設定登陸帳戶密碼即可。

四、遺忘了 Windows 屏保密碼

解決方法 : 在開機後按F8鍵,選擇安全模式啟動,進入Windows後,右擊桌面空白處,從彈出的快顯功能表中選擇“屬性” / 螢幕 保護,取消“密碼保護”即可。

五、遺忘了 Windows 電源管理密碼

Windows 的電源管理功能也可以設定密碼,啟用此功能後,當系統從節能狀態返回時就會要求輸入密碼。如果你遺忘了該密碼,可以使用前面破解 Windows 登錄密碼的那種方法去破解。

六、遺忘了微軟 Office 密碼

解決方法 : 使用破解 Office 系列文檔案密碼的軟體,這樣的軟體有很多,例如 AOPR( 下載網址 http://www.cngr.cn/dir/216/341/200604143497.html) ,該軟體可以同時對微軟 Office 系列 Word Excel Access 等軟體所生成的密碼進行破解,還可以對 Word *.DOT 範本檔案的密碼進行搜索。

七、遺忘了 WinZip 壓縮包密碼

解決方法 : 用軟體 UZPC(Ultra Zip Password Cracker ,找回丟失的密碼。使用該軟體時要先設定適當的解密 方式,例如“後門方式”、“窮舉方式”、“字典方式”和“ 模式匹配方式”等,一般採用“ Brute Force 窮舉方式”,然後軟體就會對所有可能的密碼進行測試, 直至找出最後的結果。

八、遺忘了RAR壓縮包密碼

遺忘了RAR壓縮包密碼後,你可下載一個 CRARK 軟體來對其進行破解,它主要通過命令行來實現對 RAR 壓縮包的密碼進行破解。使用時一般只需直接使用“ CRARK RAR 壓縮包檔案名”命令,利用缺省參數即可進行破解。

九、遺忘了QQ/ICQ密碼

為保護 QQ 密碼,你應該趕快到這裏申請密碼保護。假如你忘記了 QQ 密碼、或者密碼被盜時 ,只需填寫正確的資訊即可取回。

如果你要找回ICQ密碼,可以使用軟體ICQ Password Revealer ,這是一 DOS下的命令行實用軟體,你只需在 ICQ 安裝資料夾的 NEWDB 子資料夾下執行該檔案,然後按照螢幕提示輸入自己的 UIN ,系統即會找回“久 違”的 ICQ 密碼。

十、遺忘了OE密碼

如果你忘了密碼,無法進入OutLook Express 閱讀收到的郵件、使用通訊錄等,可以這樣破解 : 重啟 電腦並按 F8 ,選擇“安全模式”,再啟動OE就不需要密碼了 ,然後你可以重建一個用戶 ( 不能修改密碼 ) ,把資訊導入新用戶信箱即可。

十一、遺忘了 Foxmail 帳戶密碼

解決方法 : 消除忘記的Foxmail帳戶密碼。首先打開Foxmail ,新建一個帳戶 ( 帳戶名任意,例如如 lacl1),然後退出Foxmail; 執行 Windows 資源管理器,找到 Foxmail\MAIL\lacl1 文件夾,裏邊有個“ account.stg ”,把它複製到忘記密碼的帳戶 (例如 “ lacl ) 目錄中,直接覆蓋原來的“ account.stg ”文件;再重新執行 Foxmail ,打開忘記密碼的帳戶,呵呵,怎麼連“口令提示框”也沒有? 現在你就可以直接打開忘記密碼的帳戶,而且帳戶中原來的郵件一封都不少!

十二、查看“ * ”密碼

許多密碼在螢幕上都是以“ * ”顯示的,因此我們無法直接看到密碼的原始字元,如果你使用專門破解“ * ”密碼的軟體,即可 查出這些密碼的原始字元。

這樣的軟體有很多,例如 Win2000/Win98 下你可用 iOpus Password Recovery WinXP 下可用 Password Spectator Pro 。使用時,只需先打開顯示“ * ”的視窗,啟動這類軟體,然後按住Ctrl鍵、在密碼欄中按下滑鼠左鍵,這些“ * ”密碼的原始 字元就會顯示出來了。


2008年4月7日 星期一

Getting Mailbox Statistics in Exchange 2007

The most basic Exchange Management Shell cmdlet to use is the Get-MailboxStatistics cmdlet on its own. Figure 1 shows a sample of the output of running this cmdlet with no additional parameters. This runs against the local mailbox server.


Figure 1:
Default Results of Get-MailboxStatistics

As you can see, by default this gives us 4 pieces of information for each mailbox on the local server, namely the display name of the mailbox, the number of items in the mailbox, the mailbox storage limit status and the last logon time. The actual size of the mailbox is not shown by default so the first task is to determine the name of the attribute that stores this value. One way to determine the available attributes that can be retrieved is to pipe the results of the cmdlet into the Format-List cmdlet, or fl for short. For example, our cmdlet now becomes:

Get-MailboxStatistics | fl

Figure 2 shows the results of doing this, where the attributes of User2’s mailbox are shown.


Figure 2:
Results of Get-MailboxStatistics | fl

Now you can see other important pieces of information, such as the TotalItemSize attribute that has a value of 1584504B, or approximately 1.5MB. Clearly User2 is not a big user of Exchange 2007. Now that we know the attribute that we are interested in is called TotalItemSize, we can modify our original cmdlet to extract this information along with the mailbox name and item count. The cmdlet to use is shown below. Note the fact that this time, we’ve used the Format-Table cmdlet, or ft for short, to produce the output in table format:

Get-MailboxStatistics | ft DisplayName,TotalItemSize,ItemCount

The result of this cmdlet is shown in Figure 3.


Figure 3:
Get-MailboxStatistics With Mailbox Sizes

Now we are getting somewhere, as this is a fairly concise output telling us pretty much what we need to know. However, there are a couple of drawbacks to this output. Firstly, the output is not in ascending or descending order, so it is difficult to see quickly which mailboxes are the biggest. Also, the TotalItemSize column is shown in bytes by default which also does not make for easy reading.

Additional Get-MailboxStatistics Formatting

Let’s address the order of the output first. Sorting objects using PowerShell is really easy via the, you guessed it, Sort-Object cmdlet. All you really need to do for this exercise is to get the mailbox statistics and then pipe the results into the Sort-Object cmdlet before piping these results into the Format-Table cmdlet. For the Sort-Object cmdlet, all we really need to decide is which column you want to sort on and the direction you want to sort in. The first parameter we need to add to Sort-Object is the column name to sort on, which in our case is TotalItemSize. We then add either –Descending or –Ascending to give us the direction to sort in. Let’s show the largest mailboxes first, which is typically what administrators need to know. The cmdlet now becomes:

Get-MailboxStatistics | Sort-Object TotalItemSize –Descending | ft DisplayName,TotalItemSize,ItemCount

The result of this cmdlet is shown in Figure 4.


Figure 4:
Get-MailboxStatistics With Mailbox Sizes in Descending Size Order

Next we need to convert the mailbox sizes from bytes into something more useful. Megabytes is the obvious answer although with the ever increasing mailbox sizes it will not be long before gigabytes will be used as the default. However, since on my test system I have only got relatively small mailbox sizes, I am going to display the mailbox sizes in kilobytes. To do this, we need to replace the TotalItemSize parameter in our cmdlet with something inherently more complicated:

@{ expression={$_.TotalItemSize.Value.ToKB()}}

So our cmdlet now looks like this:

Get-MailboxStatistics | Sort-Object TotalItemSize –Descending | ft DisplayName,@{ expression={$_.TotalItemSize.Value.ToKB()}},ItemCount

The result of this cmdlet is shown in Figure 5 below. If you want to display the mailbox sizes in MB, use TotalItemSize.Value.ToMB in the cmdlet above. Or you can use TotalItemSize.Value.ToGB of course.


Figure 5:
Get-MailboxStatistics With Mailbox Sizes in KB

That’s looking much better. But wait! Look at the column names now. We can see that the column that was previously called TotalItemSize is now referenced in the rather cumbersome form of $_.TotalItemSize.Value.ToKB(). We can address that very easily by adding a new label to the cmdlet. In fact, all you need to do is to add a change to the cmdlet to re-label the column appropriately. The new cmdlet is shown below:

Get-MailboxStatistics | Sort-Object TotalItemSize -Descending | ft DisplayName,@{label="TotalItemSize(KB)";expression={$_.TotalItemSize.Value.ToKB()}},ItemCount

The result of this is shown in Figure 6:


Figure 6:
Get-MailboxStatistics With Labeled Column Names

At last we have a useful output that is nicely formatted and one that we can use to identify the largest mailboxes. What you don’t want to be doing is running this script manually every day, week or month. Obviously applications such as System Center Operations Manager (SCOM) 2007 bring this information back to you via the management console, so how can we do a similar thing with the Exchange Management Shell? The most obvious method is to send the information via email so let’s look at how this can be done.

Exchange 2007是否也需要作資料庫重整and 如何看到全部使用者信箱容量

Exchange 2007 仍然可以使用 eseutil.exe /d 來離線重整資料庫的。請參考:

Eseutil /D Defragmentation Mode

Change the listening port for Remote Desktop

remote desktop , ssh 等 service 如果不改 port 的話會常常有白爛來撞

password ...

修改 registry , 重啟.

HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\TerminalServer\WinStations\RDP-Tcp\PortNumber

2008年4月2日 星期三

購買記憶體?

買記憶體時,除一般的規格描述,如桌上型電腦記憶體DDR400 (PC3200) 512MB,標示記憶體的工作頻率與容量。另外,較常見的規格及功能描述有ECC、Register、CL值,本特輯將針對這些名詞進ㄧ步介紹。

什麼是ECC?

ECC (Error-correcting code) 是指在傳輸時間允許偵測並校正錯誤的ㄧ種編碼方法,它是在接收端藉由已編碼資料的檢查以偵測並校正傳輸錯誤。ECC使用電子方法檢查儲存在DRAM中的資料是否一致。通常有ECC功能的記憶體主要用於高階個人電腦、伺服器或工作站。


什麼是Register?

Register (暫存器) 是 一種高速型態的記憶體,暫時保留一個區域保存特別的指令、資料項或一段資訊,在暫存器指令和操作只會被執行一些時間,但那些操作可以極快速的被完成。簡單 來說,Register可讓CPU常用的指令或命令列暫存在其中,而且可被快速擷取使用,具備Register功能的記憶體模組常用於伺服器或高階工作 站。

*升級或安裝請特別注意:有Register和沒有Register功能的記憶體不能混用。



什麼是CL值?

CL 是 CAS-Latency 的縮寫, 「CAS」指的是「Column Address Strobe(行位址控制器)」,Latency(延遲)是指訊號從某一點傳輸到另一點所需的時間,在此代表延遲時間單位。把記憶體想成一個資料陣列,內 有CAS(行位址控制器)與RAS(列位址控制器)。寫入或寫出資料時,記憶體控制晶片先傳送列的位址,然後CAS(行位址控制器)訊號才會被啟動,而傳 遞的資料則需等待CAS被啟動之後才能進行傳輸。因此由CAS訊號被啟動後,到資料被傳輸到匯流排之間的延遲時間,即稱為CL值。



由上面的說明可知,CL2記憶體執行速度比CL3快。因為CL2的CAS到Data被傳輸的延遲時間只有2個執行週期,而CL3卻要3個執行週期。目前市面上較常見的記體CL值為CL3、CL2.5、CL2,預計CL1.5將是下一個發展目標。

看完ECC、Register、CL值得介紹,相信您對記憶體有更進ㄧ步了解。如果您還想知道更多記憶體的知識可參考下列文章。

買記憶體時,除一般的規格描述,如桌上型電腦記憶體DDR400 (PC3200) 512MB,標示記憶體的工作頻率與容量。另外,較常見的規格及功能描述有ECC、Register、CL值,本特輯將針對這些名詞進ㄧ步介紹。

什麼是ECC?

ECC (Error-correcting code) 是指在傳輸時間允許偵測並校正錯誤的ㄧ種編碼方法,它是在接收端藉由已編碼資料的檢查以偵測並校正傳輸錯誤。ECC使用電子方法檢查儲存在DRAM中的資料是否一致。通常有ECC功能的記憶體主要用於高階個人電腦、伺服器或工作站。


什麼是Register?

Register (暫存器) 是 一種高速型態的記憶體,暫時保留一個區域保存特別的指令、資料項或一段資訊,在暫存器指令和操作只會被執行一些時間,但那些操作可以極快速的被完成。簡單 來說,Register可讓CPU常用的指令或命令列暫存在其中,而且可被快速擷取使用,具備Register功能的記憶體模組常用於伺服器或高階工作 站。

*升級或安裝請特別注意:有Register和沒有Register功能的記憶體不能混用。



什麼是CL值?

CL 是 CAS-Latency 的縮寫, 「CAS」指的是「Column Address Strobe(行位址控制器)」,Latency(延遲)是指訊號從某一點傳輸到另一點所需的時間,在此代表延遲時間單位。把記憶體想成一個資料陣列,內 有CAS(行位址控制器)與RAS(列位址控制器)。寫入或寫出資料時,記憶體控制晶片先傳送列的位址,然後CAS(行位址控制器)訊號才會被啟動,而傳 遞的資料則需等待CAS被啟動之後才能進行傳輸。因此由CAS訊號被啟動後,到資料被傳輸到匯流排之間的延遲時間,即稱為CL值。



由上面的說明可知,CL2記憶體執行速度比CL3快。因為CL2的CAS到Data被傳輸的延遲時間只有2個執行週期,而CL3卻要3個執行週期。目前市面上較常見的記體CL值為CL3、CL2.5、CL2,預計CL1.5將是下一個發展目標。

看完ECC、Register、CL值得介紹,相信您對記憶體有更進ㄧ步了解。如果您還想知道更多記憶體的知識可參考下列文章。

* 記憶體指南(一)
* 記憶體指南(二)
* 雙通道記憶體特輯
* 記憶體常見故障問題