binwalk2
LOW
maintainer MS-DTYP
0 votes
scanned 2026-10-26 15:45:54.756943
Why flagged
Uploaded within the last 14 days with 2 or fewer community votes — little peer review so far.
Triggered rules
Low
Few votes, recently uploaded
zero_votes_recent
Uploaded within the last 14 days with 2 or fewer community votes — little peer review so far.
PKGBUILD
1
# Maintainer: Arseniy Sharoglazov <mohemiv@gmail.com>
2
# Contributor: Levente Polyak <anthraxx[at]archlinux[dot]org>
3
# Contributor: Peter Wu <peter@lekensteyn.nl>
4
# Contributor: Miguel Revilla <yo@miguelrevilla.com>
5
# Contributor: s1gma <s1gma@mindslicer.com>
6
7
pkgname=binwalk2
8
_gitname=binwalk
9
pkgver=2.4.3
10
pkgrel=10
11
pkgdesc='Tool for searching a given binary image for embedded files'
12
url='https://github.com/OSPG/binwalk'
13
arch=(any)
14
license=(MIT)
15
depends=(
16
python
17
python-setuptools
18
)
19
makedepends=(
20
python-build
21
python-installer
22
python-setuptools
23
python-wheel
24
git
25
)
26
checkdepends=(
27
python-pytest
28
)
29
optdepends=(
30
'python-pyqtgraph: graph and visualization support'
31
'python-opengl: binviz module support'
32
'python-capstone: disassembly support'
33
'arj: ARJ decompression support'
34
'cabextract: CAB archive support'
35
'cpio: CPIO archvie support'
36
'gzip: GZIP decompression support'
37
'mtd-utils: JFFS filesystem support'
38
'p7zip: ZIP, LZMA and ISO decompression support'
39
'squashfs-tools: squashfs support'
40
'tar: TAR archive support'
41
'bzip2: BZIP2 archive support'
42
'unrar: RAR decompression support'
43
'xz: XZ decompression support'
44
'firmware-mod-kit: cramfs support'
45
'lhasa: LHA support'
46
'sleuthkit: forensic analysis support'
47
)
48
provides=('binwalk')
49
source=(
50
"${_gitname}::git+${url}#commit=ce6c706cc0cc13dbaa4c5cf22e7f03fcd83835ac"
51
"CVE-2026-7179.patch::https://sources.debian.org/data/main/b/binwalk/2.4.3%2Bdfsg1-3/debian/patches/prevent-path-traversal-in-wince.patch"
52
)
53
sha512sums=(
54
'SKIP'
55
'ad8bb01ecdb1f8a2f3af82f8f1607f1e2e0dd7ffaed914dd2156749d36954e8932c5bf064f3bdc1f272b2a72842272bb264f19fa89129d98756ccc06c0e655e4'
56
)
57
58
build() {
59
cd ${_gitname}
60
python -m build --wheel --no-isolation
61
}
62
63
check() {
64
cd ${_gitname}
65
python -m venv --clear --without-pip --system-site-packages .testenv
66
.testenv/bin/python -m installer dist/*.whl
67
.testenv/bin/python -m pytest
68
}
69
70
package() {
71
cd ${_gitname}
72
python -m installer --destdir="$pkgdir" dist/*.whl
73
74
mv "${pkgdir}/usr/bin/binwalk" "${pkgdir}/usr/bin/binwalk2"
75
76
install -Dm 644 *.md -t "${pkgdir}/usr/share/doc/${pkgname}"
77
install -Dm 644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
78
}
79
80
# vim: ts=2 sw=2 et:
81
Scan history
| Scanned at (UTC) | Severity | Rules |
|---|---|---|
| 2026-10-26 15:45:54 | Low | 1 |