digininja / CeWL

CeWL is a Custom Word List Generator
2.01k stars 262 forks source link

require_relative for cewl_lib #38

Closed jeffmcjunkin closed 6 years ago

jeffmcjunkin commented 6 years ago

Allows cewl to be called outside its directory. Fixes https://github.com/trustedsec/ptf/issues/380

jeffmcjunkin commented 6 years ago

FWIW I tested this locally and didn't encounter any issues:

cewl -d 0 https://digi.ninja/ | wc
    164     170    1218

require_relative does need Ruby 1.9, apparently, but since that was 2007 (https://www.ruby-lang.org/en/news/2007/12/25/ruby-1-9-0-released/) I think it's a reasonable requirement

digininja commented 6 years ago

Thanks, will check later but looks good

On Fri, 1 Jun 2018, 18:23 Jeff McJunkin, notifications@github.com wrote:

FWIW I tested this locally and didn't encounter any issues:

cewl -d 0 https://digi.ninja/ | wc 164 170 1218

require_relative does need Ruby 1.9, apparently, but since that was 2007 ( https://www.ruby-lang.org/en/news/2007/12/25/ruby-1-9-0-released/) I think it's a reasonable requirement

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/digininja/CeWL/pull/38#issuecomment-393949916, or mute the thread https://github.com/notifications/unsubscribe-auth/AAHJWfZsFKjwz3I_B9ltdQl3HgXwAEMcks5t4XiSgaJpZM4UXCAk .

digininja commented 6 years ago

Thanks.