()
| 34 | } |
| 35 | |
| 36 | func options() *FlagOptions { |
| 37 | outFile := flag.String("O", "", "Name of output file (e.g. loader.js)") |
| 38 | inputFile := flag.String("I", "", "Path to the file containing binary to zip.") |
| 39 | sandbox := flag.Bool("sandbox", false, "Enables sandbox evasion using IsDomainedJoined.") |
| 40 | flag.Parse() |
| 41 | return &FlagOptions{outFile: *outFile, inputFile: *inputFile, sandbox: *sandbox} |
| 42 | } |
| 43 | |
| 44 | func main() { |
| 45 | fmt.Println(` |