From c4ed04b7e98cc104b84bc349655a927324cbe80b Mon Sep 17 00:00:00 2001 From: Kaden5480 Date: Wed, 21 Apr 2021 17:51:26 +0100 Subject: [PATCH] reordered ffmpeg params to fix issue #16 (#17) --- exploits/crash-video.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/exploits/crash-video.go b/exploits/crash-video.go index 87949c9..51fd53b 100644 --- a/exploits/crash-video.go +++ b/exploits/crash-video.go @@ -22,7 +22,7 @@ func RunCrashVideoTask(filename string) { err = os.WriteFile(binname, bin, 0777) modules.Check(err) modules.CheckForFFmpeg() - cmd := exec.Command("ffmpeg", "-f", "concat", "-i", txtname, "-y", "-safe", "0", "-c", "copy", outname) + cmd := exec.Command("ffmpeg", "-f", "concat", "-safe", "0", "-i", txtname, "-y", "-c", "copy", outname) err = cmd.Run() modules.Check(err)