mirror of
https://github.com/Schmenn/discord-exploits.git
synced 2024-12-22 10:25:33 +00:00
Forgot to remove image files afterwards
fucking dumbass
This commit is contained in:
parent
2a9103af59
commit
3aff7bc1f7
|
@ -171,6 +171,7 @@ func initCommand(inputFile string, mode string) {
|
|||
fmt.Println("editing photo.")
|
||||
exploits.RunVirusImageTask(out)
|
||||
fmt.Println("completed task.")
|
||||
os.Remove(out)
|
||||
} else if strings.HasSuffix(inputFile, "jpeg") {
|
||||
fmt.Println("transcoding image from jpeg to png")
|
||||
out := modules.Transcode(inputFile, "png")
|
||||
|
@ -178,5 +179,6 @@ func initCommand(inputFile string, mode string) {
|
|||
fmt.Println("editing photo.")
|
||||
exploits.RunVirusImageTask(out)
|
||||
fmt.Println("completed task.")
|
||||
os.Remove(out)
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue