Skip to content

Instantly share code, notes, and snippets.

@pich4ya
Created August 5, 2019 08:22
Show Gist options
  • Save pich4ya/bc2dc0929be852c7830c478d8ebbb4b1 to your computer and use it in GitHub Desktop.
Save pich4ya/bc2dc0929be852c7830c478d8ebbb4b1 to your computer and use it in GitHub Desktop.
Install PadBuster on macOS Mojave 10.14.5
brew install openssl
brew install perl
brew unlink perl && brew link perl
env LDFLAGS="-L$(brew --prefix openssl)/lib" CFLAGS="-I$(brew --prefix openssl)/include" perl -MCPAN -e 'install Crypt::SSLeay'
git clone https://github.com/GDSSecurity/PadBuster && cd PadBuster
perl padbuster.pl "https://example.local/ScriptResource.axd?d=yyy" yyy 16 -encoding 3 -bruteforce -log -verbose -cookies "ASP.NET_SessionId=xxx"
@Jianrongz
Copy link

Hello! I am using macOS Mojave 10.14.6, and I tried these lines but it doesn't work. Can you please take a look at my terminal output and give me some suggestions? Thank you very much! I got the following error:

SSLeay.xs:35:10: fatal error: 'openssl/ssl.h' file not found
#include <openssl/ssl.h>
^~~~~~~~~~~~~~~
1 error generated.
make: *** [SSLeay.o] Error 1
NANIS/Crypt-SSLeay-0.72.tar.gz
/usr/bin/make LDFLAGS=-L/usr/local/opt/openssl/lib CPPFLAGS=-I/usr/local/opt/openssl/include CFLAGS=-I/usr/local/opt/openssl/include LDFLAGS=-L/usr/local/opt/openssl/lib CPPFLAGS=-I/usr/local/opt/openssl/include CFLAGS=-I/usr/local/opt/openssl/include -- NOT OK

Thank you again!

@ssaranss
Copy link

ssaranss commented Apr 9, 2020

Same buy I use Catalina 10.15.2

@mitjans
Copy link

mitjans commented May 9, 2020

Same here

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment