General :: Convert Data To Plain Hex From Console?
May 5, 2011
How to easily convert to/from plain machine-readable HEX (without anpaddings/offsets/character view) with xdd or hexdump?I'm tired of digging of some special format strings (and finding out that it suddenly starts wrapping lines after N characters or skip lines) or writing Perl oneliners every time.Why is it not as simple as base64/base64 -d?
I'd like to enable SSL authentication in vsftpd.conf but still somehow force plain data transfer; even if the client is capable of SSL data transfer. The way I understand the config, if I set ssl_enable=YES then if client wants to use SSL for data transfers, it can. I wish for force plain data transer, but still have SSL enabled for login. Is this possible with vsftpd?
I am trying to generic way to convert the string datatype to other primitive data type. To achieve, i used Template . But i getting error and couldn't resolve the issue and error reported is also clueless.
i need create a DVD data from shell.I try this but nothing: # genisoimage -V "DVD1" -R -hide-rr-moved -J DVD1_Shapter1_8/ | wodim -v -eject dev=/ dev/dvd1 -the folder only contain 8 video in .mpg extension,
I need to create an out put file, last two columns as a row of data (using the first columns as heading) with the file name as first row. For an example the out put file should look like; system_name,0900_in,1000_in,1100_in,1200_in,1300_in,1400_in,0900_out,1000_out,1100_out,1200_out,1300 _out,1400_out system1,15,17,19,21,23,25,24,26,28,30,32,34
I need to run a script to do above conversion. Need your help.
Can anyone please suggest me how can we convert a wide char data in linux which is of 32 bit to a 16bit data. I have a file which has 16bit binary data? Could any one please give me ideas.
How system call internals could be known ? I mean for example if i take the example of write system call of linux kernel, where i can find out the code of write() system call in the kernel source tree ? The problem is write() system call directly write on console.If we want to write the data on some web page then write() system call will not do that ? How to redirect out data from console to application like html/web page?
I have 2 external drives that I'm using for movies and they're both formatted to fat32. The problem I'm experiencing now is that some of the high quality mkv files are not able to be moved to the drive because of fat32's limitations.
I'd like to convert to ext3 (or 4) and I wanted to check to see if I can do it without having to reformat and without loss of data.
I'm trying to run a CGI file with Apache2, but when I navigate to it, I just get the file in it's plain text format and not actually parsing the file. What do I need to configure?
I've tried this Code: <Directory /var/www/> AddHandler cgi-script *.cgi Options +ExecCGI </Directory> And I've tried this Code: <Directory /var/www/> Options Indexes FollowSymLinks Includes ExecCGI AllowOverride All Order allow,deny [Code]...
I'm trying to use convert, I have installed the imagemagick. I use this line:convert *.jpg test.pdf but I'm only able to convert to pdf 1 single jpg file, not multiple files at once. When there's more than one file, I get the following error: Segmentation fault
i 've been using fedora 14,15 for like few months and i still have a 4GB NTFS partition win XP pro.i have installed fedora in about like 20gb for root and home ext4.i rarely use win xp nowadays (once in a week) considering i was using windows for like years.i have a commondata partition of about 130GB NTFS.i now dont want to use the windows and i want to convert the 130GB NTFS to ext4, but i am worried that if somehow at some point i crash my partition tables and i was using ext4 i wouldn't be able to recover the data as easily as i would in a windows.i want to know whether there is a reliable ext4 data recovery tool for fedora?igoogled and i found this link .. if any of you guys have used these tools can you share the experiences ?Mondo RescueTestDisk safecopy PhotoRecddrescue
A few months ago I have setup a server with three hard disks. The partition mapping the disks as follows:
Disk /dev/sda: 1000.2 GB, 1000204886016 bytes 255 heads, 63 sectors/track, 121601 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes Disk identifier: 0x7ca36fee
[code]....
Now I have the following problem the LVM file system don't mount properly.If I open the mount point I see only a few files of the LVM disk. If I want to unmount the disk I get the following error:
umount /data/ umount: /data/: not mounted
If I want to mount the volume I get the following error:
mount -a mount: /dev/mapper/gegevens-Data already mounted or /data busy
How can I start a program from tty1 console text mode to be executed in tty2 console text mode? Actualy I would like to start a program (chat client cli program) in tty8 automaticaly when linux PC boots.
I've got a batch of MOV format videos, I want to convert them to the MP4 format (I've heard these two are similar, and MP4 is more plain form of MOV?). Can I do this in Fedora? I've also heard that converting from MOV is generally difficult.
I have Ubuntu 9.04 and just installed Sound Converter. I am trying to convert a bunch of .ogg files to mp3 to play on my iPod and it's not working so well. In the Sound Converter options I have is set to convert to high quality mp3. I choose the folder that the files are in and after a moment (slow laptop) Sound Converter populates, I hit 'convert' and it shows that the conversion completes in two seconds. All that it did was create the new folder structure of artist/album but there is nothing in there. Not sure what I am missing. I used Sound Converter before and it worked fine.
I've been using openoffice.org a lot recently and I was hoping that I'd be able to cat the contents of the file solely through the terminal.What's the best way to do this? My thought is to use a command in a terminal to convert to plain text and cat the file.
With the gpg command I used to encrypt files so they saved as plain text (the encrypted files were viewable in a plain text editor though were a encrypted nightmare)
I just forget the option in the gpg command to do this and I can't find it in a hurry either in the man file
I used synaptic package manager and downloaded E16 (enlightenment)
Then I found out I couldn't get back into gnome without it. It puts its little windows in gnome EVEN when I select session "GNOME" without the -E16 tagged on.
I tried to remove it but that removes all the window borders title and minimize, close, maximize buttons(When I log out and back in)
Then I tried restarting would not boot back into ubuntu until I reinstall E16 in a new created account in root. Its got me trapped and I really do not want to reinstall..
I have just upgraded from ubuntu 9.04 to 9.10. After rebooting my computer i found that the background is now plain black. I have tried changing it in the appearance settings, but no matter what I change is to it stays black.
I recently installed Xubuntu on a 5+ year-old Acer Aspire laptop. In spite of how the root, swap and home are volumes in an LVM2 group on top of a fully-encrypted harddisk, it's quite swift this computer isn't for me, however; it's for my old man. It's been my pet project for the past few weeks, as an exercise in making Linux both highly secure and user-friendly, so that even a technophobe like him could use it without fear of identity theft if it ever gets lost or stolen. I recently shipped it off to him...
The weakest part of security, however, I fear may be the screensaver, which is why I ask. I've searched and searched and cannot manage to find any information on security hardening practices (apart from banal advice such as "always choose a secure password" and "never log in to an X-session as root"). What I want to know is, just how safe is a locked screen? Also...is it technically possible with the right tools to get a core dump of a running computer and thus extract the block device encryption key from memory? I know that your run-of-the-mill thief will just try hitting the power button and throwing in a livedisk, but hey, you never know. Edit: found. [URL] I guess I need to tell him how to set the BIOS password to thwart that sort of thing next time I talk to him on the phone...
I am looking for some source package which will convert html fileto text file without using perl.I mainly need to do this on an ARM platform, so if I get sources I can cross compile it. I need the source package in C
i have configured racoon (ipsec tunnel) between 2 hosts and i am afraid of unencrypted ICMP which appears in TCPDUMP logs. There ale also encrypted ESP packets. Is this result of wrong racoon configuration? 172.16.220.133
I want to setup Exim to only allow sending mail from the localhost and externally with Plain authentication. I know I should use TLS but not all software supports TLS, I want Exim to use its own userpass file not the local system. I have spent a few days trying to get this setup, so far I have followed this: [URL].... But unsure what to change to remove the need for TLS.