-->

2021/02/26

Self-build Metasploit 3 Virtualbox image

Did not found any download, so build it my own .... TAT
I need to say the Metasploit 3 build script is really awesome !


Build information:

torrents:

2021/02/02

npm 和 yarn 戰爭還在持續 ....

lbry-desktop checkout 下來,按照說明想要看 dev 上怎麼玩,但是看文件下指令就是會死。

弄了老半天結果是 npm 和 yarn 設定互相卡。索性把 yarn 全砍了,全部用 npm 下去執行。


npm install 完成以後,就可以打開 package.json 來看:
  "scripts": {
    "compile:electron": "node --max_old_space_size=4096 ./node_modules/webpack/bin/webpack.js --config webpack.electron.config.js",
    "compile:web": "yarn copyenv && cd web && node --max_old_space_size=4096 ./node_modules/webpack/bin/webpack.js --config webpack.config.js",
    "compile": "cross-env NODE_ENV=production yarn compile:electron && cross-env NODE_ENV=production yarn compile:web",
    "copyenv": "cp ./.env* web/",

按照這個設定檔下指令「npm run compile:electron」即可