Coder Social home page Coder Social logo

homebrew-pentest's Introduction

Homebrew Tap - Pen Test Tools

NOTICE

This repo is UNMAINTAINED. Unless pull requests are received, no changes or fixes will be made in the foreseable future. I no longer use these formulae, and do not have the time to keep them in a working state.

About

This is a Tap containing some Homebrew formulas consisting of penetration testing related tools. Nearly all these formulas should build and run on both macOS and Linux.

macOS Specific Notes

The following Formulae do not build/work under macOS:

  • enum4linux - depends on rpcclient, net, nmblookup, smbclient which are tools included with Samba and not found on macOS
  • libnl - depends on specific functionality contained only within the Linux kernel
  • aircrack-ng - depends on libnl (see above)
  • wifite - depends on aircrack-ng (see above)
  • nfsshell - depends on specific functionality contained within the glibc library
  • frogger - depends on the Linux vconfig tool
  • mitmf - a python dependency depends on specific functionality found only within the Linux kernel

Ubuntu Specific Notes

The following dependencies will need to be installed on Ubuntu based systems:

sudo apt install build-essential curl git libpcap-dev python-setuptools python-dev

Available Tools

information-gathering

tool install
CeWL brew install sidaf/pentest/cewl
dirb brew install sidaf/pentest/dirb
dnsrecon brew install sidaf/pentest/dnsrecon
enum4linux brew install sidaf/pentest/enum4linux
gobuster brew install sidaf/pentest/gobuster
netdiscover brew install sidaf/pentest/netdiscover
polenum brew install sidaf/pentest/polenum
praeda brew install sidaf/pentest/praeda
recon-ng brew install sidaf/pentest/recon-ng
ridenum brew install sidaf/pentest/ridenum
Scrape-DNS brew install sidaf/pentest/scrape_dns
SimplyEmail brew install sidaf/pentest/simply_email
snmpcheck brew install sidaf/pentest/snmpcheck
theHarvester brew install sidaf/pentest/the_harvester
wafw00f brew install sidaf/pentest/wafw00f
whatweb brew install sidaf/pentest/whatweb
wig brew install sidaf/pentest/wig

vulnerability-analysis

tool install
aircrack-ng brew install sidaf/pentest/aircrack-ng
ikeforce brew install sidaf/pentest/ikeforce
iker brew install sidaf/pentest/iker
header-check brew install sidaf/pentest/header_check
nfsshell brew install sidaf/pentest/nfsshell
nopc brew install sidaf/pentest/nopc
rdp-sec-check brew install sidaf/pentest/rdp-sec-check
serializekiller brew install sidaf/pentest/serializekiller
sslscan brew install sidaf/pentest/sslscan-static
ssl-cipher-suite-enum brew install sidaf/pentest/ssl-cipher-suite-enum
testssl brew install sidaf/pentest/testssl-static
vFeed brew install sidaf/pentest/vfeed
wfuzz brew install sidaf/pentest/wfuzz
windows-exploit-suggester brew install sidaf/pentest/windows-exploit-suggester
wpscan brew install sidaf/pentest/wpscan
yasuo brew install sidaf/pentest/yasuo

exploitation

tool install
armitage brew install sidaf/pentest/armitage
bettercap brew install sidaf/pentest/bettercap
crackmapexec brew install sidaf/pentest/crackmapexec
clusterd brew install sidaf/pentest/clusterd
commix brew install sidaf/pentest/commix
frogger brew install sidaf/pentest/frogger
jexboss brew install sidaf/pentest/jex_boss
impacket brew install sidaf/pentest/impacket
inception brew install sidaf/pentest/inception
metasploit brew install sidaf/pentest/metasploit-framework
mitmf brew install sidaf/pentest/mitmf
odat brew install sidaf/pentest/odat
panoptic brew install sidaf/pentest/panoptic
responder brew install sidaf/pentest/responder
sqlmap brew install sidaf/pentest/sqlmap
wifite brew install sidaf/pentest/wifite
yersinia brew install sidaf/pentest/yersinia
ysoserial brew install sidaf/pentest/ysoserial

post-exploitation

tool install
babel-sf brew install sidaf/pentest/babel-sf
egressbuster brew install sidaf/pentest/egressbuster
empire brew install sidaf/pentest/empire
laudanum brew install sidaf/pentest/laudanum
nishang brew install sidaf/pentest/nishang
posh-secmod brew install sidaf/pentest/posh-secmod
powersploit brew install sidaf/pentest/powersploit
pykek brew install sidaf/pentest/pykek
tater brew install sidaf/pentest/tater
unicorn brew install sidaf/pentest/magic_unicorn

password-recovery

tool install
cowpatty brew install sidaf/pentest/cowpatty
crunch brew install sidaf/pentest/crunch
hashcat-bin brew install sidaf/pentest/hashcat-bin
hashcat-legacy brew install sidaf/pentest/hashcat-legacy
hashcat-utils brew install sidaf/pentest/hashcat-utils
hashid brew install sidaf/pentest/hashid
john brew install sidaf/pentest/john-jumbo

wordlists

tools install
fuzzdb brew install sidaf/pentest/fuzzdb
SecList brew install sidaf/pentest/sec_lists
RobotsDisallowed brew install sidaf/pentest/robots_disallowed

Todo

vulnerability-analysis

exploitation

post-exploitation

av-bypass

  • backdoorfactory
  • pyobfuscate
  • shellter
  • veil-evasion

password-recovery

  • iphelix-pack

homebrew-pentest's People

Contributors

jbisterfeldt avatar resistor4u avatar sidaf avatar tamasdxw avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

homebrew-pentest's Issues

brew install sidaf/pentest/john-jumbo error

โžœ brew install sidaf/pentest/john-jumbo
Error: No available formula with the name "sidaf/pentest/john-jumbo"
==> Searching for a previously deleted formula (in the last month)...
Error: No previously deleted formula found.
==> Searching for similarly named formulae...
Error: No similarly named formulae found.

No john in the formula.

โžœ brew install sidaf/pentest/john-jumbo 1 โ†ต
sidaf/pentest/aircrack-ng sidaf/pentest/ikeforce sidaf/pentest/robots_disallowed
sidaf/pentest/armitage sidaf/pentest/iker sidaf/pentest/scrape_dns
sidaf/pentest/babel-sf sidaf/pentest/impacket sidaf/pentest/sec_lists
sidaf/pentest/bettercap sidaf/pentest/inception sidaf/pentest/serializekiller
sidaf/pentest/cewl sidaf/pentest/jex_boss sidaf/pentest/simply_email
sidaf/pentest/clusterd sidaf/pentest/laudanum sidaf/pentest/snmpcheck
sidaf/pentest/commix sidaf/pentest/libnl sidaf/pentest/sqlmap-extra
sidaf/pentest/cowpatty sidaf/pentest/magic_unicorn sidaf/pentest/ssl-cipher-suite-enum
sidaf/pentest/crackmapexec sidaf/pentest/metasploit-framework sidaf/pentest/sslscan-static
sidaf/pentest/crunch sidaf/pentest/mitmf sidaf/pentest/tater
sidaf/pentest/cuty_capt sidaf/pentest/netdiscover sidaf/pentest/testssl-static
sidaf/pentest/dirb sidaf/pentest/nfsshell sidaf/pentest/the_harvester
sidaf/pentest/dnsrecon sidaf/pentest/nishang sidaf/pentest/vfeed
sidaf/pentest/egressbuster sidaf/pentest/nopc sidaf/pentest/wafw00f
sidaf/pentest/empire sidaf/pentest/odat sidaf/pentest/wfuzz
sidaf/pentest/enum4linux sidaf/pentest/panoptic sidaf/pentest/whatweb
sidaf/pentest/frogger sidaf/pentest/polenum sidaf/pentest/wifite
sidaf/pentest/fuzzdb sidaf/pentest/posh-secmod sidaf/pentest/wig
sidaf/pentest/gobuster sidaf/pentest/powersploit sidaf/pentest/windows-exploit-suggester
sidaf/pentest/hashcat-bin sidaf/pentest/praeda sidaf/pentest/wpscan
sidaf/pentest/hashcat-legacy sidaf/pentest/pykek sidaf/pentest/yasuo
sidaf/pentest/hashcat-utils sidaf/pentest/rdp-sec-check sidaf/pentest/yersinia
sidaf/pentest/hashid sidaf/pentest/recon-ng sidaf/pentest/ysoserial
sidaf/pentest/header_check sidaf/pentest/responder
sidaf/pentest/hostapd-wpe sidaf/pentest/ridenum

Can't tap because of error in laudanum.rb

revision is spelled wrong and brew is throwing an error when trying to tap the repo.

Error: Invalid formula: /usr/local/Homebrew/Library/Taps/sidaf/homebrew-pentest/laudanum.rb
undefined method `revsion' for #Class:0x007fa86fbe2f20
Did you mean? version
revision
Error: Cannot tap sidaf/pentest: invalid syntax in tap!

make fails on libnl

==> make
Last 15 lines from /Users/grin/Library/Logs/Homebrew/libnl/02.make:
1 error generated.
1 error generated.
1 error generated.
1 error generated.
make[2]: *** [error.lo] Error 1
make[2]: *** Waiting for unfinished jobs....
make[2]: *** [handlers.lo] Error 1
make[2]: *** [cache_mngr.lo] Error 1
make[2]: *** [attr.lo] Error 1
make[2]: *** [data.lo] Error 1
make[2]: *** [cache_mngt.lo] Error 1
make[2]: *** [addr.lo] Error 1
make[2]: *** [cache.lo] Error 1
make[1]: *** [all] Error 2
make: *** [all-recursive] Error 1

WIFITE installation failing

Terminal:

$ brew install wifite
==> Installing wifite from sidaf/pentest
==> Installing dependencies for sidaf/pentest/wifite: libnl, sidaf/pentest/aircrack-ng, reaver
==> Installing sidaf/pentest/wifite dependency: libnl
==> Downloading https://www.infradead.org/~tgr/libnl/files/libnl-3.2.25.tar.gz
Already downloaded: /Users/michaelgeorge/Library/Caches/Homebrew/libnl-3.2.25.tar.gz
==> ./configure --prefix=/usr/local/Cellar/libnl/3.2.25_2
==> make
Last 15 lines from /Users/michaelgeorge/Library/Logs/Homebrew/libnl/02.make:
../include/netlink-private/netlink.h:42:10: fatal error: 'linux/types.h' file not found
#include <linux/types.h>
^
In file included from addr.c:30:
../include/netlink-private/netlink.h:42:10: fatal error: 'linux/types.h' file not found
#include <linux/types.h>
^
1 error generated.
1 error generated.
1 error generated.
make[2]: *** [attr.lo] Error 1
make[2]: *** [cache_mngr.lo] Error 1
make[2]: *** [addr.lo] Error 1
make[1]: *** [all] Error 2
make: *** [all-recursive] Error 1

Powershell Empire Not Installed?

$brew install sidaf/pentest/empire
Warning: sidaf/pentest/empire 1.5_2 is already installed

$ empire
Traceback (most recent call last):
File "empire", line 10, in
from lib.common import empire
File "/usr/local/Cellar/empire/1.5_2/libexec/lib/common/empire.py", line 22, in
import http
File "/usr/local/Cellar/empire/1.5_2/libexec/lib/common/http.py", line 53, in
class RequestHandler(BaseHTTPRequestHandler):
File "/usr/local/Cellar/empire/1.5_2/libexec/lib/common/http.py", line 59, in RequestHandler
serverVersion = helpers.get_config('server_version')[0]
File "/usr/local/Cellar/empire/1.5_2/libexec/lib/common/helpers.py", line 495, in get_config
cur.execute("SELECT %s FROM config" %(fields))
sqlite3.OperationalError: no such table: config
ImportError: No module named M2Crypto
ekran resmi 2018-01-20 17 31 01

installing dirb fails Errno::ENOTEMPTY

I'm using mojave

==> Installing sidaf/pentest/dirb
==> Downloading http://downloads.sourceforge.net/project/dirb/dirb/2.22/dirb222.tar.gz
==> Downloading from https://kent.dl.sourceforge.net/project/dirb/dirb/2.22/dirb222.tar.gz
######################################################################## 100.0%
cp: /private/tmp/d20181016-34625-11yurq4/dirb222/.: Permission denied
Error: An exception occurred within a child process:
Errno::ENOTEMPTY: Directory not empty @ dir_s_rmdir - /private/tmp/d20181016-34625-11yurq4

brew install responder error

brew install responder
==> Installing responder from sidaf/pentest
==> Cloning https://github.com/lgandx/Responder
Updating /Users/K0walski/Library/Caches/Homebrew/responder--git
==> Checking out revision b37f562
HEAD is now at b37f562 Added: check for null sessions and MS17-010
HEAD is now at b37f562 Added: check for null sessions and MS17-010
==> Downloading https://pypi.python.org/packages/60/db/645aa9af249f059cc3a368b11
Already downloaded: /Users/K0walski/Library/Caches/Homebrew/downloads/02cc35c52bbb32c170a7f0dd2abd801c214004a63259e5533de27c32c8ed87cf--pycrypto-2.6.1.tar.gz
==> python -c import setuptools... --no-user-cfg install --prefix=/usr/local/Cel
==> Downloading https://pypi.python.org/packages/77/f2/bccec75ca4280a9fa762a90a1
Already downloaded: /Users/K0walski/Library/Caches/Homebrew/downloads/1944eef1972f7d830a3097aeafe50f2703890ba2c018939508c467fcc5d320d8--pyOpenSSL-16.0.0.tar.gz
==> python -c import setuptools... --no-user-cfg install --prefix=/usr/local/Cel
==> Downloading https://pypi.python.org/packages/92/ea/e7d512719dcc672ce7ed5d70f
Already downloaded: /Users/K0walski/Library/Caches/Homebrew/downloads/7b1b166cb2ee4a7e245f322796a1be57839f1a0546edc602684627c998ba2228--cryptography-1.3.1.tar.gz
==> python -c import setuptools... --no-user-cfg install --prefix=/usr/local/Cel
Last 15 lines from /Users/K0walski/Library/Logs/Homebrew/responder/03.python:
int n = (kCCModeOptionCTR_LE) <= 0;
^~~~~~~~~~~~~~~~~~~
kCCModeOptionCTR_BE
/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/CommonCrypto/CommonCryptor.h:685:5: note: 'kCCModeOptionCTR_BE' declared here
kCCModeOptionCTR_BE = 2
^
build/temp.macosx-10.15-x86_64-2.7/_commoncrypto.c:1714:30: error: use of undeclared identifier 'kCCModeOptionCTR_LE'; did you mean 'kCCModeOptionCTR_BE'?
o = (unsigned long long)((kCCModeOptionCTR_LE) | 0); / check that kCCModeOptionCTR_LE is an integer */
^~~~~~~~~~~~~~~~~~~
kCCModeOptionCTR_BE
/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/CommonCrypto/CommonCryptor.h:685:5: note: 'kCCModeOptionCTR_BE' declared here
kCCModeOptionCTR_BE = 2
^
8 errors generated.
error: command 'clang' failed with exit status 1

If reporting this issue please do so at (not Homebrew/brew or Homebrew/core):
https://github.com/sidaf/homebrew-pentest/issues

Error installing mitmf via homebrew on Mac

I'm using Mac OS X-10.15 with Homebrew

clang -fno-strict-aliasing -fno-common -dynamic -g -Os -pipe -fno-common -fno-strict-aliasing -fwrapv -DENABLE_DTRACE -DMACOSX -DNDEBUG -Wall -Wstrict-prototypes -Wshorten-64-to-32 -iwithsysroot /usr/local/libressl/include -DNDEBUG -g -fwrapv -Os -Wall -Wstrict-prototypes -DENABLE_DTRACE -arch x86_64 -pipe -I/System/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7 -c netfilterqueue.c -o build/temp.macosx-10.15-x86_64-2.7/netfilterqueue.o
netfilterqueue.c:258:10: fatal error: 'libnfnetlink/linux_nfnetlink.h' file not found
#include "libnfnetlink/linux_nfnetlink.h"
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
error: command 'clang' failed with exit status 1

Warning: Calling fails_with :llvm is deprecated!

Every time I run a brew command I see this printed three times.

Warning: Calling fails_with :llvm is deprecated! There is no replacement. /usr/local/Homebrew/Library/Taps/sidaf/homebrew-pentest/john-jumbo.rb:23:in <class:JohnJumbo> Please report this to the sidaf/pentest tap!

Error installing mitmf via homebrew on Mac

โžœ  ~ brew install mitmf
==> Installing mitmf from sidaf/pentest
==> Cloning https://github.com/byt3bl33d3r/MITMf
Updating /Users/johnpc/Library/Caches/Homebrew/mitmf--git
==> Checking out revision 28fc081
HEAD is now at 28fc081 Merge pull request #169 from HAMIDx9/master
HEAD is now at 28fc081 Merge pull request #169 from HAMIDx9/master
Entering 'libs/bdfactory'
/Users/johnpc/Library/Caches/Homebrew/mitmf--git/libs/bdfactory
==> Downloading https://pypi.python.org/packages/e7/29/e9ad2a12c38f19e9ca8aff05122e5b9e271da6ecbfb6c4e20aee381b49ff/ca
Already downloaded: /Users/johnpc/Library/Caches/Homebrew/downloads/e48821434a1ad4ebc205173bae695761bfa38ffd63993aaac7e65b41785a300d--capstone-3.0.4.tar.gz
==> python -c import setuptools... --no-user-cfg install --prefix=/usr/local/Cellar/mitmf/0.9.8_3/libexec/vendor --ins
Last 15 lines from /Users/johnpc/Library/Logs/Homebrew/mitmf/01.python:
byte-compiling /usr/local/Cellar/mitmf/0.9.8_3/libexec/vendor/lib/python2.7/site-packages/capstone/arm64.py to arm64.pyc
byte-compiling /usr/local/Cellar/mitmf/0.9.8_3/libexec/vendor/lib/python2.7/site-packages/capstone/ppc.py to ppc.pyc
byte-compiling /usr/local/Cellar/mitmf/0.9.8_3/libexec/vendor/lib/python2.7/site-packages/capstone/__init__.py to __init__.pyc
byte-compiling /usr/local/Cellar/mitmf/0.9.8_3/libexec/vendor/lib/python2.7/site-packages/capstone/arm.py to arm.pyc
byte-compiling /usr/local/Cellar/mitmf/0.9.8_3/libexec/vendor/lib/python2.7/site-packages/capstone/systemz.py to systemz.pyc
byte-compiling /usr/local/Cellar/mitmf/0.9.8_3/libexec/vendor/lib/python2.7/site-packages/capstone/mips.py to mips.pyc
byte-compiling /usr/local/Cellar/mitmf/0.9.8_3/libexec/vendor/lib/python2.7/site-packages/capstone/arm64_const.py to arm64_const.pyc
byte-compiling /usr/local/Cellar/mitmf/0.9.8_3/libexec/vendor/lib/python2.7/site-packages/capstone/x86_const.py to x86_const.pyc
byte-compiling /usr/local/Cellar/mitmf/0.9.8_3/libexec/vendor/lib/python2.7/site-packages/capstone/xcore_const.py to xcore_const.pyc
byte-compiling /usr/local/Cellar/mitmf/0.9.8_3/libexec/vendor/lib/python2.7/site-packages/capstone/x86.py to x86.pyc
byte-compiling /usr/local/Cellar/mitmf/0.9.8_3/libexec/vendor/lib/python2.7/site-packages/capstone/ppc_const.py to ppc_const.pyc
byte-compiling /usr/local/Cellar/mitmf/0.9.8_3/libexec/vendor/lib/python2.7/site-packages/capstone/arm_const.py to arm_const.pyc
byte-compiling /usr/local/Cellar/mitmf/0.9.8_3/libexec/vendor/lib/python2.7/site-packages/capstone/hexagon_const.py to hexagon_const.pyc
running install_data
error: can't copy 'src/libcapstone.dylib': doesn't exist or not a regular file

If reporting this issue please do so at (not Homebrew/brew or Homebrew/core):
https://github.com/sidaf/homebrew-pentest/issues

These open issues may also help:
error installing mitmf https://github.com/sidaf/homebrew-pentest/issues/23

hashcat-legacy not installing

I tried installing hashcat-legacy via brew install sidaf/pentest/hashcat-legacy

but it gives me the following error:

Updating Homebrew...
==> Auto-updated Homebrew!
Updated 1 tap (caskroom/cask).
No changes to formulae.

==> Installing hashcat-legacy from sidaf/pentest
==> Cloning https://github.com/hashcat/hashcat-legacy
Updating /Users/User/Library/Caches/Homebrew/hashcat-legacy--git
==> Checking out revision 0906a8a
==> make osx
Last 15 lines from /Users/User/Library/Logs/Homebrew/hashcat-legacy/01.make:
2017-11-09 19:03:06 +0100

make
osx

2017-11-09 19:03:47.716 AllowPasswordPref[88363:3249284] Hardware Check err == -1
2017-11-09 19:03:47.894 AllowPasswordPref[88368:3249358] Hardware Check err == -1
i686-apple-darwin10-gcc -W -Wall -pipe -I include/ -O2 -s -fomit-frame-pointer -funroll-loops -
I/opt/hashcat-deps/gmp/osx64/include -D__HC_x86_64__ -DPOSIX -DOSX -m64 -msse2 -fnested-
functions -arch x86_64 -mmacosx-version-min=10.5 -c src/common.c -o obj/common.OSX.64.o
make: i686-apple-darwin10-gcc: No such file or directory
make: *** [obj/common.OSX.64.o] Error 1

If reporting this issue please do so at (not Homebrew/brew or Homebrew/core):
https://github.com/sidaf/homebrew-pentest/issues

Any tips on how to resolve? Or is the package just too old?

[Edit] using macbook all the latest updates are installed

libnl curl downloads fails

Where can I add the -k (--insecure) option for curl?

curl: (60) SSL certificate problem: Invalid certificate chain
More details here: https://curl.haxx.se/docs/sslcerts.html

curl performs SSL certificate verification by default, using a "bundle"
 of Certificate Authority (CA) public keys (CA certs). If the default
 bundle file isn't adequate, you can specify an alternate file
 using the --cacert option.
If this HTTPS server uses a certificate signed by a CA represented in
 the bundle, the certificate verification probably failed due to a
 problem with the certificate (it might be expired, or the name might
 not match the domain name in the URL).
If you'd like to turn off curl's verification of the certificate, use
 the -k (or --insecure) option.
Error: Failed to download resource "libnl"
Download failed: https://www.infradead.org/~tgr/libnl/files/libnl-3.2.25.tar.gz

Yersinia Requires Libnet 1.1.2

Trying to install Yersinia on Mac OSX 10.13.3.

Getting an error:
configure: WARNING: Ouch!! At least Libnet library version 1.1.2 is needed in order to compile Yersinia!!...

brew install Libnet
libnet 1.1.6 is already installed

I have tried to search Brew for an older version of Libnet but it only seems to contain the version I have installed.

Error installing Empire

Hi, i found an error while installing Empire.

here is the command i used to install Empire :
brew install sidaf/pentest/empire

and here the output :

$ brew install sidaf/pentest/empire
Updating Homebrew...
==> Auto-updated Homebrew!
Updated 2 taps (homebrew/cask, homebrew/core).
==> Updated Formulae
apache-flink eye-d3 llnode sfk
asdf gitbucket mmseqs2 sphinx-doc
conserver gopass node-build strongswan
dependency-check ii pre-commit wine
emacs jenkins rsstail xonsh
ethereum kubeless sbcl

==> Installing empire from sidaf/pentest
==> Cloning https://github.com/PowerShellEmpire/Empire
Cloning into '/Users/xxx/Library/Caches/Homebrew/empire--git'...
remote: Counting objects: 11676, done.
remote: Compressing objects: 100% (5/5), done.
remote: Total 11676 (delta 0), reused 0 (delta 0), pack-reused 11671
Receiving objects: 100% (11676/11676), 20.47 MiB | 327.00 KiB/s, done.
Resolving deltas: 100% (7930/7930), done.
==> Checking out revision e43fb94
==> Downloading https://pypi.python.org/packages/58/75/362faac80a1bc2742b4b696dc
==> Downloading from https://pypi.org/packages/58/75/362faac80a1bc2742b4b696dc35
######################################################################## 100.0%
==> python -c import setuptools... --no-user-cfg install --prefix=/usr/local/Cel
==> Downloading https://pypi.python.org/packages/60/db/645aa9af249f059cc3a368b11
==> Downloading from https://pypi.org/packages/60/db/645aa9af249f059cc3a368b118d
######################################################################## 100.0%
==> python -c import setuptools... --no-user-cfg install --prefix=/usr/local/Cel
==> Downloading https://pypi.python.org/packages/91/c1/5ffeb4468cecc532dbdae4b44
==> Downloading from https://pypi.org/packages/91/c1/5ffeb4468cecc532dbdae4b4470
######################################################################## 100.0%
==> python -c import setuptools... --no-user-cfg install --prefix=/usr/local/Cel
==> Downloading https://pypi.python.org/packages/cd/37/39aca520918ce1935bea9c356
==> Downloading from https://pypi.org/packages/cd/37/39aca520918ce1935bea9c356bc
######################################################################## 100.0%
==> python -c import setuptools... --no-user-cfg install --prefix=/usr/local/Cel
==> Downloading https://pypi.python.org/packages/db/9c/149ba60c47d107f85fe525641
==> Downloading from https://pypi.org/packages/db/9c/149ba60c47d107f85fe52564133
######################################################################## 100.0%
==> python -c import setuptools... --no-user-cfg install --prefix=/usr/local/Cel
==> Downloading https://pypi.python.org/packages/0f/7c/b316cd9779817173e93f5cebc
==> Downloading from https://pypi.org/packages/0f/7c/b316cd9779817173e93f5cebc8f
######################################################################## 100.0%
==> python -c import setuptools... --no-user-cfg install --prefix=/usr/local/Cel
==> Downloading https://pypi.python.org/packages/f2/2f/0b98b06a345a761bec91a079c
==> Downloading from https://pypi.org/packages/f2/2f/0b98b06a345a761bec91a079cca
######################################################################## 100.0%
==> python -c import setuptools... --no-user-cfg install --prefix=/usr/local/Cel
==> Downloading https://pypi.python.org/packages/c0/41/bae1254e0396c0cc8cf1751cb
==> Downloading from https://pypi.org/packages/c0/41/bae1254e0396c0cc8cf1751cb7d
######################################################################## 100.0%
==> python -c import setuptools... --no-user-cfg install --prefix=/usr/local/Cel
==> Downloading https://pypi.python.org/packages/dc/b4/a60bcdba945c00f6d608d8975
==> Downloading from https://pypi.org/packages/dc/b4/a60bcdba945c00f6d608d897513
######################################################################## 100.0%
==> python -c import setuptools... --no-user-cfg install --prefix=/usr/local/Cel
==> Downloading https://pypi.python.org/packages/77/f2/bccec75ca4280a9fa762a90a1
==> Downloading from https://pypi.org/packages/77/f2/bccec75ca4280a9fa762a90a1b8
######################################################################## 100.0%
==> python -c import setuptools... --no-user-cfg install --prefix=/usr/local/Cel
==> Downloading https://pypi.python.org/packages/92/ea/e7d512719dcc672ce7ed5d70f
==> Downloading from https://pypi.org/packages/92/ea/e7d512719dcc672ce7ed5d70f18
######################################################################## 100.0%
==> python -c import setuptools... --no-user-cfg install --prefix=/usr/local/Cel
Last 15 lines from /Users/xxx/Library/Logs/Homebrew/empire/11.python:
generating cffi module 'build/temp.macosx-10.13-intel-2.7/_padding.c'
generating cffi module 'build/temp.macosx-10.13-intel-2.7/_constant_time.c'
generating cffi module 'build/temp.macosx-10.13-intel-2.7/_openssl.c'
building '_openssl' extension
creating build/temp.macosx-10.13-intel-2.7/build
creating build/temp.macosx-10.13-intel-2.7/build/temp.macosx-10.13-intel-2.7
clang -fno-strict-aliasing -fno-common -dynamic -arch x86_64 -arch i386 -g -Os -pipe -fno-common -fno-strict-aliasing -fwrapv -DENABLE_DTRACE -DMACOSX -DNDEBUG -Wall -Wstrict-prototypes -Wshorten-64-to-32 -DNDEBUG -g -fwrapv -Os -Wall -Wstrict-prototypes -DENABLE_DTRACE -arch i386 -arch x86_64 -pipe -I/System/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7 -c build/temp.macosx-10.13-intel-2.7/_openssl.c -o build/temp.macosx-10.13-intel-2.7/build/temp.macosx-10.13-intel-2.7/_openssl.o
build/temp.macosx-10.13-intel-2.7/_openssl.c:2508:14: error: typedef redefinition with different types ('void' vs 'struct comp_method_st')
typedef void COMP_METHOD;
^
/usr/local/opt/openssl/include/openssl/ossl_typ.h:181:31: note: previous definition is here
typedef struct comp_method_st COMP_METHOD;
^
1 error generated.
error: command 'clang' failed with exit status 1

If reporting this issue please do so at (not Homebrew/brew or Homebrew/core):
https://github.com/sidaf/homebrew-pentest/issues

Do you have any solution for this issue?

Thanks, Best regards

pykek repository no longer exists

Output from running brew upgrade on macOS High Sierra with Homebrew 1.7.1:

==> Upgrading sidaf/pentest/pykek 
==> Cloning https://github.com/bidord/pykek
Cloning into '/Users/decal/Library/Caches/Homebrew/pykek--git'...
remote: Repository not found.
fatal: repository 'https://github.com/bidord/pykek/' not found
Error: An exception occurred within a child process:
  DownloadError: Failed to download resource "pykek"
Failure while executing; `git clone https://github.com/bidord/pykek /Users/decal/Library/Caches/Homebrew/pykek--git` exited with 128. Here's the output:
Cloning into '/Users/decal/Library/Caches/Homebrew/pykek--git'...
remote: Repository not found.
fatal: repository 'https://github.com/bidord/pykek/' not found

Warning: Calling 'depends_on :python3' is deprecated!

$ brew update
Already up-to-date.
$ brew upgrade
Warning: Calling 'depends_on :python3' is deprecated!
Use 'depends_on "python3"' instead.
/usr/local/Homebrew/Library/Taps/sidaf/homebrew-pentest/wig.rb:9:in `class:Wig'
Please report this to the sidaf/pentest tap!
ekran resmi 2018-01-20 17 25 05

Wifite install fails

brew install sidaf/pentest/wifite
==> Installing wifite from sidaf/pentest
==> Installing dependencies for sidaf/pentest/wifite: libnl, sidaf/pentest/aircrack-ng, reaver, cowpatty
==> Installing sidaf/pentest/wifite dependency: libnl
==> Downloading http://www.infradead.org/~tgr/libnl/files/libnl-3.2.25.tar.gz
Already downloaded: /Users/bpds/Library/Caches/Homebrew/libnl-3.2.25.tar.gz
==> ./configure --prefix=/usr/local/Cellar/libnl/3.2.25_3
==> make
Last 15 lines from /Users/bpds/Library/Logs/Homebrew/libnl/02.make:
1 error generated.
1 error generated.
1 error generated.
make[2]: *** [data.lo] Error 1
make[2]: *** Waiting for unfinished jobs....
1 error generated.
make[2]: *** [handlers.lo] Error 1
make[2]: *** [error.lo] Error 1
make[2]: *** [cache_mngr.lo] Error 1
make[2]: *** [attr.lo] Error 1
make[2]: *** [cache_mngt.lo] Error 1
make[2]: *** [addr.lo] Error 1
make[2]: *** [cache.lo] Error 1
make[1]: *** [all] Error 2
make: *** [all-recursive] Error 1

If reporting this issue please do so at (not Homebrew/brew or Homebrew/core):
https://github.com/sidaf/homebrew-pentest/issues

On mac OS 10.13.6 (17G65)

Error installing CrackMapExec

It looks like the installer is unable to locate 'ffi.h', a libffi file. I've ensured that libffi is installed. I have python3, cffi, and relevant dependencies installed and PATH'd.

I've run:
export PKG_CONFIG_PATH="/usr/local/opt/libffi/lib/pkgconfig"
and
export LDFLAGS="-L/usr/local/opt/libffi/lib"

Output of error:

Last 15 lines from /Users/j/Library/Logs/Homebrew/crackmapexec/16.python:
copying cffi/cparser.py -> build/lib.macosx-10.14-intel-2.7/cffi
copying cffi/verifier.py -> build/lib.macosx-10.14-intel-2.7/cffi
copying cffi/_cffi_include.h -> build/lib.macosx-10.14-intel-2.7/cffi
copying cffi/parse_c_type.h -> build/lib.macosx-10.14-intel-2.7/cffi
copying cffi/_embedding.h -> build/lib.macosx-10.14-intel-2.7/cffi
running build_ext
building '_cffi_backend' extension
creating build/temp.macosx-10.14-intel-2.7
creating build/temp.macosx-10.14-intel-2.7/c
clang -fno-strict-aliasing -fno-common -dynamic -g -Os -pipe -fno-common -fno-strict-aliasing -fwrapv -DENABLE_DTRACE -DMACOSX -DNDEBUG -Wall -Wstrict-prototypes -Wshorten-64-to-32 -DNDEBUG -g -fwrapv -Os -Wall -Wstrict-prototypes -DENABLE_DTRACE -arch i386 -arch x86_64 -pipe -DUSE__THREAD -I/usr/include/ffi -I/usr/include/libffi -I/System/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7 -c c/_cffi_backend.c -o build/temp.macosx-10.14-intel-2.7/c/_cffi_backend.o
c/_cffi_backend.c:15:10: fatal error: 'ffi.h' file not found
#include <ffi.h>
^~~~~~~
1 error generated.
error: command 'clang' failed with exit status 1

impacket fails to install

brew install impacket gives the following:

==> Installing impacket from sidaf/pentest
==> Installing dependencies for sidaf/pentest/impacket: libffi
==> Installing sidaf/pentest/impacket dependency: libffi
==> Downloading https://homebrew.bintray.com/bottles/libffi-3.2.1.high_sierra.bottle.tar.gz
==> Pouring libffi-3.2.1.high_sierra.bottle.tar.gz
==> Caveats
This formula is keg-only, which means it was not symlinked into /usr/local,
because some formulae require a newer version of libffi.

For compilers to find this software you may need to set:
    LDFLAGS:  -L/usr/local/opt/libffi/lib

==> Summary
๐Ÿบ  /usr/local/Cellar/libffi/3.2.1: 16 files, 297.0KB
==> Installing sidaf/pentest/impacket
==> Cloning https://github.com/coresecurity/impacket
Cloning into '/Users/administrator/Library/Caches/Homebrew/impacket--git'...
==> Checking out revision 7b0bfb7
==> Downloading https://pypi.python.org/packages/f7/83/377e3dd2e95f9020dbd0dfd3c47aaa7deebe3c68d3857a4e51917146ae8b/pyasn1-0.1.9.tar.gz
==> python -c import setuptools... --no-user-cfg install --prefix=/usr/local/Cellar/impacket/0.9.15_2/libexec/vendor --single-version-externally-managed --record=installed.txt
==> Downloading https://pypi.python.org/packages/60/db/645aa9af249f059cc3a368b118de33889219e0362141e75d4eaf6f80f163/pycrypto-2.6.1.tar.gz
==> python -c import setuptools... --no-user-cfg install --prefix=/usr/local/Cellar/impacket/0.9.15_2/libexec/vendor --single-version-externally-managed --record=installed.txt
==> Downloading https://pypi.python.org/packages/77/f2/bccec75ca4280a9fa762a90a1b8b152a22eac5d9c726d7da1fcbfe0a20e6/pyOpenSSL-16.0.0.tar.gz
==> python -c import setuptools... --no-user-cfg install --prefix=/usr/local/Cellar/impacket/0.9.15_2/libexec/vendor --single-version-externally-managed --record=installed.txt
==> Downloading https://pypi.python.org/packages/92/ea/e7d512719dcc672ce7ed5d70f188e45e329c4bcf7c94528fbc7efa138d8a/cryptography-1.3.1.tar.gz
==> python -c import setuptools... --no-user-cfg install --prefix=/usr/local/Cellar/impacket/0.9.15_2/libexec/vendor --single-version-externally-managed --record=installed.txt
Last 15 lines from /Users/administrator/Library/Logs/Homebrew/impacket/04.python:
generating cffi module 'build/temp.macosx-10.13-intel-2.7/_padding.c'
generating cffi module 'build/temp.macosx-10.13-intel-2.7/_constant_time.c'
generating cffi module 'build/temp.macosx-10.13-intel-2.7/_openssl.c'
building '_openssl' extension
creating build/temp.macosx-10.13-intel-2.7/build
creating build/temp.macosx-10.13-intel-2.7/build/temp.macosx-10.13-intel-2.7
clang -fno-strict-aliasing -fno-common -dynamic -arch x86_64 -arch i386 -g -Os -pipe -fno-common -fno-strict-aliasing -fwrapv -DENABLE_DTRACE -DMACOSX -DNDEBUG -Wall -Wstrict-prototypes -Wshorten-64-to-32 -DNDEBUG -g -fwrapv -Os -Wall -Wstrict-prototypes -DENABLE_DTRACE -arch i386 -arch x86_64 -pipe -I/System/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7 -c build/temp.macosx-10.13-intel-2.7/_openssl.c -o build/temp.macosx-10.13-intel-2.7/build/temp.macosx-10.13-intel-2.7/_openssl.o
build/temp.macosx-10.13-intel-2.7/_openssl.c:2508:14: error: typedef redefinition with different types ('void' vs 'struct comp_method_st')
typedef void COMP_METHOD;
             ^
/usr/local/opt/openssl/include/openssl/ossl_typ.h:181:31: note: previous definition is here
typedef struct comp_method_st COMP_METHOD;
                              ^
1 error generated.
error: command 'clang' failed with exit status 1

If reporting this issue please do so at (not Homebrew/brew or Homebrew/core):
https://github.com/sidaf/homebrew-pentest/issues

/usr/local/Homebrew/Library/Homebrew/exceptions.rb:426:in `block in dump': undefined method `check_for_bad_install_name_tool' for #<Homebrew::Diagnostic::Checks:0x007fd686260d18> (NoMethodError)
Did you mean?  check_for_tap_ruby_files_locations
	from /usr/local/Homebrew/Library/Homebrew/exceptions.rb:425:in `each'
	from /usr/local/Homebrew/Library/Homebrew/exceptions.rb:425:in `dump'
	from /usr/local/Homebrew/Library/Homebrew/brew.rb:138:in `rescue in <main>'
	from /usr/local/Homebrew/Library/Homebrew/brew.rb:30:in `<main>'
Installing impacket has failed!

Verified on two machines, one running Sierra, the other High Sierra. Happy to dig out any other useful info.

Cowpatty install issues

After trying to install I'm getting:

Last 15 lines from /Users/duffy/Library/Logs/Homebrew/cowpatty/01.make: clang -pipe -Wall -DOPENSSL -O2 -g3 -ggdb -c -o md5.o md5.c clang -pipe -Wall -DOPENSSL -O2 -g3 -ggdb -c -o sha1.o sha1.c clang -pipe -Wall -DOPENSSL -O2 -g3 -ggdb -c -o utils.o utils.c clang -pipe -Wall -DOPENSSL -O2 -g3 -ggdb -c -o cowpatty.o cowpatty.c clang -pipe -Wall -DOPENSSL -O2 -g3 -ggdb -c -o genpmk.o genpmk.c clang -pipe -Wall -DOPENSSL -O2 -g3 -ggdb cowpatty.c -o cowpatty utils.o md5.o sha1.o -lpcap -lcrypto clang -pipe -Wall -DOPENSSL -O2 -g3 -ggdb genpmk.c -o genpmk utils.o sha1.o -lpcap -lcrypto clang: error: no such file or directory: 'utils.o' clang: error: no such file or directory: 'sha1.o' make: *** [genpmk] Error 1 make: *** Waiting for unfinished jobs.... clang: error: no such file or directory: 'utils.o' clang: error: no such file or directory: 'md5.o' clang: error: no such file or directory: 'sha1.o' make: *** [cowpatty] Error 1

Warning: Calling depends_on :java is deprecated!

Hey, got this warning during my brew upgrade process:

Warning: Calling depends_on :java is deprecated! Use "depends_on "openjdk@11", "depends_on "openjdk@8" or "depends_on "openjdk" instead.

Please report this issue to the sidaf/pentest tap (not Homebrew/brew or Homebrew/core), or even better, submit a PR to fix it: /usr/local/Homebrew/Library/Taps/sidaf/homebrew-pentest/armitage.rb:10

Thx for your help:-)

aircrack.ng and linux/types.h

$ brew install sidaf/pentest/aircrack-ng
<...>
<...>
10: fatal error: 'linux/types.h' file not found

include <linux/types.h>

     ^

../include/netlink-private/netlink.h:42:10: fatal error: 'linux/types.h' file not found

include <linux/types.h>

     ^

1 error generated.
1 error generated.
make[2]: *** [attr.lo] Error 1
make[2]: *** Waiting for unfinished jobs....
make[2]: *** [addr.lo] Error 1
make[1]: *** [all] Error 2
make: *** [all-recursive] Error 1

READ THIS: https://git.io/brew-troubleshooting
If reporting this issue please do so at (not Homebrew/brew):
https://github.com/sidaf/homebrew-pentest/issues


Is there a better way to fix than

http://stackoverflow.com/questions/20302860/supporting-linux-types-h-osx ?

WiFite install fails.

Here's the output...
โ”Œโ”€[โœ—]โ”€[mg@hackbookpro]โ”€[~]
โ””โ”€โ”€โ•ผ $ brew install wifite
Updating Homebrew...
==> Installing wifite from sidaf/pentest
==> Installing dependencies for sidaf/pentest/wifite: bison, libnl and sidaf/pentest/aircrack-ng
==> Installing sidaf/pentest/wifite dependency: bison
==> Downloading https://homebrew.bintray.com/bottles/bison-3.3.1.mojave.bottle.tar.gz
######################################################################## 100.0%
==> Pouring bison-3.3.1.mojave.bottle.tar.gz
==> Caveats
bison is keg-only, which means it was not symlinked into /usr/local,
because some formulae require a newer version of bison.

If you need to have bison first in your PATH run:
echo 'export PATH="/usr/local/opt/bison/bin:$PATH"' >> ~/.bash_profile

For compilers to find bison you may need to set:
export LDFLAGS="-L/usr/local/opt/bison/lib"

==> Summary
๐Ÿบ /usr/local/Cellar/bison/3.3.1: 78 files, 2.5MB
==> Installing sidaf/pentest/wifite dependency: libnl
==> Downloading http://www.infradead.org/~tgr/libnl/files/libnl-3.2.25.tar.gz
######################################################################## 100.0%
==> ./configure --prefix=/usr/local/Cellar/libnl/3.2.25_3
==> make
Last 15 lines from /Users/mg/Library/Logs/Homebrew/libnl/02.make:
^~~~~~~~~~~~~~~
#include <linux/types.h>

     ^~~~~~~~~~~~~~~

1 error generated.
1 error generated.
make[2]: *** [cache_mngr.lo] Error 1
make[2]: *** Waiting for unfinished jobs....
make[2]: *** [attr.lo] Error 1
1 error generated.
make[2]: *** [cache.lo] Error 1
1 error generated.
make[2]: *** [addr.lo] Error 1
make[1]: *** [all] Error 2
make: *** [all-recursive] Error 1

If reporting this issue please do so at (not Homebrew/brew or Homebrew/core):
https://github.com/sidaf/homebrew-pentest/issues

brew install dirb error

Error: An exception occurred within a child process:
Errno::ENOTEMPTY: Directory not empty @ dir_s_rmdir - /private/tmp/d20191008-38538-1faddxf

error installing mitmf via homebrew on Mac

I'm using Mac OS X 10.14.2 (Mojave) with Homebrew 1.9.3.

brew install mitmf

netfilterqueue.c:258:10: fatal error: 'libnfnetlink/linux_nfnetlink.h' file not found #include "libnfnetlink/linux_nfnetlink.h" ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1 error generated. error: command 'clang' failed with exit status 1

Any help? Thank you.

Error when installing wifite on mac

In file included from cache.c:52:
../include/netlink-private/netlink.h:42:10: fatal error: 'linux/types.h' file not found
#include <linux/types.h>
^
1 error generated.
1 error generated.
1 error generated.
make[2]: *** [cache_mngr.lo] Error 1
make[2]: *** Waiting for unfinished jobs....
make[2]: *** [addr.lo] Error 1
make[2]: *** [attr.lo] Error 1
1 error generated.
make[2]: *** [cache.lo] Error 1
make[1]: *** [all] Error 2
make: *** [all-recursive] Error 1

Error running brew install dirb [OS High Sierra v10.13.5 (17F77)]

Here's the error output I get when trying to install on mac, hope this helps :)

==> make
Last 15 lines from /Users/jessebusma/Library/Logs/Homebrew/dirb/03.make:
20 errors generated.
20 errors generated.
make[2]: *** [options.o] Error 1
make[2]: *** [crea_wordlist.o] Error 1
20 errors generated.
make[2]: *** [dirb.o] Error 1
20 errors generated.
20 errors generated.
20 errors generated.
make[2]: *** [get_url.o] Error 1
make[2]: *** [calculanec.o] Error 1
make[2]: *** [utils.o] Error 1
make[2]: *** [lanza_ataque.o] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.