
Research
Security News
Malicious PyPI Package Exploits Deezer API for Coordinated Music Piracy
Socket researchers uncovered a malicious PyPI package exploiting Deezer’s API to enable coordinated music piracy through API abuse and C2 server control.
screencap-stream
Advanced tools
Take a screencap and return it as a stream. Today OSX. Tomorrow, CROSS PLATFORM!!!
var screencap = require('screencap-stream')
screencap.createReadStream()
.on('error', function(err) {
process.stderr.write(err.toString())
process.exit(-1)
})
.pipe(process.stdout)
var screencap = require('screencap-stream')
screencap(function(err, readStream) {
...
})
screencap
binaryInstall it:
npm install -g screencap-stream
Take a screenshot (png) and output to stdout:
screencap
And now add it to ipfs:
screencap | ipfs add
And for a publish one-liner
echo "http://gateway.ipfs.io/ipfs/"$(screencap | ipfs add -q)
ipfs-cap
binaryCapture screenshots, publish them to IPFS, and copy the link to the clipboard.
Examples:
# default name based on date
> ipfs-cap
http://gateway.ipfs.io/ipfs/QmfV9gpmi9yT4J4fWWJH2xdrAUYbmn3JYZPWCN5hsMnA9A/screencap.2015-07-04T01:21:00Z.png
# name argument
> ipfs-cap laser-raptor.png
http://gateway.ipfs.io/ipfs/QmdCcY49eXipYJQpZL2yAuu2Jv8QbddJE2Zub3cfwc3aPz/laser-raptor.png
# verbose
> ipfs-cap -v hacking-too-much-time.png
capturing screen... QmRT4WfAYmt6EQmSWLNwjk9TU75ENV3JZum2PtGPq5V63R
constructing dir... Qmao3bK722MJ1eur89caxvJZ32FChyvRPi6QyBsibuKVEg
copying url to clipboard... copied
http://gateway.ipfs.io/ipfs/Qmao3bK722MJ1eur89caxvJZ32FChyvRPi6QyBsibuKVEg/hacking-too-much-time.png
Install it with:
npm install -g screencap-stream
FAQs
screen capture streams
The npm package screencap-stream receives a total of 1 weekly downloads. As such, screencap-stream popularity was classified as not popular.
We found that screencap-stream 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
Socket researchers uncovered a malicious PyPI package exploiting Deezer’s API to enable coordinated music piracy through API abuse and C2 server control.
Research
The Socket Research Team discovered a malicious npm package, '@ton-wallet/create', stealing cryptocurrency wallet keys from developers and users in the TON ecosystem.
Security News
Newly introduced telemetry in devenv 1.4 sparked a backlash over privacy concerns, leading to the removal of its AI-powered feature after strong community pushback.