Debian Codegraph @

test/text/twctf-2016-diary

raw
1 #Label CODE JT JF K
2 #---------------------------------
3 L0001: 0x20 0x00 0x00 0x00000000 $A = $syscall_nr
4 L0002: 0x15 0x00 0x01 0x00000002 if ($A != open) goto L0004
5 L0003: 0x06 0x00 0x00 0x00000000 return KILL
6 L0004: 0x15 0x00 0x01 0x00000101 if ($A != openat) goto L0006
7 L0005: 0x06 0x00 0x00 0x00000000 return KILL
8 L0006: 0x15 0x00 0x01 0x0000003b if ($A != execve) goto L0008
9 L0007: 0x06 0x00 0x00 0x00000000 return KILL
10 L0008: 0x15 0x00 0x01 0x00000038 if ($A != clone) goto L0010
11 L0009: 0x06 0x00 0x00 0x00000000 return KILL
12 L0010: 0x15 0x00 0x01 0x00000039 if ($A != fork) goto L0012
13 L0011: 0x06 0x00 0x00 0x00000000 return KILL
14 L0012: 0x15 0x00 0x01 0x0000003a if ($A != vfork) goto L0014
15 L0013: 0x06 0x00 0x00 0x00000000 return KILL
16 L0014: 0x15 0x00 0x01 0x00000055 if ($A != creat) goto L0016
17 L0015: 0x06 0x00 0x00 0x00000000 return KILL
18 L0016: 0x15 0x00 0x01 0x00000142 if ($A != execveat) goto L0018
19 L0017: 0x06 0x00 0x00 0x00000000 return KILL
20 L0018: 0x06 0x00 0x00 0x7fff0000 return ALLOW
21 #---------------------------------