Skip to content
This repository has been archived by the owner on Feb 28, 2018. It is now read-only.

Commit

Permalink
Fixes #270: sslstrip fails to rewrite links
Browse files Browse the repository at this point in the history
  • Loading branch information
evilsocket committed Jul 26, 2016
1 parent 36aea1f commit 6b9e987
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lib/bettercap/proxy/http/sslstrip/strip.rb
Expand Up @@ -287,7 +287,8 @@ def process_body!(request, response)
if link[0].end_with?('\\')
link[0][-1] = '/'
end
links << StrippedObject.process( link[0] )
normalized, stripped = StrippedObject.process( link[0] )
links << [ link[0], stripped ]
end
end
# handle errors due to binary content
Expand Down

0 comments on commit 6b9e987

Please sign in to comment.