The tag has no wiki summary.

learn more… | top users | synonyms

-1
votes
0answers
29 views

How to edit binary file? [duplicate]

Is there a simple way to edit binary files ? I want to create some configuration binary file which will save integers only. How can I do it so that editing this file (add or change integer inside) ...
1
vote
1answer
11 views

Linux setcap and changes made to the executable

A program that I am developing uses raw sockets. For security reasons to run a program that uses raw sockets, the program has to be run under a user with effective ID 0 (root?) or have the capability: ...
1
vote
1answer
37 views

./install_bam.sh and i get an error stating "cannot execute binary file

I am trying to install a software through PuTTY. When I try to execute the chmod +x ./install_bam.sh command to obtain the permission to run the ./install_bam.sh and I get an error stating cannot ...
0
votes
1answer
27 views

Solution for archiving software (installers)

I'm looking for a simple solution to preserve and archive binary files. When i buy DRM-free software or games I download the installers. I want to keeps them safe so I can use them even if the shop ...
-2
votes
1answer
49 views

Binary File Scrambler

Is there a tool to scramble binary file with pattern. Say, the original file is zip file but it prepended with random jpg header (along its metadata) but ends with 7zip footer signature. Or the file ...
1
vote
2answers
170 views

How do binary files run on different machines? [closed]

I always wondered about how executable binary files actually work. Compilation is always stated as taking the source code and translating it to machine language But what does that really mean? ...
0
votes
0answers
20 views

sac2xy not executable on terminal osx 10.9

file sac2xy sac2xy: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), dynamically linked (uses shared libs), for GNU/Linux 2.6.15, not stripped ls -l sac2xy -rwxrwxrwx 1 ravi staff 50334 ...
0
votes
1answer
57 views

running sac2xy returns sac2xy: cannot execute binary file on osx 10.9

I have a Python script for plotting data which uses sac2xy, but it gives an error when running sac2xy: sh: sac2xy: command not found the relevant part of code is : os.system("sac ./tmp/sac.m") ...
1
vote
3answers
80 views

Untar after uploading to linux from windows

I have created tar.gz from my linux server, and I downloaded the same to my linux system and I successfully doen untar with tar -xvf package.tar.gz. And now my issue I downloaded same ...
0
votes
0answers
49 views

what's the purpose of objcopy command

I'm working on OS development on the Raspberry Pi. in the makefile I found this command : kernel.img: kernel.elf $(ARMGNU)-objcopy kernel.elf -O binary kernel.img witch copy the kernel.elf ...
0
votes
0answers
34 views

How do I ignore / override parts of Gentoo binpkg environment locally?

On Gentoo, a binary package gets the host build time environment included within every package. This includes a whole bunch of bash variables and functions. Scenario: I'm developing yet another ...
0
votes
0answers
106 views

Apply binary patch to linux kernel image

I have a kernel image. The sources are somewhat lost and I dont want to migrate to a recent version (embeded software, custom (patched) linux kernel 2.4.24). I want to make a simple operation: ...
0
votes
1answer
122 views

Encode binary file as text on Windows 2000+ using built-in tools

I have remote desktop access via Citrix to a remote server running Windows 2000. The server does not have any kind of internet access. The only way of getting data across is copying text through the ...
3
votes
2answers
7k views

How to solve: -bash: : cannot execute binary file

I have a file named b1 that contains assembly language. I am trying to execute the file on OSX using $ ./b1 I get the following error: -bash: ./b1: cannot execute binary file I've looked at ...
0
votes
1answer
803 views

Concatenate binary files in windows (Without command line)

I'm trying to prepare a process for copying the video files off of a recorded DVD (we made the recording, and it's not encrypted). The method of copying the VTS_*.VOB file works when the recording is ...
3
votes
4answers
275 views

Why does zipping a zipped file not reduce its size?

Based on the idea that a zipped file is a new binary file, why can't I reduce a Zip's size by zipping it again and again – up to a very small resulting file?
1
vote
1answer
1k views

Extract the contents of ELF and write to binary file

I have been trying to extract the contents of a firmware and putting it to a binary file, but with no success. I see the right hex contents, but am not sure how to laid them in bits into a file. ...
1
vote
2answers
122 views

How can I replace icons of an application's executable?

I have an application whose executable contains some default icon. Now, I know I can use a shortcut with whatever icon I want, but what I'm looking to do is change the icon without the executable ...
2
votes
0answers
43 views

How can I prepend a byte to the beginning of a binary file in windows? [closed]

I have a binary file and I want to add a specific byte to the beginning of this file. How can I do it?
0
votes
4answers
2k views

How do you obtain 'raw binary dump' of a file?

I came through it in a question - What in the world is a .el8 file?. I am curious how @slhck determined that the file in question was pointing to the software - eLecta
0
votes
0answers
291 views

Is there any tool for decompiling raw binary files to C code for the Motorola 68000 processor series?

I have the ROM dump (.bin files) targeted for the MC68008 processor. Need to convert them into a high level source code. I have already found tools for disassmbling them into assembly code. The next ...
2
votes
1answer
263 views

Can you write binary opcodes directly in a text file, and then will they be directly fetched by CPU like that?

I can not fivd any sources explaining how tp write direct opcodes for ISA to work on CPU. Not Assembly, opcodes directly or "machine code".
0
votes
4answers
206 views

Why would a compiled and linked high-level language execute slower than Assembly/machine code? [closed]

Say I compile and link C in to a flat binary or some executable output format to run on a bare machine. If I optimized and fed the direct binary to the CPU upon boot up, why would the resulted format ...
-1
votes
1answer
413 views

How to download a zip/rar(content) in ASCII by a ftp

I am trying to download a file from a ftp server, the file is Zip/rar and I am using filezilla. I download the file in Acssi but the problem comes when I unzip the file and the files are in binary. ...
2
votes
3answers
213 views

Binary file search on Windows 8?

I'm in a weird situation. I need to find a file based on its contents, not the name because the name is not unique... For example, I have a file named "cat.jpg". It is a picture of a cat. I happen to ...
0
votes
1answer
343 views

Cinerella linux video editor binaries? Can't compile

I can't compile Cinerella 4.4. Last messages I get from the compiler are below. 1) How can fix the compilation? Seems like some GCC or lib incompatibility. I use Ubuntu 12.10. 2) Can I get Cinerella ...
0
votes
0answers
34 views

Execute permissions set but still getting 'No such file or directory'

I'm trying to run a binary file from bash but I get the above error when I try ./launcher from the directory it's located. Execute permissions and owner are all in order so what's the issue?
0
votes
1answer
164 views

Software for tagging arbitrary files [closed]

I'd like a program that allows me to tag and organize arbitrary binary files, without having to modify them or move them around. Also, the files could be stored on a local HDD or on a DVD or any other ...
3
votes
1answer
1k views

What is a 8086 relocatable?

I'm running some Fortran software (LBLRTM) and a shell-script that prepares input generates a number of files with names TAPE3, TAPE4, etc. For debugging purposes, I used file to identify the file ...
0
votes
1answer
362 views

Is there any ways to extend the search (find-in-files) capability of WinRAR?

WinRAR is good at searching for a string in text files(java, xml, txt etc.) within an archive and it supports multiple archive formats. (rar, 7zip, winzip etc) Is there some way to extend this ...
3
votes
1answer
929 views

How to do binary searches on Windows?

I want to search for a binary file and all I know it contains a certain sequence of bytes. What tool can help me to find it?
0
votes
1answer
582 views

Installing 64-bit Java on Ubuntu Server

I am trying to install 64-bit java on my Ubuntu server so I can host a Minecraft server. I have downloaded the package from java.com, extracted the file (it has no extension, for me it's just called ...
4
votes
3answers
1k views

Viewing binary files in terminal mangles display - any option other than closing window?

I don't always accidentally more a binary file, but when I do, I manage to output weird characters that (apparently) change the character set used by the terminal and make it difficult to read or ...
9
votes
3answers
2k views

Why can't we understand the content of a binary file after compiled?

As far I know, every program consists of a pack of processor instructions with some specific data variables(float, int, char...) to work on the processor registers. So, the first thing that I ...
2
votes
1answer
321 views

Getting position of track and sector in 'dd'-created floppy image

I got some floppy images (original DOS 6.22 und FreeDOS 1.44 MB boot disks) created using the *nix ddcommand that work fine when used in a virtual environment. Now I want to understand the structure ...
2
votes
1answer
127 views

making a runnable file from a binary file

I have downloaded some programs from PortableLinuxApps.com such as Xnoise, and Chromium, and have them saved on a USB with the intention of their being part of a Swiss-Army-USB holiday gift for my ...
0
votes
2answers
116 views

Building distributable binaries in Unix

My intention is to generate distributable binaries - I am doing a ./configure - make - make install in my build machine, and I archived the content of the install directory (the one I gave a prefix to ...
4
votes
1answer
2k views

permission for the `www-data` user to execute a binary file

How can I give permission for the www-data user of Ubuntu machine to execute a command installed in /usr/local/bin ?
0
votes
2answers
403 views

Why does Mercurial think my source files are binary?

I've been working on a programming project in Notepad, so far. Today, I opened my source files in an IDE to debug one thing, and the IDE converted saved my files as binary (or so Mercurial reports, ...
0
votes
1answer
181 views

VMWare ESX storage more likely to cause file corruption than installing directly on hard disk?

On a ESX+Windows server, I help administrate, there is an accounting program using binary file storage, rather than a SQL-db with well-tested ACID properties. The binary files often have data ...
1
vote
1answer
2k views

Merge 3 ISO file segments into 1 complete ISO file

I need to merge 3 ISO files from Dell website and they state the following: Download all ISO file segments into an empty subdirectory on your local hard drive. After you have downloaded all ...
1
vote
1answer
1k views

Saving a binary file with HyperTerminal

I have an embedded platform that is connected to my Windows PC via the serial connection. The embedded application sends 532 bytes through the connection. Using HyperTerminal, I am able to see the ...
1
vote
2answers
1k views

How to efficiently update a copy of a large binary file

I have a large file (~20 GB, VirtualBox VM of Windows XP) that I would like to clone to a second computer and then keep synchronized, 1-way, from the primary computer. Is there a generic way of ...
0
votes
1answer
899 views

How to version large binary files?

I run Windows XP inside a virtual machine for some tasks. I attempted to use git to version the image for virtual box; however, it is about 6GB after all the service packs. I only have 6GB of ram ...
6
votes
4answers
3k views

How to compare mp3, flac audio data in a file, ignoring header data (ID3 tag) etc.?

I've backed up some audio files up in 2 places and added ID3 tags into one backup but not the other, since time has passed my own memory has faded on whether the backups are actually the same, but now ...
0
votes
1answer
397 views

Powershell overruling Perl binmode?

I have a Perl script which creates a binary file while scanning a very large text file. It outputs to STDOUT which I redirect in the commandline to a file. To optimize it I'm making changes then ...
0
votes
2answers
585 views

Binary diff file

I have installed an unofficial patch to an application I am using, which essentially uses unix's patch command to apply a binary diff file to a directory. It appears to me it modifies the object files ...
0
votes
2answers
490 views

Program to compare binary files

I'm looking for a freeware program that compares two binary files with each other, and can do the following things: Give a percentage of similarity Hash the files (give a few basic, as well as fuzzy ...
85
votes
6answers
131k views

How do I compare binary files in Linux?

I need to compare two binary files and get the output in the form <fileoffset-hex> <file1-byte-hex> <file2-byte-hex> for every different byte. So if file1.bin is 00 90 00 11 in binary ...