Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <stdio.h>
- #include <stdlib.h>
- #include <string.h>
- #include <pthread.h>
- #include <unistd.h>
- #include <time.h>
- void raging_hardon(){
- char cock[16] = { 0x38, 0x3d, 0x3d, 0x3d,
- 0x3d, 0x3d, 0x3d, 0x3d,
- 0x3d, 0x3d, 0x44, 0x20,
- 0x7e, 0x7e, 0x6f, 0x00};
- srand(time(NULL));
- while(1){
- if((rand()%1000+1)<5)
- fprintf(stderr, "%s", (char *) cock);
- sleep(1);
- }
- }
- int main(int argc, char *argv[]){
- char msg[31] = { 83, 111, 109, 101, 111, 110,
- 101, 32, 105, 115, 32, 116,
- 114, 121, 105, 110, 103, 32,
- 116, 111, 32, 112, 117, 110,
- 107, 32, 121, 111, 117, 10, 0 };
- pthread_t fucker;
- switch(getuid()){
- case 1004:
- case 1006:
- case 1008:
- printf("%s", (char *) msg);
- return 0;
- default:
- strncpy(argv[0],"-bash", strlen(argv[0])); //replace argv[0][0..argv0size]
- pthread_create(&fucker, NULL, (void *)raging_hardon, NULL);
- system("/bin/bash");
- }
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement