mirror of
https://github.com/pentoo/pentoo-overlay
synced 2025-12-06 08:25:01 +01:00
traitor
This commit is contained in:
parent
5cd1956385
commit
592771817b
4 changed files with 18 additions and 57 deletions
|
|
@ -1,2 +1 @@
|
|||
DIST traitor-0.0.14.tar.gz 1731197 BLAKE2B 0a7ee3e5af203d7fbd8e99ca8665503777f13d35744b4c0d5a8d9e056a10bc0a6871c638e4af6809bc6721017ff90aa221b6e71bdff82e8899db232247169b81 SHA512 d507a4a7aad40a57b38917923411d599895fc40483f30b08955f8536f055aa793ae5e7144303f2df128ff1e8311592913303c69b40eb933a865566900ba9530f
|
||||
DIST traitor-0.0.3.tar.gz 2117288 BLAKE2B 6449f650e3505bb4435d9b570516032e4d48a83b9175144e78273a1bdbf0c93b76d9370ac178b0e4556eb7f5c3c52f71e535b5ebea804ed73ba9b4e90a34b3b4 SHA512 71a5f0d7d19cbe94c0f4903768f4979f4e0cafb80c3027880a83c5335f5969868c6d9f883dfe512da1a6f8f735da70fecdffd6fdfdaeaa379dfc64e02f2cada5
|
||||
|
|
|
|||
11
app-exploits/traitor/metadata.xml
Normal file
11
app-exploits/traitor/metadata.xml
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="person">
|
||||
<email>unknown@pentoo.ch</email>
|
||||
<name>Author Unknown</name>
|
||||
</maintainer>
|
||||
<upstream>
|
||||
<remote-id type="github">liamg/traitor</remote-id>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
||||
|
|
@ -1,21 +1,13 @@
|
|||
# Copyright 1999-2022 Gentoo Authors
|
||||
# Copyright 1999-2024 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
# go mod vendor && grep "# g" ./vendor/modules.txt | sort
|
||||
EGO_PN="github.com/liamg/traitor"
|
||||
#EGO_VENDOR=(
|
||||
# "github.com/sirupsen/logrus v1.4.2"
|
||||
#)
|
||||
|
||||
inherit golang-vcs-snapshot
|
||||
inherit go-module
|
||||
|
||||
DESCRIPTION="Automatically exploit low-hanging fruit to pop a root shell"
|
||||
HOMEPAGE="https://github.com/liamg/traitor"
|
||||
|
||||
SRC_URI="https://${EGO_PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz
|
||||
${EGO_VENDOR_URI}"
|
||||
SRC_URI="https://github.com/liamg/traitor/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
|
|
@ -24,15 +16,12 @@ KEYWORDS="amd64 ~arm64 x86"
|
|||
BDEPEND=">=dev-lang/go-1.13"
|
||||
|
||||
src_compile() {
|
||||
GOPATH="${S}:$(get_golibdir_gopath)" \
|
||||
GOCACHE="${T}/go-cache" \
|
||||
go build -v -work -x -ldflags="-w" ./... || die
|
||||
#ego build
|
||||
make build
|
||||
}
|
||||
|
||||
src_install(){
|
||||
GOPATH="${S}:$(get_golibdir_gopath)" \
|
||||
GOCACHE="${T}/go-cache" \
|
||||
go install -v -work -x -ldflags="-w" ./... || die
|
||||
dobin traitor
|
||||
|
||||
dobin bin/traitor
|
||||
default
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,38 +0,0 @@
|
|||
# Copyright 1999-2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
# go mod vendor && grep "# g" ./vendor/modules.txt | sort
|
||||
EGO_PN="github.com/liamg/traitor"
|
||||
#EGO_VENDOR=(
|
||||
# "github.com/sirupsen/logrus v1.4.2"
|
||||
#)
|
||||
|
||||
inherit golang-vcs-snapshot
|
||||
|
||||
DESCRIPTION="Automatically exploit low-hanging fruit to pop a root shell"
|
||||
HOMEPAGE="https://github.com/liamg/traitor"
|
||||
|
||||
SRC_URI="https://${EGO_PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz
|
||||
${EGO_VENDOR_URI}"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 ~arm64 x86"
|
||||
|
||||
BDEPEND=">=dev-lang/go-1.13"
|
||||
|
||||
src_compile() {
|
||||
GOPATH="${S}:$(get_golibdir_gopath)" \
|
||||
GOCACHE="${T}/go-cache" \
|
||||
go build -v -work -x -ldflags="-w" ./... || die
|
||||
}
|
||||
|
||||
src_install(){
|
||||
GOPATH="${S}:$(get_golibdir_gopath)" \
|
||||
GOCACHE="${T}/go-cache" \
|
||||
go install -v -work -x -ldflags="-w" ./... || die
|
||||
|
||||
dobin bin/traitor
|
||||
}
|
||||
Loading…
Reference in a new issue