Click here to Skip to main content
15,867,308 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hello

Can anyone of you know at which offset in hex editor password is found in encrypted form if excel file is password protected.

or

Is there any way to get the encrypted password of excel file through code..

Thanks and Regards
Nidhi :)
Posted

hi tanu,

i think this link can help You

http://www.secnewsgroups.net/access/t11498-hex-editor-with-word-password.aspx[^]

check it out.

Bbye tc
 
Share this answer
 
Comments
tanu misra 11-Mar-11 2:25am    
thanks sam_ckp

I tried this link...can you suggest me something else......... :)
Tell me abt ur version of MSExcel.
R u forgot ur password ??

try below link

http://www.brothersoft.com/easy-excel-password-recovery-free-204619.html[^]


i Tried in 2003 XLS file, using Excel 2007

1. Backup the xls file
2. Using a HEX editor, locate the DPB=... part
3. Change the DPB=... string to DPx=...
4. Open the xls file in Excel
5. Open the VBA editor (ALT+F11)
6. the magic: Excel discovers an invalid key (DPx) and asks whether you want to continue loading the project (basically ignoring the protection)
7. You will be able to overwrite the password, so change it.
8. Save the xls file
9. Close and reopen the document and work.
 
Share this answer
 
v2
Comments
tanu misra 11-Mar-11 3:12am    
hi..
I'm using excel 2003.
I'm studying excel file format,and wanted to know the offset where encrypted password is kept..
hi dear

u can find all the specification of msexcel in below book

Excel97-2007BinaryFileFormat(xls)Specification.pdf

try to download above ebook, if u wanna from me then mail me on sam.mca.liet@gmail.com
 
Share this answer
 
Comments
tanu misra 14-Mar-11 0:06am    
thanks for the link.. :)

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900