Research
Security News
Threat Actor Exposes Playbook for Exploiting npm to Build Blockchain-Powered Botnets
A threat actor's playbook for exploiting the npm ecosystem was exposed on the dark web, detailing how to build a blockchain-powered botnet.
incu-webview
Advanced tools
npm i incu-webview --save
ES6:
import Miracle from 'incu-webview'
浏览器:
<script src="node_modules/incu-webview/miracle.min.js"></script>
<script>
console.log(window.Miracle)
</script>
chrome://inspect
调试板块:
Demo:
import Miracle from 'incu-webview'
const isApp = Miracle.isApp()
console.log(isApp)
用于监听App的加载,加载完成后会调用回调。
除 isApp 外,其他所有Api需在AppReady后才能调用
参数与类型
onAppReady: (callback?: Function) => void
Demo:
import Miracle from 'incu-webview'
const onAppReady = Miracle.onAppReady(() => {
console.log(Miracle.getData())
})
获取App端的数据,具体格式,看数据吧……,请灵活使用该方法 =。=
Demo:
import Miracle from 'incu-webview'
console.log(Miracle.getData())
安全起见,具体能调用的方法查看 iNCU 的文档
参数与类型:
call: (
baseClass: string,
method: string,
params: any,
success?: Function,
fail?: Function
) => void
Demo:
import Miracle from 'incu-webview'
Miracle.call('router', 'refresh', {
title: 'Hello World'
}, () => {
console.log('set Title success')
}, () => {
console.log('set Title failed')
})
FAQs
iNCU Webview 库,用于实现一些与原生端的交互操作。
The npm package incu-webview receives a total of 1 weekly downloads. As such, incu-webview popularity was classified as not popular.
We found that incu-webview demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Research
Security News
A threat actor's playbook for exploiting the npm ecosystem was exposed on the dark web, detailing how to build a blockchain-powered botnet.
Security News
NVD’s backlog surpasses 20,000 CVEs as analysis slows and NIST announces new system updates to address ongoing delays.
Security News
Research
A malicious npm package disguised as a WhatsApp client is exploiting authentication flows with a remote kill switch to exfiltrate data and destroy files.