Hi,
I have installed a Perl CGI script for my client and it is working fine.
I want to modify one of the Perl scripts ('[login to view URL]') as I have some additional functionality that I wish to add - I am unable to do so as the majority of the file is not normal readable perl code, instead, it is using some sort of crude mechanism to make the file unreadable.
I know that it is using ASCII character equivalents eg. chr(97) as well as the PACK function.
The file in question ('[login to view URL]') is not supported by the developer so I can get no help there.
I want somebody to:
1) Convert the file back to normal readable Perl.
2) Clearly explain and/or provide the mechanism used to convert the file back to normal readable Perl so that I can do the same for future program upgrades.
This should be a fairly simple task for someone who is an experienced Perl programmer...in terms of deciphering the code, in '[login to view URL]' (which is attached), there are simply two environment variables being set and then an 'eval' function is being called to act on the results of those variables.
I have purposely not included the '[login to view URL]' (which the '[login to view URL]' script looks for) for obvious reasons.
## Deliverables
1) Convert the file back to normal readable Perl.
(Note: The file must still function normally when coverted back to normal readable Perl - I have included the '[login to view URL]' file here so it can be examined now)
2) Clearly explain and/or provide the mechanism used to convert the file back to normal readable Perl so that I can do the same for future program upgrades.
## Platform
linux