-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathexample-metadata.json
More file actions
31 lines (31 loc) · 931 Bytes
/
example-metadata.json
File metadata and controls
31 lines (31 loc) · 931 Bytes
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
{
"fs": {
"mv": [
{
"src": "/root/ETSCTF_ROOT_FLAG_FROM_BUILD",
"dest": "/root/ETSCTF_NEW_ROOT_FLAG_FOR_PLAYER"
}
],
"sed": [
{
"file": "/etc/shadow",
"src": "SHADOW_FLAG_FROM_BUILD",
"dest": "NEW_SHADOW_FLAG_FOR_PLAYER"
},
{
"file": "/etc/passwd",
"src": "PASSWD_FLAG_FROM_BUILD",
"dest": "PASSWD_FLAG_FOR_PLAYER"
}
]
},
"firewall": [
{"chain": "INPUT", "action": "REJECT"},
{"chain": "INPUT", "inInterface": "lo", "action": "ACCEPT"},
{"chain": "INPUT", "conntrack": "ESTABLISHED,RELATED", "action": "ACCEPT"},
{"chain": "INPUT", "source": "10.0.0.0/24", "action": "ACCEPT"},
{"chain": "INPUT", "source": "10.10.0.0/16", "action": "ACCEPT"},
{"chain": "OUTPUT", "outInterface": "lo", "action": "ACCEPT"},
{"chain": "OUTPUT", "conntrack": "ESTABLISHED", "action": "ACCEPT"}
]
}