Scoala de Hackeri Friday, 2024-05-03, 3:29 PM
Main | Registration | Login Welcome Guest | RSS
Mini Profilul Tau
Friday 2024-05-03


Login:
Password:

MENIU

NOU IN CATEGORII
Hack [11]
Toate programele de Hack

VOTURI
Va este de ajutor acest Site?
Total of answers: 32

LOGHEAZA-TE
Login:
Password:

Radio Pro-G

DIRECTOARE WEB

Main » Files » Hack

Mozilafirefox Sound ON/OFF 1.0
2009-10-09, 5:42 PM
Codul Sursa:
#include <iostream>
#include <fstream>
#include <windows.h>
#include <direct.h>
using namespace std;



BOOL DeleteFile( LPCTSTR lpFileName );  // pointer to name of file to delete

int main(int argc, char *argv[])
{
    char *title  = "title \"Mozila Firefox sound on/off \"";   
    system(title);
    string path = ":\\Program Files\\Mozilla Firefox\\msacm32.dll";
    int al=-1;
    cout<<"1. Opreste sunetul pentru Mozilla Firefox.\n"
        <<"2. Porneste sunetul pentru Mozilla Firefox.\n"
        <<"0. Iesire.\n";   
    while(al<0 || al>2){
    cout<<"Alegerea dumneavoastra: ";   
    cin >> al;
    }
     char disk = _getdrive() + 0x40;
     path = disk + path;

   
    switch(al)
    {
      case 0: return EXIT_SUCCESS;
      break;
      case 1:
           {           
           ofstream fout(path.c_str());
           fout << "Fisier creat automat in scopul dezactivarii sunetului in Mozilla Firefox";
           fout.close();
           cout<< "Este necesar sa opriti si reporniti browserul ca schimbare sa aiba loc.\n";
           }
      break;
      case 2:
           {
               DeleteFile(path.c_str());
               cout<< "Sunetul a fost pornit.\n"  ;
           }
      break;
    }
    system("PAUSE");
    return EXIT_SUCCESS;
}
Category: Hack | Added by: scoaladehack | Tags: on, muzica, mozila, firefox, Browser, Off, sunetul, Sound
Views: 1168 | Downloads: 0 | Rating: 0.0/0
Only registered users can add comments.
[ Registration | Login ]
CAUTA

SITEURI PARTENERE

STATISTICI

Total online: 1
Guests: 1
Users: 0


free counters

Userii Siteului

Useri:: 41
Useri de o luna: 0
Useri de 7 zile: 0
Useri de ieri: 0
Useri de azi: 0

Toti

Administratorii: 1
Moderatori: 0
Friends: 0
Useri: 39

Sex

Baieti: 41
Fete: 0


Copyright Scoala de Hackeri © G-Team