mirror of
https://github.com/pentoo/pentoo-overlay
synced 2025-12-15 21:02:30 +01:00
stegcracker: bump to 2.0.7, fix ebuild.badheader and metadata.missing
This commit is contained in:
parent
5889c6b872
commit
9e6d10d5b9
6 changed files with 94 additions and 24 deletions
|
|
@ -1 +1,2 @@
|
|||
DIST stegcracker-2.0.7.tar.gz 7997 BLAKE2B 61332e9690ff9ae301c87442e5e898eba0779635e5025aeea0401c2ff74d5156a8611d343b92517d5300268e7374f21d311313e04e5021ce64431bb9792c561b SHA512 64a77b5962c681fd24a372091782156807780067013c7b9b296b525a13086d8273105bfb33788c5aed0a2aa7f77c7bc7ee62214044e7245a7775f5f24a21ee72
|
||||
DIST stegcracker-20190219.tar.gz 860936 BLAKE2B 1b49276b741c4bc9c5bd5987cb6d7fd5ff8297c300649164a92a8f6f4ba620915ab5d80d4cec6f6f6f754a6ab9c96bf90c1433a55036da5d3a66cb6e086515d8 SHA512 d74255db6541bddf2af54911086af1276ba16bb87b8db3db3ebfc7def5a22d9fa9354393e587fa576a54c9a0d258f70401213fe03180ff84fcc970c19efd3680
|
||||
|
|
|
|||
|
|
@ -0,0 +1,40 @@
|
|||
diff -ur a/stegcracker b/stegcracker
|
||||
--- a/stegcracker 2019-02-19 18:51:52.000000000 +0300
|
||||
+++ b/stegcracker 2019-11-10 14:46:16.120325974 +0300
|
||||
@@ -10,8 +10,6 @@
|
||||
# Print usage / Load arguments
|
||||
if [ $# -eq 0 ]; then
|
||||
echo "Usage: $0 <file> [<wordlist>]"
|
||||
- echo "Options:"
|
||||
- echo " --update | Updates StegCracker to the latest version"
|
||||
exit 1
|
||||
else
|
||||
wordlist=${2:-/usr/share/wordlists/rockyou.txt}
|
||||
@@ -20,27 +18,9 @@
|
||||
# Ensure steghide is installed
|
||||
if [[ ! $(which steghide) ]]; then
|
||||
echo -e "\x1B[31mError:\x1B[0m Steghide does not appear to be installed, or has not been added to your current PATH."
|
||||
-
|
||||
- if [[ $(cat /etc/issue | grep Kali && which apt-get) ]]; then
|
||||
- echo " You can install it by running the following command: apt-get install steghide -y"
|
||||
- fi
|
||||
-
|
||||
exit 1
|
||||
fi
|
||||
|
||||
-# Is the user trying to update StegCracker?
|
||||
-if [ ! -f $1 ] && [ $1 = "--update" ]; then
|
||||
- echo -n "Updating StegCracker to the latest version.. "
|
||||
-
|
||||
- if $(curl -s $UPDATE_URL > $(which $0)); then
|
||||
- echo -e "\x1B[32mDONE\x1B[0m"
|
||||
- exit
|
||||
- else
|
||||
- echo -e "\x1B[31mFAILED\x1B[0m"
|
||||
- exit 1
|
||||
- fi
|
||||
-fi
|
||||
-
|
||||
# Count number of entries in the current wordlist
|
||||
line_count=$(wc -l "$wordlist" | cut -d ' ' -f 1)
|
||||
|
||||
8
app-crypt/stegcracker/metadata.xml
Normal file
8
app-crypt/stegcracker/metadata.xml
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="project">
|
||||
<email>proxy-maint@gentoo.org</email>
|
||||
<name>Proxy Maintainers</name>
|
||||
</maintainer>
|
||||
</pkgmetadata>
|
||||
19
app-crypt/stegcracker/stegcracker-2.0.7.ebuild
Normal file
19
app-crypt/stegcracker/stegcracker-2.0.7.ebuild
Normal file
|
|
@ -0,0 +1,19 @@
|
|||
# Copyright 1999-2019 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
PYTHON_COMPAT=( python3_{6,7} )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="Steganography brute-force utility to uncover hidden data inside files"
|
||||
HOMEPAGE="https://github.com/Paradoxis/StegCracker"
|
||||
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
|
||||
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
LICENSE="MIT"
|
||||
SLOT="2"
|
||||
|
||||
RDEPEND="${PYTHON_DEPS}
|
||||
app-crypt/steghide"
|
||||
26
app-crypt/stegcracker/stegcracker-20190219-r1.ebuild
Normal file
26
app-crypt/stegcracker/stegcracker-20190219-r1.ebuild
Normal file
|
|
@ -0,0 +1,26 @@
|
|||
# Copyright 1999-2019 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
DESCRIPTION="Steganography brute-force utility to uncover hidden data inside files"
|
||||
HOMEPAGE="https://github.com/Paradoxis/StegCracker"
|
||||
|
||||
HASH_COMMIT="5f656b310033a1cc599676bcef742f25e70f6141"
|
||||
SRC_URI="https://github.com/Paradoxis/StegCracker/archive/${HASH_COMMIT}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
|
||||
RDEPEND="app-crypt/steghide"
|
||||
DEPEND=""
|
||||
|
||||
PATCHES=( "${FILESDIR}/${P}_minor-changes.patch" )
|
||||
|
||||
S="${WORKDIR}/StegCracker-${HASH_COMMIT}"
|
||||
|
||||
src_install() {
|
||||
newbin stegcracker stegcracker-legacy
|
||||
dodoc README.md
|
||||
}
|
||||
|
|
@ -1,24 +0,0 @@
|
|||
# Copyright 1999-2019 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
DESCRIPTION="Steganography brute-force utility to uncover hidden data inside files."
|
||||
HOMEPAGE="https://github.com/Paradoxis/StegCracker"
|
||||
COMMIT="5f656b310033a1cc599676bcef742f25e70f6141"
|
||||
MY_P="StegCracker-${COMMIT}"
|
||||
SRC_URI="https://github.com/Paradoxis/StegCracker/archive/${COMMIT}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND=""
|
||||
DEPEND="${RDEPEND}"
|
||||
|
||||
S="${WORKDIR}/${MY_P}"
|
||||
|
||||
src_install() {
|
||||
dobin stegcracker
|
||||
}
|
||||
Loading…
Reference in a new issue