siteproxy icon indicating copy to clipboard operation
siteproxy copied to clipboard

Workers部署中,需要替换的几个地方(备忘)

Open SunsetMkt opened this issue 1 year ago • 4 comments

代码:https://github.com/netptop/siteproxy/blob/master/build/worker.js

替换代理网站:http://localhost:5006 -> https://your-proxy-domain.name

替换密码:user22334455,为空时表示不需要密码

替换:

/function \w+\(\)\{(?:[^{}]*?\[.*?(?:,0x[^0x]*){20}.*?\][^{}]*?return (.*?))\}/

让它最后return 'https/www.netptop.com'

SunsetMkt avatar Apr 14 '24 07:04 SunsetMkt

难为你了 :)

netptop avatar Apr 14 '24 16:04 netptop

认识表达式的自己动手也能看出来,不认识的应该也不会逆向。 写这个式子比找函数还累呢 ;-)

SunsetMkt avatar Apr 15 '24 01:04 SunsetMkt

从https://github.com/netptop/siteproxy/issues/60 来的

搜了下关键字,没找到。。。。

nankaine avatar Apr 18 '24 11:04 nankaine