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