Questions tagged [binary-files]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0
votes
0answers
21 views

How can I properly open this DRM file?

I have a DRM file and according to the analysis performed by a website, "It's a binary data file, that's all we have found out. The file format could not be recognized." What does this mean? ...
0
votes
2answers
56 views

How to burn a boot loader onto a USB drive (boot-loader as a .bin)

I have created a very small boot loader in assembly and am wanting to test it on my physical hardware and so I am using a USB drive to do this. I have converted the assembly to machine code and to a ....
-3
votes
1answer
37 views

Is there windows a utility that can write/read/create and manage image files like IMG, ISO, etc? [closed]

I am wondering if there is a utility for windows that can write/read/create and manage image files? E.G. Trying to write a custom bootsector for a floppy img file Thanks in advance! EDIT: PowerISO is ...
0
votes
1answer
21 views

Why client need a new build instead of just download the released executable

The question is just a sentence, why the github projects would always like to come with the build instructions instead of just leaving the download link/instruction? I personally think that it ...
1
vote
1answer
217 views

`grep -z -a -b -P --only-matching 'LUKS\xba\xbe'` doesn't match `LUKS\xba\xbe…`

I don't understand (based on https://ubuntuforums.org/showthread.php?t=1643334): % grep -a -b -P --only-matching 'LUKS\xba\xbe' /dev/sde ### does not match % echo -e 'LUKS\xba\xbe...' | grep -a -b -P ...
0
votes
2answers
63 views

Remove null bytes from file

How to remove leading null bytes in a binary file on Win CMD? This file could be the result of file splitting or truncation where null bytes were indicators of file boundaries in the (larger) parent ...
0
votes
0answers
128 views

Can I convert my octet-stream / text file to a jpeg?

I got a file with MIME type application/octet-stream, off the browser cache. I have a strong feeling it's a jpeg file that I want to open. First few files of the file: ÿØÿà �JFIF������ÿÛ�„� ...
0
votes
0answers
22 views

How to open .bin SQL file

I'm stuck and not sure if somebody had similar issue. I have an old database stored as .bin files. It relates back to 2012. I can see an xml catalogue file which indicates to me that it is sql data ...
0
votes
0answers
23 views

How open binary file

I have a file called AndroidManifest.xml I'm studying about injecting the payload manually, and for that I need to open the file to look for another file, only when I open the characters it looks like ...
0
votes
1answer
110 views

Extract files from disk raw image

I have two raw images of some old IDE HDD (one made without of any data correction and second made with). Trying to mount the images to the system by various methods do not work properly. I use ...
0
votes
0answers
266 views

How to install a bin file on virtual box?

I downloaded a .bin image of Cloudready OS and want to install it on VirtualBox. How do I do it? Apparantely VB doesn't take bin files. Is there any way or do I need to convert bin to iso?
-2
votes
1answer
336 views

How can i convert a .bin (binary) to a .json (json) file with linux?

I don't know how to convert a binary file back to a .json file. I have been searching for a while now and could not find a single answer, well, i did but none of which worked. Can this be done in ...
0
votes
1answer
38 views

How to chain command arguments to a specific command binary

I have general question about chaining commands to one specific binary in bash shell, with examples from Magento (use case) In Magento you commonly want to chain many commands together - they take ...
1
vote
0answers
54 views

How can I interactively diff large binary files?

I'm trying to compare hex-dumps of some 500GB disk images. I can easily view parts of the files by piping hd into less. I'd like something similar to interactively diff them without having to read the ...
1
vote
0answers
255 views

Clarification on FTP - ASCII vs. binary transfer mode after having corrupted files

Recently I wasted almost two hours before realizing that the file upload with Filezilla corrupted the files (e.g. adding unwanted spaces or special UTF-8 characters being corrupted) after downloading ...
0
votes
0answers
181 views

WinMerge Binary Difference

So I'm trying to manually RAID all of my important data obtained through life, and have just discovered the joys of WinMerge to compare & identify differences between files & directories. ...
0
votes
0answers
15 views

Combine diff between binary files a.tar and b.tar, to a.tar on different machine to create b.tar

I have two binary files, yesterday.tar and today.tar on a machine-A. The two files should be pretty similar (I did hexdiff, and they look very similar). I have another machine (machine-B) with "...
1
vote
2answers
259 views

How to get the install path of ImageMagick using Chocolately on GitHub Actions/CI?

So I have this error: Getting "Invalid Parameter - -fuzz" on ImageMagick convert command on Windows 10, because ImageMagick isn't in the PATH properly on Windows. The problem now is, how do ...
0
votes
1answer
37 views

How are files data separated in the hard drive?

if i only have a file that contain 1 byte and another file_2 that contain 1 bytes in my hard drive , how are they separated is there a character that separate them like NULL for example like : ...
0
votes
1answer
1k views

Differences between /init and /sbin/init

In Linux boot order, the kernel will execute /sbin/init, however, I can see another file /init existing in the file system on my linux (CentOS 8 WSL2, Ubuntu 20 WSL2). They are different binaries: $...
0
votes
2answers
76 views

If binary is 0 and 1 why do i see something like \x8c\x8e\xfc\r\xc3\x8a in binary files and programs?

whenever i try to open a binary file like an image or exe program i dont see 0 and 1 i just see some stuff like \x00\x8fi>\x9f\xd2\x98\x16\ How is that binary data ? ...
0
votes
1answer
89 views

Getting human readable strings in a hexdump file

I have a hexdump file which is the following : 00000000: 1f8b 0808 d7d2 c55b 0203 6461 7461 322e .......[..data2. 00000010: 6269 6e00 013c 02c3 fd42 5a68 3931 4159 bin..<...BZh91AY 00000020: ...
0
votes
2answers
161 views

Can binary strings in a terminal do anything dangerous?

I find myself sometimes accidentally cating a binary file, or SELECTing some binary field from the mysql CLI, ending up with stuff like this being displayed on the screen: ▒=▒▒▒▒f4▒Kҫ24T?) Or ...
1
vote
2answers
5k views

Bin folder for Windows 10

I'm trying to replicate a UNIX bin folder on my Windows 10 PC. I have created a folder located at "C:\bin" and added it to my PATH variable. However, I'm not really sure as how to implement it any ...
1
vote
2answers
61 views

Viewing the content of a hard drive in binary without using a Hex editor

Can we view the content of a hard drive in binary without using a Hex editor but with a simple text editor like Mousepad or gedit ? I'm using Debian.
0
votes
0answers
36 views

Is URL encoding guarranteed to output printable characters only?

I refer to the URL encoding used in Burp and in the browsers Is URL encoding guaranteed to output printable characters only?
2
votes
1answer
328 views

How to strip/remove/cut Zero/Null-Bytes off a file [closed]

Given: A generic binary file and a block size Desired output: A copy of the binary file where all the blocks that contain only Zero-Bits/Bytes have been removed/stripped from the file I really ...
2
votes
2answers
83 views

copy binaries from /sourcedir and its subdirs to /destdir

I want to copy all binaries from /sourcedir and its sub-dirs to /destdir. Basically, all files with: no extension, and all files with *.a, *.so, *.ko, and exclude from copy: Makefile and *.depend. ...
1
vote
0answers
35 views

What tool can I use to transform a binary file to and from plain text? [duplicate]

I would like to send a binary (PDF) file through a channel that supports plain text only. Is there a multi-platform standard tool that will convert the binary file into a chunk of plain text so that ...
1
vote
0answers
418 views

“cannot execute binary file” on aws ec2 with sage (using python) shell

I would like to use SageMath (using Python) on a AWS EC2 server. When I tried the SageMath console interface I got the following error: /opt/sagemath-8.8/local/bin/python: /opt/sagemath-8.8/local/...
1
vote
1answer
64 views

Git revision control on a binary file (that seems only to have text)

A program I use (TopSolid) saves it's settings in the top.cfg file. When I open the file with a text editor (notepad++ and notepad) I can see only text. Sample: A_COATING_NAME "" A_FINISHING_NAME ...
1
vote
1answer
313 views

In notepad++, how can i copy a lot of nulls without changing it to a space on a different tab?

How do I copy-paste null from one tab to another tab in notepad++? It is eye-straining to input so many null values manually.
2
votes
1answer
407 views

plutil error 998 when trying to convert binary to XML

EDIT: Clarification. I'd like to read the contents of a .plist file on Windows. I tried with VS Code but it's not ideal and it says "File seems to be binary and cannot be opened as text" so I ...
2
votes
1answer
254 views

Multiple GCC versions in ELF comments

I'm trying to determine what version of GCC was used to compile various executables. To do this I'm looking at the comment section of ELF files. I assumed I would always only come across a single ...
2
votes
3answers
816 views

How to diff three binary files to show only what changed between 1 and 2 and then changed back between 2 and 3?

I have three binary files (memory dumps). Call them file1, file2, file3. I'm trying to debug some software, and I'm toggling a switch. file1 = switch off file2 = switch on file3 = switch off I need ...
1
vote
0answers
25 views

FTP clients with text and binary modes [duplicate]

If all files on a computer memory disk, in their most basic form, are sequences of binary digits, that including text files, why do some FTP clients have text and binary modes for uploading files onto ...
3
votes
1answer
1k views

Compare two binary files of different sizes

I am trying to compare two binary files in order to identify one of them. The first file I have contains the data I am interested in and can use to identify the second. The second file is from a 3rd ...
4
votes
1answer
156 views

Why does make ignore escape sequence if the output is piped

In a Makefile, I want to print a byte represented as a hexadecimal number and pass it to STDIN of another program. For some reason, it doesn't work: without-pipe: @printf '\x66\x6f\x6f' with-...
1
vote
0answers
38 views

Chrome developer tools: MEMORY Head snapshot: Getting text information from a head snapshot file

I have had a Google Form done with a long textual intro, that was accidentally erased by a colleague. The text is important to me, its about a page long. I have, about 6 hours later followed the tips ...
2
votes
1answer
877 views

How to run an executable text-file directly?

I downloaded Apache Netbeans 11.0 (incubating) on Linux Mint 19.1. Since it does not have an installer, i had to use it straight from binaries that came with the bin.zip. Everything worked as they ...
1
vote
1answer
219 views

how to build midnight commander on windows (8.1) [closed]

https://midnight-commander.org/wiki Looking for layman's step by step guide to building the program on windows. I don't understand the process and have a hard time following the generic explanations ...
1
vote
0answers
356 views

how to compile ffmpeg ARM64 executable binary with android_camera enabled

I am having some trouble because, most of the post I read for compiling ffmpeg for android actually are only generating the shared library (.so) files which can then be linked into an android project ...
4
votes
2answers
22k views

How I can extract Binary file from EXE file?

I have a BIOS file .EXE and I want to extract the bainary file from it to flash it to a BIOS chip directly with USB EEPROM programmer. What I have tried: Extracting the EXE file with 7ZIP or WINZIP ...
2
votes
1answer
1k views

FFmpeg: convert an image's raw binary data to audio format (for databending purposes)

This article describes how one can mess with an image by converting its raw binary representation to audio PCM and applying audio effects to it, before converting back. The method it recommends is to ...
2
votes
3answers
2k views

Possible solutions for “-bash: ./bolt: cannot execute binary file”?

users, I hope some of you have an idea on how I can fix the following issue. What I am trying to do: I am trying to install/use a software called BOLT-LMM from a *.tar.gz file downloaded here as ...
1
vote
1answer
75 views

How to deinterlace GRAY video and convert it to .avi?

I have binary data stream from analogue camera that contains even and odd frames. Right now I convert it to .avi with this, ffmpeg -f rawvideo -pix_fmt gray -s:v 700x220 -i data.bin -c:v rawvideo -...
2
votes
3answers
2k views

Edit a binary file inside a Windows Self Extracting CAB archive?

I have an old "Win32 Cabinet Self-Extractor" file (*.exe extension) that I would like to make a small alteration to. I do not know where the original file came from or who made it but it is possible ...
13
votes
5answers
8k views

convert text file of bits to binary file

I have a file instructions.txt with the contents: 00000000000000000000000000010011 00000010110100010010000010000011 00000000011100110000001010110011 00000000011100110000010000110011 ...
1
vote
1answer
92 views

How can I make an old file easily readable?

I have this old .dat file (mid 90s), apparently encoded in ANSI, 4000 lines, consisting mostly of controls like NUL, SOH, ETX, STX... that I'd like to read. I tried to convert it to UTF-8 with ...
3
votes
1answer
1k views

Read contents of a .bin created by Win32 Disk Imager?

I saved an image of a USB stick using Win32 Disk Imager, which produced only a .bin file of the same size as the drive. Is it possible to read this .bin file as if it were a drive? I have access to ...