Questions tagged [binary]
The binary tag has no usage guidance.
316
questions
-1
votes
2
answers
73
views
How to print out all printable ASCII strings contained in binary data?
How can I print out all printable ASCII strings
(e.g., longer than four chars) contained in a binary file?
I used strings -a -w file.bin >>output.
0
votes
1
answer
44
views
How to view the existing files of a drive binary copy?
Greetings
I've been recently studying the concepts of compression and copying in Linux.
When I've been introduced to the dd command, I have found it quite useful, so as an exercise, I bit-by-bit ...
0
votes
2
answers
165
views
In Nix, how to make one derivation depend on another next to it?
I'm currently trying to package some closed-source software into Nix derivations. The app is distributed as a large pile of .deb files, and most of them contain libraries that the other parts of the ...
0
votes
1
answer
26
views
Detecting used API calls for an application
I need to run a proprietary C++ application under Linux and I need to understand if it contains any functions outside advertised features.
Is there a way to list all the API calls that the application ...
0
votes
0
answers
34
views
Search a binary file for a list of 500 000 binary patterns
I have a list of binary "strings" in a file delimited by newlines. I'd like to use that to search another binary file to check which of these patterns the binary files contains and at which ...
3
votes
1
answer
620
views
Circular dependency issues
Do some .deb binary files need each other to be installed and removed?
If so, how do you get around this?
What I observed was that I wanted to install Kodi on an offline PC, but I got stuck with ...
0
votes
0
answers
24
views
Directly Replacing Text in Binary File [duplicate]
I have a compiled executable (binary) file - mybin - which grep indicates contains a positive match with a given text string - Cats.
grep "Cats" mybin
Binary file mybin matches
If I use the ...
0
votes
0
answers
80
views
Running Linux commands execute hidden command to regenerate Backdoor
My CentOS server compromised, the backdoor uploaded in /var/www/html/, I have deleted the backdoor and browsed the backdoor - to be sure it's deleted - it's surly deleted, but when I run any command ...
0
votes
1
answer
129
views
Are FreeBSD binaries compatible with macOS?
Since FreeBSD and macOS (OS X) are very similar to each other, can programs written for FreeBSD run on macOS? And if a program can't, then would it be possible to make it work?
0
votes
1
answer
288
views
Shift the address in the hex file with Offset
I want to update the hexfile start address with offset. For example, i have a hex file name abc.hex and start with address 0x0000 to 0xFFFF. But I want to shift the context in the hexfile to the ...
0
votes
1
answer
37
views
How to replace stock java with downloaded binary?
In Debian Stable the latest openjdk version available is 17.
$ which -a java
/usr/bin/java
/bin/java
$ java --version
openjdk 17.0.8 2023-07-18
OpenJDK Runtime Environment (build 17.0.8+7-Debian-...
0
votes
1
answer
114
views
Which portion of boot.log files are binary?
My system keeps seemingly randomly failing to boot after a kernel update. So I am reading logs to try to determine the cause of the issue. Here is one of the boot logs:
$ sudo cat /var/log/boot.log.1
-...
4
votes
1
answer
3k
views
Cannot exceute binary: required file not found
I see that there are other questions like this out there, but the answers there did not work for me.
I am using I downloaded the Julia 1.9.2 (Linux, x86-64, glibc) prebuilt binary and tried to execute ...
0
votes
0
answers
137
views
Creating file or folder showing drwxr-x--- 2 root bin
I am not sure why i get this drwxr-x--- 2 root bin every time I create a new file or folder on an NFS share. Earlier I used to get drwxrwxrwx 2 root root.
id root
uid=0(root) gid=0(root) groups=0(root)...
1
vote
0
answers
411
views
Convert executable binary to dyamic library
Functionally, a binary (as in ELF binary which can be executed from the shell) is somewhat similar to a library in that both are files containing machine code for a particular target ABI in binary ...