Questions tagged [binary-files]
The binary-files tag has no usage guidance.
153
questions
0
votes
0
answers
23
views
Grepping byte offset values for data blocks of specific type in a binary file, but it's skipping blocks containing any byte larger than 127 [or 0x7F]
I have a binary file containing blocks of data. The first four bytes of each block contains a fixed byte string, five bytes after that contains the block's "type" byte. I want to find out ...
1
vote
1
answer
59
views
How can i convert a .bin file to a .json file [closed]
There is a ".bin" file on my pc that i want to convert. I tried to do it with a ISO reader but it wont work. The only thing i know about this file, it stores some json data that i want to ...
0
votes
0
answers
35
views
How do I find all php binary path's on a linux server?
A server has multiple php custom versions, which were installed with ISPConfig 3.
I am trying to find the path to each version so I can run a cron with the specific binary.
I have tried the following ...
0
votes
1
answer
87
views
Put binary numbers per row one by one
My aim is convert decimal number to binary numbers and putting binary numbers one by one per column in EXCEL. I did convert decimal to binary using BASE command and do not know how to put it one by ...
0
votes
0
answers
41
views
What is the concrete difference between a binary file and any other kind of text file? [duplicate]
Question based out of curiosity. Why if I copy the code from a binary compiled from c code, and paste it into a new file that I make executable, this new file doesn't act as a binary and execute the ...
0
votes
1
answer
36
views
Super user binary source for Debian distro
I'm trying to craft a new root handle in a Debian distro and need to know where the source code for the su binary is located in order to move forward. Can anyone point me in the right direction?
0
votes
0
answers
72
views
Windows: How to convert binary database file (compressed with zlib) to human-readable string data? (ProcrastiTracker .PT file)
The current question is derived directly from this one, as my general problem is how to process the data collected by the ProcrastiTracker program. Once installed on a Windows machine, ...
0
votes
0
answers
80
views
Unlzma displays decoder error when extracting a u-boot.bin.lzma file
I'm having a hard time extracting an lzma file using unlzma. This is to check through my router firmware. I used:
binwalk --signature --term WR940.bin
that gives the output
Screenshot displaying size ...
1
vote
1
answer
33
views
Modify $PATH while unpacking archive in Linux
Suppose I have tar.bz2 archive, with some directory that has binary file and some assistive files for it.
When user unpack it, he must start binary from within the result directory such a way: ./...
1
vote
2
answers
98
views
In Excel how to create 4 digit binary(0,1) with respect to successive order for N tiimes?
4 Digit Binary Algorithm decoding
i have tried decoding the sequence but i couldn't, also tried in 16 ways to have four digit method.
for instance
0000
0001
1011
1000
0101
0101
1000
0100
0
votes
0
answers
57
views
How Do I Decode Firefox Cache Files to View Contents
Is is possible to decode the binary files stored in the Firefox cache to human readable?
If so, how would I do it?
0
votes
0
answers
312
views
l: cannot execute binary file when I run the command mysql
I try to run the MySQL from the terminal and I already installed the XAMPP so I open the .bash_prrofile and export the path for the XAMPP folder
This the path
export
PATH=${PATH}:/Users/saleh-yahri/....
0
votes
2
answers
186
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
1
answer
145
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
1
answer
32
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
1
answer
228
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
2
answers
649
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
0
answers
1k
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
0
answers
26
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
1
answer
596
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
1
answer
5k
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
1
answer
2k
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
1
answer
45
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 ...
2
votes
0
answers
303
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
0
answers
619
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
0
answers
633
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. ...
1
vote
2
answers
409
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
1
answer
49
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
2
answers
132
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
1
answer
168
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: ...
1
vote
2
answers
287
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
2
answers
7k
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
2
answers
112
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
0
answers
39
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
1
answer
753
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
2
answers
90
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
0
answers
50
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
0
answers
617
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
1
answer
85
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
1
answer
838
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
1
answer
504
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
1
answer
370
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
3
answers
2k
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
0
answers
27
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
1
answer
2k
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
1
answer
171
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
0
answers
59
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
1
answer
968
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
1
answer
274
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
0
answers
429
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 ...