The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Advanced & Expert Users
Google UNIX.COM


UNIX for Advanced & Expert Users Advanced UNIX and Linux questions go here. Expert-to-Expert.

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
How to unzip multiple files (encrypted) in a directory. er_ashu UNIX for Dummies Questions & Answers 2 07-03-2007 02:16 PM
executing an encrypted script ajnabi Shell Programming and Scripting 2 08-08-2006 06:35 AM
encrypted files w33man UNIX for Dummies Questions & Answers 3 03-02-2004 09:06 AM
Problem executing C files in Linux HAS High Level Programming 3 07-02-2002 02:13 AM
executing encrypted files Kawah Cheung UNIX for Dummies Questions & Answers 1 03-05-2002 02:17 PM

Closed Thread
 
Submit Tools LinkBack Thread Tools Search this Thread Display Modes
  #1  
Old 03-05-2002
Registered User
 

Join Date: Aug 2001
Location: London
Posts: 3
executing encrypted files

Hi,

Is there a way of executing encrypted files? I have encrpyted files using vi and crypt, but when I execute the encrypted file, it takes the contents literally (special characters, junk - encrpyted format).

Kind Regards,
Kawah
Forum Sponsor
  #2  
Old 03-05-2002
Registered User
 

Join Date: Feb 2002
Location: Brabant, Belgium
Posts: 65
There may be. Try the Icon Programming language at www.cs.arizona.edu/icon (Icon is C meets Perl meets ProLog meets Beta).
The reason I think it would work with Icon is that you can modify the way the program is loaded.
With a pure binary this might get rather involved, since the first part of the program would have to consist of a key prompter, a loader and dectrypter, and the application.

It is an interesting project, but you might want to be quit proficient before attempting it.

Also, what do you want to achieve?
For copy protection there already exists loads of libraries ... but for putting something together quickly and running it, I don't know.
For a shell script, you just feed the script to decrypt before executing ...

Atle
__________________
PS
All of the above is to be read as '... unless I am wrong'
ENDPS
  #3  
Old 03-06-2002
Registered User
 

Join Date: Mar 2002
Location: Hamburg
Posts: 10
Re: executing encrypted files

Try to use gzexe (compress/uncompress and run) and perhaps u will find a similar idea for crypt. Gzexe is a part of GNU Zip
  #4  
Old 03-07-2002
Registered User
 

Join Date: Aug 2001
Location: London
Posts: 3
Thanks

Thats great, I will give it a go.

Thanks agian.

Kind Regards,
KC
  #5  
Old 03-10-2002
Registered User
 

Join Date: Feb 2002
Location: Brabant, Belgium
Posts: 65
HOLD IT!!
What system are you using?
I may have told you darn lies and hogwash.
If it is FreeBSD, there is a compile option that lets you run gzipped executables - I just saw it!
If you run FreeBSD 386 (or maybe other BSDs?) check out

/usr/src/sys/conf/i386/LINT

and look for it.

Atle
__________________
PS
All of the above is to be read as '... unless I am wrong'
ENDPS
Google The UNIX and Linux Forums
Closed Thread

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes




All times are GMT -7. The time now is 09:20 AM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited.
The UNIX and Linux Forums Content Copyright ©1993-2008. All Rights Reserved.Ad Management by RedTyger Visit The Complex Event Processing Blog

Content Relevant URLs by vBSEO 3.2.0