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 = 12, Position 2 = 60 Branch analysis from position: 12 2 jumps found. (Code = 43) Position 1 = 22, Position 2 = 54 Branch analysis from position: 22 1 jumps found. (Code = 42) Position 1 = 58 Branch analysis from position: 58 1 jumps found. (Code = 42) Position 1 = 119 Branch analysis from position: 119 2 jumps found. (Code = 44) Position 1 = 123, Position 2 = 62 Branch analysis from position: 123 1 jumps found. (Code = 62) Position 1 = -2 Branch analysis from position: 62 4 jumps found. (Code = 188) Position 1 = 97, Position 2 = 99, Position 3 = 101, Position 4 = 92 Branch analysis from position: 97 1 jumps found. (Code = 42) Position 1 = 102 Branch analysis from position: 102 2 jumps found. (Code = 44) Position 1 = 123, Position 2 = 62 Branch analysis from position: 123 Branch analysis from position: 62 Branch analysis from position: 99 1 jumps found. (Code = 42) Position 1 = 102 Branch analysis from position: 102 Branch analysis from position: 101 2 jumps found. (Code = 44) Position 1 = 123, Position 2 = 62 Branch analysis from position: 123 Branch analysis from position: 62 Branch analysis from position: 92 2 jumps found. (Code = 44) Position 1 = 94, Position 2 = 97 Branch analysis from position: 94 2 jumps found. (Code = 44) Position 1 = 96, Position 2 = 99 Branch analysis from position: 96 1 jumps found. (Code = 42) Position 1 = 101 Branch analysis from position: 101 Branch analysis from position: 99 Branch analysis from position: 97 Branch analysis from position: 54 1 jumps found. (Code = 42) Position 1 = 119 Branch analysis from position: 119 Branch analysis from position: 60 filename: /in/LQesc function name: (null) number of ops: 124 compiled vars: !0 = $changed, !1 = $i, !2 = $color 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 ~4 'GLPI_ROOT' 5 BOOL_NOT ~5 ~4 6 > JMPZ ~5, ->8 6 7 > > EXIT 'Sorry.+You+can%27t+access+directly+to+this+file' 11 8 > DECLARE_CLASS 'pluginportswitchportswitch', 'commondbtm' 91 9 FETCH_IS ~6 '_SESSION' 10 ISSET_ISEMPTY_DIM_OBJ 0 ~6, 'port_changed' 11 > JMPZ ~7, ->60 92 12 > FETCH_R global ~8 '_SESSION' 13 FETCH_DIM_R ~9 ~8, 'port_changed' 14 ASSIGN !0, ~9 93 15 FETCH_UNSET $11 '_SESSION' 16 UNSET_DIM $11, 'port_changed' 95 17 FETCH_STATIC_PROP_R unknown ~12 'config_data' 18 FETCH_DIM_R ~13 ~12, !0 19 FETCH_DIM_R ~14 ~13, 'link' 20 IS_NOT_EQUAL ~14, '0.0.0.0' 21 > JMPZ ~15, ->54 96 22 > INIT_FCALL 'exec' 23 FETCH_STATIC_PROP_R unknown ~19 'config_data' 24 FETCH_DIM_R ~20 ~19, !0 25 FETCH_DIM_R ~21 ~20, 'ip' 26 CONCAT ~22 '..%2Fscripts%2Fcheckport.sh+', ~21 27 CONCAT ~23 ~22, '+' 28 FETCH_STATIC_PROP_R unknown ~24 'config_data' 29 FETCH_DIM_R ~25 ~24, !0 30 FETCH_DIM_R ~26 ~25, 'port' 31 CONCAT ~27 ~23, ~26 32 CONCAT ~28 ~27, '+' 33 FETCH_STATIC_PROP_R unknown ~29 'config_data' 34 FETCH_DIM_R ~30 ~29, !0 35 FETCH_DIM_R ~31 ~30, 'passwort' 36 CONCAT ~32 ~28, ~31 37 CONCAT ~33 ~32, '+' 38 FETCH_STATIC_PROP_R unknown ~34 'config_data' 39 FETCH_DIM_R ~35 ~34, !0 40 FETCH_DIM_R ~36 ~35, 'stack' 41 CONCAT ~37 ~33, ~36 42 CONCAT ~38 ~37, '+' 43 FETCH_STATIC_PROP_R unknown ~39 'config_data' 44 FETCH_DIM_R ~40 ~39, !0 45 FETCH_DIM_R ~41 ~40, 'hostname' 46 CONCAT ~42 ~38, ~41 47 SEND_VAL ~42 48 DO_ICALL $43 49 FETCH_STATIC_PROP_W unknown $16 'config_data' 50 FETCH_DIM_W $17 $16, !0 51 ASSIGN_DIM $17, 'link' 52 OP_DATA $43 53 > JMP ->58 98 54 > FETCH_STATIC_PROP_W unknown $44 'config_data' 55 FETCH_DIM_W $45 $44, !0 56 ASSIGN_DIM $45, 'link' 57 OP_DATA 'Konnte+nicht+abgefragt+werden.+%28Konfiguration+pr%C3%BCfen%21%29' 101 58 > INIT_STATIC_METHOD_CALL 'PluginPortswitchPortswitch', 'saveConfig' 59 DO_FCALL 0 105 60 > ASSIGN !1, 0 61 > JMP ->119 108 62 > ECHO '%09%3Ch1%3E' 63 FETCH_STATIC_PROP_R unknown ~49 'config_data' 64 FETCH_DIM_R ~50 ~49, !1 65 FETCH_DIM_R ~51 ~50, 'name' 66 ECHO ~51 67 ECHO '+auf+Switch+' 68 FETCH_STATIC_PROP_R unknown ~52 'config_data' 69 FETCH_DIM_R ~53 ~52, !1 70 FETCH_DIM_R ~54 ~53, 'hostname' 71 ECHO ~54 72 ECHO '%3A' 73 FETCH_STATIC_PROP_R unknown ~55 'config_data' 74 FETCH_DIM_R ~56 ~55, !1 75 FETCH_DIM_R ~57 ~56, 'port' 76 ECHO ~57 77 ECHO '+Kontrolle%3C%2Fh1%3E+%0A%09%3Cform+method%3D%22POST%22+action%3D%22' 109 78 FETCH_CONSTANT ~58 'GLPI_ROOT' 79 ECHO ~58 80 ECHO '%2Fplugins%2Fportswitch%2Ffront%2Fportswitch.form.php%22%3E%0A%09%09%3Cp%3E%0A%09%09%09Ticketnummern+%28mit+Komma+trennen%2C+z.B.+%3Ci%3E%221024%2C2048%2C...%22%3C%2Fi%3E%3A+%3Cinput+type%3D%22text%22+name%3D%22kommentar%22+value%3D%22' 111 81 FETCH_STATIC_PROP_R unknown ~59 'config_data' 82 FETCH_DIM_R ~60 ~59, !1 83 FETCH_DIM_R ~61 ~60, 'kommentar' 84 ECHO ~61 85 ECHO '%22%3E%3Cbr%3E%0A%09%09%09%3Cinput+type%3D%22submit%22+name%3D%22Aktualisieren%22+value%3D%22Aktualisieren%22%3E%0A%09%09%3C%2Fp%3E%0A%09%09%3Cp%3E%0A%09%09%09%3Cinput+type%3D%22hidden%22+name%3D%22sent%22+value%3D%22' 115 86 ECHO !1 87 ECHO '%22%3E%0A%09%09%09%3Cinput+type%3D%22submit%22+name%3D%22deactivate%22+value%3D%22Deaktivieren%22%3E%0A%09%09%09%3Cinput+type%3D%22submit%22+name%3D%22activate%22+value%3D%22Aktivieren%22%3E%0A%09%09%3C%2Fp%3E%0A%09%09%3Cp%3E%26nbsp%3B%3C%2Fp%3E%0A%09%09%3Cp%3E%0A%09%09%09' 122 88 FETCH_STATIC_PROP_R unknown ~62 'config_data' 89 FETCH_DIM_R ~63 ~62, !1 90 FETCH_DIM_R ~64 ~63, 'link' 91 > SWITCH_STRING ~64, [ 'Down':->97, 'Up':->99, ], ->101 123 92 > CASE ~64, 'Down' 93 > JMPNZ ~65, ->97 126 94 > CASE ~64, 'Up' 95 > JMPNZ ~65, ->99 96 > > JMP ->101 124 97 > ASSIGN !2, '%23FF0000' 125 98 > JMP ->102 127 99 > ASSIGN !2, '%2300FF00' 128 100 > JMP ->102 130 101 > ASSIGN !2, '%230000FF' 102 > FREE ~64 133 103 ECHO '%09%09%09Port+Link-Status%3A+%3Cspan+style%3D%22color%3A' 104 ECHO !2 105 ECHO '%22%3E' 106 FETCH_STATIC_PROP_R unknown ~69 'config_data' 107 FETCH_DIM_R ~70 ~69, !1 108 FETCH_DIM_R ~71 ~70, 'link' 109 ECHO ~71 110 ECHO '%3C%2Fspan%3E%3Cbr%3E%0A%09%09%09Port+Status%3A+' 134 111 INIT_STATIC_METHOD_CALL 'PluginPortswitchPortswitch', 'getHtmlStatus' 112 SEND_VAR_EX !1 113 DO_FCALL 0 $72 114 ECHO $72 115 ECHO '%3Cbr%3E%3Cbr%3E%0A%09%09%09%3Cinput+type%3D%22submit%22+name%3D%22link%22+value%3D%22Update+Link+Status%22%3E%0A%09%09%3C%2Fp%3E%0A' 138 116 INIT_STATIC_METHOD_CALL 'Html', 'closeForm' 117 DO_FCALL 0 105 118 PRE_INC !1 119 > FETCH_STATIC_PROP_R unknown ~75 'config_data' 120 COUNT ~76 ~75 121 IS_SMALLER !1, ~76 122 > JMPNZ ~77, ->62 140 123 > > RETURN 1 Class PluginPortswitchPortswitch: Function loadconfig: Finding entry points Branch analysis from position: 0 1 jumps found. (Code = 62) Position 1 = -2 filename: /in/LQesc 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/LQesc 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/LQesc 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/LQesc 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
Generated using Vulcan Logic Dumper, using php 8.0.0