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.
serwersms.pl
Advanced tools
Readme
Klient JS do komunikacji zdalnej z API v2 SerwerSMS.pl / Client JS for remote communication with the API v2 SerwerSMS.pl
npm install serwersms.pl
npm install request
Zalecane jest, aby komunikacja przez HTTPS API odbywała się z loginów utworzonych specjalnie do połączenia przez API. Konto użytkownika API można utworzyć w Panelu Klienta → Ustawienia interfejsów → HTTPS XML API → Użytkownicy.
It is recommended that communication via HTTPS API was done with logins created specifically to connect to the API. User Account API , you can create a Customer Panel → Settings → HTTPS interfaces XML API → Users.
var module = require('serwersms.pl');
try{
var object = module.serwerSMS('demo','demo');
var messages = object.oMessages;
// SMS FULL
var params = new Object();
params.phone = ['500600700'];
params.text = 'test';
params.sender = 'INFORMACJA';
params.details = true;
params.test = true;
var callback = function(data){
var obj = JSON.parse(data);
console.log(obj);
}
messages.sendSms(params,callback);
// SMS ECO
var params = new Object();
params.phone = ['500600700'];
params.text = 'test';
params.sender = null;
params.details = true;
params.test = true;
var callback = function(data){
var obj = JSON.parse(data);
console.log(obj);
}
messages.sendSms(params,callback);
// VOICE from text
var params = new Object();
params.phone = ['500600700'];
params.text = 'test voice';
params.details = true;
params.test = true;
var callback = function(data){
var obj = JSON.parse(data);
console.log(obj);
}
messages.sendVoice(params,callback);
// MMS
var files = object.oFiles;
var callback = function(data){
var list = JSON.parse(data);
var params = new Object();
//console.log(list);
params.phone = ['500600700'];
params.title = 'MMS Title';
params.file_id = list.items[0].id;
params.details = true;
params.test = false;
messages.sendMms(params,function(response){
console.log('Error: '+response);
});
}
files.index('mms',callback);
}catch(err) {
console.log(err.message);
}
var module = require('serwersms.pl');
try{
var object = module.serwerSMS('demo','demo');
var messages = object.oMessages;
var params = new Object();
params.messages =
[
{ phone:'500600700',text:'pierwszy' },
{ phone:'500600700',text:'drugi' }
];
params.sender = 'INFORMACJA';
params.details = true;
params.test = true;
var callback = function(data){
var obj = JSON.parse(data);
console.log(obj);
}
messages.sendPersonalized(params,callback);
}catch(err ) {
console.log(err.message);
}
var module = require('serwersms.pl');
try{
var object = module.serwerSMS('demo','demo');
var messages = object.oMessages;
var params = new Object();
params = {id:['c7d505d346','4fbf1cd942']};
var callback = function(data){
var obj = JSON.parse(data);
console.log(obj);
}
messages.reports(params,callback);
}catch(err ) {
console.log(err.message);
}
var module = require('serwersms.pl');
try{
var object = module.serwerSMS('demo','demo');
var messages = object.oMessages;
var params = new Object();
params.type = 'eco';
var callback = function(data){
var obj = JSON.parse(data);
console.log(obj);
}
messages.recived(params,callback);
}catch(err ) {
console.log(err.message);
}
FAQs
Client JS for remote communication with the API v2 SerwerSMS.pl
We found that serwersms.pl 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.