BlackNBlue
IS-IT--Management
Hi all,
I have some basic knowledge about UNIX admin and has been a UNIX user for a while, when it comes to scripting, I do know a little but won't say I am a pro in any sense.
I was recently asked to find out if I could edit an existing script in one of the systems severs so we can make it do slightly a bit more stuff than it is doing now. I uploaded the script via FTP and the script looks fine to me except that it seems to have lines of hex numbers at the end of every function. I am baffled by these lines of hex numbers and what they do.
I am thinking they may be checksum but I am not 100% sure, will these numbers affect the function of a script?
And if it is just rubbish, should I just delete the numbers and leave the texts as is?
I would have contact the original author of the script but unfortunately he is no longer in the company.
Below is an exampe of these hex numbers
0707010002141c000081b4009d351200004e4700000001406b42a7000006ac000000af0000106600000000000000000000001200000003install/preremove#!/sbin/sh
Cheers
BNB
I have some basic knowledge about UNIX admin and has been a UNIX user for a while, when it comes to scripting, I do know a little but won't say I am a pro in any sense.
I was recently asked to find out if I could edit an existing script in one of the systems severs so we can make it do slightly a bit more stuff than it is doing now. I uploaded the script via FTP and the script looks fine to me except that it seems to have lines of hex numbers at the end of every function. I am baffled by these lines of hex numbers and what they do.
I am thinking they may be checksum but I am not 100% sure, will these numbers affect the function of a script?
And if it is just rubbish, should I just delete the numbers and leave the texts as is?
I would have contact the original author of the script but unfortunately he is no longer in the company.
Below is an exampe of these hex numbers
0707010002141c000081b4009d351200004e4700000001406b42a7000006ac000000af0000106600000000000000000000001200000003install/preremove#!/sbin/sh
Cheers
BNB