🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
Socket
DemoInstallSign in
Socket

random-file-generator

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

random-file-generator

A tool for quickly generating random binary files

0.1.3
latest
Source
npm
Version published
Weekly downloads
1
-75%
Maintainers
1
Weekly downloads
 
Created
Source

Description

A tool for quickly generating random binary files

Install

npm install -g random-file-generator

Example

Generate a 200MB random binary file named "200MB" in "D:\temp" folder.

$ rand-gen -d D:\temp -f 200MB -s 1024000 -n 200
Usage: rand-gen -d [num] -f [num] -s [num] -n [num]

Options:
  --help     Show help                                                 [boolean]
  --version  Show version number                                       [boolean]
  -d         Output directory. Create if it doesn't exist             [required]
  -f         Output file name                                         [required]
  -s         Size of every chunk in bytes                             [required]
  -n         How many chunks in file                                  [required]

generating [====================] 135360212/bps 100% 0.0s
[Target File] D:temp\200MB
[MD5]: ukVfpRVN1MSyNh8bxgdNYA==

Keywords

Generator

FAQs

Package last updated on 08 May 2019

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts