Skip to content

Commit

Permalink
refactor
Browse files Browse the repository at this point in the history
  • Loading branch information
jm33-m0 committed Jan 29, 2024
1 parent 1eec89c commit 2a6bbc2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion core/cmd/cc/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ func init_magic_str() {
}
if strings.HasPrefix(f.Name(), "stub-") {
err = util.ReplaceBytesInFile(fmt.Sprintf("%s/%s", cc.EmpWorkSpace, f.Name()),
[]byte(default_magic_str), []byte(emp3r0r_data.OneTimeMagicBytes))
default_magic_str, emp3r0r_data.OneTimeMagicBytes)
if err != nil {
cc.CliPrintError("init_magic_str %v", err)
}
Expand Down
2 changes: 1 addition & 1 deletion core/lib/cc/buildAgent.go
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ func GenAgent() (agent_binary_path string) {
// done
CliPrintSuccess("Generated %s from %s and %s, you can run %s on arbitrary target",
outfile, stubFile, EmpConfigFile, outfile)
CliPrintDebug("Magic string is %x", sep)
CliPrintDebug("OneTimeMagicBytes is %x", emp3r0r_data.OneTimeMagicBytes)
agent_binary_path = outfile

// pack it with upx
Expand Down

0 comments on commit 2a6bbc2

Please sign in to comment.