0

On mac I made an alias to mitmdump and then I tried through terminal

sh -c fullpathto/mitmdump # works
sh -c fullpathto/mitmdump_alias # Permission Denied error

while double click of mitmdump_alias also works too.

So how can I correctly make alias called through sh?

I don't think this problem specified to mitmproxy but in case you can get

brew install mitmproxy

and it locates in

/usr/local/Cellar/mitmproxy/4.0.4/libexec/bin/mitmdump
K--
  • 141
  • 1
  • 6
  • By "alias" do you mean a symbolic link? – muru Sep 12 '18 at 00:28
  • I just right click the original mitmdump in mac finder and "Make Alias". I don't quite know about symbolic link. – K-- Sep 12 '18 at 00:38
  • 4
    Going by https://superuser.com/questions/24095/create-a-symbolic-link-in-the-mac-os-x-finder/, command line tools don't support those aliases well. You should make a symbolic link instead. – muru Sep 12 '18 at 00:43
  • Oh perfect. This is totally what I want. Thanks! – K-- Sep 12 '18 at 00:58

0 Answers0