Skip to main content
Unix & Linux

Questions tagged [binary]

The tag has no summary.

Filter by
Sorted by
Tagged with
2 votes
1 answer
190 views

Unix or Linux command to compare binary files [duplicate]

I'm looking for a command that compares binary files. Of course, I know about diff, but it is not very good at binaries. I have two files from a error-prone source (scratched dvd) which should be ...
0 votes
0 answers
99 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
511 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
386 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
398 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?
minto's user avatar
  • 585
0 votes
1 answer
133 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 ...
KhodeNima's user avatar
  • 111
1 vote
2 answers
1k 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 ...
Danya02's user avatar
  • 141
0 votes
1 answer
169 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
809 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 ...
1toneboy's user avatar
  • 473
0 votes
0 answers
27 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 ...
Mark's user avatar
  • 101
0 votes
0 answers
122 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
395 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
611 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
61 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
253 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 -...
li816's user avatar
  • 1

15 30 50 per page
1
2 3 4 5
...
22

AltStyle によって変換されたページ (->オリジナル) /