hi
please can anyone help me in decoding shell commands.
i need a way to decode the encrypted shell commands.
give us such a case.paste some thing here from your code r what ever.
u can see the encrypted form by usin following code
cd /bin
more who or
more any_command_name
/bin/more is not a shell script, nor is it likely encrypted. It's in a binary format. You can check the format of a file with the "file" command. For example, on one of my systems:
# file /bin/more
/bin/more: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), for GNU/Linux 2.2.5, dynamically linked (uses shared libs), stripped
# file /root/tmp.sh
/root/tmp.sh: Bourne-Again shell script text
The /root/tmp.sh file is a shell script that I can view.
They are not encrypted. they are object files.
if u r interested do this
cd /bin
strings command | more
can have fun as if u have decoded.
Can you please tell , what you exactly mean by encrypted shell command.
Do you mean that the shell script file is encryted ???
if the files in /bin are in binary. is it possible to read them in understable format.
what i want to do is, that i want to read the code in which shell commands are written i.e. when i write command then which code is called on by shell to execute the command.
Regards
I dont think u will be able to see the code for commands like ls or comm etc but surely u can change a binary/octal file to readable file usings commands like od etc....
Thanks mam.