What are the end bytes of *.docx file formatRecover data from full format on NTFS partitionRecovering corrupt Truecrypt DiskData recovery solutions/methodsRecover data from formatted hard drive encrypted with BitlockerPixel-to-pixel conversion of .docx file to PDFHow to scan for and remove (or recover) corrupted Word documents in a folder?Recovering deleted files from a ghost imageHow to recover data from Hard Disk that is DISKPART cleaned?

Amiga 500 OCS/ECS vs Mega Drive VDP

Did slaves have slaves?

Unpredictability of Stock Market

Is this adjustment to the Lucky feat underpowered?

MySQL - How to check for a value in all columns

Madrid to London w/ Expired 90/180 days stay as US citizen

With a 500GB SSD and a 250GB SSD is it possible to mirror a 250GB partition on the 500GB with the 250GB SSD using ZFS?

Other than good shoes and a stick, what are some ways to preserve your knees on long hikes?

We suspect colleague is stealing company code - what do we do?

SQL Server Always-On Availability Groups Patching

Manager manipulates my leaves, what's in it for him?

Can a business put whatever they want into a contract?

What is the origin of the “clerics can create water” trope?

Carroll's interpretation of 1-forms

Cemented carbide swords - worth it?

(How long) Should I indulge my new co-workers?

Abilities interrupting effects on a cast card

Statistical tests for benchmark comparison

Is Yang not precluded from conducting his "UBI experiment" as an electoral candidate?

Lumens specs when buying a flashlight/torch. Why maglite has only 680lm but cheap ones have 900,000?

My passport was stamped with an exit stamp while transiting to another Schengen country via Turkey. Was this a mistake?

Applications of mathematics in clinical setting

Why is belonging not transitive?

Exam design: give maximum score per question or not?



What are the end bytes of *.docx file format


Recover data from full format on NTFS partitionRecovering corrupt Truecrypt DiskData recovery solutions/methodsRecover data from formatted hard drive encrypted with BitlockerPixel-to-pixel conversion of .docx file to PDFHow to scan for and remove (or recover) corrupted Word documents in a folder?Recovering deleted files from a ghost imageHow to recover data from Hard Disk that is DISKPART cleaned?






.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty margin-bottom:0;








2















I have a hard disk that was formatted and reinstalled its OS.



The problem is, it wasn't booting before formatting and the data backup that I've made before formatting, for some reason, don't have all the files.
There are Microsoft Word *.docx files missing.



Now I'm trying to recover the files with Puran File Recovery but it doesn't have a *.docx extension scan entry pre-built in it.

Puran File Recovery has an option to we create custom entries and I found in filesignatures.net the start bytes signature, so now I was able to find many *.docx headers in the hard disk.



My problem now is that I can't find anywhere what are the end bytes of *.docx files so that I might be able to recover some files.










share|improve this question







New contributor



J Rui Pinto is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.



























    2















    I have a hard disk that was formatted and reinstalled its OS.



    The problem is, it wasn't booting before formatting and the data backup that I've made before formatting, for some reason, don't have all the files.
    There are Microsoft Word *.docx files missing.



    Now I'm trying to recover the files with Puran File Recovery but it doesn't have a *.docx extension scan entry pre-built in it.

    Puran File Recovery has an option to we create custom entries and I found in filesignatures.net the start bytes signature, so now I was able to find many *.docx headers in the hard disk.



    My problem now is that I can't find anywhere what are the end bytes of *.docx files so that I might be able to recover some files.










    share|improve this question







    New contributor



    J Rui Pinto is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
    Check out our Code of Conduct.























      2












      2








      2








      I have a hard disk that was formatted and reinstalled its OS.



      The problem is, it wasn't booting before formatting and the data backup that I've made before formatting, for some reason, don't have all the files.
      There are Microsoft Word *.docx files missing.



      Now I'm trying to recover the files with Puran File Recovery but it doesn't have a *.docx extension scan entry pre-built in it.

      Puran File Recovery has an option to we create custom entries and I found in filesignatures.net the start bytes signature, so now I was able to find many *.docx headers in the hard disk.



      My problem now is that I can't find anywhere what are the end bytes of *.docx files so that I might be able to recover some files.










      share|improve this question







      New contributor



      J Rui Pinto is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.











      I have a hard disk that was formatted and reinstalled its OS.



      The problem is, it wasn't booting before formatting and the data backup that I've made before formatting, for some reason, don't have all the files.
      There are Microsoft Word *.docx files missing.



      Now I'm trying to recover the files with Puran File Recovery but it doesn't have a *.docx extension scan entry pre-built in it.

      Puran File Recovery has an option to we create custom entries and I found in filesignatures.net the start bytes signature, so now I was able to find many *.docx headers in the hard disk.



      My problem now is that I can't find anywhere what are the end bytes of *.docx files so that I might be able to recover some files.







      hard-drive microsoft-word data-recovery zip docx






      share|improve this question







      New contributor



      J Rui Pinto is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.










      share|improve this question







      New contributor



      J Rui Pinto is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.








      share|improve this question




      share|improve this question






      New contributor



      J Rui Pinto is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.








      asked 8 hours ago









      J Rui PintoJ Rui Pinto

      112 bronze badges




      112 bronze badges




      New contributor



      J Rui Pinto is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.




      New contributor




      J Rui Pinto is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.

























          1 Answer
          1






          active

          oldest

          votes


















          7
















          A .docx file is just a .zip file. This is how a Zip file is structured:



          Structure of a Zip file



          The end of a Zip file is indicated by the end of central directory record (EOCD). The length of the EOCD is variable because it can contain a comment up to 65535 bytes long. See the bold part of the EOCD layout below:




          +---------+--------+--------------------------------------------------------------------+
          | Offset | Bytes | Description |
          +---------+--------+--------------------------------------------------------------------+
          | 0 | 4 | End of central directory signature = 0x06054b50 |
          | 4 | 2 | Number of this disk |
          | 6 | 2 | Disk where central directory starts |
          | 8 | 2 | Number of central directory records on this disk |
          | 10 | 2 | Total number of central directory records |
          | 12 | 4 | Size of central directory (bytes) |
          | 16 | 4 | Offset of start of central directory, relative to start of archive |
          | 20 | 2 | Comment length (n) |
          | 22 | n | Comment |

          +---------+--------+--------------------------------------------------------------------+


          Table from Wikipedia » Zip (file format) » End of central directory record (EOCD)



          You can get the end of a Zip file by looking for 0x06054b50 (the beginning of the EOCD), then counting 16 bytes after that. Set the next two bytes to 0x0000 to ignore the comment, and you should now have the end of a valid Zip file.




          Note: This does not take file system fragmentation into account. Your recovery approach will not work if the .docx/.zip file was fragmented on the disk because the signatures you're finding would be broken up. You would need some information from the file system in order to piece together fragmented files; beginning and end signatures don't have this information.



          PhotoRec is a software I've used before that has some tricks to figure out how to piece together fragmented files. Crucially for you, PhotoRec has built-in support for Zip files, so you might want to try TestDisk/PhotoRec if your current signature search strategy isn't working for you.






          share|improve this answer





























            Your Answer








            StackExchange.ready(function()
            var channelOptions =
            tags: "".split(" "),
            id: "3"
            ;
            initTagRenderer("".split(" "), "".split(" "), channelOptions);

            StackExchange.using("externalEditor", function()
            // Have to fire editor after snippets, if snippets enabled
            if (StackExchange.settings.snippets.snippetsEnabled)
            StackExchange.using("snippets", function()
            createEditor();
            );

            else
            createEditor();

            );

            function createEditor()
            StackExchange.prepareEditor(
            heartbeatType: 'answer',
            autoActivateHeartbeat: false,
            convertImagesToLinks: true,
            noModals: true,
            showLowRepImageUploadWarning: true,
            reputationToPostImages: 10,
            bindNavPrevention: true,
            postfix: "",
            imageUploader:
            brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
            contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/4.0/"u003ecc by-sa 4.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
            allowUrls: true
            ,
            onDemand: true,
            discardSelector: ".discard-answer"
            ,immediatelyShowMarkdownHelp:true
            );



            );







            J Rui Pinto is a new contributor. Be nice, and check out our Code of Conduct.









            draft saved

            draft discarded
















            StackExchange.ready(
            function ()
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f1483199%2fwhat-are-the-end-bytes-of-docx-file-format%23new-answer', 'question_page');

            );

            Post as a guest















            Required, but never shown

























            1 Answer
            1






            active

            oldest

            votes








            1 Answer
            1






            active

            oldest

            votes









            active

            oldest

            votes






            active

            oldest

            votes









            7
















            A .docx file is just a .zip file. This is how a Zip file is structured:



            Structure of a Zip file



            The end of a Zip file is indicated by the end of central directory record (EOCD). The length of the EOCD is variable because it can contain a comment up to 65535 bytes long. See the bold part of the EOCD layout below:




            +---------+--------+--------------------------------------------------------------------+
            | Offset | Bytes | Description |
            +---------+--------+--------------------------------------------------------------------+
            | 0 | 4 | End of central directory signature = 0x06054b50 |
            | 4 | 2 | Number of this disk |
            | 6 | 2 | Disk where central directory starts |
            | 8 | 2 | Number of central directory records on this disk |
            | 10 | 2 | Total number of central directory records |
            | 12 | 4 | Size of central directory (bytes) |
            | 16 | 4 | Offset of start of central directory, relative to start of archive |
            | 20 | 2 | Comment length (n) |
            | 22 | n | Comment |

            +---------+--------+--------------------------------------------------------------------+


            Table from Wikipedia » Zip (file format) » End of central directory record (EOCD)



            You can get the end of a Zip file by looking for 0x06054b50 (the beginning of the EOCD), then counting 16 bytes after that. Set the next two bytes to 0x0000 to ignore the comment, and you should now have the end of a valid Zip file.




            Note: This does not take file system fragmentation into account. Your recovery approach will not work if the .docx/.zip file was fragmented on the disk because the signatures you're finding would be broken up. You would need some information from the file system in order to piece together fragmented files; beginning and end signatures don't have this information.



            PhotoRec is a software I've used before that has some tricks to figure out how to piece together fragmented files. Crucially for you, PhotoRec has built-in support for Zip files, so you might want to try TestDisk/PhotoRec if your current signature search strategy isn't working for you.






            share|improve this answer































              7
















              A .docx file is just a .zip file. This is how a Zip file is structured:



              Structure of a Zip file



              The end of a Zip file is indicated by the end of central directory record (EOCD). The length of the EOCD is variable because it can contain a comment up to 65535 bytes long. See the bold part of the EOCD layout below:




              +---------+--------+--------------------------------------------------------------------+
              | Offset | Bytes | Description |
              +---------+--------+--------------------------------------------------------------------+
              | 0 | 4 | End of central directory signature = 0x06054b50 |
              | 4 | 2 | Number of this disk |
              | 6 | 2 | Disk where central directory starts |
              | 8 | 2 | Number of central directory records on this disk |
              | 10 | 2 | Total number of central directory records |
              | 12 | 4 | Size of central directory (bytes) |
              | 16 | 4 | Offset of start of central directory, relative to start of archive |
              | 20 | 2 | Comment length (n) |
              | 22 | n | Comment |

              +---------+--------+--------------------------------------------------------------------+


              Table from Wikipedia » Zip (file format) » End of central directory record (EOCD)



              You can get the end of a Zip file by looking for 0x06054b50 (the beginning of the EOCD), then counting 16 bytes after that. Set the next two bytes to 0x0000 to ignore the comment, and you should now have the end of a valid Zip file.




              Note: This does not take file system fragmentation into account. Your recovery approach will not work if the .docx/.zip file was fragmented on the disk because the signatures you're finding would be broken up. You would need some information from the file system in order to piece together fragmented files; beginning and end signatures don't have this information.



              PhotoRec is a software I've used before that has some tricks to figure out how to piece together fragmented files. Crucially for you, PhotoRec has built-in support for Zip files, so you might want to try TestDisk/PhotoRec if your current signature search strategy isn't working for you.






              share|improve this answer





























                7














                7










                7









                A .docx file is just a .zip file. This is how a Zip file is structured:



                Structure of a Zip file



                The end of a Zip file is indicated by the end of central directory record (EOCD). The length of the EOCD is variable because it can contain a comment up to 65535 bytes long. See the bold part of the EOCD layout below:




                +---------+--------+--------------------------------------------------------------------+
                | Offset | Bytes | Description |
                +---------+--------+--------------------------------------------------------------------+
                | 0 | 4 | End of central directory signature = 0x06054b50 |
                | 4 | 2 | Number of this disk |
                | 6 | 2 | Disk where central directory starts |
                | 8 | 2 | Number of central directory records on this disk |
                | 10 | 2 | Total number of central directory records |
                | 12 | 4 | Size of central directory (bytes) |
                | 16 | 4 | Offset of start of central directory, relative to start of archive |
                | 20 | 2 | Comment length (n) |
                | 22 | n | Comment |

                +---------+--------+--------------------------------------------------------------------+


                Table from Wikipedia » Zip (file format) » End of central directory record (EOCD)



                You can get the end of a Zip file by looking for 0x06054b50 (the beginning of the EOCD), then counting 16 bytes after that. Set the next two bytes to 0x0000 to ignore the comment, and you should now have the end of a valid Zip file.




                Note: This does not take file system fragmentation into account. Your recovery approach will not work if the .docx/.zip file was fragmented on the disk because the signatures you're finding would be broken up. You would need some information from the file system in order to piece together fragmented files; beginning and end signatures don't have this information.



                PhotoRec is a software I've used before that has some tricks to figure out how to piece together fragmented files. Crucially for you, PhotoRec has built-in support for Zip files, so you might want to try TestDisk/PhotoRec if your current signature search strategy isn't working for you.






                share|improve this answer















                A .docx file is just a .zip file. This is how a Zip file is structured:



                Structure of a Zip file



                The end of a Zip file is indicated by the end of central directory record (EOCD). The length of the EOCD is variable because it can contain a comment up to 65535 bytes long. See the bold part of the EOCD layout below:




                +---------+--------+--------------------------------------------------------------------+
                | Offset | Bytes | Description |
                +---------+--------+--------------------------------------------------------------------+
                | 0 | 4 | End of central directory signature = 0x06054b50 |
                | 4 | 2 | Number of this disk |
                | 6 | 2 | Disk where central directory starts |
                | 8 | 2 | Number of central directory records on this disk |
                | 10 | 2 | Total number of central directory records |
                | 12 | 4 | Size of central directory (bytes) |
                | 16 | 4 | Offset of start of central directory, relative to start of archive |
                | 20 | 2 | Comment length (n) |
                | 22 | n | Comment |

                +---------+--------+--------------------------------------------------------------------+


                Table from Wikipedia » Zip (file format) » End of central directory record (EOCD)



                You can get the end of a Zip file by looking for 0x06054b50 (the beginning of the EOCD), then counting 16 bytes after that. Set the next two bytes to 0x0000 to ignore the comment, and you should now have the end of a valid Zip file.




                Note: This does not take file system fragmentation into account. Your recovery approach will not work if the .docx/.zip file was fragmented on the disk because the signatures you're finding would be broken up. You would need some information from the file system in order to piece together fragmented files; beginning and end signatures don't have this information.



                PhotoRec is a software I've used before that has some tricks to figure out how to piece together fragmented files. Crucially for you, PhotoRec has built-in support for Zip files, so you might want to try TestDisk/PhotoRec if your current signature search strategy isn't working for you.







                share|improve this answer














                share|improve this answer



                share|improve this answer








                edited 7 hours ago

























                answered 7 hours ago









                DeltikDeltik

                14.6k14 gold badges51 silver badges92 bronze badges




                14.6k14 gold badges51 silver badges92 bronze badges
























                    J Rui Pinto is a new contributor. Be nice, and check out our Code of Conduct.









                    draft saved

                    draft discarded

















                    J Rui Pinto is a new contributor. Be nice, and check out our Code of Conduct.












                    J Rui Pinto is a new contributor. Be nice, and check out our Code of Conduct.











                    J Rui Pinto is a new contributor. Be nice, and check out our Code of Conduct.














                    Thanks for contributing an answer to Super User!


                    • Please be sure to answer the question. Provide details and share your research!

                    But avoid


                    • Asking for help, clarification, or responding to other answers.

                    • Making statements based on opinion; back them up with references or personal experience.

                    To learn more, see our tips on writing great answers.




                    draft saved


                    draft discarded














                    StackExchange.ready(
                    function ()
                    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f1483199%2fwhat-are-the-end-bytes-of-docx-file-format%23new-answer', 'question_page');

                    );

                    Post as a guest















                    Required, but never shown





















































                    Required, but never shown














                    Required, but never shown












                    Required, but never shown







                    Required, but never shown

































                    Required, but never shown














                    Required, but never shown












                    Required, but never shown







                    Required, but never shown







                    Popular posts from this blog

                    Canceling a color specificationRandomly assigning color to Graphics3D objects?Default color for Filling in Mathematica 9Coloring specific elements of sets with a prime modified order in an array plotHow to pick a color differing significantly from the colors already in a given color list?Detection of the text colorColor numbers based on their valueCan color schemes for use with ColorData include opacity specification?My dynamic color schemes

                    Invision Community Contents History See also References External links Navigation menuProprietaryinvisioncommunity.comIPS Community ForumsIPS Community Forumsthis blog entry"License Changes, IP.Board 3.4, and the Future""Interview -- Matt Mecham of Ibforums""CEO Invision Power Board, Matt Mecham Is a Liar, Thief!"IPB License Explanation 1.3, 1.3.1, 2.0, and 2.1ArchivedSecurity Fixes, Updates And Enhancements For IPB 1.3.1Archived"New Demo Accounts - Invision Power Services"the original"New Default Skin"the original"Invision Power Board 3.0.0 and Applications Released"the original"Archived copy"the original"Perpetual licenses being done away with""Release Notes - Invision Power Services""Introducing: IPS Community Suite 4!"Invision Community Release Notes

                    199年 目錄 大件事 到箇年出世嗰人 到箇年死嗰人 節慶、風俗習慣 導覽選單