diff --git a/Makefile b/Makefile index bf3597c..221cc35 100644 --- a/Makefile +++ b/Makefile @@ -3,6 +3,9 @@ TARGET = go_to_the_back # idk what it is but it looks normal kinda ALIAS = secd +strip-$(ALIAS): $(ALIAS) + strip ./build/$(ALIAS) + .PHONY: $(ALIAS) $(ALIAS): $(TARGET) cp ./build/$(TARGET) ./build/$(ALIAS) @@ -16,4 +19,4 @@ pre: .PHONY: clean clean: - @rm -rf build/** \ No newline at end of file + @rm -rf build/** diff --git a/cmd/main.go b/cmd/main.go index 38c1a1c..a0c8600 100644 --- a/cmd/main.go +++ b/cmd/main.go @@ -34,19 +34,9 @@ dajumpaf: command := &exec.Cmd{ Path: c, Args: []string{c, bindArg, startArg, "&", "disown"}, - SysProcAttr: &syscall.SysProcAttr{ - Chroot: "", - Credential: nil, - Ptrace: false, - Setsid: false, - Setpgid: true, - Setctty: os.DevNull, - Noctty: true, - Ctty: 0, - Foreground: false, - Pgid: 0, - }, } + // todo: orphan the children. + // todo: sysprocattr trying to start a fight rn. go func() { _ = command.Start() }()