3 ms·
Nginx, in proxy mode, even has a nice sub_filter where you can rewrite the response body. Pick a tag that generally occurs once, like </head>, and replace it wi
by tyingq 10y ago
Nginx, in proxy mode, even has a nice sub_filter where you can rewrite the response body. Pick a tag that generally occurs once, like </head>, and replace it with arbitary text. Like maybe "</head><script src="whatever"></script>".
That would be perfect...no need to recreate the target site's look and feel. Just whatever js you need to scrape the credentials.
- gcb0 10y agoand now the bank just have to block Google's cloud ip range.
- tyingq 10y agoThe idea is the bank may not notice, since the site would be functional and serving customers. Certainly, there's ways to see this is going on, but you could, for example, round robin the DNS and only attack a percentage of traffic.