Input html
file, output acw_sc__v2
cookie.
For online demo, check https://acw-sc-v2.vercel.app/.
The html
file looks like this:
<html><script>
var arg1='70D9569CD5E5895C84F284A09503B1598C5762A1';
var _0x4818=['\x63\x73\x4b\x48\x77\x71\x4d\x49,...
function setCookie(name,value){var expiredate=new Date();...
function reload(x) {setCookie("acw_sc__v2", x);...
</script></html>
git clone https://github.com/WangYihang/acw-sc-v2
cd acw-sc-v2
yarn install
- Start API server:
node app.js
- Send
POST
request tohttp://localhost:3000/
.
import requests
with open("index.html") as f:
response = requests.post('http://localhost:3000/', data={'data': f.read()})
print(response.text)
- Put the HTML content into
assets/index.html
- Run
node cli.js
$ node cli.js
acw_sc__v2=65afac17e880921014c4ead657413970d8b23ccb
docker run --rm --interactive --tty --publish 3000:3000 ghcr.io/wangyihang/acw-sc-v2.js:main
- Run
docker compose up -d
- Open
http://localhost:3000/
- Run
node app.js
- Open
http://localhost:3000/
- https://www.52pojie.cn/thread-1822807-1-1.html
- https://dev-coco.github.io/Online-Tools/JavaScript-Deobfuscator.html
-
Python version for Client Code (acw-sc-v2-py)
-
GoLang version for client code (acw-sc-v2-go)