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 = 35, Position 2 = 40 Branch analysis from position: 35 1 jumps found. (Code = 42) Position 1 = 41 Branch analysis from position: 41 1 jumps found. (Code = 42) Position 1 = 90 Branch analysis from position: 90 2 jumps found. (Code = 44) Position 1 = 93, Position 2 = 72 Branch analysis from position: 93 1 jumps found. (Code = 62) Position 1 = -2 Branch analysis from position: 72 2 jumps found. (Code = 44) Position 1 = 93, Position 2 = 72 Branch analysis from position: 93 Branch analysis from position: 72 Branch analysis from position: 40 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/asvse function name: (null) number of ops: 98 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, 'cn%3Dadmin%2Cdc%3Dchallenge01%2Cdc%3Droot-me%2Cdc%3Dorg' 6 4 ASSIGN !4, 'x00A' 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 3 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 24 28 > INIT_FCALL_BY_NAME 'ldap_bind' 29 SEND_VAR_EX !6 30 SEND_VAR_EX !3 31 SEND_VAR_EX !4 32 DO_FCALL 0 $24 33 ASSIGN !7, $24 25 34 > JMPZ !7, ->40 26 35 > ROPE_INIT 3 ~27 'Le+r%C3%A9sultat+de+connexion+est+' 36 ROPE_ADD 1 ~27 ~27, !7 37 ROPE_END 2 ~26 ~27, '+%3Cbr+%2F%3E' 38 ECHO ~26 39 > JMP ->41 28 40 > > EXIT 'Liaison+impossible+au+serveur+ldap+...' 30 41 > ECHO 'Recherche+suivant+le+filtre+%28sn%3DB%2A%29+%3Cbr+%2F%3E' 31 42 ASSIGN !8, 'sn%3DB%2A' 32 43 INIT_FCALL_BY_NAME 'ldap_search' 44 SEND_VAR_EX !6 45 SEND_VAR_EX !0 46 SEND_VAR_EX !8 47 DO_FCALL 0 $30 48 ASSIGN !9, $30 33 49 ROPE_INIT 3 ~33 'Le+r%C3%A9sultat+de+la+recherche+est+' 50 ROPE_ADD 1 ~33 ~33, !9 51 ROPE_END 2 ~32 ~33, '+%3Cbr+%2F%3E' 52 ECHO ~32 35 53 INIT_FCALL_BY_NAME 'ldap_count_entries' 54 SEND_VAR_EX !6 55 SEND_VAR_EX !9 56 DO_FCALL 0 $35 57 CONCAT ~36 'Le+nombre+d%27entr%C3%A9es+retourn%C3%A9es+est+', $35 58 CONCAT ~37 ~36, '%3Cp+%2F%3E' 59 ECHO ~37 36 60 ECHO 'Lecture+de+ces+entr%C3%A9es+....%3Cp+%2F%3E' 37 61 INIT_FCALL_BY_NAME 'ldap_get_entries' 62 SEND_VAR_EX !6 63 SEND_VAR_EX !9 64 DO_FCALL 0 $38 65 ASSIGN !10, $38 38 66 FETCH_DIM_R ~40 !10, 'count' 67 CONCAT ~41 'Donn%C3%A9es+pour+', ~40 68 CONCAT ~42 ~41, '+entr%C3%A9es%3A%3Cp+%2F%3E' 69 ECHO ~42 40 70 ASSIGN !11, 0 71 > JMP ->90 41 72 > FETCH_DIM_R ~44 !10, !11 73 FETCH_DIM_R ~45 ~44, 'cn' 74 CONCAT ~46 'dn+est+%3A+', ~45 75 CONCAT ~47 ~46, '%3Cbr+%2F%3E' 76 ECHO ~47 42 77 FETCH_DIM_R ~48 !10, !11 78 FETCH_DIM_R ~49 ~48, 'cn' 79 FETCH_DIM_R ~50 ~49, 0 80 CONCAT ~51 'premiere+entree+cn+%3A+', ~50 81 CONCAT ~52 ~51, '%3Cbr+%2F%3E' 82 ECHO ~52 43 83 FETCH_DIM_R ~53 !10, !11 84 FETCH_DIM_R ~54 ~53, 'mail' 85 FETCH_DIM_R ~55 ~54, 0 86 CONCAT ~56 'premier+email+%3A+', ~55 87 CONCAT ~57 ~56, '%3Cp+%2F%3E' 88 ECHO ~57 40 89 PRE_INC !11 90 > FETCH_DIM_R ~59 !10, 'count' 91 IS_SMALLER !11, ~59 92 > JMPNZ ~60, ->72 47 93 > ECHO 'Fermeture+de+la+connexion' 48 94 INIT_FCALL_BY_NAME 'ldap_close' 95 SEND_VAR_EX !6 96 DO_FCALL 0 49 97 > RETURN 1
Generated using Vulcan Logic Dumper, using php 8.0.0