mitim_userscripts

command module
v0.0.0-...-72429c6 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 25, 2021 License: MIT Imports: 15 Imported by: 0

README

mitim_userscripts

Man in the middle users scripts for iPads and iPhones with browsers that don't have userscript support.

Use the mitmproxy project to install mitm root certificates on the target ipad or iphone.

Direct trafic to the server using iptables

Example iptables rules and /etc/hosts
# combine this rule with a dns entry to only rewrite requests certain to hosts
-A PREROUTING -p tcp -i $INTIF -d 10.100.222.111 --dport 443 -m conntrack --ctstate NEW,ESTABLISHED,RELATED -j DNAT --to-destination 192.168.1.2:8190

# to rewite all requests from a certain host in the network (like your ipad)
-A PREROUTING -p tcp -i $INTIF -s 192.168.1.45 --dport 443 -m conntrack --ctstate NEW,ESTABLISHED,RELATED -j DNAT --to-destination 192.168.1.2:8190

/etc/host example to insert a user script in to youtube

10.100.222.111 youtube.com
10.100.222.111 www.youtube.com
10.100.222.111 youtube-ui.l.google.com

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL