Click here to Skip to main content
Rate this: bad
good
Please Sign up or sign in to vote.
See more: C
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 Smile | :)
Posted 10-Mar-11 19:36pm
Rate this: bad
good
Please Sign up or sign in to vote.

Solution 1

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
  Permalink  
Comments
tanu misra at 11-Mar-11 2:25am
   
thanks sam_ckp
 
I tried this link...can you suggest me something else......... :)
Rate this: bad
good
Please Sign up or sign in to vote.

Solution 2

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.
  Permalink  
v2
Comments
tanu misra at 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..
Rate this: bad
good
Please Sign up or sign in to vote.

Solution 3

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
  Permalink  
Comments
tanu misra at 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)

  Print Answers RSS
0 Marcin Kozub 275
1 OriginalGriff 249
2 Sergey Alexandrovich Kryukov 215
3 Praneet Nadkar 197
4 Richard MacCutchan 182
0 OriginalGriff 8,048
1 Sergey Alexandrovich Kryukov 7,287
2 DamithSL 5,614
3 Manas Bhardwaj 4,986
4 Maciej Los 4,910


Advertise | Privacy | Mobile
Web01 | 2.8.1411023.1 | Last Updated 11 Mar 2011
Copyright © CodeProject, 1999-2014
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100