-
Notifications
You must be signed in to change notification settings - Fork 0
/
sample_config.yaml
58 lines (51 loc) · 1.37 KB
/
sample_config.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
host_block_regex:
# description: regex rule to exclude url with matches host to be downloaded.
# it consist of regex only
# example:
# - website.com
# - *.google.com
block_regex:
# description: regex rule to exclude url to be downloaded.
# it consist of regex, name and skip log flag (optional, default: false)
# example:
# - - https:\/\/domain1.com\/.*
# - domain1
# - - https:\/\/domain2.com\/.*
# - domain2
# - true
block_url_filename_regex:
# description: regex rule exclude filename
# it consist of regex, name (optional)
# example:
# - - profile_images.*
# - profile_images
# - - random_filename.*
mimetype:
# description: allowed mimetype
# it consist of type and subtype
# example:
# - - 'image'
# - 'jpeg'
# - - 'image'
# - 'gif'
# view_filter
# description: view_filter for mitmproxy
# example:
# view_filter: ~t "(image\\/(?!cur|svg.xml|vnd.microsoft.icon|x-icon).+)"
add_url_regex:
# description: regex rule to add additional url to hydrus
# it consist of:
# - regex
# - target url string format
# - log flag (optional, default false)
# - test example (optional)
# - page name (optional, default mitmimage_plus)
# example:
# - - https:\/\/domain1\/.*
# - https://domain2/{0}
# - - https:\/\/domain3\/.*
# - https://domain4/{0}
# - true
# - - https://domain1/main.html
# - https://pbs.twimg.com/media/Ep9S7TBVEAA7ETh?format=jpg&name=orig
# - custom_page_name