Finding entry points Branch analysis from position: 0 2 jumps found. (Code = 43) Position 1 = 7, Position 2 = 8 Branch analysis from position: 7 1 jumps found. (Code = 79) Position 1 = -2 Branch analysis from position: 8 2 jumps found. (Code = 43) Position 1 = 13, Position 2 = 17 Branch analysis from position: 13 1 jumps found. (Code = 42) Position 1 = 18 Branch analysis from position: 18 2 jumps found. (Code = 43) Position 1 = 21, Position 2 = 104 Branch analysis from position: 21 2 jumps found. (Code = 43) Position 1 = 24, Position 2 = 56 Branch analysis from position: 24 1 jumps found. (Code = 42) Position 1 = 90 Branch analysis from position: 90 1 jumps found. (Code = 42) Position 1 = 105 Branch analysis from position: 105 1 jumps found. (Code = 62) Position 1 = -2 Branch analysis from position: 56 2 jumps found. (Code = 43) Position 1 = 59, Position 2 = 90 Branch analysis from position: 59 1 jumps found. (Code = 42) Position 1 = 105 Branch analysis from position: 105 Branch analysis from position: 90 Branch analysis from position: 104 1 jumps found. (Code = 79) Position 1 = -2 Branch analysis from position: 17 2 jumps found. (Code = 43) Position 1 = 21, Position 2 = 104 Branch analysis from position: 21 Branch analysis from position: 104 filename: /in/900jQ function name: (null) number of ops: 106 compiled vars: !0 = $sent line #* E I O op fetch ext return operands ------------------------------------------------------------------------------------- 2 0 E > INIT_FCALL 'define' 1 SEND_VAL 'GLPI_ROOT' 2 SEND_VAL '..%2F..%2F..' 3 DO_ICALL 4 4 DEFINED ~2 'GLPI_ROOT' 5 BOOL_NOT ~3 ~2 6 > JMPZ ~3, ->8 6 7 > > EXIT 'Sorry.+You+can%27t+access+directly+to+this+file' 90 8 > INIT_STATIC_METHOD_CALL 'PluginPortswitchPortswitch', 'loadConfig' 9 DO_FCALL 0 93 10 FETCH_IS ~5 '_POST' 11 ISSET_ISEMPTY_DIM_OBJ 0 ~5, 'sent' 12 > JMPZ ~6, ->17 13 > FETCH_R global ~7 '_POST' 14 FETCH_DIM_R ~8 ~7, 'sent' 15 QM_ASSIGN ~9 ~8 16 > JMP ->18 17 > QM_ASSIGN ~9 '' 18 > ASSIGN !0, ~9 95 19 IS_NOT_EQUAL !0, '' 20 > JMPZ ~11, ->104 96 21 > FETCH_IS ~12 '_POST' 22 ISSET_ISEMPTY_DIM_OBJ 0 ~12, 'activate' 23 > JMPZ ~13, ->56 98 24 > INIT_FCALL 'exec' 25 FETCH_STATIC_PROP_R unknown ~14 'config_data' 26 FETCH_DIM_R ~15 ~14, !0 27 FETCH_DIM_R ~16 ~15, 'ip' 28 CONCAT ~17 '..%2Fscripts%2Fenable_port.sh+', ~16 29 CONCAT ~18 ~17, '+' 30 FETCH_STATIC_PROP_R unknown ~19 'config_data' 31 FETCH_DIM_R ~20 ~19, !0 32 FETCH_DIM_R ~21 ~20, 'port' 33 CONCAT ~22 ~18, ~21 34 CONCAT ~23 ~22, '+' 35 FETCH_STATIC_PROP_R unknown ~24 'config_data' 36 FETCH_DIM_R ~25 ~24, !0 37 FETCH_DIM_R ~26 ~25, 'passwort' 38 CONCAT ~27 ~23, ~26 39 CONCAT ~28 ~27, '+' 40 FETCH_STATIC_PROP_R unknown ~29 'config_data' 41 FETCH_DIM_R ~30 ~29, !0 42 FETCH_DIM_R ~31 ~30, 'stack' 43 CONCAT ~32 ~28, ~31 44 CONCAT ~33 ~32, '+' 45 FETCH_STATIC_PROP_R unknown ~34 'config_data' 46 FETCH_DIM_R ~35 ~34, !0 47 FETCH_DIM_R ~36 ~35, 'hostname' 48 CONCAT ~37 ~33, ~36 49 SEND_VAL ~37 50 DO_ICALL 99 51 FETCH_STATIC_PROP_W unknown $39 'config_data' 52 FETCH_DIM_W $40 $39, !0 53 ASSIGN_DIM $40, 'status' 54 OP_DATA 'Aktiviert' 55 > JMP ->90 100 56 > FETCH_IS ~42 '_POST' 57 ISSET_ISEMPTY_DIM_OBJ 0 ~42, 'deactivate' 58 > JMPZ ~43, ->90 102 59 > INIT_FCALL 'exec' 60 FETCH_STATIC_PROP_R unknown ~44 'config_data' 61 FETCH_DIM_R ~45 ~44, !0 62 FETCH_DIM_R ~46 ~45, 'ip' 63 CONCAT ~47 '..%2Fscripts%2Fdisable_port.sh+', ~46 64 CONCAT ~48 ~47, '+' 65 FETCH_STATIC_PROP_R unknown ~49 'config_data' 66 FETCH_DIM_R ~50 ~49, !0 67 FETCH_DIM_R ~51 ~50, 'port' 68 CONCAT ~52 ~48, ~51 69 CONCAT ~53 ~52, '+' 70 FETCH_STATIC_PROP_R unknown ~54 'config_data' 71 FETCH_DIM_R ~55 ~54, !0 72 FETCH_DIM_R ~56 ~55, 'passwort' 73 CONCAT ~57 ~53, ~56 74 CONCAT ~58 ~57, '+' 75 FETCH_STATIC_PROP_R unknown ~59 'config_data' 76 FETCH_DIM_R ~60 ~59, !0 77 FETCH_DIM_R ~61 ~60, 'stack' 78 CONCAT ~62 ~58, ~61 79 CONCAT ~63 ~62, '+' 80 FETCH_STATIC_PROP_R unknown ~64 'config_data' 81 FETCH_DIM_R ~65 ~64, !0 82 FETCH_DIM_R ~66 ~65, 'hostname' 83 CONCAT ~67 ~63, ~66 84 SEND_VAL ~67 85 DO_ICALL 103 86 FETCH_STATIC_PROP_W unknown $69 'config_data' 87 FETCH_DIM_W $70 $69, !0 88 ASSIGN_DIM $70, 'status' 89 OP_DATA 'Deaktiviert' 107 90 > FETCH_W global $72 '_SESSION' 91 ASSIGN_DIM $72, 'port_changed' 92 OP_DATA !0 110 93 FETCH_R global ~77 '_POST' 94 FETCH_DIM_R ~78 ~77, 'kommentar' 95 FETCH_STATIC_PROP_W unknown $74 'config_data' 96 FETCH_DIM_W $75 $74, !0 97 ASSIGN_DIM $75, 'kommentar' 98 OP_DATA ~78 111 99 INIT_STATIC_METHOD_CALL 'PluginPortswitchPortswitch', 'saveConfig' 100 DO_FCALL 0 113 101 INIT_STATIC_METHOD_CALL 'Html', 'back' 102 DO_FCALL 0 103 > JMP ->105 115 104 > > EXIT 'Fehler%3A+Es+wurden+keine+Daten+%C3%BCbermittelt.' 117 105 > > RETURN 1 Class PluginPortswitchPortswitch: Function loadconfig: Finding entry points Branch analysis from position: 0 1 jumps found. (Code = 62) Position 1 = -2 filename: /in/900jQ function name: loadConfig number of ops: 9 compiled vars: none line #* E I O op fetch ext return operands ------------------------------------------------------------------------------------- 17 0 E > INIT_FCALL 'parse_ini_file' 1 FETCH_CONSTANT ~1 'GLPI_ROOT' 2 CONCAT ~2 ~1, '%2Ffiles%2F_plugins%2Fportswitch%2Fconfig.ini' 3 SEND_VAL ~2 4 SEND_VAL <true> 5 DO_ICALL $3 6 ASSIGN_STATIC_PROP 'config_data' 7 OP_DATA $3 18 8 > RETURN null End of function loadconfig Function drawinfobox: Finding entry points Branch analysis from position: 0 2 jumps found. (Code = 43) Position 1 = 8, Position 2 = 74 Branch analysis from position: 8 1 jumps found. (Code = 42) Position 1 = 68 Branch analysis from position: 68 2 jumps found. (Code = 44) Position 1 = 72, Position 2 = 15 Branch analysis from position: 72 1 jumps found. (Code = 62) Position 1 = -2 Branch analysis from position: 15 2 jumps found. (Code = 43) Position 1 = 21, Position 2 = 55 Branch analysis from position: 21 1 jumps found. (Code = 42) Position 1 = 50 Branch analysis from position: 50 2 jumps found. (Code = 44) Position 1 = 53, Position 2 = 42 Branch analysis from position: 53 1 jumps found. (Code = 42) Position 1 = 66 Branch analysis from position: 66 2 jumps found. (Code = 44) Position 1 = 72, Position 2 = 15 Branch analysis from position: 72 Branch analysis from position: 15 Branch analysis from position: 42 2 jumps found. (Code = 44) Position 1 = 53, Position 2 = 42 Branch analysis from position: 53 Branch analysis from position: 42 Branch analysis from position: 55 2 jumps found. (Code = 44) Position 1 = 72, Position 2 = 15 Branch analysis from position: 72 Branch analysis from position: 15 Branch analysis from position: 74 filename: /in/900jQ function name: drawInfoBox number of ops: 75 compiled vars: !0 = $i, !1 = $kommentar_array, !2 = $j line #* E I O op fetch ext return operands ------------------------------------------------------------------------------------- 22 0 E > FETCH_CONSTANT ~3 'GLPI_ROOT' 1 CONCAT ~4 ~3, '%2Finc%2Fincludes.php' 2 INCLUDE_OR_EVAL ~4, INCLUDE_ONCE 24 3 INIT_STATIC_METHOD_CALL 'Session', 'haveRight' 4 SEND_VAL_EX 'user' 5 SEND_VAL_EX 'w' 6 DO_FCALL 0 $6 7 > JMPZ $6, ->74 26 8 > ECHO '%3Ctr%3E%3Ctd+class%3D%27top%27+width%3D%27450px%27%3E' 27 9 ECHO '%3Cbr%3E%3Ctable+class%3D%27tab_cadrehov%27%3E%3Ctr%3E%3Cth+colspan%3D%224%22%3E%3Ca+href%3D%22%2Fglpi%2Fplugins%2Fportswitch%2F%22%3EPortswitch%3C%2Fa%3E%3C%2Fth%3E%3C%2Ftr%3E' 28 10 ECHO '%3Ctr%3E%3Cth%3EBezeichnung%3C%2Fth%3E%3Cth%3EStatus%3C%2Fth%3E%3C%2Ftr%3E' 29 11 INIT_STATIC_METHOD_CALL 'loadConfig' 12 DO_FCALL 0 31 13 ASSIGN !0, 0 14 > JMP ->68 33 15 > ECHO '%3Ctr%3E%3Ccenter%3E' 34 16 FETCH_STATIC_PROP_R unknown ~9 'config_data' 17 FETCH_DIM_R ~10 ~9, !0 18 FETCH_DIM_R ~11 ~10, 'status' 19 IS_EQUAL ~11, 'Aktiviert' 20 > JMPZ ~12, ->55 36 21 > FETCH_STATIC_PROP_R unknown ~13 'config_data' 22 FETCH_DIM_R ~14 ~13, !0 23 FETCH_DIM_R ~15 ~14, 'name' 24 CONCAT ~16 '%3Ctd%3E', ~15 25 CONCAT ~17 ~16, '%3C%2Ftd%3E%3Ctd%3E' 26 INIT_STATIC_METHOD_CALL 'getHtmlStatus' 27 SEND_VAR_EX !0 28 DO_FCALL 0 $18 29 CONCAT ~19 ~17, $18 30 CONCAT ~20 ~19, '+%28+' 31 ECHO ~20 37 32 INIT_FCALL 'explode' 33 SEND_VAL '%2C' 34 FETCH_STATIC_PROP_R unknown ~21 'config_data' 35 FETCH_DIM_R ~22 ~21, !0 36 FETCH_DIM_R ~23 ~22, 'kommentar' 37 SEND_VAL ~23 38 DO_ICALL $24 39 ASSIGN !1, $24 38 40 ASSIGN !2, 0 41 > JMP ->50 39 42 > FETCH_DIM_R ~27 !1, !2 43 CONCAT ~28 '%3Ca+href%3D%22%2Fglpi%2Ffront%2Fticket.form.php%3Fid%3D', ~27 44 CONCAT ~29 ~28, '%22%3E+%23' 45 FETCH_DIM_R ~30 !1, !2 46 CONCAT ~31 ~29, ~30 47 CONCAT ~32 ~31, '%3C%2Fa%3E' 48 ECHO ~32 38 49 PRE_INC !2 50 > COUNT ~34 !1 51 IS_SMALLER !2, ~34 52 > JMPNZ ~35, ->42 40 53 > ECHO '+%29+%3C%2Ftd%3E' 54 > JMP ->66 44 55 > FETCH_STATIC_PROP_R unknown ~36 'config_data' 56 FETCH_DIM_R ~37 ~36, !0 57 FETCH_DIM_R ~38 ~37, 'name' 58 CONCAT ~39 '%3Ctd%3E', ~38 59 CONCAT ~40 ~39, '%3C%2Ftd%3E%3Ctd%3E' 60 INIT_STATIC_METHOD_CALL 'getHtmlStatus' 61 SEND_VAR_EX !0 62 DO_FCALL 0 $41 63 CONCAT ~42 ~40, $41 64 CONCAT ~43 ~42, '%3C%2Ftd%3E' 65 ECHO ~43 46 66 > ECHO '%3C%2Ftr%3E%3C%2Fcenter%3E' 31 67 PRE_INC !0 68 > FETCH_STATIC_PROP_R unknown ~45 'config_data' 69 COUNT ~46 ~45 70 IS_SMALLER !0, ~46 71 > JMPNZ ~47, ->15 48 72 > ECHO '%3C%2Ftable%3E' 49 73 ECHO '%3C%2Ftd%3E%3C%2Ftr%3E' 51 74 > > RETURN null End of function drawinfobox Function gethtmlstatus: Finding entry points Branch analysis from position: 0 2 jumps found. (Code = 43) Position 1 = 6, Position 2 = 8 Branch analysis from position: 6 1 jumps found. (Code = 62) Position 1 = -2 Branch analysis from position: 8 2 jumps found. (Code = 43) Position 1 = 13, Position 2 = 15 Branch analysis from position: 13 1 jumps found. (Code = 62) Position 1 = -2 Branch analysis from position: 15 1 jumps found. (Code = 62) Position 1 = -2 filename: /in/900jQ function name: getHtmlStatus number of ops: 17 compiled vars: !0 = $id line #* E I O op fetch ext return operands ------------------------------------------------------------------------------------- 53 0 E > RECV !0 55 1 FETCH_STATIC_PROP_R unknown ~1 'config_data' 2 FETCH_DIM_R ~2 ~1, !0 3 FETCH_DIM_R ~3 ~2, 'status' 4 IS_EQUAL ~3, 'Aktiviert' 5 > JMPZ ~4, ->8 56 6 > > RETURN '%3Cfont+color%3D%22%2300FF00%22%3EAktiv%3C%2Ffont%3E' 7* JMP ->16 57 8 > FETCH_STATIC_PROP_R unknown ~5 'config_data' 9 FETCH_DIM_R ~6 ~5, !0 10 FETCH_DIM_R ~7 ~6, 'status' 11 IS_EQUAL ~7, 'Deaktiviert' 12 > JMPZ ~8, ->15 58 13 > > RETURN '%3Cfont+color%3D%22%23FF0000%22%3EInaktiv%3C%2Ffont%3E' 14* JMP ->16 60 15 > > RETURN '%3Cfont+color%3D%22%230000FF%22%3EUnbekannt%3C%2Ffont%3E' 61 16* > RETURN null End of function gethtmlstatus Function saveconfig: Finding entry points Branch analysis from position: 0 2 jumps found. (Code = 43) Position 1 = 9, Position 2 = 13 Branch analysis from position: 9 1 jumps found. (Code = 79) Position 1 = -2 Branch analysis from position: 13 1 jumps found. (Code = 42) Position 1 = 104 Branch analysis from position: 104 2 jumps found. (Code = 44) Position 1 = 108, Position 2 = 15 Branch analysis from position: 108 1 jumps found. (Code = 62) Position 1 = -2 Branch analysis from position: 15 2 jumps found. (Code = 44) Position 1 = 108, Position 2 = 15 Branch analysis from position: 108 Branch analysis from position: 15 filename: /in/900jQ function name: saveConfig number of ops: 112 compiled vars: !0 = $config_file, !1 = $i line #* E I O op fetch ext return operands ------------------------------------------------------------------------------------- 65 0 E > INIT_FCALL 'fopen' 1 FETCH_CONSTANT ~2 'GLPI_ROOT' 2 CONCAT ~3 ~2, '%2Ffiles%2F_plugins%2Fportswitch%2Fconfig.ini' 3 SEND_VAL ~3 4 SEND_VAL 'w' 5 DO_ICALL $4 6 ASSIGN !0, $4 66 7 BOOL_NOT ~6 !0 8 > JMPZ ~6, ->13 67 9 > FETCH_CONSTANT ~7 'GLPI_ROOT' 10 CONCAT ~8 'Konnte+', ~7 11 CONCAT ~9 ~8, '%2Ffiles%2F_plugins%2Fportswitch%2Fconfig.ini+nicht+schreiben.' 12 > EXIT ~9 69 13 > ASSIGN !1, 0 14 > JMP ->104 71 15 > INIT_FCALL 'fwrite' 16 SEND_VAR !0 17 ROPE_INIT 3 ~12 '%5B' 18 ROPE_ADD 1 ~12 ~12, !1 19 ROPE_END 2 ~11 ~12, '%5D%0A' 20 SEND_VAL ~11 21 DO_ICALL 72 22 INIT_FCALL 'fwrite' 23 SEND_VAR !0 24 FETCH_STATIC_PROP_R unknown ~15 'config_data' 25 FETCH_DIM_R ~16 ~15, !1 26 FETCH_DIM_R ~17 ~16, 'name' 27 CONCAT ~18 'name+%3D+%22', ~17 28 CONCAT ~19 ~18, '%22%0A' 29 SEND_VAL ~19 30 DO_ICALL 73 31 INIT_FCALL 'fwrite' 32 SEND_VAR !0 33 FETCH_STATIC_PROP_R unknown ~21 'config_data' 34 FETCH_DIM_R ~22 ~21, !1 35 FETCH_DIM_R ~23 ~22, 'ip' 36 CONCAT ~24 'ip+%3D+%22', ~23 37 CONCAT ~25 ~24, '%22%0A' 38 SEND_VAL ~25 39 DO_ICALL 74 40 INIT_FCALL 'fwrite' 41 SEND_VAR !0 42 FETCH_STATIC_PROP_R unknown ~27 'config_data' 43 FETCH_DIM_R ~28 ~27, !1 44 FETCH_DIM_R ~29 ~28, 'port' 45 CONCAT ~30 'port+%3D+%22', ~29 46 CONCAT ~31 ~30, '%22%0A' 47 SEND_VAL ~31 48 DO_ICALL 75 49 INIT_FCALL 'fwrite' 50 SEND_VAR !0 51 FETCH_STATIC_PROP_R unknown ~33 'config_data' 52 FETCH_DIM_R ~34 ~33, !1 53 FETCH_DIM_R ~35 ~34, 'kommentar' 54 CONCAT ~36 'kommentar+%3D+%22', ~35 55 CONCAT ~37 ~36, '%22%0A' 56 SEND_VAL ~37 57 DO_ICALL 76 58 INIT_FCALL 'fwrite' 59 SEND_VAR !0 60 FETCH_STATIC_PROP_R unknown ~39 'config_data' 61 FETCH_DIM_R ~40 ~39, !1 62 FETCH_DIM_R ~41 ~40, 'status' 63 CONCAT ~42 'status+%3D+%22', ~41 64 CONCAT ~43 ~42, '%22%0A' 65 SEND_VAL ~43 66 DO_ICALL 77 67 INIT_FCALL 'fwrite' 68 SEND_VAR !0 69 FETCH_STATIC_PROP_R unknown ~45 'config_data' 70 FETCH_DIM_R ~46 ~45, !1 71 FETCH_DIM_R ~47 ~46, 'passwort' 72 CONCAT ~48 'passwort+%3D+%22', ~47 73 CONCAT ~49 ~48, '%22%0A' 74 SEND_VAL ~49 75 DO_ICALL 78 76 INIT_FCALL 'fwrite' 77 SEND_VAR !0 78 FETCH_STATIC_PROP_R unknown ~51 'config_data' 79 FETCH_DIM_R ~52 ~51, !1 80 FETCH_DIM_R ~53 ~52, 'stack' 81 CONCAT ~54 'stack+%3D+%22', ~53 82 CONCAT ~55 ~54, '%22%0A' 83 SEND_VAL ~55 84 DO_ICALL 79 85 INIT_FCALL 'fwrite' 86 SEND_VAR !0 87 FETCH_STATIC_PROP_R unknown ~57 'config_data' 88 FETCH_DIM_R ~58 ~57, !1 89 FETCH_DIM_R ~59 ~58, 'hostname' 90 CONCAT ~60 'hostname+%3D+%22', ~59 91 CONCAT ~61 ~60, '%22%0A' 92 SEND_VAL ~61 93 DO_ICALL 80 94 INIT_FCALL 'fwrite' 95 SEND_VAR !0 96 FETCH_STATIC_PROP_R unknown ~63 'config_data' 97 FETCH_DIM_R ~64 ~63, !1 98 FETCH_DIM_R ~65 ~64, 'link' 99 CONCAT ~66 'link+%3D+%22', ~65 100 CONCAT ~67 ~66, '%22%0A%0A' 101 SEND_VAL ~67 102 DO_ICALL 69 103 PRE_INC !1 104 > FETCH_STATIC_PROP_R unknown ~70 'co
Generated using Vulcan Logic Dumper, using php 8.0.0