I am able to embed text data into wav audio file using StegHide
steghide embed -cf filename.wav -ef filename.txt
and for extracting:
steghide extract -sf filename.wav
but with this I am only able to hide my text document into an audio file, I need something else: ho tide the text itself (not the text document) in wav audio file using Hex Editor.
Any suggestions?
Related
I have a pcap file : a.pcap which contains udp packets.
I can save this a.pcap to text file (.txt) with wireshark GUI. (File -> Save as -> k12 text file).
How can I do the same thing with tshark from command line. I want exactly the same output file as (File -> Save as -> k12 text file).
I have tried commands like:
tshark -T pdml -r 1.pcap -T fields -e data > a.xml
This will result in writing udp payload to a.xml.Not the exact thing I need.
I can save this a.pcap to text file (.txt) with wireshark GUI. (File -> Save as -> k12 text file).
"Text file" covers a number of text file formats, such as:
a file showing the packet summaries as text (the topmost pane of Wireshark, by default);
a file showing the packet details of each packet as text (showing, for each packet, the default middle pane of Wireshark);
a file showing hex dumps of the packet data (showing, for each packet, the default bottommost pane of Wireshark);
a combination of two of those, or of all three of those;
a CSV file of columns from the packet summaries;
a CSV file of particular fields from the packet;
a PSML file showing, as XML, the components of the packet summaries;
a PDML file showing, as XML, the components of the details of each packet;
a JSON file showing the details of each packet;
a C source file showing the raw hex data of the packets, with each packet being in a separate C array of byte values;
a text packet capture format.
So there's no such thing as "the" text format to save a pcap file as; there are a bunch of choices.
"K12 text format" is a text packet capture format; it's what some Tektronix equipment can write out - in that sense, it's similar to writing out the raw hex data, plus some metadata. However, from a user-interface sense, it's more like "Save As..." in Wireshark, because it's a capture file format.
The way you do that is with
tshark -F {output file format} -r {input file} -w {output file}
so, if you want to read the pcap file and write it out as a "K12 text format" file, you can do it with
tshark -F k12text -r a.pcap -w a.txt
You can also do this with editcap:
editcap -F k12text a.pcap a.txt
I am generating a logfile on one of my servers.
Storing alot of data, then sending it to my mail once a month as a pdf file.
The prosess i am using is to 'cat' alot of commands to a text file, then convert it and send.
Is there any linux programs or some eazy way to do something simulare and add a image i have stored on the server in the pdf file?
This answer assumes that you just want to put the image at the end of the PDF.
You could first convert the image using imagemagick to a PDF doing this (will also work with different file types):
convert image.jpg image.pdf
Then, you can use a tool like stapler or pdftk to combine your generated text PDF and the image.pdf (you can add multiple images):
stapler cat text.pdf image.pdf combined.pdf
pdftk text.pdf image.pdf output combined.pdf
I have downloaded many video files and it should be converted to text files. Can anybody please help me out to convert a video file into a text? This is very important for my project.. Please suggest the answers soon as possible..
Thanks in advance
Generally i recommend convert file to Base64. On linux You can use base64 command line tool to convert binary file to text representation.
base64 file.avi > file.txt
To decode from text file:
base64 -d file.txt > file.avi
If it's a youtube video then you can just go to more next to save and click open transcript. I found it pretty easy. Then you can copy and paste it into a text file.
I'm searching an easy way to have a file embedded in a jpeg. I'm not trying to hide anything inside but I want to have a the additional information as jpeg "built-in", so I don't need to encrypt anything. I found the EXIF interface but there isn't a tag "additional file", I can add only some metadata like date and so on.
The easiest way would be to just create an archive (e.g. a 7z file) and append the archive file to the end of the jpeg using copy
copy /b image.jpg + data.7z image_with_data.jpg
Alternatively you could embed the information as IPTC data
See
How to Embed in JPEG
Hide files inside of JPEG images
I see here http://en.wikipedia.org/wiki/MP3 that MP3 file consists of MP3 headers interchanged with MP3 data. MP3 header consist of few bytes.
But here is my MP3 file dump with ID3 tag cut. Header is highlighted with blue.
You can see that "LAME3.96" text is highlighted with green. What does it does there? Is this a part of MP3 elementary stream? Or this is the part of some headers I didn't tag?
LAME is an MP3 encoder, which is a program that takes an uncompressed audio source and outputs a compressed MP3. That piece of text there just indicates that the file was compressed using the LAME encoder. According to the LAME SourceForge page, the latest version is 3.99, pretty close to what you got inserted into the header of that file.
So don't worry, nobody tried to insult your MP3 file! :P