You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
161 lines
21 KiB
161 lines
21 KiB
{"version": 2, "width": 203, "height": 49, "timestamp": 1614090317, "env": {"SHELL": "/bin/bash", "TERM": "xterm"}}
|
|
[0.046965, "o", "\u001b]0;zeus@swarmlab: /tmp\u0007zeus@swarmlab:/tmp$ "]
|
|
[2.018827, "o", "v"]
|
|
[2.25635, "o", "i"]
|
|
[2.897587, "o", "m"]
|
|
[3.118406, "o", " "]
|
|
[3.887682, "o", "c"]
|
|
[4.178965, "o", "r"]
|
|
[4.346031, "o", "e"]
|
|
[4.617954, "o", "a"]
|
|
[4.947204, "o", "t"]
|
|
[5.979883, "o", "e"]
|
|
[7.802387, "o", "-"]
|
|
[8.483529, "o", "z"]
|
|
[8.734493, "o", "o"]
|
|
[9.123671, "o", "m"]
|
|
[9.452049, "o", "b"]
|
|
[9.781179, "o", "i"]
|
|
[10.084133, "o", "e"]
|
|
[10.832744, "o", "."]
|
|
[11.003899, "o", "c"]
|
|
[11.675287, "o", "\r\n"]
|
|
[11.735368, "o", "\u001b[?2004h\u001b[?1049h\u001b[22;0;0t\u001b[?1h\u001b=\u001b[?2004h"]
|
|
[11.736703, "o", "\u001b[1;49r\u001b[?12h\u001b[?12l\u001b[27m\u001b[23m\u001b[29m\u001b[m\u001b[H\u001b[2J\u001b[?25l\u001b[49;1H\"create-zombie.c\" [New File]"]
|
|
[11.740839, "o", "\u001b[2;1H▽\u001b[6n\u001b[2;1H \u001b[1;1H\u001b[>c\u001b]10;?\u0007\u001b]11;?\u0007"]
|
|
[11.741206, "o", "\u001b[2;1H\u001b[1m\u001b[34m~ \u001b[3;1H~ \u001b[4;1H~ \u001b[5;1H~ \u001b[6;1H~ "]
|
|
[11.741272, "o", " \u001b[7;1H~ \u001b[8;1H~ \u001b[9;1H~ \u001b[10;1H~ \u001b[11;1H~ "]
|
|
[11.741351, "o", " \u001b[12;1H~ \u001b[13;1H~ \u001b[14;1H~ \u001b[15;1H~ \u001b[16;1H~ "]
|
|
[11.741421, "o", " \u001b[17;1H~ \u001b[18;1H~ \u001b[19;1H~ \u001b[20;1H~ \u001b[21;1H~ "]
|
|
[11.741477, "o", " \u001b[22;1H~ \u001b[23;1H~ \u001b[24;1H~ \u001b[25;1H~ \u001b[26;1H~ "]
|
|
[11.741529, "o", " \u001b[27;1H~ \u001b[28;1H~ \u001b[29;1H~ \u001b[30;1H~ \u001b[31;1H~ "]
|
|
[11.741579, "o", " \u001b[32;1H~ \u001b[33;1H~ \u001b[34;1H~ \u001b[35;1H~ \u001b[36;1H~ "]
|
|
[11.741634, "o", " \u001b[37;1H~ \u001b[38;1H~ \u001b[39;1H~ \u001b[40;1H~ \u001b"]
|
|
[11.741707, "o", "[41;1H~ \u001b[42;1H~ \u001b[43;1H~ \u001b[44;1H~ \u001b[45;1H~ "]
|
|
[11.741761, "o", " \u001b[46;1H~ \u001b[47;1H~ \u001b[48;1H~ \u001b[m\u001b[49;186H0,0-1\u001b[9CAll\u001b[1;1H\u001b[?25h"]
|
|
[11.746916, "o", "\u001bP+q436f\u001b\\\u001bP+q6b75\u001b\\\u001bP+q6b64\u001b\\\u001bP+q6b72\u001b\\\u001bP+q6b6c\u001b\\\u001bP+q2332\u001b\\\u001bP+q2334\u001b\\\u001bP+q2569\u001b\\\u001bP+q2a37\u001b\\\u001bP+q6b31\u001b\\"]
|
|
[13.030626, "o", "\u001b[?25l\u001b[49;1H\u001b[1m-- INSERT --\u001b[m\u001b[49;13H\u001b[K\u001b[49;186H0,1\u001b[11CAll"]
|
|
[13.031017, "o", "\u001b[1;1H\u001b[?25h"]
|
|
[14.164082, "o", "\u001b[?25l\u001b[35m#include \u001b[m\u001b[31m<stdio.h>\u001b[m\r\n\u001b[35m#include \u001b[m\u001b[31m<stdlib.h>\u001b[m\u001b[2;20H\u001b[K\u001b[3;1H\u001b[35m#include \u001b[m\u001b[31m<unistd.h>\u001b[m\u001b[3;20H\u001b[K\u001b[4;1H#inclu\u001b[4;7H\u001b[K\u001b[4;7H\u001b[?25h"]
|
|
[14.164585, "o", "\u001b[?25l\r\u001b[35m#include \u001b[m\u001b[31m<sys/types.h>\u001b[m\r\n\u001b[35m#include \u001b[m\u001b[31m<sys/wait.h>\u001b[m\u001b[5;22H\u001b[K\u001b[6;1H\u001b[K\u001b[7;1H\u001b[32mint\u001b[m main(\u001b[32mvoid\u001b[m)\u001b[7;15H\u001b[K\u001b[8;1H{\u001b[8;2H\u001b[K\u001b[9;1H pid_t p\u001b[9;12H\u001b[K\u001b[9;12H\u001b[?25h"]
|
|
[14.168153, "o", "\u001b[?25lid;\r\n \u001b[32mint\u001b[m status;\u001b[10;16H\u001b[K\u001b[11;1H\u001b[K\u001b[12;1H \u001b[33mif\u001b[m ((pid = fork()) < \u001b[31m0\u001b[m) {\u001b[12;30H\u001b[K\u001b[13;1H perror(\u001b[13;16H\u001b[K\u001b[13;16H\u001b[?25h"]
|
|
[14.169503, "o", "\u001b[?25l\u001b[31m\"\u001b[m\u001b[4m\u001b[31mfork\u001b[m\u001b[31m\"\u001b[m);\r\n exit(\u001b[31m1\u001b[m);\u001b[14;17H\u001b[K\u001b[15;1H }\u001b[15;6H\u001b[K\u001b[16;1H\u001b[K\u001b[17;1H \u001b[34m/* \u001b[m\u001b[4m\u001b[34mChild\u001b[m\u001b[34m */\u001b[m\u001b[17;16H\u001b[K\u001b[18;1H \u001b[33mif\u001b[m (pid == \u001b[31m0\u001b[m\u001b[18;17H\u001b[K\u001b[18;17H\u001b[?25h"]
|
|
[14.170586, "o", "\u001b[?25l)\r\n exit(\u001b[31m0\u001b[m);\u001b[19;17H\u001b[K\u001b[20;1H\u001b[K\u001b[21;1H \u001b[34m/* \u001b[m\u001b[4m\u001b[34mParent\u001b[m\u001b[21;14H\u001b[K\u001b[22;1H\u001b[34m * \u001b[m\u001b[4m\u001b[34mGives\u001b[m\u001b[34m \u001b[m\u001b[4m\u001b[34myou\u001b[m\u001b[34m \u001b[m\u001b[4m\u001b[34mtime\u001b[m\u001b[34m \u001b[m\u001b[4m\u001b[34mto\u001b[m\u001b[34m observ\u001b[m\u001b[22;32H\u001b[K\u001b[22;32H\u001b[?25h"]
|
|
[14.171725, "o", "\u001b[?25l\b\b\b\b\b\b\u001b[4m\u001b[34mobserve\u001b[m\u001b[34m \u001b[m\u001b[4m\u001b[34mthe\u001b[m\u001b[34m \u001b[m\u001b[4m\u001b[34mzombie\u001b[m\u001b[34m \u001b[m\u001b[4m\u001b[34musing\u001b[m\u001b[34m \u001b[m\u001b[4m\u001b[34mps\u001b[m\u001b[34m(1) ... */\u001b[m\r\n sleep(\u001b[31m100\u001b[m);\u001b[23;16H\u001b[K\u001b[24;1H\u001b[K\u001b[25;1H \u001b[34m/* ... \u001b[m\u001b[4m\u001b[34mand\u001b[m\u001b[34m \u001b[m\u001b[25;16H\u001b[K\u001b[25;16H\u001b[?25h"]
|
|
[14.173139, "o", "\u001b[?25l\u001b[4m\u001b[34mafter\u001b[m\u001b[34m \u001b[m\u001b[4m\u001b[34mthat\u001b[m\u001b[34m, \u001b[m\u001b[4m\u001b[34mparent\u001b[m\u001b[34m \u001b[m\u001b[4m\u001b[34mwait\u001b[m\u001b[34m(2)\u001b[m\u001b[4m\u001b[34ms\u001b[m\u001b[34m \u001b[m\u001b[4m\u001b[34mits\u001b[m\u001b[34m \u001b[m\u001b[4m\u001b[34mchild\u001b[m\u001b[34m'\u001b[m\u001b[4m\u001b[34ms\u001b[m\r\n\u001b[34m * \u001b[m\u001b[4m\u001b[34mexit\u001b[m\u001b[34m \u001b[m\u001b[4m\u001b[34mstatus\u001b[m\u001b[34m, \u001b[m\u001b[4m\u001b[34mand\u001b[m\u001b[34m \u001b[m\u001b[26;25H\u001b[K\u001b[26;25H\u001b[?25h"]
|
|
[14.173555, "o", "\u001b[?25l\u001b[4m\u001b[34mprints\u001b[m\u001b[34m \u001b[m\u001b[4m\u001b[34ma\u001b[m\u001b[34m \u001b[m\u001b[4m\u001b[34mrelevant\u001b[m\u001b[34m \u001b[m\u001b[4m\u001b[34mmessage\u001b[m\u001b[34m. */\u001b[m\r\n pid = wait(&status);\u001b[27;25H\u001b[K\u001b[28;1H \u001b[33mif\u001b[m (\u001b[28;9H\u001b[K\u001b[28;9H\u001b[?25h"]
|
|
[14.174087, "o", "\u001b[?25lWIFEXITED(status))\r\n fprintf(\u001b[31mstderr\u001b[m, \u001b[31m\"\u001b[m\u001b[35m\\n\\t\u001b[m\u001b[31m[\u001b[m\u001b[35m%d\u001b[m\u001b[31m]\u001b[m\u001b[35m\\t\u001b[m\u001b[4m\u001b[31mProcess\u001b[m\u001b[31m %\u001b[m\u001b[29;45H\u001b[K\u001b[29;45H\u001b[?25h"]
|
|
[14.175708, "o", "\u001b[?25l\b\u001b[35m%d\u001b[m\u001b[31m \u001b[m\u001b[4m\u001b[31mexited\u001b[m\u001b[31m \u001b[m\u001b[4m\u001b[31mwith\u001b[m\u001b[31m \u001b[m\u001b[4m\u001b[31mstatus\u001b[m\u001b[31m \u001b[m\u001b[35m%d\u001b[m\u001b[31m.\u001b[m\u001b[35m\\n\u001b[m\u001b[31m\"\u001b[m,\r\n (\u001b[32mint\u001b[m) getpid(), pi\u001b[30;35H\u001b[K\u001b[30;35H\u001b[?25h"]
|
|
[14.176422, "o", "\u001b[?25ld, WEXITSTATUS(status));\u001b[31;1H\u001b[K\u001b[32;1H \u001b[33mreturn\u001b[m \u001b[31m0\u001b[m;\u001b[32;14H\u001b[K\u001b[33;1H}\u001b[33;2H\u001b[K\u001b[34;1H\u001b[K\u001b[49;186H34,1\u001b[34;1H\u001b[?25h"]
|
|
[15.307396, "o", "\u001b[49;1H\u001b[K\u001b[34;1H"]
|
|
[15.650925, "o", "\u001b[?25l\u001b[49;186H34,0-1\u001b[8CAll\u001b[34;1H\u001b[?25h"]
|
|
[15.98002, "o", "\u0007"]
|
|
[16.761299, "o", "\u0007\u001b[?25l\u001b[49;186H\u001b[K\u001b[49;1H:\u001b[?2004h\u001b[?25h"]
|
|
[17.100153, "o", "w\u001b[?25l\u001b[?25h"]
|
|
[17.488238, "o", "\r"]
|
|
[17.488437, "o", "\u001b[?25l\"create-zombie.c\""]
|
|
[17.490972, "o", " [New] 34L, 689C written"]
|
|
[17.491125, "o", "\u001b[144C34,0-1\u001b[8CAll\u001b[49;186H\u001b[K\u001b[49;186H34,0-1\u001b[8CAll\u001b[34;1H\u001b[?25h"]
|
|
[18.793783, "o", "\u001b[?25l\u001b[49;1H\u001b[K\u001b[49;1H/"]
|
|
[18.79395, "o", "\u001b[?2004h\u001b[?25h"]
|
|
[19.49111, "o", "t"]
|
|
[19.49152, "o", "\u001b[?25l\u001b[?25h"]
|
|
[19.691851, "o", "e\u001b[?25l\u001b[?25h"]
|
|
[19.93158, "o", "s\u001b[?25l\u001b[?25h"]
|
|
[20.173584, "o", "t\u001b[?25l\u001b[?25h"]
|
|
[21.263885, "o", "\u001b[?25l\u001b[49;5H\u001b[K\u001b[49;5H\u001b[?25h"]
|
|
[21.490884, "o", "\u001b[?25l\u001b[49;4H\u001b[K\u001b[49;4H\u001b[?25h"]
|
|
[21.752349, "o", "\u001b[?25l\u001b[49;3H\u001b[K\u001b[49;3H\u001b[?25h"]
|
|
[22.07601, "o", "\u001b[?25l\u001b[49;2H\u001b[K\u001b[49;2H\u001b[?25h"]
|
|
[22.665782, "o", "e"]
|
|
[22.666227, "o", "\u001b[?25l\u001b[?25h"]
|
|
[22.953915, "o", "x"]
|
|
[22.954195, "o", "\u001b[?25l\u001b[?25h"]
|
|
[23.726209, "o", "i\u001b[?25l\u001b[?25h"]
|
|
[23.84628, "o", "t\u001b[?25l\u001b[?25h"]
|
|
[24.767368, "o", "\r\u001b[?25l"]
|
|
[24.768003, "o", "\u001b[31msearch hit BOTTOM, continuing at TOP"]
|
|
[24.773534, "o", "\u001b[m\u001b[14;9H\u001b[30m\u001b[43mexit\u001b[19;9Hexit\u001b[m\u001b[26;8H\u001b[4m\u001b[30m\u001b[43mexit\u001b[m\u001b[29;47H\u001b[4m\u001b[30m\u001b[43mexit\u001b[m\u001b[49;186H14,9\u001b[10CAll\u001b[49;186H\u001b[K\u001b[49;186H14,9\u001b[10CAll\u001b[14;9H\u001b[?25h"]
|
|
[26.463396, "o", "\u001b[?25l\u001b[12;29H\u001b[46m{\u001b[15;5H}\u001b[m\u001b[49;187H5,5\u001b[15;5H\u001b[?25h"]
|
|
[27.243815, "o", "\u001b[?25l\u001b[12;29H{\u001b[15;5H}\u001b[49;187H6,0-1\u001b[16;1H\u001b[?25h"]
|
|
[27.630921, "o", "\u001b[?25l\u001b[49;187H7,9 \u001b[17;9H\u001b[?25h"]
|
|
[27.969937, "o", "\u001b[?25l\u001b[49;187H8\u001b[18;9H\u001b[?25h"]
|
|
[28.671029, "o", "\u001b[?25l\u001b[49;187H9\u001b[19;9H\u001b[?25h"]
|
|
[29.95308, "o", "\u001b[?25l\u001b[49;186H20,0-1\u001b[20;1H\u001b[?25h"]
|
|
[31.061362, "o", "\u001b[?25l\u001b[49;187H1,9 \u001b[21;9H\u001b[?25h"]
|
|
[33.344994, "o", "\u001b[?25l\u001b[49;1H\u001b[K\u001b[49;1H:\u001b[?2004h\u001b[?25h"]
|
|
[33.854963, "o", "w\u001b[?25l\u001b[?25h"]
|
|
[34.103376, "o", "q\u001b[?25l\u001b[?25h"]
|
|
[35.594467, "o", "\r"]
|
|
[35.594983, "o", "\u001b[?25l\u001b[?2004l\"create-zombie.c\""]
|
|
[35.598341, "o", " 34L, 689C written"]
|
|
[35.600475, "o", "\r\r\r\n\u001b[?2004l\u001b[?1l\u001b>\u001b[?25h\u001b[?1049l\u001b[23;0;0t"]
|
|
[35.602476, "o", "\u001b]0;zeus@swarmlab: /tmp\u0007zeus@swarmlab:/tmp$ "]
|
|
[36.586894, "o", "g"]
|
|
[37.248727, "o", "c"]
|
|
[37.440034, "o", "c"]
|
|
[37.758693, "o", " "]
|
|
[38.558964, "o", "."]
|
|
[38.730284, "o", "/"]
|
|
[39.282027, "o", "c"]
|
|
[39.530926, "o", "r"]
|
|
[39.712046, "o", "e"]
|
|
[40.238525, "o", "ate-zombie.c "]
|
|
[41.775905, "o", "\r\n"]
|
|
[41.844661, "o", "\u001b]0;zeus@swarmlab: /tmp\u0007zeus@swarmlab:/tmp$ "]
|
|
[45.777255, "o", "."]
|
|
[45.948074, "o", "/"]
|
|
[46.348803, "o", "a"]
|
|
[46.899413, "o", "o"]
|
|
[47.179019, "o", "u"]
|
|
[47.289682, "o", "\u0007"]
|
|
[47.941692, "o", "\b\u001b[K"]
|
|
[48.089877, "o", "\b\u001b[K"]
|
|
[49.131996, "o", "."]
|
|
[49.24212, "o", "out "]
|
|
[51.158469, "o", "&"]
|
|
[52.001767, "o", "\r\n"]
|
|
[52.002427, "o", "[1] 8538\r\n"]
|
|
[52.002671, "o", "\u001b]0;zeus@swarmlab: /tmp\u0007zeus@swarmlab:/tmp$ "]
|
|
[53.362584, "o", "p"]
|
|
[53.493265, "o", "s"]
|
|
[53.711791, "o", " "]
|
|
[53.872653, "o", "a"]
|
|
[54.11129, "o", "u"]
|
|
[54.273614, "o", "x"]
|
|
[54.505181, "o", " "]
|
|
[55.356178, "o", "|"]
|
|
[55.486924, "o", " "]
|
|
[55.957769, "o", "g"]
|
|
[56.136379, "o", "r"]
|
|
[56.327713, "o", "e"]
|
|
[56.57997, "o", "p"]
|
|
[56.898929, "o", " "]
|
|
[57.599164, "o", "a"]
|
|
[57.880662, "o", "."]
|
|
[58.342273, "o", "o"]
|
|
[58.651292, "o", "u"]
|
|
[58.812438, "o", "t"]
|
|
[59.064193, "o", "\r\n"]
|
|
[59.084851, "o", "zeus 8538 0.0 0.0 10704 864 pts/34 S 16:26 0:00 ./\u001b[01;31m\u001b[Ka.out\u001b[m\u001b[K\r\nzeus 8539 0.0 0.0 0 0 pts/34 Z 16:26 0:00 [\u001b[01;31m\u001b[Ka.out\u001b[m\u001b[K] <defunct>\r\nzeus 8549 0.0 0.0 16520 1124 pts/34 S+ 16:26 0:00 grep --color=auto \u001b[01;31m\u001b[Ka.out\u001b[m\u001b[K\r\n"]
|
|
[59.086086, "o", "\u001b]0;zeus@swarmlab: /tmp\u0007zeus@swarmlab:/tmp$ "]
|
|
[60.666164, "o", "ps aux | grep a.out"]
|
|
[61.6078, "o", " "]
|
|
[62.145038, "o", "|"]
|
|
[62.391708, "o", " "]
|
|
[63.083219, "o", "g"]
|
|
[63.211668, "o", "r"]
|
|
[63.443126, "o", "e"]
|
|
[63.752275, "o", "p"]
|
|
[63.933495, "o", " "]
|
|
[65.137822, "o", "Z"]
|
|
[65.958021, "o", "\r\n"]
|
|
[65.982092, "o", "zeus 8539 0.0 0.0 0 0 pts/34 \u001b[01;31m\u001b[KZ\u001b[m\u001b[K 16:26 0:00 [a.out] <defunct>"]
|
|
[65.982405, "o", "\r\n"]
|
|
[65.983011, "o", "\u001b]0;zeus@swarmlab: /tmp\u0007zeus@swarmlab:/tmp$ "]
|
|
[68.736048, "o", "e"]
|
|
[69.088226, "o", "x"]
|
|
[69.59788, "o", "i"]
|
|
[69.784863, "o", "t"]
|
|
[70.619163, "o", "\r\nexit"]
|
|
[70.619926, "o", "\r\n"]
|
|
|