JohnHammond / poor-mans-pentest

This a collection of the code that I have written for the Poor Man's Pentest presentation.
550 stars 182 forks source link

command name collision for zsh #1

Closed 4thel00z closed 4 years ago

4thel00z commented 4 years ago

Hello John,

using command as the name of the function causes trouble in zsh. Maybe rename the function to call_cmd or cmd.

Reference: https://github.com/JohnHammond/poor-mans-pentest/blob/2f8951bcbf69a587efca43ecc54da72b394d158f/functions.sh#L3

Kind regards

d4rckh commented 4 years ago

Hello, I just made a PR: https://github.com/JohnHammond/poor-mans-pentest/pull/2

JohnHammond commented 4 years ago

Thanks for covering this @d4rckh , I realize I completely missed this issue. Sorry!

4thel00z commented 4 years ago

Easy money, gg