Sponsored Content
Full Discussion: encrypt my sctipt
Top Forums Shell Programming and Scripting encrypt my sctipt Post 302161263 by readycpbala on Thursday 24th of January 2008 05:27:24 AM
Old 01-24-2008
encrypt my sctipt

Hai ,
is there any encrypt machanishm to protect my script or logic?
 

10 More Discussions You Might Find Interesting

1. Programming

Help with encrypt function

Hi there, I need to include a simple encryption function in a C program and I came across this function void encrypt(char block, int edflag) whic is defined in #include des_crypt.h. According the man "the block argument to encrypt() is a character array of length 64 containing only the... (1 Reply)
Discussion started by: giggi
1 Replies

2. Shell Programming and Scripting

Tr utility to Encrypt

I need some help.. I would like to make a script that uses the tr utility to "encrypt" a selected file. I need to know how to set up the script so that if i type encrypt(script name) the letter that i want to start the encryption and then the file name, that it starts with the entered letter, and... (1 Reply)
Discussion started by: frankthetank115
1 Replies

3. Shell Programming and Scripting

How to encrypt a script file

Dear all, I want to encrypt my script file so that other persons cannot change or view the script.How to do this ? Thanks, Nayanajith. (2 Replies)
Discussion started by: Nayanajith
2 Replies

4. Solaris

encrypt file

dear all i have xml file on solaris contains password for the databse how can i encrypt the password but the apache can read the password after encrypt it or if any one have any idea to make no one can read the password except apache (1 Reply)
Discussion started by: murad.jaber
1 Replies

5. Shell Programming and Scripting

need encrypt form

Hi, i need to encrypt and decrypt of a string. pls provide me some syntax or any method available using shell script. i know one method i.e., perl -e 'print pack "H*","message"' so if perl command doesnt work then what is the other method to encrypt and decrypt. Thanks in advance. (0 Replies)
Discussion started by: syamkp
0 Replies

6. Shell Programming and Scripting

How to Encrypt password

Hello, I have a paramter file, In which I store all the user-ids and passwords for the project. So if a user just invokes the paramter file he has access to all the variables, which i have exported in the parmatere file. Now if a user echo's the variable which stores the databse password.... (1 Reply)
Discussion started by: DSDexter
1 Replies

7. Shell Programming and Scripting

Need help with file encrypt

Hi I need to encrypt the below file using the translate command to shift each letter five characters to the end of the character set. ALPHABETICAL FACTS. THE FIRST THREE LETTERS ARE ABC. THE MEDIAN LETTERS ARE MN. THE LAST THREE LETTERS ARE XYZ. THE FIRST WORD IN MY DISCTIONARY IS AAL. THE... (1 Reply)
Discussion started by: drew211
1 Replies

8. Shell Programming and Scripting

Encrypt and Decrypt

I have script for all oracle prod db. I have hard coded the username / password. I need a mechanism to encode and decode the username / password in a shell script. Another challenge is I use the username and password in a Select command for oracle DB. How can call the decrypted... (2 Replies)
Discussion started by: ilugopal
2 Replies

9. Shell Programming and Scripting

Encrypt php lines

there are some lines of php code like a copyright that i want to encrypt so people can't search for it and then remove it how can i encrypt the code so it just looks like numbers and letters and not in readable format? thanks :) (11 Replies)
Discussion started by: vanessafan99
11 Replies

10. Shell Programming and Scripting

Encrypt script

Hi, I have to encrypt my ash scripts on a distribution of linux with Armv5tejl Buildroot , I tried a lot of solutions but none works . Someone can help me? Thanks, Nicola (7 Replies)
Discussion started by: n.rito
7 Replies
TRACEANON(1)							   User Commands						      TRACEANON(1)

NAME
traceanon - anonymise ip addresses of traces SYNOPSIS
traceanon [ -s | --encrypt-source ] [ -d | --encrypt-dest ] [ -p prefix | --prefix=prefix ] [ -c key | --cryptopan=key ] [ -f key-file | --keyfile=file ] [ -z level | --compress-level=level ] [ -Z method | --compress-type=method ] sourceuri desturi DESCRPTION
traceanon anonymises a trace by replacing IP addresses found in the IP header, and any embedded packets inside an ICMP packet. It also fixes the checksums inside TCP and UDP headers. Two anonymisation schemes are supported, the first replaces a prefix with another prefix. This can be used for instance to replace a /16 with the equivilent prefix from RFC1918. The other scheme is cryptopan which is a prefix preserving encryption scheme based on AES. -s --encrypt-source encrypt only source ip addresses. -d --encrypt-dest encrypt only destination ip addresses. -p --prefix=prefix substitute the high bits of the IP addresses with the provided prefix. -c --cryptopan=key encrypt the IP addresses using the prefix-preserving cryptopan method using the key "key". The key can be up to 32 bytes long, and will be padded with NULL characters. -f --keyfile=file encrypt the IP addresses using the prefix-preserving cryptopan method using the key specified in the file "file". The key must be 32 bytes long. A suitable method of generating a key is by using the command dd to read from /dev/urandom. -z --compress-level=level compress the output trace using a compression level of "level". Compression level can range from 0 (no compression) through to 9. Higher compression levels require more CPU to compress data. Defaults to no compression. -Z --compress-type=method compress the output trace using the compression algorithm "method". Possible algorithms are "gzip", "bzip2", "lzo" and "none". Default is "none". EXAMPLES
traceanon --cryptopan="fish go moo, oh yes they do" --encrypt-source --encrypt-dest --compress-level=1 --compress-type=gzip erf:/traces/unenc.gz erf:/traces/enc.gz BUGS
This software should support encrypting based on the direction/interface flag. IP addresses inside ARP's are not encrypted. LINKS
More details about traceanon (and libtrace) can be found at http://www.wand.net.nz/trac/libtrace/wiki/UserDocumentation SEE ALSO
libtrace(3), tracemerge(1), tracefilter(1), traceconvert(1), tracestats(1), tracesummary(1), tracertstats(1), tracesplit(1), traces- plit_dir(1), tracereport(1), tracepktdump(1), tracediff(1), tracereplay(1), traceends(1), tracetopends(1) AUTHORS
Perry Lorier <perry@cs.waikato.ac.nz> traceanon (libtrace) October 2005 TRACEANON(1)
All times are GMT -4. The time now is 04:53 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy