updated usage infos for t mode

This commit is contained in:
Schmenn 2021-01-25 12:46:59 +01:00
parent b0db2a7695
commit 3c0f793bd4
2 changed files with 21 additions and 10 deletions

View file

@ -16,7 +16,7 @@ A program for creating exploited media files for discord written in Go.
### Creating an Expanding Video file ### Creating an Expanding Video file
`discord-exploits -m <mode> -i <input file>` `discord-exploits -m <mode> -i <input file> [-q]`
the mode `e` stands for expanding video duration the mode `e` stands for expanding video duration
@ -26,15 +26,14 @@ the mode `0` or `z` stands for video with 0s duration
the mode `v` stands for virus image the mode `v` stands for virus image
The Program only supports `webm` files for video and `png` files for images 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 file will be saved with a random file name in the directory in which you ran the command ##### 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) ##### 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 ##### 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 ## Installation
### Via releases ### Via releases
@ -47,6 +46,8 @@ windows-32-bit`
`linux-64-bit `linux-64-bit
linux-32-bit` linux-32-bit`
##### The Program was not yet tested on linux
### Compiling it yourself ### Compiling it yourself
###### make sure you have [Go](https://golang.org) installed and in your path ###### make sure you have [Go](https://golang.org) installed and in your path
@ -71,7 +72,11 @@ linux-32-bit`
* 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 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 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 * Feature for creating an image then triggers other users' windows defender after being cached
* Transcoding from `mp4` to `webm` and from `jpeg` and `jpg` to `png` ([requires FFmpeg](https://github.com/Schmenn/discord-exploits#other-file-formats)) * Feature for creating an audio file that plays a different track when you replay it
* Transcoding from `mp4` to `webm`, from `jpeg` and `jpg` to `png` and from `mp4` and `m4a` to `ogg` ([requires FFmpeg](https://ffmpeg.org))
### Warning!
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.
### Upcoming Features are: ### Upcoming Features are:
not yet decided. not yet decided.

View file

@ -15,9 +15,15 @@ func Help(progName string) {
fmt.Println("") fmt.Println("")
fmt.Println("modes:") fmt.Println("modes:")
fmt.Println(" video:") fmt.Println(" video:")
fmt.Println(" e takes input video (.webm) and edits it so discord will keep making it longer") fmt.Println(" e takes input video (.webm or .mp4) and edits it so discord will keep making it longer")
fmt.Println(" n takes input video (.webm) and edits it so discord will think it has got a huge negative duration") fmt.Println(" n takes input video (.webm or .mp4) and edits it so discord will think it has got a huge negative duration")
fmt.Println(" z, 0 takes input video (.webm) and edits it so discord will think it has got a 0s duration") fmt.Println(" z, 0 takes input video (.webm or .mp4) and edits it so discord will think it has got a 0s duration")
fmt.Println(" image:") fmt.Println(" image:")
fmt.Println(" v takes an image (.png) and makes other users' windows defender think it's a virus\n ") fmt.Println(" v takes an image (.png, .jpg or .jpeg) and makes other users' windows defender think it's a virus")
fmt.Println(" audio:")
fmt.Println(" t takes an audio file (.ogg, .m4a or .mp3) and edits it so discord will play a second audio track when you replay it.")
fmt.Println("")
fmt.Println("the following file formats require ffmpeg: .mp4, .jpg, .jpeg, .ogg, .m4a and .mp3")
fmt.Println("")
} }