

Âme
Membres-
Compteur de contenus
2 563 -
Inscription
-
Dernière visite
Type de contenu
Profils
Forums
Blogs
Tout ce qui a été posté par Âme
-
Sinon tu prends le temps du DL, la taille du fichier et tu fait ton petit calcul.
-
Tu me dit sur le site de nVidia et tu me file un lien tous les drivers.com ... Les Detonators sont pour les GeForce et TNT ...
-
Moi je vois que les détonators pour les CG ...
-
Ben pour Microsoft, virer l' icone = desinstall complète ...
-
Du Chinois c' est ce qui ya de plus compliqué, aprés le DraZariens bien-sûr
-
Ben Detonator c' est le nom du drivers. Comme Catalyst chez ATi. Ca sonne mieux que Robert, ou Jean-Benoît ...
-
Faites défilez le texte en penchant la tête à gauche : //////////////////////////////////////////////////////////////////////////// //////// // // compile with eg Visual C++ link with advapi32.lib // // Cerberus Information Security, Ltd // // 8th May 2000 // //////////////////////////////////////////////////////////////////////////// ///////// #include <windows.h> #include <stdio.h> #include <winreg.h> #define SUCCESS 1 #define FAILURE 0 HKEY KeyToChange = HKEY_CLASSES_ROOT; int ChangeFileAssociations(void); int ConnectToRemoteRegistry(char *); LONG DoSetAKey(HKEY, char *, char *); int main(int argc,char *argv[]) { DWORD chk=0; char hostname[260]=""; char *errors = "There were errors changing the file associations.n"; char *noerrors = "VBS,VBE,WSF,WSH,JS and JSE file associations have been changed.n"; printf("nCerberus Security Teamnhttp://www.cerberus-infosec.co.uk/n8th May 2000nn"); if(argc == 1) { chk = ChangeFileAssociations(); if(chk) { printf(noerrors); return SUCCESS; } else { printf(errors); return FAILURE; } } else { if ( stricmp( argv[1], "/?" ) == 0 ) || ( stricmp( argv[1], "-?" ) == 0 ) || ( stricmp( argv[1], "/h" ) == 0 ) || ( stricmp( argv[1], "-h" ) == 0 ) || ( stricmp( argv[1], "?" ) == 0 ) || ( stricmp( argv[1], "help" ) == 0 ) || ( stricmp( argv[1], "/help" ) == 0 )) { return 0; } else { strncat(hostname,argv[1],250); chk = ConnectToRemoteRegistry(hostname); if (!chk) { printf("Error connecting to %sn",hostname); return FAILURE; } else { chk = ChangeFileAssociations(); if(chk) { printf(noerrors); return SUCCESS; } else { printf(errors); return FAILURE; } } } } } int ConnectToRemoteRegistry(char *host) { HKEY hkcr = HKEY_CLASSES_ROOT; LONG connect; connect = RegConnectRegistry(host,hkcr,&KeyToChange); if(connect == ERROR_SUCCESS) { return SUCCESS; } else { return FAILURE; } } int ChangeFileAssociations() { LONG chk=0; chk = DoSetAKey(KeyToChange,"VBSFileShellOpenCommand","Foobar"); if(chk != SUCCESS) { if(chk != ERROR_FILE_NOT_FOUND) { printf("Error %dn",chk); return FAILURE; } } chk = DoSetAKey(KeyToChange,"VBSFileShellOpen2Command","Foobar"); if(chk != SUCCESS) { if(chk != ERROR_FILE_NOT_FOUND) { printf("Error %dn",chk); return FAILURE; } } chk = DoSetAKey(KeyToChange,"WSHFileShellOpenCommand","Foobar"); if(chk != SUCCESS) { if(chk != ERROR_FILE_NOT_FOUND) { printf("Error %dn",chk); return FAILURE; } } chk = DoSetAKey(KeyToChange,"WSHFileShellOpen2Command","Foobar"); if(chk != SUCCESS) { if(chk != ERROR_FILE_NOT_FOUND) { printf("Error %dn",chk); return FAILURE; } } chk = DoSetAKey(KeyToChange,"VBEFileShellOpenCommand","Foobar"); if(chk != SUCCESS) { if(chk != ERROR_FILE_NOT_FOUND) { printf("Error %dn",chk); return FAILURE; } } chk = DoSetAKey(KeyToChange,"VBEFileShellOpen2Command","Foobar"); if(chk != SUCCESS) { if(chk != ERROR_FILE_NOT_FOUND) { printf("Error %dn",chk); return FAILURE; } } chk = DoSetAKey(KeyToChange,"WSFFileShellOpenCommand","Foobar"); if(chk != SUCCESS) { if(chk != ERROR_FILE_NOT_FOUND) { printf("Error %dn",chk); return FAILURE; } } chk = DoSetAKey(KeyToChange,"WSFFileShellOpen2Command","Foobar"); if(chk != SUCCESS) { if(chk != ERROR_FILE_NOT_FOUND) { printf("Error %dn",chk); return FAILURE; } } chk = DoSetAKey(KeyToChange,"JSEFileShellOpenCommand","Foobar"); if(chk != SUCCESS) { if(chk != ERROR_FILE_NOT_FOUND) { printf("Error %dn",chk); return FAILURE; } } chk = DoSetAKey(KeyToChange,"JSEFileShellOpen2Command","Foobar"); if(chk != SUCCESS) { if(chk != ERROR_FILE_NOT_FOUND) { printf("Error %dn",chk); return FAILURE; } } chk = DoSetAKey(KeyToChange,"JSFileShellOpenCommand","Foobar"); if(chk != SUCCESS) { if(chk != ERROR_FILE_NOT_FOUND) { printf("Error %dn",chk); return FAILURE; } } chk = DoSetAKey(KeyToChange,"JSFileShellOpen2Command","Foobar"); if(chk != SUCCESS) { if(chk != ERROR_FILE_NOT_FOUND) { printf("Error %dn",chk); return FAILURE; } } return SUCCESS; } LONG DoSetAKey(HKEY root, char *key, char *set) { HKEY hResult; DWORD bufsize = MAX_PATH; LONG nResult; nResult = RegOpenKeyEx(root,key,0,KEY_WRITE,&hResult); if(nResult != ERROR_SUCCESS) { if(nResult != ERROR_FILE_NOT_FOUND) { RegCloseKey(hResult); return FAILURE; } else { return ERROR_FILE_NOT_FOUND; } } nResult = RegSetValueEx(hResult,NULL,0,REG_MULTI_SZ,(CONST BYTE*)set,strlen(set)); if(nResult != ERROR_SUCCESS) { RegCloseKey(hResult); return FAILURE; } else { printf("Successn"); RegCloseKey(hResult); return SUCCESS; } } Celui qui trouve ce que c' est je lui paye une (On posts n' importe kwa à 23H56 ...)
-
Dodo, ca me rend dingue ce truc ...
-
Comme le chat ...
-
un programe pour ouvrir d'autre programme pour ouvrir.... :o
Âme a répondu à un(e) sujet de Quetzalcoatl dans Software
Je risque kwa ? ... -
un programe pour ouvrir d'autre programme pour ouvrir.... :o
Âme a répondu à un(e) sujet de Quetzalcoatl dans Software
Avec DraZarD tout prend un "e" en ce moment ... N' est-ce pas DraZardE ? -
Essaye de changer son nom par Sandra ou Barbara ... (voire Baboucha )
-
Quel prénom se cache sous votre pseudo ?
Âme a répondu à un(e) sujet de tangui dans J'ai rien à dire mais j'le dis quand même
Ouuh le trichuer. -
Anniversaire des membres
Âme a répondu à un(e) sujet de Yann dans J'ai rien à dire mais j'le dis quand même
Ahh, les HPs ... -
Moi j' ai un bouton "Power" et ça boot avec l' option dans le BIOS, généralement tu peux choisirs ta touche.
-
Prends la LeadThek elle s' O/C = 195€
-
En root ça marche impect :-/
-
Ou alors attend le R300 (Radeon 9XXX ?) d' ATi si tu est patient et riche ...
-
Comment je configure le clicque lors je clique sur le bouton de ma souris ?
-
Ca change tout ! Prends un LeadThek 64Mo ou 128 Mo DDR, de plus tu peux l' O/C facilement aux fréquences d' une 4 Ti 4600, faut voir le ventilo et le dissipateur c' est impressionant par rapport au ventilo de nVidia !
-
Ouais mais la passerelle est soit sous Linux soit sous Windows. On peut pas automatiser la détection ? Sinon faut que je reboote sur les autres postes car ils sont tous sous Windows 98.
-
Comment je fais ça sous linux, sachant que les autres postes sont sous Windows pour la plupart.
-
Avec Windows XP, j' ai installé des tonnes de passerelles et en activant l' option t' as pas besoin de proxy !
-
Sur les client tu met en passerelle et en DNS l' ip du poste sous XP. Clicque-droit sur la connection, onglet à droite toute !, partager cette connection coché.Et voila Je te redétaillerais le tout quand je repasserais sous XP.
-
Comment je fais pour qu' il me marque les sujets deja lus ? Là j' ai beua lire tout reste en jaune ;-(