元タイ人留学生がのぞいたタイランド

元タイ人留学生が日本語で綴るタイのIT事情

9

2009


    1 2 3 4 5
6 7 8 9 10 11 12
13 14 15 16 17 18 19
20 21 22 23 24 25 26
27 28 29 30      

検索


カテゴリーリスト

タグリスト

2009年09月26日(土)

ワード文書保護 [タイの電脳事情 電脳街情報]

備忘録です。チェックサム(CRC32)をクリアすればいいらしいです。CRC32の値はワードをHTML形式に書き出したら、そのまま出力されるので、その値をHEXエディタでクリアすればいいです。詳細は下記の英語を読んでください。

When saving protected Word-documents as html-files, Word adds a "checksum" of the password (enclosed in a proprietary tag) to the code. The checksum format looks somewhat like CRC32 but currently there are no further details available. The same checksum can be found within the original Word document (hexadecimal view). If this "checksum" is replaced by 0x00000000, the password equals an empty string.

Example:
1.) Open a protected document in MS Word
2.) Save as "Web Page (*.htm; *.html)", close Word
3.) Open html-document in any Text-Editor
4.) Search "" tag, the line reads something like that: ABCDEF01
5.) Keep the "password" in mind
6.) Open original document (.doc) with any hex-editor
7.) Search for hex-values of the password (reverse order!)
8.) Overwrite all 4 double-bytes with 0x00, Save, Close
9.) Open document with MS Word, Select "Tools / Unprotect Document" (password is blank)

Variation:
If the 8 checksum bytes are replaced with the checksum of a known password it should be fairly easy to unprotect the document, make any necessary changes, save, close and reset the password to the original (unknown!) password by simply restoring the original values. Document changed without even knowing the password.

reference:http://www.securiteam.com/windowsntfocus/5MP0315BPS.html

Posted by ぷーちゃん at 16時01分

コメント

コメント投稿フォーム

名前:(この情報をCookieに保存させたい場合にチェック)
メールアドレス: (表示はされません)
URL: (名前にリンクされて利用されます)
コメント:
パスワード: (削除時に利用)

ページのトップへ ページのトップへ

PHOTO

パラレルデスクトップのバグ?

パラレルデスクトップのバグ?

レパードの値段@タイ

レパードの値段@タイ

タイのマックセンターによるiPhoneに関する警告

タイのマックセンターによるiPhoneに関する警告

最近の記事

最近のコメント

最近のトラックバック

リンク集

RSS1.0

[Login]


powered by a-blog
コミュ ニケーションをもっと快適に タイ語翻訳会社ジーアイピーユー