Questions tagged [binary]
The binary tag has no summary.
318 questions
0
votes
0
answers
52
views
ldd not showing actual shared libraries address
After having deactivated ASLR, with:
echo 0 | sudo tee /proc/sys/kernel/randomize_va_space
I used ldd /path/to/binary to get the address of the shared library that my binary (written in C) was using, ...
9
votes
2
answers
478
views
How to run a program over multiple sessions (machine off and on again)
Is there a way to run a program (command line binary, no interface, no file handling) for a while and then suspend it and later start it again?
Start program and run for a while (e.g. specify "...
0
votes
3
answers
229
views
Append N hexadecimal numbers to a binary file with Bash
I have a Bash script that appends bytes written as hexadecimal values. I use echo to write the bytes and it works
hex="1F"
byte="\x$hex"
echo -en $byte >> "output.bin&...
-1
votes
2
answers
312
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?
0
votes
1
answer
109
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 ...
1
vote
2
answers
808
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
105
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 ...
3
votes
1
answer
741
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
113
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
304
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
517
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
51
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
208
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
6k
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 ...