Coder Social home page Coder Social logo

bitbybyte-file-pumper's Introduction

โญ๏ธ Star the project on GitHub โ€” it helps! โญ๏ธ

๐Ÿ–ฅ BitByByte-File-Pumper

Increases the size of a file by adding null hexadecimal value(s) (00) to the end depending on the amount the user wants in KB, MB, or GB. Usually, anti-virus softwares ignore files bigger than 100 MB therefore qualifiying this file pumper useful in that situation. Another way it could be used is for phishing or testing a network/thumb drives transfer speed. Above all, this is a penetration testing tool/utility, not a black hat tool.

โฑ Motivation

The graphical user interface was programmed line by line, I didn't use WindowBuilder (Eclipse) to make the GUI. Reasoning why is that I took this up as a challenge to better understand how GUI's work using Java and low-level functions. Also, it is user friendly and I'm not responsible for any damages.

๐Ÿ“ธ Screenshots




๐Ÿ’ป Tech/framework used

๐Ÿ’ก Features

Write once, run anywhere. Currently there isn't a file pumper out there programmed in Java, there was one, but it's gone now.

๐Ÿง  Code Example

int valueUserMain = (Integer) valueBox.getValue(); // Grabs valueBox value.
byte[] nullValue = new byte [1]; // Placeholder for length.
FileChannel rwChannel = null;
writeRead = rwChannel.map(FileChannel.MapMode.READ_WRITE, 0, nullValue.length * valueUserMain * x.get() / 2); // Multiples and divides for correct file size.
for (int i1 = 0; i1 < valueUserMain; i1++) // Creates a for loop based on the valueUserMain value.
{
try {
rwChannel.write(writeRead); // Writes data according to writeRead multiplication/division.
} catch (IOException e) {
e.printStackTrace();
} while (i1 == valueUserMain);

Data table:
8 BITS = 1 BYTE
1000 BYTE = 1 KB
1000 KB = 1 MB
1000 MB = 1 GB

๐Ÿ’ผ Installation

You can download the JAR file here.

๐Ÿ”จ How to use?

Example: Step increment of 1 input value = 1 KB/MB/GB
Minimum: 1 for KB, MB, and GB. Maximum: 999 for KB and MB. 1 for GB.
If no radio button is selected default is KB automatically.

๐Ÿ”‘ Contribute

If you would like to contribute, just fork and push an update or make an issue.

๐Ÿ“š License

Creative Commons Attribution 4.0 International License. Perfect.exe


bitbybyte-file-pumper's People

Contributors

perfectdotexe avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.