ariary / tacos

🌮 INTERACTIVE reverse shell everywhere! (Particularly digestible with socat multi-handler listener)
MIT License
29 stars 4 forks source link

Disown the tacos process #5

Open cmprmsd opened 2 years ago

cmprmsd commented 2 years ago

In the case of execution via Rubber Ducky scripts on a client's host it would be nice to have the ability to background and disown the spawned socat binary. That way even if the window is closed, the shell will persist.

ariary commented 2 years ago

I do not see any cons ! good point

Do you have any idea on how to implement it? In fact, using setsid isn't a better idea? I am thinking of something like this https://github.com/ariary/fileless-xec/blob/main/pkg/exec/exec.go#L78 but I think it is not compatible with windows