You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* Adding basic classes
* Embed logic added
* Works up to injecting
* Adding comments
* per_document works
* per_document rewritten and enhanced. embed_files re-designed
* per_place and per_file is working
* Documentation improved. Samples tested. Samples folder has been changed.
1. Unzip your document `example.docx` to a folder `example/`
97
+
1. Unzip your document `new_sample_from_folder.docx` to a folder `new_sample_from_folder/` or use already existing clear sample by coping it from `samples/clear/<sample_name>` to `samples/marked/new_sample_from_folder/`
97
98
2. Add magic symbols - `XXCb8bBA9XX` (depicted as `፨` in illustrations of this readme) in places where you want payloads to be embedded
98
-
3. Use new sample with the tool as `-s samples/example/ -sx docx`
99
+
3. Use new sample with the tool as `-s samples/new_sample_from_folder/ -sx docx`
99
100
100
101
101
102
### Via new file sample
102
103
103
-
1. Unzip your document `example.docx` to a folder `example/`
104
-
2. Add magic symbols - `XXCb8bBA9XX` - (depicted as `፨` in illustrations of this readme) in places where you want payloads to be embedded
105
-
3. Zip your new sample into `example_modified0.zip`
106
-
4. Rename extension - `example_modified0.docx`
107
-
5. Use new sample with the tool as `-s samples/example_modified0.docx`
104
+
1. Add magic symbols (`XXCb8bBA9XX`) to various places in you custom document `new_sample.docx`
105
+
2. Use new sample as `-s new_sample.docx`
106
+
108
107
108
+
## Payload file formats used in the tool
109
109
110
-
##File with payloads format
110
+
### XSS payloads
111
111
112
-
A small documentation to add your custom payloads
112
+
Format: TXT file that contains list strings. Example:
{"vector":"<!DOCTYPE docem [<!ELEMENT docem ANY ><!ENTITY xxe_canary_2 SYSTEM \"file:///etc/lsb-release\">]>","reference":"&xxe_canary_2;"}
128
+
```
121
129
122
130
-`vector` - required key word - script will be searching for it
123
131
-`<!DOCTYPE docem [<!ENTITY xxe_canary_0 \"XXE_STRING\">]>` - payload. Warning all double quotation marks `"` must be escaped with one backslash `\` => `\"`
124
132
-`reference` - required key word - script will be searching for it
125
133
-`&xxe_canary_0;` - reference that will be add in all places with magic symbol
126
134
127
-
### XSS payloads
128
-
129
-
No special format.
130
-
Just a file with strings. As if you would use it in any other tool.
0 commit comments