From a80ae2c9568ae0df82bc4bcfad41ddecc67570a6 Mon Sep 17 00:00:00 2001 From: vysion <77179954+vysiondev@users.noreply.github.com> Date: Wed, 19 May 2021 00:28:18 -0700 Subject: [PATCH] cleanup readme --- README.md | 82 ++++++++++++++++---------------------- exploits/restart-video.go | 1 + exploits/restart.bin | Bin 0 -> 85767 bytes 3 files changed, 36 insertions(+), 47 deletions(-) create mode 100644 exploits/restart-video.go create mode 100644 exploits/restart.bin diff --git a/README.md b/README.md index c682332..4167013 100644 --- a/README.md +++ b/README.md @@ -1,83 +1,69 @@ [![GitHub stars](https://img.shields.io/github/stars/Schmenn/discord-exploits?color=FFFFFF&label=stars&style=flat-square)](https://github.com/Schmenn/discord-exploits/stargazers) -![GitHub code size in bytes](https://img.shields.io/github/languages/code-size/Schmenn/discord-exploits?color=FFFFFF&style=flat-square) +![GitHub code size in bytes](https://img.shields.io/github/languages/code-size/Schmenn/discord-exploits?color=FFFFFF&style=flat-square) ![GitHub issues](https://img.shields.io/github/issues/Schmenn/discord-exploits?color=FFFFFF&style=flat-square) [![GitHub forks](https://img.shields.io/github/forks/Schmenn/discord-exploits?color=FFFFFF&style=flat-square)](https://github.com/Schmenn/discord-exploits/network) ![Made with](https://img.shields.io/badge/made%20with-Go-29BEB0?style=flat-square) # Discord-Exploits -A program for creating exploited media files for discord written in Go. + +A program for creating exploited media files for Discord written in Go. # [Video Guide](https://www.youtube.com/watch?v=X0e3dgXzuEM) -##### If you have any questions, feel free to ask me on ![Discord](https://img.shields.io/badge/Discord-Schmenn%231088-7289DA?style=flat-square) or join the server: [![Discord](https://img.shields.io/discord/809503251455148063?label=discord&style=flat-square)](https://discord.gg/QQfE4QtzFJ) +If you have any questions, feel free to ask me on ![Discord](https://img.shields.io/badge/Discord-Schmenn%231088-7289DA?style=flat-square) or join the server: [![Discord](https://img.shields.io/discord/809503251455148063?label=discord&style=flat-square)](https://discord.gg/QQfE4QtzFJ) -DO NOT DM ME ASKING WHY THE WINDOW CLOSES INSTANTLY WHEN YOU DOUBLE CLICK IT, +DO NOT DM ME ASKING WHY THE WINDOW CLOSES INSTANTLY WHEN YOU DOUBLE CLICK IT, DISCORD-EXPLOITS IS A COMMAND-LINE UTILITY MEANING YOU HAVE TO USE IT FROM A TERMINAL IF THE PROGRAM SHOWS AN ERROR, READ THE ERROR BEFORE MESSAGING ME - - -### Getting Help +## Getting Started `discord-exploits -h` will show you what commands can be used and what you have to do -### Creating an Expanding Video file +## Usage -`discord-exploits -m -i [-q]` +`discord-exploits -m -i [-q]` -the mode `c` stands for "crash", this file will crash almost any desktop discord client when it is played to the end +| Mode | Description | +| :------------ | :------------ | +| `c` | Create a file that will crash most Discord desktop clients when played to the end | +| `r` | Create a file that will instantly restart most Discord desktop clients when played to the end | +| `v` | Create a virus image (upon sending to a channel, it will trigger antivirus software for anyone who sees it) | +| `e` | Create a video which has an expanding video duration (00:00/00:02, 00:01/00:03, etc...) | +| `n` | Create a video with negative duration | +| `0` or `z` | Create a video with a removed duration header (0 second video) | +| `t` | Create a file that will play a different audio when it is replayed (still experimental) | -the mode `v` stands for virus image - -the mode `e` stands for expanding video duration - -the mode `n` stands for negative video duration - -the mode `0` or `z` stands for video with 0s duration - -the mode `t` stands for "twice", this file will play a different audio when it is replayed (still experimental) - -The Program only supports `webm` files for video, `png` files for images and `ogg` files for audio (t) +The program only supports `webm` files for video, `png` files for images and `ogg` files for audio (`t`) ##### The file will be saved with a random file name in the directory in which you ran the command + ##### You can use [FFmpeg](https://ffmpeg.org) to convert a video to .webm or to convert an image to png (better than online converters) + ##### The "virus" image may get flagged by windows defender and will get removed. to restore the file, go to Settings > Update & Security > Windows Security > Virus & Threat protection and restore the file ## Installation + ### Via releases -go to [the releases page](https://github.com/Schmenn/discord-exploits/releases) and download either the windows or linux version +go to [the releases page](https://github.com/Schmenn/discord-exploits/releases) and download either the windows or linux version. the program is compatible with: -###### availabe systems are: -`windows-64-bit -windows-32-bit` +`windows-64-bit windows-32-bit` -`linux-64-bit -linux-32-bit` +`linux-64-bit linux-32-bit` (untested on linux) -##### The Program was not yet tested on linux +### Compile from source +make sure you have [Go](https://golang.org) installed and in your path -### Compiling it yourself -###### make sure you have [Go](https://golang.org) installed and in your path -1. Clone this repository - - `git clone https://github.com/Schmenn/discord-exploits` - -###### If you don't have git installed, install it [here](https://git-scm.com) or download the code as a zip -2. Go into the folder - - `cd discord-exploits` - -3. Build it - - `go build` - -###### the executable will have the name `discord-exploits` +1. Clone this repository: `git clone https://github.com/Schmenn/discord-exploits` (If you don't have git installed, install it [here](https://git-scm.com) or download the code as a zip) +2. Go into the folder: `cd discord-exploits` +3. Build it: `go build` ## Features + ### Current Features * Feature for creating a video that, when played on discord, will seem like infinite, because the duration keeps getting longer * Feature for creating a video that, when played on discord, will look like it has got a huge negative duration @@ -87,12 +73,14 @@ linux-32-bit` * Feature for creating a video that, when played on a discord client, will crash it ([always requires FFmpeg](https://ffmpeg.org)) * Transcoding from `mp4` to `webm`, from `jpeg` and `jpg` to `png` and from `mp4` and `m4a` to `ogg` ([requires FFmpeg](https://ffmpeg.org)) -### Disclaimer +## Disclaimer + The t/twice mode requires ffmpeg with all compatible file formats, even `ogg`, because the current version of the exploit has to convert the audio to a sample rate of 44100. The c/crash mode also requires ffmpeg will all compatible file formats, because the input file needs to be concatenated with another file. -### Upcoming Features are: -not yet decided. +## Upcoming Features + +None yet diff --git a/exploits/restart-video.go b/exploits/restart-video.go new file mode 100644 index 0000000..bc3b623 --- /dev/null +++ b/exploits/restart-video.go @@ -0,0 +1 @@ +package exploits diff --git a/exploits/restart.bin b/exploits/restart.bin new file mode 100644 index 0000000000000000000000000000000000000000..a642830c4fbe4f4acd27d7edaccbe02ec51e458f GIT binary patch literal 85767 zcmeI*Pi!1l9l-IoSvQJAs7#wkt&~PX2@(?VW_In`uIW^E(+DF1Er%AVDq7yoy!B2! zvooF_kQoana`VxpX_I)l+!G_X_zOmQhSt5<*ey7zZ$1gRi)IvW@d~k zeKm;#T}aGt_TJL#z4Z4JZ@==!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