* implemented core ffmpeg functions [TODO] update README.md and clean code * Forgot to remove image files afterwards fucking dumbass * Upgraded FFmpeg implementation [^] README.md | for transcoding information [-] exploits.go | removed skipArg completely as it's not needed at all [^] exploits.go | changed mode handler because I made a mistake which makes v the zero duration video mode [^] .gitignore | added .jpg [^] transcode-to-webm.go => transcode.go | fixed FFmpeg output and made it print the temporary file location [^] name.go | made file name longer and changed Unix to UnixNano because the seed as Unix sometimes creates two identical file names when images are transcoded as it is really fast [^] help.go | changed "doesn't" to "don't" [^] ffmpeg-check.go | changed error checking function to the one already present in modules/error.go
3.4 KiB
Discord-Exploits
A program for creating exploited media files for discord written in Go.
Usage
discord-exploits is a command line utility, meaning you have to run it through a terminal!
Getting Help
discord-exploits -h
will show you what commands can be used and what you have to do
Creating an Expanding Video file
discord-exploits -m <mode> -i <input file>
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 v
stands for virus image
The Program only supports webm
files for video and png
files for images
The file will be saved with a random file name in the directory in which you ran the command
You can use FFmpeg 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
Other file formats
If you want to run this program with other file types like mp4
and jpg
directly, make sure you have FFmpeg installed and on your path as the program uses it to transcode the file in those cases.
Installation
Via releases
go to the releases page and download either the windows or linux version
availabe systems are:
windows-64-bit windows-32-bit
linux-64-bit linux-32-bit
Compiling it yourself
make sure you have Go installed and in your path
-
Clone this repository
git clone https://github.com/Schmenn/discord-exploits
If you don't have git installed, install it here or download the code as a zip
-
Go into the folder
cd discord-exploits
-
Build it
go build
the executable will have the name discord-exploits
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
- Feature for creating a video that, when played on discord, will look like it has got a constant duration of 0
- Feature for creating an image then triggers other users' windows defender after being cached
- Transcoding from
mp4
towebm
and fromjpeg
andjpg
topng
(requires FFmpeg)
Upcoming Features are:
not yet decided.