Sponsored Content
Top Forums UNIX for Dummies Questions & Answers How to Unmask/Decrypt an XML file? Post 302879603 by Corona688 on Friday 13th of December 2013 10:25:16 AM
Old 12-13-2013
It must be finding the wrong 'provider' label.
Code:
tr -d '\000' < inputfile.xml | awk -v RS="<" -F'"' '/[pP][rR][oO][vV][iI][dD][eE][rR]=/ {for(i=1;i++<=NF;)if($i~[pP][rR][oO][vV][iI][dD][eE][rR]) print $(i+1) }'

 

10 More Discussions You Might Find Interesting

1. Solaris

Decrypt Des file - then encrypt

Help.. I need to decrypt a file that was encrypted using DES 56 Bit. I have the encryption key and the block size used but no idea what utility to use.. I then need to encrypt the file using pgp and another key I have.. againt I dont know what utility to use. I am running solaris 9 .... ... (0 Replies)
Discussion started by: frustrated1
0 Replies

2. Shell Programming and Scripting

How to encrypt and decrypt a file

How to encrypt and decrypt a file using unix Command? Can any one help me? (2 Replies)
Discussion started by: laknar
2 Replies

3. UNIX for Dummies Questions & Answers

Unmask

Hi All, I'm a newbie to UNIX I'm learning AIX 5l Basics I'm unable to execute UNMASK command as mentioned. Could any one help me. (6 Replies)
Discussion started by: udayakumar
6 Replies

4. UNIX for Advanced & Expert Users

Decrypt a GPG file through shell script

Hi, I'm trying to decrypt a gpg file thorugh a shell script. But i' could'nt. My script is , -sh-3.1$ cat test_gpg.sh #!/bin/ksh echo " Hello, iam testing GPG" gpg prabhu.txt.gpg <<EOF prompt prabhu EOF exit 0 The file i'm trying to decrypt is prabhu.txt.gpg and my passphrase is... (1 Reply)
Discussion started by: apsprabhu
1 Replies

5. Shell Programming and Scripting

decrypt the file

Hello all I am getting a encrypted file (.pgp) and a key which i have to use to decrypt that file. I couldn't understand where to put the key on my unix box so that decryption happens. Please reply. (2 Replies)
Discussion started by: vasuarjula
2 Replies

6. Shell Programming and Scripting

Need to decrypt a file in a directory (SHL script)

I need to decrypt a file in a directory, I need to write a shl scrip & cron job How I find the files in the directory: the file is like this: dailypayments_sfs_payment_201011151800.dat -d The decrypt command: gpg -o dailypayments_sfs_payment_201011151800.dat -d 20101115 (the date... (7 Replies)
Discussion started by: rechever
7 Replies

7. UNIX for Dummies Questions & Answers

How to decrypt any file in UNIX?

How to decrypt a file in unix? I dont know the type of decryption nor the type of text data it contains. We extracted the file from sfdc & need to process it in unix. When extracted, we get encrypted data in the file. The file content is- ... (0 Replies)
Discussion started by: saga20
0 Replies

8. UNIX for Advanced & Expert Users

How to decrypt a file in UNIX?

I have a file which contains encrypted data. Can anyone tell me how to decrypt the file? (14 Replies)
Discussion started by: saga20
14 Replies

9. Shell Programming and Scripting

How to Change group and Unmask it to 027 in Linux?

I want to propose a change to the run script environment. This would change the effective group of the wsadmin account to prodview with a umask of 027 before running our services. In linux this can be accomplished by the following #!/bin/ksh # # Original shell # newgrp prodview <<... (1 Reply)
Discussion started by: sindhu puja
1 Replies

10. UNIX for Beginners Questions & Answers

Encrypt and Decrypt a File with Password

Hello, I have few files on unix which are payroll related and I need them to encrypt with password so others wouldn't see the data. I use ETL tool and would like to know the unix command that does encryption/decryption to use in the ETL. Thank you, Sri (3 Replies)
Discussion started by: eskay
3 Replies
ticlts(7D)							      Devices								ticlts(7D)

NAME
ticlts, ticots, ticotsord - loopback transport providers SYNOPSIS
#include <sys/ticlts.h> #include <sys/ticots.h> #include <sys/ticotsord.h> DESCRIPTION
The devices known as ticlts, ticots, and ticotsord are ``loopback transport providers,'' that is, stand-alone networks at the transport level. Loopback transport providers are transport providers in every sense except one: only one host (the local machine) is ``connected to'' a loopback network. Loopback transports present a TPI (STREAMS-level) interface to application processes and are intended to be accessed via the TLI (application-level) interface. They are implemented as clone devices and support address spaces consisting of ``flex- addresses,'' that is, arbitrary sequences of octets of length > 0, represented by a netbuf structure. ticlts is a datagram-mode transport provider. It offers (connectionless) service of type T_CLTS. Its default address size is TCL_DEFAULTAD- DRSZ. ticlts prints the following error messages (see t_rcvuderr(3NSL)): TCL_BADADDR bad address specification TCL_BADOPT bad option specification TCL_NOPEER bound TCL_PEERBADSTATE peer in wrong state ticots is a virtual circuit-mode transport provider. It offers (connection-oriented) service of type T_COTS. Its default address size is TCO_DEFAULTADDRSZ. ticots prints the following disconnect messages (see t_rcvdis(3NSL)): TCO_NOPEER no listener on destination address TCO_PEERNOROOMONQ peer has no room on connect queue TCO_PEERBADSTATE peer in wrong state TCO_PEERINITIATED peer-initiated disconnect TCO_PROVIDERINITIATED provider-initiated disconnect ticotsord is a virtual circuit-mode transport provider, offering service of type T_COTS_ORD (connection-oriented service with orderly release). Its default address size is TCOO_DEFAULTADDRSZ. ticotsord prints the following disconnect messages (see t_rcvdis(3NSL)): TCOO_NOPEER no listener on destination address TCOO_PEERNOROOMONQ peer has no room on connect queue TCOO_PEERBADSTATE peer in wrong state TCOO_PEERINITIATED provider-initiated disconnect TCOO_PROVIDERINITIATED peer-initiated disconnect USAGE
Loopback transports support a local IPC mechanism through the TLI interface. Applications implemented in a transport provider-independent manner on a client-server model using this IPC are transparently transportable to networked environments. Transport provider-independent applications must not include the headers listed in the synopsis section above. In particular, the options are (like all transport provider options) provider dependent. ticlts and ticots support the same service types (T_CLTS and T_COTS) supported by the OSI transport-level model. ticotsord supports the same service type (T_COTSORD) supported by the TCP/IP model. FILES
/dev/ticlts /dev/ticots /dev/ticotsord SEE ALSO
t_rcvdis(3NSL), t_rcvuderr(3NSL) SunOS 5.10 3 Jul 1990 ticlts(7D)
All times are GMT -4. The time now is 02:23 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy