Commit Graph

76 Commits

Author SHA1 Message Date
ladddder
7661c66250 #65 use full URL in package line 2023-12-08 09:26:26 +01:00
Kevin Pham
df19209211 fix content-type not set regression on main proxy handler 2023-12-07 09:58:52 -06:00
Kevin Pham
4779229b32 add raw handler support 2023-12-07 08:43:05 -06:00
Kevin Pham
6a5b85f260 add subdomain url extractor; add 3p script blocker modifier 2023-12-06 14:18:40 -06:00
Kevin Pham
b4dd0e5380 add localstorage clearer, sessionstorage cleaer, and cachebuster modifiers 2023-12-06 08:41:45 -06:00
Kevin Pham
6192373587 update cli flags to load ruleset 2023-12-05 21:28:53 -06:00
Kevin Pham
0b33765b4f add support for rulesets in JSON format for frontend use 2023-12-05 21:03:27 -06:00
Kevin Pham
52d12dd1ac ruleset_v2 integration test working 2023-12-05 15:02:18 -06:00
ladddder
f437bcabf3 move auth and favicon form main to handlers, linting 2023-12-05 16:00:31 +01:00
Kevin Pham
6c0721dcb8 fix "modifer" -> "modifier" typo everywhere 2023-12-03 17:04:30 -06:00
Kevin Pham
dcdf75bad2 add response modifier to prevent the removal of elements by paywall script 2023-12-01 21:41:20 -06:00
Kevin Pham
59a57f2dbd tweak dynamic url rewriting logic 2023-12-01 18:45:07 -06:00
Kevin Pham
47def5c610 add patch tracker scripts response modifier 2023-12-01 16:26:59 -06:00
Damian Bednarczyk
8862b7de8b rough draft of more modular design 2023-11-30 16:05:14 -06:00
Kevin Pham
53ce3ff297 add /api/outline path 2023-11-29 11:38:28 -06:00
Kevin Pham
909d29230f improve outline api with error handling and proper content-type response 2023-11-29 09:50:02 -06:00
Kevin Pham
31200cf9e2 replace cycletls with bogdanfinn/tls-client for better tls fingerprint spoofing reliability 2023-11-28 12:33:53 -06:00
Kevin Pham
9d31f7eb59 improve token rewriting 2023-11-28 07:37:28 -06:00
Kevin Pham
214790f905 fix fwd response headers 2023-11-28 00:06:41 -06:00
Kevin Pham
0fe02c397d fix srcset handler in html rewriter 2023-11-27 21:36:50 -06:00
Kevin Pham
7b3aecca7d add TLS fingerprint (ja3) spoofer request modifier 2023-11-27 16:30:13 -06:00
Kevin Pham
59cf0317ec improve ua modifier with client side spoofing 2023-11-27 12:00:12 -06:00
Kevin Pham
ae48429da7 merge main 2023-11-26 21:55:17 -06:00
Kevin Pham
6c54d31086 add dynamic resource url patcher as standalone responsemodifier 2023-11-23 08:14:52 -06:00
Damian Bednarczyk
dc69af9f38 idiomatize (?) ruleset package and lint 2023-11-22 21:26:44 -06:00
Kevin Pham
7668713b1a fix recursive proxy calls 2023-11-22 07:21:48 -06:00
Kevin Pham
bfd647e526 url rewrite improvements 2023-11-21 23:25:34 -06:00
Kevin Pham
854dafbcfa improve js rewriting functionality by not relying on js to get proxy and proxified URLs; direct injection from golang 2023-11-21 20:54:09 -06:00
Kevin Pham
dab77d786f url rewriter tweaks 2023-11-21 14:10:37 -06:00
Kevin Pham
79a229f28c handle srcset resource URL rewrites; monkey patch JS for URL rewrites 2023-11-20 23:42:50 -06:00
Kevin Pham
1d88f14de2 rewrite resource URLs based on html tokenizer instead of regex 2023-11-20 11:38:53 -06:00
Kevin Pham
ee9066dedb refactor wip 2023-11-19 15:03:11 -06:00
Kevin Pham
98fa53287b fix nil pointer deref 2023-11-18 18:13:46 -06:00
Kevin Pham
f6341f2c3e begin refactor of proxy engine 2023-11-18 08:31:59 -06:00
Gianni Carafa
7597ea2807 udpate README 2023-11-15 21:28:23 +01:00
mms-gianni
f4060c3e78 Merge branch 'main' into 39-request-header-fields-too-large 2023-11-15 20:45:59 +01:00
Gianni Carafa
fe881ca661 use cookie method to empty cookie header 2023-11-15 16:48:00 +01:00
Gianni Carafa
86700d8828 set empty cookie 2023-11-15 16:34:56 +01:00
Kevin Pham
a8d920548c add feature to load ruleset from directory or gzip file on http server, refactor ruleset loading logic 2023-11-14 15:57:39 -06:00
Kevin Pham
e87d19d7f5 add ability to load rulesets from directory 2023-11-14 15:42:26 -06:00
Kevin Pham
30a6ab501d handle URL encoded URLs in proxy for other app integrations 2023-11-12 17:02:32 -06:00
Kevin Pham
c8b94dc702 remove debug logging messages 2023-11-12 11:52:43 -06:00
Kevin Pham
fbc9567820 Handle relative URLs when using proxy 2023-11-12 11:48:47 -06:00
Kevin Pham
082868af2d Add feature to modify URLs in ruleset 2023-11-12 10:30:06 -06:00
Gianni Carafa
84a173a3af Merge branch 'main' of github.com:kubero-dev/paywall-ladder 2023-11-11 22:24:06 +01:00
Gianni Carafa
c91cbeb8a2 mute debug logs 2023-11-11 22:22:54 +01:00
Damian
571eb4174d run first lint 2023-11-10 17:03:38 +00:00
joncrangle
924696c015 Enable user to define their own content-security-policy 2023-11-09 21:50:46 -05:00
Gianni Carafa
81aa00c2ea include all subdomains 2023-11-09 23:51:36 +01:00
Gianni Carafa
6c1f58e2e7 Add headers field in ruleset. Enable Google Cache. 2023-11-09 23:32:43 +01:00