mitmdump error /usr/bin/mitmdump no such scripts

I am trying to set intercept traffic from my phone using ARPspoof and inject a javascript header into the page.

Before I started I entered these commands:

To intercept the traffic, I entered these commands:

And I started a web server to deploy the javascript file that will be embedded in each webpage that the phone receives

This web server will be hosted on the Kali computer's IP at port 8000

And finally when I run mitmdump I get this error:

Error Message:

I am not sure what I am doing wrong, If I do execute mitmproxy with the command:

The traffic does get routed to mitmproxy HOWEVER, I get a 400 Bad Request Error on my phone's browser and mitmproxy returns http protocol error.

Any help or suggestions will be warmly welcomed.

添加评论
点赞收藏
点踩分享查看原文
评论
?
参与讨论