file-creator

command
v0.0.0-...-4c62b88 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 13, 2022 License: MIT Imports: 8 Imported by: 0

README

File Creator

Meant to be run as a service. This program randomly creates files with random copypasta content, which are placed in a directory that is randomly picked from a set of directories. The files may also be placed recursively within their chosen directory, depending on which path was chosen. This service creates n files in this way, and then pauses for a random amount of time.

Parameters

-v: enable verbose

--demo: Place the files in the current directory instead of the chosen path

-n [num]: Specify the number of files to create each time the service runs. Default: 3

-h or --help: Display the help menu

Examples:

go run file-creator.go -v --demo -n 5

go build file-creator.go && ./file-creator -n 10

File paths

This program may place files under any of the following directories. * indicates the file may be placed recursively into any subfolders under that directory.

/etc/
/etc/*
/home/
/home/*
/mnt/
/root/
/usr/*
/usr/bin/
/usr/lib/
/var/log/
/var/log/*
/var/run/

Documentation

Overview

Michael Burke Payload to randomly create files throughout the filesystem

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL