I have extracted a raw data file from a magnetic tape using the dd command
Afterwards, I managed to read the extracted data with Bless HexEditor and I found out that at offset 0x200000 there is a sequence of value which originally was stored in a table.
I would like to extract this data and import it in an Excel or CSV file, but above all I would like to understand the data encryption.
This is an example of the data extracted in hexadecimal format and its representation in unsigned int little endian:
Can you understand starting from this piece of converted data how the raw file is encoded and how I can create a bash script to decode it??
Thanks
Moderator's Comments:
Please use code tags next time for your code and data. Thanks
Last edited by NICEPeppino; 07-30-2014 at 08:03 AM..
Hi, (HP-UX 11.11)
I need to create a tape image of an igniteUX image created on our igniteUX server.
That is to say. I have a "Online" image of the igniteUX of the targeted system but I now need to copy it to a useable TAPE (igniteUX) image so i can build an other server from it that is not... (3 Replies)
Hi, I'm using putty and when I try to write ü it writes | (or when I try to write é , it writes i)
I tried to change settings/translation of putty but with no success
I have KSH
# locale
LANG=
LC_CTYPE="C"
LC_NUMERIC="C"
LC_TIME="C"
LC_COLLATE="C"
LC_MONETARY="C"
LC_MESSAGES="C"... (3 Replies)
Hi All,
I want to do URL encoding using shell script in my project. I decided that the sed is the correct tool to do this. But I am unable achieve what I wanted using sed. kindly help me to get rid of this.
My requirement is , there will be one URL with all special character, spaces etc...
... (8 Replies)
hi folks ,
I have a shell script which contain SQL query that dump some data from the DB in arabic and this data is written to a file in unix machine but the problem that the arabic data is appear like ??????????|111|???????? even when I move it to my windows XP machine.
Any one have an Idea... (2 Replies)
Hi experts,
I have a gz file from other system(solaris), which is ftped to our system(solaris).
After gunzip, the file is a xml file and we are using ORACLE built in xml transformiing tool ORAXSL to transform XML to TXT.
Now the issue is we come accross issue regarding UTF8 as below:... (1 Reply)
Hi,
I am beginner to Unix.
My requirement is to validate the encoding used in the incoming file(csv,txt).If it is encoded with UTF-8 format,then the file should remain as such otherwise i need to chnage the encoding to UTF-8.
Please advice me how to proceed on this. (7 Replies)
Hi All,
Hope you can help me with the below :).
I'm working on a script on SUN solaris and I'm facing a problem with the number encoding as shown below,
1 is encoded to 31 (this is ASCII so it's ok)
11 is encoded as B118 !!! don't know why
111 is encoded as B1580C !!! don't know why ... (4 Replies)
Hi, I have two sets of image files. Both sets have names A to Z but set 1 ends with .cdt.png and set 2 ends with .matrix.png. I want set 1 to match with set 2 if the names match (i.e. A.cdt.png will match with A.matrix.png) and with the convert image tool (program for images), it will merge the... (6 Replies)
Hi all!!
I´m using command file -i myfile.xml to validate XML file encoding, but it is just saying regular file . I´m expecting / looking an output as UTF8 or ANSI / ASCII
Is there command to display the files encoding?
Thank you! (2 Replies)
Discussion started by: mrreds
2 Replies
LEARN ABOUT SUNOS
wanboot_keymgmt
wanboot_keymgmt(1M) System Administration Commands wanboot_keymgmt(1M)NAME
wanboot_keymgmt - insert and extract keys
SYNOPSIS
/usr/lib/inet/wanboot/keymgmt -i -k key_file -s keystore -o type=keytype
/usr/lib/inet/wanboot/keymgmt -x -f outfile -s keystore -o type=keytype
DESCRIPTION
The keymgmt utility has two purposes:
o To take a raw key, stored in key_file, and insert it in the repository specified by keystore.
o To extract a key of a specified type from the repository specified by keystore, depositing it in outfile.
outfile will be created if it does not already exist. The type of key being added or extracted is specified by keytype and may have one of
four values: 3des, aes, rsa, or sha1 (the last used by HMAC SHA-1). When extracting a key, the first key with an OID matching the supplied
type is used.
ARGUMENTS
The following arguments are supported:
-i
Used in conjunction with -k to insert a raw key in keystore.
-f outfile
Used to specify a file to receive an extracted key.
-k key_file
Used in conjunction with -i to specify the file in which a raw key is stored. This key will be inserted in keystore.
-o type=keytype
Specifies the type of key being inserted or extracted. Must be one of 3des, aes, rsa, or sha1.
-s keystore
Specifies a repository in which a key will be inserted or from which a key will be extracted.
-x
Used in conjunction with -f to extract a key of a specified type and deposit it in outfile.
EXIT STATUS
0
Successful operation.
>0
An error occurred.
ATTRIBUTES
See attributes(5) for descriptions of the following attributes:
+-----------------------------+-----------------------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+-----------------------------+-----------------------------+
|Availability |SUNWwbsup |
+-----------------------------+-----------------------------+
|Interface Stability |Obsolete |
+-----------------------------+-----------------------------+
SEE ALSO attributes(5)
ITU-T Recommendation X.208
SunOS 5.10 18 Apr 2003 wanboot_keymgmt(1M)