Research
Security News
Malicious npm Package Targets Solana Developers and Hijacks Funds
A malicious npm package targets Solana developers, rerouting funds in 2% of transactions to a hardcoded address.
github.com/f4bio/goinsta
Unofficial Instagram API for Golang
Goinsta used gopkg.in as versioning control. Stable new API is the version v2.0. You can get it using:
go get -u -v gopkg.in/ahmdrz/goinsta.v2
Export
and Import
functions.We are working on a new object-oriented API. Try it and tell us your suggestions. See https://github.com/ahmdrz/goinsta/blob/master/CONTRIBUTING.md
If you want to use the old version you can found it in v1 branch or using gopkg.in/ahmdrz/goinsta.v1/
Sorry for breaking dependences :(. You can use this command in your project folder to update old master branch to v1.
for i in `grep -r ahmdrz ./ | awk '{split($0, a, ":"); print a[1]}'`; do sed -i 's/github\.com\/ahmdrz\/goinsta/gopkg\.in\/ahmdrz\/goinsta\.v1/g' $i; done
go get -u -v gopkg.in/ahmdrz/goinsta.v2
go get -u -v gopkg.in/ahmdrz/goinsta.v2
go install gopkg.in/ahmdrz/goinsta.v2/goinsta
package main
import (
"fmt"
"gopkg.in/ahmdrz/goinsta.v2"
)
func main() {
//insta, err := goinsta.Import("~/.goinsta")
insta := goinsta.New("USERNAME", "PASSWORD")
// also you can use New function from gopkg.in/ahmdrz/goinsta.v2/utils
// insta.SetProxy("http://localhost:8080", true) // true for insecure connections
if err := insta.Login(); err != nil {
fmt.Println(err)
return
}
// export your configuration
// after exporting you can use Import function instead of New function.
insta.Export("~/.goinsta")
...
}
This code is in no way affiliated with, authorized, maintained, sponsored or endorsed by Instagram or any of its affiliates or subsidiaries. This is an independent and unofficial API. Use at your own risk.
Ahmdrz
Bitcoin: 1KjcfrBPJtM4MfBSGTqpC6RcoEW1KBh15X
Mester
Bitcoin: 37aogDJYBFkdSJTWG7TgcpgNweGHPCy1Ks
The objects of the following schema can point to other objects defined below.
FAQs
Unknown package
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 malicious npm package targets Solana developers, rerouting funds in 2% of transactions to a hardcoded address.
Security News
Research
Socket researchers have discovered malicious npm packages targeting crypto developers, stealing credentials and wallet data using spyware delivered through typosquats of popular cryptographic libraries.
Security News
Socket's package search now displays weekly downloads for npm packages, helping developers quickly assess popularity and make more informed decisions.