Skip to content

Instantly share code, notes, and snippets.

@gmolveau
Created September 2, 2019 12:01
Show Gist options
  • Star 17 You must be signed in to star a gist
  • Fork 2 You must be signed in to fork a gist
  • Save gmolveau/c6c1398b3351a99509c75d2d7bcaacc7 to your computer and use it in GitHub Desktop.
Save gmolveau/c6c1398b3351a99509c75d2d7bcaacc7 to your computer and use it in GitHub Desktop.
mac osx dirb install
cd ~/Applications
wget https://downloads.sourceforge.net/project/dirb/dirb/2.22/dirb222.tar.gz
tar -xvf dirb222.tar.gz
rm dirb222.tar.gz
brew install autoconf
chmod -R 755 dirb222
cd dirb222
./configure
make
make install
@gitnepal
Copy link

gitnepal commented Jun 5, 2020

thanks mate

@gitnepal
Copy link

gitnepal commented Jun 5, 2020

all love your all other gists

@abmirayo
Copy link

Niiice thank you

@h3athen
Copy link

h3athen commented Feb 6, 2021

simple way is to use brew

brew install dirb

@Andkoo
Copy link

Andkoo commented Feb 17, 2021

simple way is to use brew

brew install dirb

any idea what to do when Error: No formulae found in taps.?

@gmolveau
Copy link
Author

gmolveau commented Feb 17, 2021

To my knowledge, dirb is not available OOTB via brew.
You may try brew install sidaf/pentest/dirb (cf. https://github.com/sidaf/homebrew-pentest)

@Andkoo
Copy link

Andkoo commented Feb 17, 2021

How did you manage to get it working? It's producing this output for me

Updating Homebrew...
==> Tapping sidaf/pentest
Cloning into '/usr/local/Homebrew/Library/Taps/sidaf/homebrew-pentest'...
remote: Enumerating objects: 956, done.
remote: Total 956 (delta 0), reused 0 (delta 0), pack-reused 956
Receiving objects: 100% (956/956), 191.70 KiB | 93.00 KiB/s, done.
Resolving deltas: 100% (651/651), done.
Error: Invalid formula: /usr/local/Homebrew/Library/Taps/sidaf/homebrew-pentest/ysoserial.rb
ysoserial: Unsupported special dependency :java
Error: Invalid formula: /usr/local/Homebrew/Library/Taps/sidaf/homebrew-pentest/armitage.rb
armitage: Unsupported special dependency :java
Error: Invalid formula: /usr/local/Homebrew/Library/Taps/sidaf/homebrew-pentest/clusterd.rb
clusterd: Unsupported special dependency :java
Error: Cannot tap sidaf/pentest: invalid syntax in tap!

@gmolveau
Copy link
Author

I dont know if it works or not, I just found this repo. That's why I created this gist, as an alternative to brew.

@h3athen
Copy link

h3athen commented Feb 27, 2021

It worked for me

@attagata
Copy link

attagata commented Jun 2, 2021

Thanks friend.

@assaker
Copy link

assaker commented Nov 6, 2021

I installed it, but I can't seem to get it running.
Running dirb gives me this error "dyld[9637]: Library not loaded: @rpath/libssh2.1.dylib"

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