12-06-2014, 01:50 PM
File Creator (make any file any size) free / open source
Image has been scaled down 49% (700x394). Click this bar to view original image (1366x768). Click image to open in new window.
This is something that I quickly put together today in 5 mins, basically I needed to make different files of different sizes to perform a memory consumption attack and it worked so thought I'd share it in case you find it useful.
Download executable
Source (cross platform C++)
Code:
Image has been scaled down 49% (700x394). Click this bar to view original image (1366x768). Click image to open in new window.
This is something that I quickly put together today in 5 mins, basically I needed to make different files of different sizes to perform a memory consumption attack and it worked so thought I'd share it in case you find it useful.
Download executable
Source (cross platform C++)
Code:
Code:
/* A simple tool to create a user defined file and allocate
size in bytes by user defined amount Coded by Dreamwalker*/
#include<iostream>
#include<fstream>
#include<string>
using namespace std;
int main()
{
string the_name,tmp;
int the_defined_size;
cout<<"\t\t\thttp://Dreamwalker-Software.com/\n\n";
cout<<"This tool will create a file and extension of your choosing, along with it's\n";
cout<<"size, use: http://www.matisse.net/bitcalc/ for size in bytes calculation\n\n";
cout<<"Name of file and extension?:"<<endl;