Research
Recent Trends in Malicious Packages Targeting Discord
The Socket research team breaks down a sampling of malicious packages that download and execute files, among other suspicious behaviors, targeting the popular Discord platform.
node-erip-hgrosh
Advanced tools
Readme
$ npm install --save node-erip-hgrosh
var HGrosh = require('node-erip-hgrosh');
var credential = {
user:"username@org.com",
pwd:"pSSw_ord7",
production: true
};
var hgrosh = new HGrosh(credential);
Setting production to false will direct your requests to trial.hgrosh.by instead of www.hutkigrosh.by.
If your system requires that requests be made through an HTTP or HTTPS proxy, you can either set an environment variables https_proxy and http_proxy, or pass in the optional third option:
var hgrosh = new HGrosh(credential, {proxy: http_proxy});
HGrosh API | Function |
---|---|
Security/logIn | HGrosh.logIn(credential) |
Security/logOut | HGrosh.logOut() |
Invoicing/Bill | HGrosh.addBill(bill) |
Invoicing/Bill(billId) | HGrosh.infoBill(billId) |
Invoicing/Bills | HGrosh.loadBills(start, end, sortby) |
You could use promises or callback functions to chain your requests to HutkiGrosh. Unfortunately there are problems with concurrent requests on their side.
var hgrosh = new HGrosh(credential);
hgrosh.addBill(bill)
.then(function(result)
{
hgrosh.loadBills(0,30,1).
then(function(result)
{
var json = JSON.parse(result.body);
console.log(json);
});
});
var hgrosh = new HGrosh(credential);
hgrosh.addBill(bill,
function(err, result)
{
hgrosh.loadBills(0,30,1,
function(err, result)
{
var json = JSON.parse(result);
console.log(json);
});
});
$ npm install --global node-erip-hgrosh
$ node-erip-hgrosh --help
# creates a browser.js
$ npm run browser
MIT © Egor Kuryanovich
FAQs
Library to use HutkiGrosh API to ERIP in nodejs.
We found that node-erip-hgrosh 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
The Socket research team breaks down a sampling of malicious packages that download and execute files, among other suspicious behaviors, targeting the popular Discord platform.
Security News
Socket CEO Feross Aboukhadijeh joins a16z partners to discuss how modern, sophisticated supply chain attacks require AI-driven defenses and explore the challenges and solutions in leveraging AI for threat detection early in the development life cycle.
Security News
NIST's new AI Risk Management Framework aims to enhance the security and reliability of generative AI systems and address the unique challenges of malicious AI exploits.