安云网 - AnYun.ORG | 专注于网络信息收集、网络数据分享、网络安全研究、网络各种猎奇八卦。
当前位置: 安云网 > 技术关注 > WEB安全 > 渗透测试之Webpack打包Vue源码还原

渗透测试之Webpack打包Vue源码还原

时间:2020-12-03来源:未知 作者:安云网点击:
1. 找到源码的map文件,然后下载 2. 使用npm 安装reverse-sourcemap npm install --global reverse-sourcemap 3. 进行还原操作 ╰─ reverse-sourcemap --help reverse-sourcemap - Reverse engineering JavaScript and CSS sources from sourcemaps Usage: reverse-sourcemap [options] file|dire
//内容来自安云网

1. 找到源码的map文件,然后下载

FROM ANYUN.ORG

2. 使用npm 安装reverse-sourcemap

npm install --global reverse-sourcemap

3. 进行还原操作

╰─ reverse-sourcemap --help
reverse-sourcemap - Reverse engineering JavaScript and CSS sources from sourcemaps
Usage: reverse-sourcemap [options] <file|directory>

-h, --help Help and usage instructions
-V, --version Version number
-v, --verbose Verbose output, will print which file is currently being processed
-o, --output-dir String Output directory - default: .
-M, --match String Regular expression for matching and filtering files - default: \.map$
-r, --recursive Recursively search matching files

╰─ reverse-sourcemap --output-dir ./xxx  app.1c489f3ee0a84d6f8c46.js.map
reverse-sourcemap - Reverse engineering JavaScript and CSS sources from sourcemaps

 分析源码,找到利用的接口

渗透测试之Webpack打包Vue源码还原

 

 

参考:

https://www.npmjs.com/package/reverse-sourcemap

https://yukaii.tw/blog/2017/02/21/restore-source-code-from-sourcemap-file/

https://yukaii.tw/blog/2017/02/21/restore-source-code-from-sourcemap-file/

https://www.npmjs.com/package/restore-source-tree

https://www.npmjs.com/package/reverse-sourcemap

FROM https://www.cnblogs.com/hack404/p/12509359.html

本文标题: 渗透测试之Webpack打包Vue源码还原 安云网
顶一下
(0)
0%
踩一下
(0)
0%
------分隔线----------------------------
发表评论
请自觉遵守互联网相关的政策法规,严禁发布色情、暴力、反动的言论。
评价:
验证码: 点击我更换图片
相关内容
推荐内容