Results 1 to 1 of 1
I need help with a bash script to edit a txt file the txt file has an hex string on one column but only some of time other times it ...
- 04-06-2009 #1Just Joined!
- Join Date
- Mar 2009
- Posts
- 11
Covert one column from hex to ansii in txt file.
I need help with a bash script to edit a txt file the txt file has an hex string on one column but only some of time other times it has a 3 letter word if it does contain a hex string the hex string is in this format.
47455420687474703A2F2F7777772E35796F
Any suggestions on how get it out of the file and to covert it to ansii
I am all ready rearranging the columns with awk so the file is already beeing rewritten line by line if that helps with any suggestions
The txt file looks like this
Stuff,stuff,stuff,stuff,SYN
Stuff,stuff,stuff,stuff,ACK
Stuff,stuff,stuff,stuff,47455420687474703A2F2F7777 772E35796F75636E2E636F6D2F70726F7879742E7068702048 5454502F312E300D0A4163636570743A202A2F2A0D0A416363 6570742D4C616E67756167653A20656E2D75730D0A55736572 2D4167656E743A204D6F7A696C6C6
Stuff,stuff,stuff,stuff,ACK


Reply With Quote