#1
|
||||
|
||||
need tool
hi all
anyone know tool which work with Word document .doc .docx in low level sample how change author , title , some text in document w/o ms office ? |
#2
|
|||
|
|||
If I understood your question: Open it with an hexadecimal editor, Winhex, FileInsight,.... and search for the word in the "title of the document" in "unicode" match, below you will find that you want to change.
|
#3
|
|||
|
|||
docx/xlsx is a zip file, theres a file inside with the document info, which is a simple xml file
doc/xls is ole2 container style, quite exotic in its structure, but theres some source out there (libxl) for example that can process and retrieve the info, then i guess you could code something to scan for the strings found and zero them out... |
The Following User Gave Reputation+1 to evlncrn8 For This Useful Post: | ||
nikre (11-20-2013) |
#4
|
||||
|
||||
@evlncrn8
yes it's true and not just edit in the hexeditor but exist tool which work ? |
#5
|
|||
|
|||
Attach here any file that you have nikre and I will change what you want with a simple hexadecimal editor, doc,docx=zip file? Where? Maybe in mars planet?
|
#6
|
||||
|
||||
try change "test" to "exetools forum"
|
#7
|
|||
|
|||
Done:
You will see a character 0D in the end of the text, this character cannot be changed, only this. You can use to excel, power point....... |
#8
|
||||
|
||||
it does not work bro
or I doing something wrong see only "exeto" but were other part "ols forum" ? |
#9
|
|||
|
|||
You are right Nikre and I'm wrong, sorry for you waste your time.
|
#10
|
|||
|
|||
I don't know any tools about this yet.But I saw where the author part in the file.docx once.
If there is still no tools available,maybe you want to look into the docx structure and write the code.oh no..Anyway... I found a link about the MS open XML document structure.It's basic but useful. Link:http://www.learningace.com/doc/2914424/4b7732e3421746c6501e08dbf2524921/presentationml You may want to look up ECMA-376(just a keyword) for knowing more about what the functions mean(called functions,is that correct?). So how can we know where the author part is in the docx file...My suggestion is unpack it and Ctrl+F the keyword and look up ECMA-376. I know~It sounds dump but it may be the fastest way for getting the work done if there is still no tools available. Is there anyone knows more about the tools to resolve xml document? Last edited by wangma; 01-01-2014 at 21:56. |
#11
|
|||
|
|||
Quote:
xlsx = zip doc = ole2 container xls = ole 2 container might be an idea to actually check before you comment eh? i guess we are all living on mars then |
The Following User Gave Reputation+1 to evlncrn8 For This Useful Post: | ||
Debugger (01-02-2014) |
#12
|
|||
|
|||
Not all but maybe you, if you look inside of the files with winhex you wll see some parts packed by PKZIP, and a lot of lines "with editable strings" did you know pkzip? I believe that not, so, continue with this discussion is waste of time, Good luck and Goodbye.
|
#13
|
|||
|
|||
This is what I did.
1. Create a .docx file with MS Word 2010, write dummy text in it and save it as example.docx. 2. Rename the .docx file to .zip. When Windows warns that changing extension of file may not make the program work, just agree. 3. Open the newly renamed example.zip file in Winrar. You can clearly see a lot of xml documents in the .zip file. 4. Find a folder named "word" in the zippped example.zip. It can be seen clearly in Winrar. In that "word" folder, can be seen an xml file named "document.xml". Double-click on the document.xml file. This contains the text in the body of the word document . You can use the search function in notepad to find the text you want to change. Then change it, save it, and when it asks if you want to update in the archive, then agree. 5. Similarly, there is a folder called "docProps" in the created .zip file. It contains the file "core.xml" in it.This file contains the author information etc. You can edit it and save it as the .zip file. 6. Finally, rename the .zip file to .docx again. Then you can open it again in MS-Word and you can see that the changes you made are visible in MS-Word. This does not work with .doc files. Only with .docx files. Hope this helps. |
#14
|
|||
|
|||
Quote:
some editable strings being visible might be just because they didnt compress or are the actual filename structures... and i have actually looked inside the files, i have numerous projects involving the xls / xlsx and doc / docx formats.. and im also very framiliar with compression formats.. so instead of trying to attack me based on your ignorance of the topic at hand, it might be a good idea to actually research and know what the hell you are actually talking about... but i guess im just a martian... also if you knew the zip format you would know that altering ANYTHING in the file will result in a checksum failure of the file content... go on.. try it... research is a wonderful thing to expand knowledge.. ignorance and ego isnt.... heres a little helpful link -> http://en.wikipedia.org/wiki/Office_Open_XML |
#15
|
|||
|
|||
Quote:
|
|
|