After learning modern PHP in past few days, I decide GIVING UP this language now. :( I wrote an MiTM proxy in PHP for TCP connection forwarding and hijacking, code can be found on github. This project is based on ReactPHP. It can be also installed from composer / packagist.org. I’ve coded some examples in … Continue reading “PHP Man-in-The-Middle TCP Proxy”
劫持DNS是个很简单的工作，家用路由器基本都自带dnsmasq，直接加解析就行。 之前某次尝试劫持某视频App的广告接口解析到一个空的本地服务器上，发现该App使用了DnsPod的HttpDNS服务，所以传统的DNS劫持方案不好用。而EdgeRouter的DPI功能也没有对外开放墙一般的高级接口，所以这次用NAT来实现。 Incoming search terms:characteristic4qqdnspod httpdnshomebhrimageemaimportance8eqolderencsuggesthw8Link to this post!
From: https://help.ubuntu.com/community/PPTPServer and https://help.ubuntu.com/community/L2TPServer This is an integrated & simplified intro about installing pptp/l2tp server on ubuntu 12.04. Install pptpd, xl2tpd, openswan are needed. ppp should be installed by default, you can apt-get install ppp just for sure. dnsmasq is needed to simplify dns issue. So, just type commands:
sudo apt-get install pptpd openswan l2tpd dnsmasq
Environment Server ip is assigned … Continue reading “Notes: PPTP/L2TP Server on Ubuntu”