[kwlug-disc] Binary shell scripts?
kb at 2bits.com
Fri Jan 3 14:17:34 EST 2014
Yes, there are ways to obfuscate scripts.
One of them that I am familiar with is shc
But let us first see what really this script is:
First do a:
$ which script
This will get you the full path, in case there are several.
$ file path_from_previous_step
This will print out what the loader thinks the binary is.
Let us see if it is ELF, statically linked, ..etc.
On Fri, Jan 3, 2014 at 1:49 PM, Joe Wennechuk <youcanreachmehere at hotmail.com
> I have inherited a server, and there are several backup scripts on it;
> however, when I try to look at the scripts, bash is reporting that they are
> binary files, and I can't open them?
> What am I missing here?
> kwlug-disc mailing list
> kwlug-disc at kwlug.org
Khalid M. Baheyeldin
Fast Reliable Drupal
Drupal optimization, development, customization and consulting.
Simplicity is prerequisite for reliability. -- Edsger W.Dijkstra
Simplicity is the ultimate sophistication. -- Leonardo da Vinci
For every complex problem, there is an answer that is clear, simple, and
wrong." -- H.L. Mencken
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the kwlug-disc