Finding entry points Branch analysis from position: 0 2 jumps found. (Code = 43) Position 1 = 12, Position 2 = 16 Branch analysis from position: 12 1 jumps found. (Code = 42) Position 1 = 17 Branch analysis from position: 17 2 jumps found. (Code = 43) Position 1 = 24, Position 2 = 26 Branch analysis from position: 24 1 jumps found. (Code = 42) Position 1 = 28 Branch analysis from position: 28 2 jumps found. (Code = 43) Position 1 = 29, Position 2 = 34 Branch analysis from position: 29 1 jumps found. (Code = 42) Position 1 = 35 Branch analysis from position: 35 1 jumps found. (Code = 42) Position 1 = 84 Branch analysis from position: 84 2 jumps found. (Code = 44) Position 1 = 86, Position 2 = 66 Branch analysis from position: 86 1 jumps found. (Code = 62) Position 1 = -2 Branch analysis from position: 66 2 jumps found. (Code = 44) Position 1 = 86, Position 2 = 66 Branch analysis from position: 86 Branch analysis from position: 66 Branch analysis from position: 34 1 jumps found. (Code = 79) Position 1 = -2 Branch analysis from position: 26 1 jumps found. (Code = 79) Position 1 = -2 Branch analysis from position: 16 1 jumps found. (Code = 79) Position 1 = -2 filename: /in/Pa0hI function name: (null) number of ops: 91 compiled vars: !0 = $baseDN, !1 = $ldapServer, !2 = $ldapServerPort, !3 = $rdn, !4 = $mdp, !5 = $dn, !6 = $conn, !7 = $bindServerLDAP, !8 = $query, !9 = $result, !10 = $info, !11 = $i line #* E I O op fetch ext return operands ------------------------------------------------------------------------------------- 2 0 E > ASSIGN !0, 'dc%3Dchallenge01%2Cdc%3Droot-me%2Cdc%3Dorg' 3 1 ASSIGN !1, 'challenge01.root-me.org' 4 2 ASSIGN !2, 54013 5 3 ASSIGN !3, 'admin' 6 4 ASSIGN !4, '%2500' 7 5 ASSIGN !5, 'dc%3Dchallenge01%2Cdc%3Droot-me%2Cdc%3Dorg' 9 6 ECHO 'Connexion+au+serveur' 10 7 INIT_FCALL_BY_NAME 'ldap_connect' 8 SEND_VAR_EX !1 9 DO_FCALL 0 $18 10 ASSIGN !6, $18 13 11 > JMPZ !6, ->16 14 12 > CONCAT ~20 'Le+r%C3%A9sultat+de+connexion+est+', !6 13 CONCAT ~21 ~20, '%3Cbr+%2F%3E' 14 ECHO ~21 15 > JMP ->17 16 16 > > EXIT 'connexion+impossible+au+serveur+LDAP' 18 17 > INIT_FCALL_BY_NAME 'ldap_set_option' 18 SEND_VAR_EX !6 19 FETCH_CONSTANT ~22 'LDAP_OPT_PROTOCOL_VERSION' 20 SEND_VAL_EX ~22 21 SEND_VAL_EX 2 22 DO_FCALL 0 $23 23 > JMPZ $23, ->26 19 24 > ECHO 'Utilisation+de+LDAPv3+%0A' 25 > JMP ->28 21 26 > ECHO 'Impossible+d%27utiliser+LDAP+V3%0A' 22 27 > EXIT 25 28 > > JMPZ !7, ->34 26 29 > ROPE_INIT 3 ~25 'Le+r%C3%A9sultat+de+connexion+est+' 30 ROPE_ADD 1 ~25 ~25, !7 31 ROPE_END 2 ~24 ~25, '+%3Cbr+%2F%3E' 32 ECHO ~24 33 > JMP ->35 28 34 > > EXIT 'Liaison+impossible+au+serveur+ldap+...' 30 35 > ECHO 'Recherche+suivant+le+filtre+%28sn%3DB%2A%29+%3Cbr+%2F%3E' 31 36 ASSIGN !8, 'sn%3DB%2A' 32 37 INIT_FCALL_BY_NAME 'ldap_search' 38 SEND_VAR_EX !6 39 SEND_VAR_EX !0 40 SEND_VAR_EX !8 41 DO_FCALL 0 $28 42 ASSIGN !9, $28 33 43 ROPE_INIT 3 ~31 'Le+r%C3%A9sultat+de+la+recherche+est+' 44 ROPE_ADD 1 ~31 ~31, !9 45 ROPE_END 2 ~30 ~31, '+%3Cbr+%2F%3E' 46 ECHO ~30 35 47 INIT_FCALL_BY_NAME 'ldap_count_entries' 48 SEND_VAR_EX !6 49 SEND_VAR_EX !9 50 DO_FCALL 0 $33 51 CONCAT ~34 'Le+nombre+d%27entr%C3%A9es+retourn%C3%A9es+est+', $33 52 CONCAT ~35 ~34, '%3Cp+%2F%3E' 53 ECHO ~35 36 54 ECHO 'Lecture+de+ces+entr%C3%A9es+....%3Cp+%2F%3E' 37 55 INIT_FCALL_BY_NAME 'ldap_get_entries' 56 SEND_VAR_EX !6 57 SEND_VAR_EX !9 58 DO_FCALL 0 $36 59 ASSIGN !10, $36 38 60 FETCH_DIM_R ~38 !10, 'count' 61 CONCAT ~39 'Donn%C3%A9es+pour+', ~38 62 CONCAT ~40 ~39, '+entr%C3%A9es%3A%3Cp+%2F%3E' 63 ECHO ~40 40 64 ASSIGN !11, 0 65 > JMP ->84 41 66 > FETCH_DIM_R ~42 !10, !11 67 FETCH_DIM_R ~43 ~42, 'cn' 68 CONCAT ~44 'dn+est+%3A+', ~43 69 CONCAT ~45 ~44, '%3Cbr+%2F%3E' 70 ECHO ~45 42 71 FETCH_DIM_R ~46 !10, !11 72 FETCH_DIM_R ~47 ~46, 'cn' 73 FETCH_DIM_R ~48 ~47, 0 74 CONCAT ~49 'premiere+entree+cn+%3A+', ~48 75 CONCAT ~50 ~49, '%3Cbr+%2F%3E' 76 ECHO ~50 43 77 FETCH_DIM_R ~51 !10, !11 78 FETCH_DIM_R ~52 ~51, 'mail' 79 FETCH_DIM_R ~53 ~52, 0 80 CONCAT ~54 'premier+email+%3A+', ~53 81 CONCAT ~55 ~54, '%3Cp+%2F%3E' 82 ECHO ~55 40 83 PRE_INC !11 84 > FETCH_DIM_R ~57 !10, 'count' 85 > JMPNZ ~57, ->66 47 86 > ECHO 'Fermeture+de+la+connexion' 48 87 INIT_FCALL_BY_NAME 'ldap_close' 88 SEND_VAR_EX !6 89 DO_FCALL 0 49 90 > RETURN 1
Generated using Vulcan Logic Dumper, using php 8.0.0