Identify Ubuntu/Debian package that a binary belongs to based on its md5sum

Clash Royale CLAN TAG#URR8PPP up vote
1
down vote
favorite
Is it possible to identify the Debian package that a binary belongs to based on its md5sum.
All Debian packages contain a md5sums file that list all the files and their corresponding md5sum.
So, I am wondering, giveý an md5sum of a binary or any file, whether it is possible to get the package info that it belongs to.
Debian already provides an API to search for source packages based on sha256sum of any source file it contains.
In my case, if I have a binary, say libxml2.so.2.9.4, I want to know its origin package by simply searching for its md5sum.
package-management deb md5sum
add a comment |Â
up vote
1
down vote
favorite
Is it possible to identify the Debian package that a binary belongs to based on its md5sum.
All Debian packages contain a md5sums file that list all the files and their corresponding md5sum.
So, I am wondering, giveý an md5sum of a binary or any file, whether it is possible to get the package info that it belongs to.
Debian already provides an API to search for source packages based on sha256sum of any source file it contains.
In my case, if I have a binary, say libxml2.so.2.9.4, I want to know its origin package by simply searching for its md5sum.
package-management deb md5sum
Why not usedpkg -S libxml2.so.2.9.4? That will give you the package name,dpkg -L <packagename>will list all the files in that package.
â waltinator
Jun 3 at 15:58
Problem is, these binaries are not obtained from installed packages. I am reversing some firmware and I want to know their origin. All I know is the firemware that I am reversing is using Debian distro. So, I am trying to identify the packages installed in the firmware
â Maggie
Jun 3 at 18:03
add a comment |Â
up vote
1
down vote
favorite
up vote
1
down vote
favorite
Is it possible to identify the Debian package that a binary belongs to based on its md5sum.
All Debian packages contain a md5sums file that list all the files and their corresponding md5sum.
So, I am wondering, giveý an md5sum of a binary or any file, whether it is possible to get the package info that it belongs to.
Debian already provides an API to search for source packages based on sha256sum of any source file it contains.
In my case, if I have a binary, say libxml2.so.2.9.4, I want to know its origin package by simply searching for its md5sum.
package-management deb md5sum
Is it possible to identify the Debian package that a binary belongs to based on its md5sum.
All Debian packages contain a md5sums file that list all the files and their corresponding md5sum.
So, I am wondering, giveý an md5sum of a binary or any file, whether it is possible to get the package info that it belongs to.
Debian already provides an API to search for source packages based on sha256sum of any source file it contains.
In my case, if I have a binary, say libxml2.so.2.9.4, I want to know its origin package by simply searching for its md5sum.
package-management deb md5sum
edited Jun 3 at 11:02
Bruni
4,63231949
4,63231949
asked Jun 3 at 10:42
Maggie
1063
1063
Why not usedpkg -S libxml2.so.2.9.4? That will give you the package name,dpkg -L <packagename>will list all the files in that package.
â waltinator
Jun 3 at 15:58
Problem is, these binaries are not obtained from installed packages. I am reversing some firmware and I want to know their origin. All I know is the firemware that I am reversing is using Debian distro. So, I am trying to identify the packages installed in the firmware
â Maggie
Jun 3 at 18:03
add a comment |Â
Why not usedpkg -S libxml2.so.2.9.4? That will give you the package name,dpkg -L <packagename>will list all the files in that package.
â waltinator
Jun 3 at 15:58
Problem is, these binaries are not obtained from installed packages. I am reversing some firmware and I want to know their origin. All I know is the firemware that I am reversing is using Debian distro. So, I am trying to identify the packages installed in the firmware
â Maggie
Jun 3 at 18:03
Why not use
dpkg -S libxml2.so.2.9.4? That will give you the package name, dpkg -L <packagename> will list all the files in that package.â waltinator
Jun 3 at 15:58
Why not use
dpkg -S libxml2.so.2.9.4? That will give you the package name, dpkg -L <packagename> will list all the files in that package.â waltinator
Jun 3 at 15:58
Problem is, these binaries are not obtained from installed packages. I am reversing some firmware and I want to know their origin. All I know is the firemware that I am reversing is using Debian distro. So, I am trying to identify the packages installed in the firmware
â Maggie
Jun 3 at 18:03
Problem is, these binaries are not obtained from installed packages. I am reversing some firmware and I want to know their origin. All I know is the firemware that I am reversing is using Debian distro. So, I am trying to identify the packages installed in the firmware
â Maggie
Jun 3 at 18:03
add a comment |Â
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1043166%2fidentify-ubuntu-debian-package-that-a-binary-belongs-to-based-on-its-md5sum%23new-answer', 'question_page');
);
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Why not use
dpkg -S libxml2.so.2.9.4? That will give you the package name,dpkg -L <packagename>will list all the files in that package.â waltinator
Jun 3 at 15:58
Problem is, these binaries are not obtained from installed packages. I am reversing some firmware and I want to know their origin. All I know is the firemware that I am reversing is using Debian distro. So, I am trying to identify the packages installed in the firmware
â Maggie
Jun 3 at 18:03