My ubuntu got hacked, and I want to use my /home and /etc if possible.
(assuming there's no executable file I need to run there)
Would it be a bad idea to do copy those folders from the hacked machine to new system?
(ie, is it ok to copy not executable files over?)
edit
I don't know much about how my system got hacked but the little I know is described here.
Why is elasticsearch user running SSHD?