Guest User

Untitled

a guest
Jan 27th, 2018
115
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 2.70 KB | None | 0 0
  1. #include <iostream>
  2. #include <windows.h>
  3. #include <cstdlib>
  4. #include <ctime>
  5. #include <string>
  6.  
  7. using namespace std;
  8. void wait ( int seconds ) //Built-in delay function that takes systems seconds
  9. {
  10.     clock_t endwait;
  11.     endwait =static_cast<int>( clock () + seconds * CLK_TCK);
  12.     while (clock() < endwait) {}
  13. }
  14.  
  15.  
  16. int main()
  17. {
  18.  
  19.  
  20.     system("title *******************************N@E@B@A@C@H@A@N@E@Z@Z@A@R*************************** ");
  21.     system("cls");
  22.     char *text="Attacking all ports on Matrix Mainframe........";
  23.     char *text1="Warning!!!!! Agents are on NeO's tail.";
  24.     char *text2=" %sysroot%";
  25.     char *text3=" r6=/|SN,o2k3A3r";
  26.     string username,pass;
  27.     int length  =strlen(text);
  28.     int length1 =strlen(text1);
  29.     int length2 =strlen(text2);
  30.     int length3 =strlen(text3);
  31.  
  32.  
  33.  
  34.     //Simulates a Remote connect to a port
  35.     for(int j=0; j<length; j++)
  36.     {
  37.         system("color 0f"); //changes the textcolor to blue
  38.         cout<<text[j];//prints the pointer arrays
  39.         Beep(2000,35);//produces a corresponding sound
  40.         if(text[j]==' ')//provides a pause for each null character
  41.         {
  42.             Sleep(75);
  43.         }
  44.     }
  45.     Sleep(500);
  46.     cout<<"\n";
  47.     for(int k=0; k<length1; k++)
  48.     {
  49.  
  50.         cout<<text1[k];
  51.         Beep(2000,35);
  52.         if(text1[k]==' ')
  53.         {
  54.             Sleep(75);
  55.         }
  56.     }
  57.     cout<<"\nFound Connection on port 2901...";
  58.     Sleep(2000);
  59.     // Simulates a root hacking attack to the Matrix Mainframe
  60.     system("cls");
  61.     Sleep(2000);
  62.     cout<<"username :";
  63.     Sleep(1000);
  64.     for(int g=0; g<length2; g++)
  65.     {
  66.  
  67.         cout<<text2[g];
  68.         Beep(2000,35);
  69.         if(text2[g]==' ')
  70.         {
  71.             Sleep(75);
  72.         }
  73.     }
  74.  
  75.     cout<<"\npassword :";
  76.     Sleep(1000);
  77.     for(int s=0; s<length3; s++)
  78.     {
  79.  
  80.         cout<<text3[s];
  81.         Beep(2000,35);
  82.         if(text3[s]==' ')
  83.         {
  84.             Sleep(75);
  85.         }
  86.     }
  87.  
  88.  
  89.  
  90.     cout<<"\nConnecting to Matrix Mainframe ";
  91.     for (int n=6; n>0; n--)  //Simulates a connection to Matrix Interface
  92.     {
  93.         Beep(2000,35);
  94.         cout<<".";
  95.         wait (1);
  96.     }
  97.  
  98.     Sleep(500);
  99.     system("cls");
  100.     system("title Matrix Mainframe");
  101.     system("color 02");
  102.     for(int i=0; i<1000; i++) //this loop prints ten columns of random ascii characters
  103.     {
  104.         for(int t=0; t<10; t++)
  105.             for(int m=0; m<10; m++)
  106.  
  107.                 cout<<char(170 + rand() % 180)
  108.                     <<"\t"
  109.                     <<char(143 + rand() % 160)
  110.                     <<"\t"
  111.                     <<char(170 + rand() % 180);
  112.  
  113.     }
  114.     cout<<"\n";
  115.     system("pause");
  116.     return 0;
  117.  
  118. }
Add Comment
Please, Sign In to add comment