Add ITVX module, transparent mitm_hosts, and DM Telegram announces.
All checks were successful
release / build-and-upload (push) Successful in 6m21s
All checks were successful
release / build-and-upload (push) Successful in 6m21s
Wire module mitm_hosts into StartTransparent for ITVX capture, ship the itv provider stub with Live-list autoplay, refresh the README, and send Forgejo release announces to private chat 7314901602.
This commit is contained in:
parent
3cb259c9b6
commit
2e43e6c3fa
23 changed files with 996 additions and 84 deletions
|
|
@ -209,7 +209,11 @@ func Run(opt Options) (res Result, err error) {
|
|||
// StartTransparent creates a per-install CA under data/ if needed and pushes cert+key.
|
||||
proxy.ClearHTTPProxy(c)
|
||||
remoteDir := "/data/local/tmp/capture/" + a.Package()
|
||||
if err := proxy.StartTransparent(c, proxyBin, a.Package(), "8080", remoteDir, false); err != nil {
|
||||
var mitmHosts []string
|
||||
if mh, ok := a.(app.MitmHostList); ok {
|
||||
mitmHosts = mh.MitmHosts()
|
||||
}
|
||||
if err := proxy.StartTransparent(c, proxyBin, a.Package(), "8080", remoteDir, false, mitmHosts...); err != nil {
|
||||
return res, fmt.Errorf("transparent MITM start: %w", err)
|
||||
}
|
||||
defer proxy.StopTransparent(c)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue