forked from pool/binwalk
Compare commits
4 Commits
Author | SHA256 | Date | |
---|---|---|---|
b3bdc74fde | |||
|
68e0452bfd | ||
18f6706e9e | |||
|
62a2cf4758 |
6
_service
Normal file
6
_service
Normal file
@@ -0,0 +1,6 @@
|
|||||||
|
<services>
|
||||||
|
<service name="download_files" mode="manual" />
|
||||||
|
<service name="cargo_vendor" mode="manual">
|
||||||
|
<param name="src">binwalk-*.tar.gz</param>
|
||||||
|
</service>
|
||||||
|
</services>
|
@@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:60416bfec2390cec76742ce942737df3e6585c933c2467932f59c21e002ba7a9
|
|
||||||
size 39723471
|
|
3
binwalk-3.1.0.tar.gz
Normal file
3
binwalk-3.1.0.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:06f595719417b70a592580258ed980237892eadc198e02363201abe6ca59e49a
|
||||||
|
size 582863
|
@@ -1,3 +1,58 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Jul 31 15:09:59 UTC 2025 - Eyad Issa <eyadlorenzo@gmail.com>
|
||||||
|
|
||||||
|
- Switch upsteam to the original repository
|
||||||
|
- Update to version 3.1.0:
|
||||||
|
* Rewrite in Rust
|
||||||
|
* Add ntfs support
|
||||||
|
* Add apfs support
|
||||||
|
* Add btrfs support
|
||||||
|
* Add Windows CE support
|
||||||
|
* Add Autel encoded firmware support
|
||||||
|
* Add Tplink fw rtos signatures
|
||||||
|
* Add full search support
|
||||||
|
* Full changelog:
|
||||||
|
https://github.com/ReFirmLabs/binwalk/compare/v2.3.4...v3.1.0
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Fri Sep 27 03:20:21 UTC 2024 - Jan Kužílek <jan.kuzilek@suse.com>
|
||||||
|
|
||||||
|
- Switch upstream to a maintained fork
|
||||||
|
- Update to version 2.4.2
|
||||||
|
* enhance the accuracy of esp image by @samhjn in #17
|
||||||
|
* Improve install by @stkw0 in #20
|
||||||
|
* Show warning when extraction fails and print only successful extracted entries
|
||||||
|
- Update to version 2.4.1
|
||||||
|
* change jefferson uri by @stkw0 in #7
|
||||||
|
* Detect WAVE and FLAC by @puhitaku in #8
|
||||||
|
* Update audio signature file by @kagekiyo7 in #10
|
||||||
|
* entropy: don't parse math by @ElDavoo in #12
|
||||||
|
- Update to version 2.4.0
|
||||||
|
This release merged the next upstream PR:
|
||||||
|
* Add magic for ZTE firmware
|
||||||
|
* Improve YAFFS signature
|
||||||
|
* Add Microware OS-9/68000 magic support
|
||||||
|
* Add PKCS#1 DER hash signatures
|
||||||
|
* Add firmware signatures used with JBOOT bootloader
|
||||||
|
* Added ESP32 image and partition entry signatures
|
||||||
|
* Add WinCE file extractor plugin
|
||||||
|
* PKCS #8 Private key
|
||||||
|
- Update to version 2.3.8
|
||||||
|
* Fix support for python3.12
|
||||||
|
- Update to version 2.3.7
|
||||||
|
* Fix issue in Windows due to the use of pwd
|
||||||
|
* Fix dep.sh bug in some specific distros
|
||||||
|
- Update to version 2.3.6
|
||||||
|
* Fix missing import on extractor.py
|
||||||
|
- Update to version 2.3.5
|
||||||
|
This release applies a bunch of important pull request from the original repository.
|
||||||
|
Most relevant changes:
|
||||||
|
* Add support for python 3.12
|
||||||
|
* Switch from nose to pytest
|
||||||
|
* Update minimum supported python version to 3.8
|
||||||
|
* Move from travis to Github actions
|
||||||
|
* Fix dep.sh build issues
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Tue Feb 14 08:16:19 UTC 2023 - Robert Frohl <rfrohl@suse.com>
|
Tue Feb 14 08:16:19 UTC 2023 - Robert Frohl <rfrohl@suse.com>
|
||||||
|
|
||||||
@@ -153,4 +208,3 @@ Tue Oct 30 12:42:57 UTC 2012 - boris@steki.net
|
|||||||
Tue Aug 23 12:39:24 UTC 2011 - boris@steki.net
|
Tue Aug 23 12:39:24 UTC 2011 - boris@steki.net
|
||||||
|
|
||||||
- Initial packaging of 0.3.8 version
|
- Initial packaging of 0.3.8 version
|
||||||
|
|
||||||
|
84
binwalk.spec
84
binwalk.spec
@@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package binwalk
|
# spec file for package binwalk
|
||||||
#
|
#
|
||||||
# Copyright (c) 2023 SUSE LLC
|
# Copyright (c) 2025 SUSE LLC
|
||||||
#
|
#
|
||||||
# All modifications and additions to the file contributed by third parties
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@@ -17,80 +17,46 @@
|
|||||||
|
|
||||||
|
|
||||||
Name: binwalk
|
Name: binwalk
|
||||||
Version: 2.3.4
|
Version: 3.1.0
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: Firmware Analysis Tool
|
Summary: Firmware Analysis Tool
|
||||||
License: MIT
|
License: MIT
|
||||||
URL: https://github.com/devttys0/binwalk
|
URL: https://github.com/ReFirmLabs/binwalk/
|
||||||
Source: https://github.com/devttys0/%{name}/archive/v%{version}.tar.gz#/%{name}-%{version}.tar.gz
|
Source0: https://github.com/ReFirmLabs/binwalk/archive/v%{version}/%{name}-%{version}.tar.gz
|
||||||
|
Source1: vendor.tar.zst
|
||||||
|
BuildRequires: cargo
|
||||||
|
BuildRequires: cargo-packaging
|
||||||
BuildRequires: fdupes
|
BuildRequires: fdupes
|
||||||
BuildRequires: help2man
|
BuildRequires: help2man
|
||||||
BuildRequires: python-rpm-macros
|
BuildRequires: pkgconfig
|
||||||
BuildRequires: python3-curses
|
BuildRequires: zstd
|
||||||
BuildRequires: python3-setuptools
|
BuildRequires: pkgconfig(fontconfig)
|
||||||
# Depends on libmagic.
|
|
||||||
Requires: file
|
|
||||||
Requires: python3-curses
|
|
||||||
# Depends on libfuzzy.
|
|
||||||
Requires: ssdeep
|
|
||||||
Recommends: bzip2
|
|
||||||
Recommends: cabextract
|
|
||||||
Recommends: capstone
|
|
||||||
Recommends: cpio
|
|
||||||
Recommends: cramfs-tools
|
|
||||||
Recommends: cramfsswap
|
|
||||||
Recommends: gzip
|
|
||||||
Recommends: jefferson
|
|
||||||
Recommends: lhasa
|
|
||||||
Recommends: lzop
|
|
||||||
Recommends: sasquatch
|
|
||||||
Recommends: sleuthkit
|
|
||||||
Recommends: squashfs
|
|
||||||
Recommends: srecord
|
|
||||||
Recommends: ubi_reader
|
|
||||||
Recommends: unrar
|
|
||||||
Recommends: xz
|
|
||||||
Recommends: yaffshiv
|
|
||||||
Recommends: zlib
|
|
||||||
Suggests: java
|
|
||||||
BuildArch: noarch
|
|
||||||
%if 0%{?suse_version} > 1500
|
|
||||||
Recommends: p7zip-full
|
|
||||||
%else
|
|
||||||
Recommends: p7zip
|
|
||||||
%endif
|
|
||||||
|
|
||||||
%description
|
%description
|
||||||
Binwalk is a tool for searching a given binary image for embedded
|
Binwalk can identify, and optionally extract, files and data that
|
||||||
files and executable code. Specifically, it is designed for
|
have been embedded inside of other files.
|
||||||
identifying files and code embedded inside of firmware images.
|
|
||||||
Binwalk uses the libmagic library, so it is compatible with magic
|
While its primary focus is firmware analysis, it supports a wide
|
||||||
signatures created for the Unix file utility. Binwalk also includes
|
variety of file and data types.
|
||||||
a custom magic signature file which contains improved signatures
|
|
||||||
for files that are commonly found in firmware images such as
|
Through entropy analysis, it can even help to identify unknown
|
||||||
compressed/archived files, firmware headers, Linux kernels,
|
compression or encryption!
|
||||||
bootloaders, filesystems, etc.
|
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q
|
%autosetup -p1 -a1
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%python3_build
|
%{cargo_build}
|
||||||
|
|
||||||
%install
|
%install
|
||||||
%python3_install
|
%{cargo_install}
|
||||||
chmod 644 API.md
|
|
||||||
export PYTHONPATH=%{buildroot}%{python3_sitelib}
|
help2man %{buildroot}%{_bindir}/binwalk --no-discard-stderr --version-string="%{version}" --no-info > binwalk.1
|
||||||
help2man %{buildroot}/%{_bindir}/binwalk --no-discard-stderr --version-string="%{version}" --no-info > binwalk.1
|
install -Dpm 0644 %{name}.1 %{buildroot}%{_mandir}/man1/%{name}.1
|
||||||
install -Dpm 0644 %{name}.1 %{buildroot}/%{_mandir}/man1/%{name}.1
|
|
||||||
%fdupes %{buildroot}%{python3_sitelib}
|
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%license LICENSE
|
%license LICENSE
|
||||||
%doc API.md
|
|
||||||
%{_bindir}/%{name}
|
%{_bindir}/%{name}
|
||||||
%{_mandir}/man1/binwalk.1%{?ext_man}
|
%{_mandir}/man1/%{name}.1%{?ext_man}
|
||||||
%{python3_sitelib}/%{name}/
|
|
||||||
%{python3_sitelib}/%{name}-*
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
3
vendor.tar.zst
Normal file
3
vendor.tar.zst
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:f5a40473c7cf4e9492fd994921b5ce7abb9254d1a1d975ce2ea207ab257ffc40
|
||||||
|
size 32964510
|
Reference in New Issue
Block a user