
Security News
Axios Supply Chain Attack Reaches OpenAI macOS Signing Pipeline, Forces Certificate Rotation
OpenAI rotated macOS signing certificates after a malicious Axios package reached its CI pipeline in a broader software supply chain attack.
Um SDK feito para o envio de sms usando o serviço culusms.com
O serviço culusms.com permite usar o teu telemovel como um gateway de envio de sms, como se estivesses a enviar a sms manualmente(podendo automatizar com este modulo), dai que a taxa para o envio das mensagens é debitada directamente na tua conta móvel.
Para que o teu celular esteja habilitado como gateway, você precisa ter uma conta no culusms.com e depois instalar o apk no teu celular e seguir as instruçóes.
$ npm install culusms
Para criar uma instancia do culusms dentro de um arquivo .js(Obviamente) criado por ti. Adicione o seguinte trecho
const CuluSms = require('culusms');
//Acesse o teu painel no culusms.com navegue e copie a chave da api localizada em FERRAMENTAS -> CHAVES DE API
const client = new CuluSms("<Chave_da_API />")
"Destinatário" Number:<Obrigatório />, "Mensagem" String:<Obrigatório />, "Dispositivo" Number:<Opcional />
"SIM" Number:<Opcional />, "Prioridade" (0 ou 1):<Opcional />
client.messages.send(000000000, 'Sent with culusms').then(res => {
console.log('success',res)
}).catch(err => {
console.log('error',err)
})
"Dispositivo" Number:<Opcional />
client.messages.getPending().then(res => {
console.log('pending', res)
}).catch(err => {
console.log('error', err)
})
"Limite" Number:<Opcional /> ,"Página" Number:<Opcional />, "Dispositivo" Number:<Opcional />
"Api" Boolean:<Opcional />, "Prioridade" Number:<Opcional />
client.messages.getSent(22, 0, 22, false, 1).then(res => {
console.log('semt', res)
}).catch(err => {
console.log('error', err)
})
"Limite" Number:<Opcional /> ,"Página" Number:<Opcional />, "Dispositivo" Number:<Opcional />
client.messages.getReceived(5, 0, 22).then(res => {
console.log('received', res)
}).catch(err => {
console.log('error', err)
})
client.devices.getDevices().then(data => {
console.log('success', data);
}).catch(err => {
console.log('error', err)
})
"Id do dispositivo" Number:<Obrigatório />
client.devices.getDevice(1).then(data => {
console.log('success', data);
}).catch(err => {
console.log('error', err)
})
"Nome do grupo" String:<Obrigatório />
client.addressBook.createGroup('Test').then(res => {
console.log('success', res);
}).catch(err => {
console.log('error', err)
})
client.addressBook.getGroups().then(res => {
console.log('success', res);
}).catch(err => {
console.log('error', err)
})
"Número de telefone" Number:<Obrigatório />, "Nome" String:<Obrigatório />, "Id do grupo" Number:<Obrigatório />
client.addressBook.createContact('+258840000000', 'Pietro Zim', 14).then(res => {
console.log('success', res);
}).catch(err => {
console.log('error', err)
})
client.addressBook.getContacts().then(res => {
console.log('success', res);
}).catch(err => {
console.log('error', err)
})
"Id do grupo" Number:<Obrigatório />
client.addressBook.deleteGroup(15).then(res => {
console.log('success', res);
}).catch(err => {
console.log('error', err)
})
"Id do contacto" Number:<Obrigatório />
client.addressBook.deleteContact(15).then(res => {
console.log('success', res);
}).catch(err => {
console.log('error', err)
})
FAQs
culusms SDK for Javascript
We found that culusms 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.

Security News
OpenAI rotated macOS signing certificates after a malicious Axios package reached its CI pipeline in a broader software supply chain attack.

Security News
Open source is under attack because of how much value it creates. It has been the foundation of every major software innovation for the last three decades. This is not the time to walk away from it.

Security News
Socket CEO Feross Aboukhadijeh breaks down how North Korea hijacked Axios and what it means for the future of software supply chain security.