mirror of
https://github.com/pentoo/pentoo-overlay
synced 2026-01-30 20:14:17 +01:00
set: bump
This commit is contained in:
parent
a9142a3d63
commit
6a1fccd2da
3 changed files with 213 additions and 0 deletions
|
|
@ -1,4 +1,5 @@
|
|||
AUX set-5.3.4-ssmtp.patch 4285 SHA256 7bc8887d11ad3c44b1bf392b03416abbc658ac65e2e3618daf8e90ead6c55575 SHA512 135e02854c14dc8311fd662c48abd3e41d82c672d753b76983d03c4dd075d54e212e678011be9262790e56246b341dd615e95830b9d993d2f05c953c8ace31e4 WHIRLPOOL be7a3d80ef5ed2a734a4830a76d7953d3fca83924a2701bbda43d35c18d5ee2a0ed3c6e7b22ad6eabd550f0effefc2ee39430c6a6ea79566b17bf3f99f47db9c
|
||||
AUX set-6.0-ssmtp.patch 4672 SHA256 edf509df2c9ec4fc8b1ad13ee7c8b21e452f23b4779295b9724113ad790570a4 SHA512 7a966376555fbb8cb428482fb27a858aa2f952e06d9ab22d9f7c4d40c36c68c6a8c60cbaa186c7cb9a49272a0c9008346d3659e7bf492895337cf78d3eb7ec4b WHIRLPOOL 8a6be9de1f457e2745df0973d359a70d454c31607adc8948fd957ed07bff3f952c53d734639fc60ba805db685095b0c5ba7690e7fe2f56d55e2197c8e81c4cc2
|
||||
AUX set-9999-ssmtp.patch 4672 SHA256 edf509df2c9ec4fc8b1ad13ee7c8b21e452f23b4779295b9724113ad790570a4 SHA512 7a966376555fbb8cb428482fb27a858aa2f952e06d9ab22d9f7c4d40c36c68c6a8c60cbaa186c7cb9a49272a0c9008346d3659e7bf492895337cf78d3eb7ec4b WHIRLPOOL 8a6be9de1f457e2745df0973d359a70d454c31607adc8948fd957ed07bff3f952c53d734639fc60ba805db685095b0c5ba7690e7fe2f56d55e2197c8e81c4cc2
|
||||
AUX set-automate 51 SHA256 e6fef5da3610e4231141af63178efb7c7f6819712a62302b896f08b410509bfc SHA512 4125c3c2c8ec754ce4be16df1d9730e85b7b664dc57c35f1e53d0f9f34439cd910048151e209b7d0d9e6d7c54d09c619bd2eaba1cc308316673d87749f60c4a3 WHIRLPOOL 1e1fa13d4c3e234bea6823294f00184adf07d55af151c6eaed1b7c1d7486a64960f8bbdbd6fd29b8f90071b6caad55dcc0db190a1dcbea605bcca0fe2aeb0524
|
||||
AUX set-proxy 48 SHA256 c03e06914ed7d36fe363d41cf93faff6bd3778200494f609d548af538596fb1e SHA512 17c4c1078c1bd12bbb79d500d61499ab03b7839bc15bbe7d94786821447b8623036698cb0290a211e84033d9ac438c9c4ad68565977ad43f432073354cf1d83b WHIRLPOOL 0773437917d545371c9826b7c1cec9e8b7dad075a7517eb2ff93fdbc8787ce8f4ac4978109e3649e65721f38c0d2996ab34e37491509a6eaffc178968a561fa5
|
||||
|
|
@ -6,6 +7,8 @@ AUX set-web 46 SHA256 9843a8cebec816daa53953b2addb3249a31a8aaecbf25a15fa11417687
|
|||
AUX setoolkit 48 SHA256 27cd5e32319101e551d5a901b324e4cc44b530bfecb8de031f4fa2c13ee078ea SHA512 77629aaf259730f914363a9a323ba0a4183038f9acaee6fd76572fd49d28a69bde21e1551d57a6c9b5854c5b5dc84daa9bf06a13190b44474c187960ff2a0b5a WHIRLPOOL 6e958454102fac4c717780c98c18cabd77f4a65f770338b429cd6b3ada897ff6b1fc254d03508e8d2a6dd0ce86c4c3b4bb04d10f09546509341dbcdf81d8b426
|
||||
DIST set-5.3.4.tar.gz 43434794 SHA256 3431b0a34fc9c32616e675b279c95ce4ed399081434217796ebd5c53125e3162 SHA512 609d22e4838024c9980693fbcd2cf00868be3ea896259fe5ae087882ede4d7599d7de33c85e25fcb8587ec49dbf9a1f2df3156806b85738a59459f9f82edce08 WHIRLPOOL e1943723e4645cc7e6d1a97430228b3b3e848fc803d39f8314b09ecd09a1466211517e3d96b34873f1fac88e6f272721651ce8d9b61a371a5d61640aea073814
|
||||
DIST set-5.4.8.tar.gz 41903976 SHA256 5db5663a533663a344f28b4cff7ee40a3410a7d1106de1a61d49635fc068630a SHA512 7f580adb852df736f6def4851da5ca50c6dd702f48c1fa679c75ba58c4a92b1576367121c6d8ae1957a4cfdcca506cc0e30512cc2c3a09a6743103d5788a1ced WHIRLPOOL ed292cbcdad06653b11cbb60b6d8cb7aec7eb1323def937ff3cb66d2f4bdf2dcf8689cdba94ebc523afabb9eb3c0af6daedc49024d34031b372c3b540faf1cbc
|
||||
DIST set-6.0.tar.gz 41976414 SHA256 0e13a3d43265c4460340a940792982ad4753212967322ecaa79244d481c5844d SHA512 808c0ce713b86087e5436612a232070ffe39d4d96a3f8372c896d1a059206e08f5cfa9d849daf39272e7ce33452813ebf089c6643f4a4f6d2baa0d734cb60401 WHIRLPOOL 2163d8756ae0b25d3a33cd8f724c16a51eac343fdda5ddac21d3bd804084e3139e55b10995aa2c23d1f0d9639d07600ff389bf137c7f785c4093c39aef6a7532
|
||||
EBUILD set-5.3.4.ebuild 3297 SHA256 8722a5ff6bc9372f98830a26a4451aa452d043fb790bfed9d80449d80a5f07fb SHA512 c86f5e6be2c7a82185506b0eee3c153fbf2b11394a79c63c261b77da683f2961a92530be72e7dc0d92bc1ef7014de7c740fb3c17b230dbc6937f304f46aaae59 WHIRLPOOL c6276cec9efab85f90c22e3f1b66232b40d0aed8fd0c4013c00e37ff2bb44f8ed369b2e38c4eb33efaedf320dadcb35d65c787910d5c66ac689ab5f37bc5f7cc
|
||||
EBUILD set-5.4.8.ebuild 3452 SHA256 8c6e135ee745cfedde33ee82ba4c9c29692d6e47bda85373d2d60b7d3dfa02a2 SHA512 1bf631f4fe0fc5ceae75e1d63f1c42d36c31478bf40664f5bc0bdea5a2ee5b4e31cca090a117b90c67ae32846c02e5591259da9dbb1d3850493b7031c5a6c82a WHIRLPOOL c0b21ed7e97969ce09b54a47300cf0f1ecedd2751702bef05ea26ddbacfddfef090bbb76efd8b481e461eeb054a34981817740862148a6d4ccb2b844cafa35a1
|
||||
EBUILD set-6.0.ebuild 3445 SHA256 51b56a7b0ef345b70b2cd8345074af05c055971729c5f56fb46f6fa82360ebb7 SHA512 205f40ebf9f539ba6e4621c51c75dde020fbf64da31f29960a205ee44314feba0145c727692469d43b58065ddb6e16c2a4eb23ebdf1fcc521efd6f297a68e513 WHIRLPOOL 76b79975751213d9ac6b711e26ce45331d38c9b7c3f3b0c4f120ee5cd3fcfe44143b2c60239573d0570fb59195318b88f29861aa2b684253f0a2a32f79a3eb61
|
||||
EBUILD set-9999.ebuild 3445 SHA256 51b56a7b0ef345b70b2cd8345074af05c055971729c5f56fb46f6fa82360ebb7 SHA512 205f40ebf9f539ba6e4621c51c75dde020fbf64da31f29960a205ee44314feba0145c727692469d43b58065ddb6e16c2a4eb23ebdf1fcc521efd6f297a68e513 WHIRLPOOL 76b79975751213d9ac6b711e26ce45331d38c9b7c3f3b0c4f120ee5cd3fcfe44143b2c60239573d0570fb59195318b88f29861aa2b684253f0a2a32f79a3eb61
|
||||
|
|
|
|||
91
net-analyzer/set/files/set-6.0-ssmtp.patch
Normal file
91
net-analyzer/set/files/set-6.0-ssmtp.patch
Normal file
|
|
@ -0,0 +1,91 @@
|
|||
From e02a0b6cf7644c47bb8ae85c193f6c88cbad0e76 Mon Sep 17 00:00:00 2001
|
||||
From: "Rick Farina (Zero_Chaos)" <zerochaos@gentoo.org>
|
||||
Date: Mon, 19 May 2014 11:55:45 -0400
|
||||
Subject: [PATCH] fix ssmtp support
|
||||
|
||||
starting sendmail from inside set is just odd, especially when it is
|
||||
entirely pointless on most linux distros. kill it and leave a note
|
||||
telling users to ensure their mta is sane.
|
||||
---
|
||||
src/phishing/smtp/client/smtp_client.py | 27 +++++++--------------------
|
||||
src/phishing/smtp/client/smtp_web.py | 26 +++++++-------------------
|
||||
2 files changed, 14 insertions(+), 39 deletions(-)
|
||||
|
||||
diff --git a/src/phishing/smtp/client/smtp_client.py b/src/phishing/smtp/client/smtp_client.py
|
||||
index 75792a1..422289a 100644
|
||||
--- a/src/phishing/smtp/client/smtp_client.py
|
||||
+++ b/src/phishing/smtp/client/smtp_client.py
|
||||
@@ -32,26 +32,13 @@ for line in sendmail_file:
|
||||
if match:
|
||||
# if match and if line is flipped on continue on
|
||||
if line == ("SENDMAIL=ON"):
|
||||
- print_info("Sendmail is a Linux based SMTP Server, this can be used to spoof email addresses.")
|
||||
- print_info("Sendmail can take up to three minutes to start FYI.")
|
||||
- print_status("Sendmail is set to ON")
|
||||
- sendmail_choice = yesno_prompt(["1"], "Start Sendmail? [yes|no]")
|
||||
- # if yes, then do some good stuff
|
||||
- if sendmail_choice == "YES":
|
||||
- print_info("NOTE: Sendmail can take 3-5 minutes to start.")
|
||||
- if os.path.isfile("/etc/init.d/sendmail"):
|
||||
- subprocess.Popen("/etc/init.d/sendmail start", shell=True).wait()
|
||||
- # if not there then prompt user
|
||||
- if not os.path.isfile("/etc/init.d/sendmail"):
|
||||
- pause=raw_input("[!] Sendmail was not found. Install it and try again. (For Kali: apt-get install sendmail-bin)")
|
||||
- sys.exit()
|
||||
- smtp = ("localhost")
|
||||
- port = ("25")
|
||||
- # Flip sendmail switch to get rid of some questions
|
||||
- sendmail=1
|
||||
- # just throw user and password to blank, needed for defining below
|
||||
- provideruser=''
|
||||
- pwd=''
|
||||
+ print_info("You need to configure EMAIL_PROVIDER and /etc/ssmtp/* parameters manually before")
|
||||
+ print_info("running this option")
|
||||
+ # Flip sendmail switch to get rid of some questions
|
||||
+ sendmail=1
|
||||
+ # just throw user and password to blank, needed for defining below
|
||||
+ provideruser=''
|
||||
+ pwd=''
|
||||
|
||||
# Search for SMTP provider we will be using
|
||||
match1=re.search("EMAIL_PROVIDER=", line)
|
||||
diff --git a/src/phishing/smtp/client/smtp_web.py b/src/phishing/smtp/client/smtp_web.py
|
||||
index ba75e60..2b89f6a 100644
|
||||
--- a/src/phishing/smtp/client/smtp_web.py
|
||||
+++ b/src/phishing/smtp/client/smtp_web.py
|
||||
@@ -38,25 +38,13 @@ for line in sendmail_file:
|
||||
if match:
|
||||
# if match and if line is flipped on continue on
|
||||
if line == ("SENDMAIL=ON"):
|
||||
- print_info("Sendmail is a Linux based SMTP Server, this can be used to spoof email addresses.")
|
||||
- print_info("Sendmail can take up to three minutes to start")
|
||||
- print_status("Sendmail is set to ON")
|
||||
- sendmail_choice = yesno_prompt(["1"], "Start Sendmail? [yes|no]")
|
||||
- # if yes, then do some good stuff
|
||||
- if sendmail_choice == "YES":
|
||||
- print_info("Sendmail can take up to 3-5 minutes to start")
|
||||
- if os.path.isfile("/etc/init.d/sendmail"):
|
||||
- subprocess.Popen("/etc/init.d/sendmail start", shell=True).wait()
|
||||
- if not os.path.isfile("/etc/init.d/sendmail"):
|
||||
- pause = raw_input("[!] Sendmail was not found. Try again and restart. (For Kali - apt-get install sendmail-bin)")
|
||||
- sys.exit()
|
||||
- smtp = ("localhost")
|
||||
- port = ("25")
|
||||
- # Flip sendmail switch to get rid of some questions
|
||||
- sendmail=1
|
||||
- # just throw provideruser and password to blank, needed for defining below
|
||||
- provideruser=''
|
||||
- pwd=''
|
||||
+ print_info("You need to configure EMAIL_PROVIDER and /etc/ssmtp/* parameters manually before")
|
||||
+ print_info("running this option")
|
||||
+ # Flip sendmail switch to get rid of some questions
|
||||
+ sendmail=1
|
||||
+ # just throw provideruser and password to blank, needed for defining below
|
||||
+ provideruser=''
|
||||
+ pwd=''
|
||||
|
||||
# Search for SMTP provider we will be using
|
||||
match1=re.search("EMAIL_PROVIDER=", line)
|
||||
--
|
||||
1.8.5.5
|
||||
|
||||
119
net-analyzer/set/set-6.0.ebuild
Normal file
119
net-analyzer/set/set-6.0.ebuild
Normal file
|
|
@ -0,0 +1,119 @@
|
|||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: Exp $
|
||||
|
||||
EAPI="5"
|
||||
|
||||
|
||||
PYTHON_DEPEND="2"
|
||||
inherit multilib eutils python
|
||||
|
||||
if [[ ${PV} == "9999" ]]; then
|
||||
inherit git-r3
|
||||
EGIT_REPO_URI="https://github.com/trustedsec/social-engineer-toolkit.git"
|
||||
KEYWORDS=""
|
||||
else
|
||||
SRC_URI="https://github.com/trustedsec/social-engineer-toolkit/archive/${PV}.tar.gz -> ${P}.tar.gz"
|
||||
KEYWORDS="~amd64 ~arm ~x86"
|
||||
MY_P=${P/set/social-engineer-toolkit}
|
||||
S=${WORKDIR}/${MY_P}
|
||||
fi
|
||||
|
||||
DESCRIPTION="A social engineering framework"
|
||||
HOMEPAGE="https://www.trustedsec.com/downloads/social-engineer-toolkit/"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
IUSE="+ettercap +wireless"
|
||||
|
||||
QA_PREBUILT="
|
||||
usr/$(get_libdir)/set/src/payloads/ratte/ratteserver
|
||||
usr/$(get_libdir)/set/src/payloads/set_payloads/shell.linux
|
||||
"
|
||||
|
||||
# blocker on ruby-1.8.7:
|
||||
# http://spool.metasploit.com/pipermail/framework/2008-September/003671.html
|
||||
RDEPEND="virtual/jdk
|
||||
net-analyzer/metasploit
|
||||
dev-python/pexpect
|
||||
net-misc/wget
|
||||
dev-python/beautifulsoup:python-2
|
||||
dev-python/pymssql
|
||||
dev-python/pyopenssl
|
||||
ettercap? ( net-analyzer/ettercap )
|
||||
wireless? ( net-wireless/aircrack-ng
|
||||
net-analyzer/dsniff )
|
||||
|| ( mail-mta/ssmtp
|
||||
mail-mta/postfix
|
||||
mail-mta/sendmail )"
|
||||
DEPEND=""
|
||||
|
||||
|
||||
pkg_setup() {
|
||||
python_set_active_version 2
|
||||
python_pkg_setup
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
python_convert_shebangs -r 2 .
|
||||
|
||||
if has_version mail-mta/ssmtp
|
||||
then
|
||||
epatch "${FILESDIR}"/${P}-ssmtp.patch
|
||||
fi
|
||||
if has_version mail-mta/postfix
|
||||
then
|
||||
sed -e 's:/etc/init.d/sendmail:/etc/init.d/postfix:g' \
|
||||
-i src/phishing/smtp/client/smtp_web.py \
|
||||
src/phishing/smtp/client/smtp_client.py
|
||||
fi
|
||||
# We forced postfix or sendmail anyway
|
||||
sed -e 's:SENDMAIL=OFF:SENDMAIL=ON:' -i config/set_config
|
||||
sed -e 's:METASPLOIT_PATH=.*:METASPLOIT_PATH=/usr/lib/metasploit/:' -i config/set_config
|
||||
|
||||
# fix paths for airbase, dnsspoof
|
||||
sed -e 's|/usr/local/sbin/|/usr/sbin/|' -i config/set_config
|
||||
}
|
||||
|
||||
src_install() {
|
||||
# We have global agreement
|
||||
touch "${S}"/src/agreement4
|
||||
|
||||
# should be as simple as copying everything into the target...
|
||||
dodir /usr/$(get_libdir)/${PN}
|
||||
cp -R "${S}"/* "${D}"/usr/$(get_libdir)/${PN} || die "Copy files failed"
|
||||
rm -Rf "${D}"/usr/$(get_libdir)/${PN}/readme
|
||||
|
||||
#we don't need a dynamically compiled wget, we have that
|
||||
rm -rf "${D}"/usr/$(get_libdir)/set/src/webattack/web_clone/linux
|
||||
#especially not for MacOSX
|
||||
rm -rf "${D}"/usr/$(get_libdir)/set/src/webattack/web_clone/osx
|
||||
#remove more broken staticly compiled crap
|
||||
rm -rf "${D}"/usr/$(get_libdir)/set/src/wireless/{airbase-ng,airmon-ng}
|
||||
#remove other unnecessary files
|
||||
rm -rf "${D}"/usr/$(get_libdir)/set/{setup.py,set-update}
|
||||
|
||||
dodir /usr/share/doc/${PF}
|
||||
cp -R "${S}"/readme/* "${D}"/usr/share/doc/${PF}
|
||||
dosym /usr/share/doc/${PF} /usr/$(get_libdir)/${PN}/readme
|
||||
|
||||
dosbin "${FILESDIR}"/{setoolkit,set-automate,set-proxy,set-web}
|
||||
#make all tools start with set-<name>
|
||||
dosym /usr/sbin/setoolkit /usr/sbin/set-toolkit
|
||||
dosym /usr/sbin/setoolkit /usr/sbin/se-toolkit
|
||||
|
||||
chown -R root:0 "${D}"
|
||||
}
|
||||
|
||||
#It's just to buggy that python_mod_optimize doesn't help.
|
||||
#pkg_postinst() {
|
||||
# python_mod_optimize /usr/$(get_libdir)/set/src/core/set.py \
|
||||
# /usr/$(get_libdir)/set/config/update_config.py \
|
||||
# /usr/$(get_libdir)/set/src/phishing/smtp/client/smtp_web.py
|
||||
#}
|
||||
|
||||
#pkg_postrm() {
|
||||
# Set is not coded properly.
|
||||
# We use the workaround below to remove set_config.py and other pyc/pyo files
|
||||
# rm -rf "/usr/$(get_libdir)/set"
|
||||
#}
|
||||
Loading…
Reference in a new issue