Research
Security News
Malicious npm Packages Inject SSH Backdoors via Typosquatted Libraries
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
A simple macOS command line tool for uploading your screenshots from clipboard to Imgur
Press control+shift+command+3 or control+shift+command+4 to capture and copy a screenshot.
Run clip2imgur
in your terminal, then boom, the image URL is in your
clipboard.
If it is your first time to run clip2imgur
, you can choose to authorize this
tool, and your image will be posted in your image collection
(username.imgur.com/all
).
You also can choose to post anonymously, but it is hard to get the url later and Imgur might delete your posts.
In default setting, the URL of posted image will be copied to your clipboard. You can use flags to configure it.
$ clip2imgur --html
$ clip2imgur -n
short | long | description |
---|---|---|
-m | --markdown | URL will be copied in the Markdown image format.[](https://i.imgur.com/x.png) |
-t | --html | URL will be copied in the HTML image format.<img src="https://i.imgur.com/x.png"> |
-n | --notcopy | Your image URL will not be copied to your clipboard |
-a | --anon | Post the image anonymously |
Personally I like to include images in Markdown file using the HTML format,
which gives more control of the display. If you forget these flags, you always
can run clip2imgur -h
to check the usage.
This package is built using cross-platform Swift with Swift Package Manager
(SPM), but it currently only supports macOS. There are three ways to install
clip2imgur
.
Using Homebrew
is the recommended and also the easiest way to get clip2imgur
installed on your mac. If you don't have Homebrew
installed, you can simply
run:
$ /usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
Then, to install clip2imgur
:
$ brew tap xiaohk/clip2imgur
$ brew install clip2imgur
If you are familiar with Python, you can install clip2imgur
with pip.
$ pip install clip2imgur
The latest version (>=v0.9.1) uses Python.
The first version (v0.9.0) was built with:
FAQs
A simple CLI that uploads your image in the clipboard to Imgur.
We found that clip2imgur demonstrated a healthy version release cadence and project activity because the last version was released less than 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’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
Security News
MITRE's 2024 CWE Top 25 highlights critical software vulnerabilities like XSS, SQL Injection, and CSRF, reflecting shifts due to a refined ranking methodology.
Security News
In this segment of the Risky Business podcast, Feross Aboukhadijeh and Patrick Gray discuss the challenges of tracking malware discovered in open source softare.