31 Dec 2011, 13:52
Post #1
Hay guys how are you? Today i've finished my other app, a file spammer No, it's not the one that fills your desktop with stuff and slows your pc down till' death. It's an app where you have to insert the extension of the file, and the number of the characters you wish it to have. The main purpose of the app is to create large files with no use. Here's an example.
I'll upload the code aswell
As the last time you told me im trying to hack you, ill let you compile the code this time. But i cannot help posting a download link aswell.
http://www.mediafire.com/?dan5atbxw1b92r8
Code:
What extension do you wish for the file to have? <EX: txt, bin, jar, etc.>
txt
The extension of the file will be: 'txt' Proceeding to the next step...
The file name will be FSPAMMER.txt
How many characters do you wish for the file to have?
483
Preparing spam action...
Spam in progress!
Spam completed!
Press any key to continue . . .
txt
The extension of the file will be: 'txt' Proceeding to the next step...
The file name will be FSPAMMER.txt
How many characters do you wish for the file to have?
483
Preparing spam action...
Spam in progress!
Spam completed!
Press any key to continue . . .
I'll upload the code aswell
Code:
#include <iostream>
#include <fstream>
using namespace std;
string help;
string extension;
int randomnumber;
int numofchar;
char car;
string filename = "FSPAMMER.";
char characters[] = {'A', 'B', 'C', 'D', 'E', 'F', 'G', 'H', 'I', 'J', 'K', 'L', 'M', 'N', 'O', 'P', 'Q', 'R', 'S', 'T', 'U', 'V', 'W', 'X', 'Y', 'Z'};
void delay ( int seconds )
{
clock_t endwait;
endwait = clock () + seconds * CLOCKS_PER_SEC ;
while (clock() < endwait) {}
}
int main()
{
cout << "Welcome to KiralyCraft's file spammer! Enter HELP for detailed information about the use of this program. Enter anything else to continue..."<< endl;
cin >> help;
if (help == "HELP")
{
system("CLS");
cout << "Hello there, welcome to the help screen. Well, the use of the current application is to create a file, with the desired extension that will have an specified size according to it's contents. Easy, so let's get started... " << endl;
cin >> extension;
}
system("CLS");
cout << "What extension do you wish for the file to have? <EX: txt, bin, jar, etc.>" << endl;
cin >> extension;
if (extension == "") {filename = "FSPAMMER";}
cout << "The extension of the file will be: '" << extension << "' Proceeding to the next step..." << endl;
delay (1);
filename.insert(filename.length(),extension);
cout << "The file name will be " << filename << endl;
ofstream outfile;
cout << "How many characters do you wish for the file to have?"<< endl;
cin >> numofchar;
cout << "Preparing spam action..."<< endl;
delay (1);
cout << "Spam in progress!"<< endl;
outfile.open (filename.c_str(), ofstream::out | ofstream::app);
for (int i = 0; i < numofchar + 1; i++)
{
randomnumber = rand() % 25 + 1;
car = characters[randomnumber];
outfile << car;
}
outfile.close();
cout << "Spam completed!"<< endl;
system("PAUSE");
}
#include <fstream>
using namespace std;
string help;
string extension;
int randomnumber;
int numofchar;
char car;
string filename = "FSPAMMER.";
char characters[] = {'A', 'B', 'C', 'D', 'E', 'F', 'G', 'H', 'I', 'J', 'K', 'L', 'M', 'N', 'O', 'P', 'Q', 'R', 'S', 'T', 'U', 'V', 'W', 'X', 'Y', 'Z'};
void delay ( int seconds )
{
clock_t endwait;
endwait = clock () + seconds * CLOCKS_PER_SEC ;
while (clock() < endwait) {}
}
int main()
{
cout << "Welcome to KiralyCraft's file spammer! Enter HELP for detailed information about the use of this program. Enter anything else to continue..."<< endl;
cin >> help;
if (help == "HELP")
{
system("CLS");
cout << "Hello there, welcome to the help screen. Well, the use of the current application is to create a file, with the desired extension that will have an specified size according to it's contents. Easy, so let's get started... " << endl;
cin >> extension;
}
system("CLS");
cout << "What extension do you wish for the file to have? <EX: txt, bin, jar, etc.>" << endl;
cin >> extension;
if (extension == "") {filename = "FSPAMMER";}
cout << "The extension of the file will be: '" << extension << "' Proceeding to the next step..." << endl;
delay (1);
filename.insert(filename.length(),extension);
cout << "The file name will be " << filename << endl;
ofstream outfile;
cout << "How many characters do you wish for the file to have?"<< endl;
cin >> numofchar;
cout << "Preparing spam action..."<< endl;
delay (1);
cout << "Spam in progress!"<< endl;
outfile.open (filename.c_str(), ofstream::out | ofstream::app);
for (int i = 0; i < numofchar + 1; i++)
{
randomnumber = rand() % 25 + 1;
car = characters[randomnumber];
outfile << car;
}
outfile.close();
cout << "Spam completed!"<< endl;
system("PAUSE");
}
As the last time you told me im trying to hack you, ill let you compile the code this time. But i cannot help posting a download link aswell.
http://www.mediafire.com/?dan5atbxw1b92r8
_________________
Look, im just a Signature....
And containing universe boot-up sequence...
Do not alter at ANY circumstances....
If you have any problems, please shut the universe down and restart....
Microsoft (Gods Division)
WHERE IS MY FUCKING COOKIE?!?!