View Single Post
Old 10-15-2012, 10:13 AM   #133
knc1
Going Viral
knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.
 
knc1's Avatar
 
Posts: 17,212
Karma: 18210809
Join Date: Feb 2012
Location: Central Texas
Device: No K1, PW2, KV, KOA
Those new logs should be fun to read, once you have them.
Maybe tar-gz them all up as an attachment?

Quote:
Originally Posted by twobob View Post
okay so reading the code...

filesystem is not noexec
It should be, but don't tell lab126 that.
They have made this obscure enough as it is.

Code:
cp -arf /opt/var/local/. /var/local/.
And there we have another 'hook' into their scripting - - -
They are copying a "skeleton" of what /var/local should contain.

We can take advantage of that now - -
Make all changes that you want in the skeleton (/opt/var/local) and then let the brain-dead lab126 scripting copy it into the system for you the next time it finds /var/local unmountable.

- - - -

For the future - -
We can do a lot of interesting things with that "blind copy" command.

Last edited by knc1; 10-15-2012 at 10:16 AM.
knc1 is offline   Reply With Quote