Skip to content
Browse files

updated acpi_call-git, set-svn, and intrace packages

  • Loading branch information...
1 parent 4e7b606 commit dd4ea206ff50c8bd974406bd9f739b4e454936b7 @fnord0 committed Jul 13, 2012
Showing with 27 additions and 28 deletions.
  1. +9 −3 acpi_call-git/PKGBUILD
  2. +3 −3 intrace/PKGBUILD
  3. +15 −22 set-svn/PKGBUILD
View
12 acpi_call-git/PKGBUILD
@@ -1,7 +1,7 @@
# Contributor: fnord0 <fnord0 AT riseup DOT net>
pkgname=acpi_call-git
-pkgver=20120222
+pkgver=20120709
pkgrel=1
pkgdesc="kernel module that enables calls to ACPI methods through /proc/acpi/call. e.g. to turn off discrete graphics card in a dual graphics environment (like NVIDIA Optimus)"
arch=('i686' 'x86_64')
@@ -34,6 +34,9 @@ build() {
cp -r ${srcdir}/${_gitname} ${srcdir}/${_gitname}-build
cd ${srcdir}/${_gitname}-build
+ if [ -d /usr/lib/modules ] ; then
+ sed -i 's|/lib/modules/|/usr/lib/modules/|g' ./Makefile || return 1
+ fi
make
}
package() {
@@ -62,7 +65,10 @@ package() {
make KDIR=/usr/src/linux-${_kernver} clean
make KDIR=/usr/src/linux-${_kernver}
- install -D -m644 acpi_call.ko ${pkgdir}/lib/modules/${_kernver}/kernel/drivers/acpi/acpi_call.ko
-
+ if [ -d /usr/lib/modules ] ; then
+ install -D -m644 acpi_call.ko ${pkgdir}/usr/lib/modules/${_kernver}/kernel/drivers/acpi/acpi_call.ko
+ else
+ install -D -m644 acpi_call.ko ${pkgdir}/lib/modules/${_kernver}/kernel/drivers/acpi/acpi_call.ko
+ fi
done
}
View
6 intrace/PKGBUILD
@@ -1,15 +1,15 @@
# Maintainer: fnord0 <fnord0 AT riseup DOT net>
pkgname=intrace
-pkgver=1.4.3
+pkgver=1.5
pkgrel=1
pkgdesc="Traceroute-like application piggybacking on existing TCP connections"
url="http://intrace.googlecode.com"
arch=('i686' 'x86_64')
license=('GPLv2' 'GPLv3')
source=("http://intrace.googlecode.com/files/${pkgname}-${pkgver}.tgz")
-md5sums=('7cc6e6b2678c45549c5de8c98968bf18')
-sha1sums=('8ca90fa698c3ea43fc70475db73fc8ae5c7065fe')
+md5sums=('c385d9087e476655eb41b4444f7e2fbf')
+sha1sums=('bfcd412051c7c981fee2ea4453c796a17ce581de')
build() {
cd ${srcdir}/${pkgname}-${pkgver}
View
37 set-svn/PKGBUILD
@@ -1,12 +1,12 @@
# Contributor: fnord0 <fnord0 AT riseup DOT net>
pkgname=set-svn
-pkgver=1243
-pkgrel=1
+pkgver=1426
+pkgrel=4
pkgdesc="Social Engineering Toolkit (SET): a python-driven suite of custom tools focusing on attacking the human element of pentesting"
arch=('i686' 'x86_64')
-url="http://www.secmaniac.com/download/"
+url="https://www.trustedsec.com/downloads/social-engineer-toolkit/"
license=('BSD')
-depends=('metasploit' 'python2' 'beautiful-soup' 'python-pexpect')
+depends=('metasploit' 'python2' 'python2-beautifulsoup3' 'python-pexpect')
makedepends=('subversion')
optdepends=('ettercap: DNS spoofing and ARP cache poisoning capabilities'
'sendmail: email address spoofing'
@@ -19,7 +19,7 @@ optdepends=('ettercap: DNS spoofing and ARP cache poisoning capabilities'
'aircrack-ng: rouge access point capabilities'
'dsniff: DNS spoofing capabilities')
provides=('set')
-_svntrunk=http://svn.secmaniac.com/social_engineering_toolkit
+_svntrunk=http://svn.trustedsec.com/social_engineering_toolkit
_svnmod=SET
options=('!strip')
backup=('usr/src/SET/config/set_config')
@@ -36,32 +36,30 @@ build() {
mkdir -p ${pkgdir}/usr/{bin,src} || return 1
cd ${pkgdir}/usr/src
- cp -R ${srcdir} ${_svnmod} || return 1
+ cp -pR ${srcdir} ${_svnmod} || return 1
# archlinux fixes
cd ${pkgdir}/usr/src/${_svnmod}
grep -rl python ${pkgdir}/usr/src/${_svnmod}/ | xargs sed -i 's|python|python2|g' || return 1
- # TODO: working on a sane'r way to repalce 'python' with 'python2' in necessary files
- #sed -i -e "s|#![ ]*/usr/bin/python$|#!/usr/bin/python2|" \
- # -e "s|#![ ]*/usr/bin/env python$|#!/usr/bin/env python2|" \
- # $(find ${pkgdir}/usr/src/${_svnmod} -name '*.py' -o -name 'set' -o -name 'set-automate' -o -name 'set-proxy' -o -name 'set-web' -o -name 'set-update' -o -name 'set-web' ) || return 1
+ # TODO: working on a sane'r way to repalce 'python' with 'python2' in ALL necessary files
+ #sed -i -e "s|#![ ]*/usr/bin/python$|#!/usr/bin/python2|" \
+ # -e "s|#![ ]*/usr/bin/env python$|#!/usr/bin/env python2|" \
+ # $(find ${pkgdir}/usr/src/${_svnmod}/ -name '*.py' -o -name 'set' -o -iname 'set-automate' -o -iname 'set-proxy' -o -iname 'set-update' -o -iname 'set-web' ) || return 1
cd ${pkgdir}/usr/src/${_svnmod}/config
#check if metasploit-svn or metasploit stable is installed (metasploit-svn takes presidence)
- #apply archlinux metasploit home directory to set_config + more archlinux tweaks
+ #apply archlinux metasploit/httpd/dnsspoof/airbase-ng home directory to set_config
if [ -d /usr/src/metasploit ]; then
- sed -i 's|/opt/framework3/msf3|/usr/src/metasploit|g' ./set_config || return 1
+ sed -i 's|/opt/metasploit/msf3|/usr/src/metasploit|g' ./set_config || return 1
else
- sed -i 's|/opt/framework3/msf3|/opt/metasploit|g' ./set_config || return 1
+ sed -i 's|/opt/metasploit/msf3|/opt/metasploit|g' ./set_config || return 1
fi
sed -i 's|/var/www|/srv/http|g' ./set_config || return 1
sed -i 's|/usr/local/sbin/dnsspoof|/usr/sbin/dnsspoof|g' ./set_config || return 1
sed -i 's|/usr/local/sbin/airbase-ng|/usr/sbin/airbase-ng|g' ./set_config || return 1
- sed -i 's|/pentest/database/sqlmap/lib/contrib/upx/linux/upx|/usr/bin/upx|g' ./set_config || return 1
- sed -i 's|/pentest/wireless/aircrack-ng/src/airbase-ng|/usr/sbin/airbase-ng|g' ./set_config || return 1
cd ${srcdir}/readme
install -Dm644 ${srcdir}/readme/LICENSE ${pkgdir}/usr/share/licenses/${_svnmod}/LICENSE || return 1
- #create startup app /usr/bin/SET
+ #create startup app @ /usr/bin/SET
echo "#!/bin/sh" > ${pkgdir}/usr/bin/${_svnmod}
echo "if [ \"\$1\" = \"-h\" ] || [ \"\$1\" = \"--help\" ]; then" >> ${pkgdir}/usr/bin/${_svnmod}
echo "echo -e \"\"" >> ${pkgdir}/usr/bin/${_svnmod}
@@ -71,7 +69,6 @@ build() {
echo "echo -e \" COMMAND LINE ARGUMENTS\"" >> ${pkgdir}/usr/bin/${_svnmod}
echo "echo -e \" \e[1;36m(DEFAULT/NONE)\e[0m => Social-Engineer Toolkit CLI\"" >> ${pkgdir}/usr/bin/${_svnmod}
echo "echo -e \" \e[1;34m-a\e[0m <\e[1;32mpath/file\e[0m> => Social-Engineer Toolkit Automation\"" >> ${pkgdir}/usr/bin/${_svnmod}
- echo "echo -e \" \e[1;34m-c\e[0m => Social-Engineer Toolkit Command-Center (\e[0m\e[1;32mwebserver\e[0m)\"" >> ${pkgdir}/usr/bin/${_svnmod}
echo "echo -e \" \e[1;34m-p\e[0m => Print SET config file '\e[0m\e[1;32m/usr/src/SET/config/set_config\e[0m'\"" >> ${pkgdir}/usr/bin/${_svnmod}
echo "echo -e \" \e[1;34m-e\e[0m => Print only enabled settings in SET config file\"" >> ${pkgdir}/usr/bin/${_svnmod}
echo "echo -e \" \e[1;34m-h\e[0m => Help dialogue\"" >> ${pkgdir}/usr/bin/${_svnmod}
@@ -86,10 +83,6 @@ build() {
echo "cd /usr/src/SET/config" >> ${pkgdir}/usr/bin/${_svnmod}
echo "cat ./set_config" >> ${pkgdir}/usr/bin/${_svnmod}
echo "cd -" >> ${pkgdir}/usr/bin/${_svnmod}
- echo "elif [ \"\$1\" = \"-c\" ]; then" >> ${pkgdir}/usr/bin/${_svnmod}
- echo "cd /usr/src/SET" >> ${pkgdir}/usr/bin/${_svnmod}
- echo "./set-web \"\$2\" \"\$3\" \"\$4\" \"\$5\" \"\$6\"" >> ${pkgdir}/usr/bin/${_svnmod}
- echo "cd -" >> ${pkgdir}/usr/bin/${_svnmod}
echo "else" >> ${pkgdir}/usr/bin/${_svnmod}
echo "cd /usr/src/SET" >> ${pkgdir}/usr/bin/${_svnmod}
echo "./set \"\$@\"" >> ${pkgdir}/usr/bin/${_svnmod}
@@ -100,7 +93,7 @@ build() {
#user notification
echo -e ""
echo -e "\e[1;31m[\e[0m\e[1;34m*\e[0m\e[1;31m]\e[0m \e[1;31mrun '\e[0m\e[1;34m/usr/bin/SET -h\e[0m\e[1;31m' for an explanation of SET startup options\e[0m"
- echo -e "\e[1;31m[\e[0m\e[1;34m*\e[0m\e[1;31m]\e[0m \e[1;31muse '\e[0m\e[1;34m/usr/src/SET/config/set_config\e[0m\e[1;31m' to customize the SET configuration\e[0m"
+ echo -e "\e[1;31m[\e[0m\e[1;34m*\e[0m\e[1;31m]\e[0m \e[1;31medit '\e[0m\e[1;34m/usr/src/SET/config/set_config\e[0m\e[1;31m' to customize the SET configuration\e[0m"
echo -e "\e[1;34m>>>\e[0m \e[1;31mSET homepage @ \e[0m\e[1;32mhttp://www.secmaniac.com\e[0m"
echo -e "\e[1;34m>>>\e[0m \e[1;31mSET framework @ \e[0m\e[1;32mhttp://www.social-engineer.org\e[0m"
echo -e ""

0 comments on commit dd4ea20

Please sign in to comment.
Something went wrong with that request. Please try again.