Image replace in flow - with pattern


#1

I tried to do something like this :

Mitmdump -T --host --replace-from-file ':~s:http\.jpg:/home/remnux/Desktop/a

To change all the jpg pictures with url/path I gave it in the file but its not working ?
what is my problem ?
Is there a simpler way to do this task ?

Thx guys,
Daniel.


#2

I know it’s a noob question but can somebody help pls?