Security News
tea.xyz Spam Plagues npm and RubyGems Package Registries
Tea.xyz, a crypto project aimed at rewarding open source contributions, is once again facing backlash due to an influx of spam packages flooding public package registries.
bouygues-sms
Advanced tools
Readme
Package to use the Bouygues Telecom SMS unofficial API (5 SMS /day limitation)
Uses calls from this page, and based on this php script
npm install bouygues-sms
const Bouygues = require("bouygues-sms");
var sms = new Bouygues("bouygueslogin", "bouyguespassword", 1); // 3rd argument is for debug log (1 for enabled, 0 for disabled)
sms.send("Hello World!", "0600000000", (error) => {
if(error) {
console.log("An error occured: " + error.code)
} else {
console.log("success");
}
});
Left quota is checked at sms sending, no need to double check it (don't put a sms.send in the getQuota callback)
sms.getQuota((quota, error) => {
if(error) {
console.log("An error occured: " + error.code)
} else {
console.log(quota + " sms left today");
}
})
sms.send("Hello World!", ["0600000001", "0600000002", "0600000003", "0600000004", "0600000005"], (error) => {
if(error) {
console.log("An error occured: " + error.code)
} else {
console.log("success");
}
});
Code | Meaning |
---|---|
LOGIN_UNKNOWN | Login page has changed or Bouygues services are down |
LOGIN_WRONG | Credentials are wrong |
QUOTA_EXCEEDED | Quota is exceeded and SMS can't be sent |
ERROR_GETQUOTA | Error getting quota, page has changed or Bouygues services are down |
SMS_CONFIRMATION | Error at SMS confirmation, page has changed or Bouygues services are down |
SMS_RESULT | Error at SMS result, page has changed or Bouygues services are down |
FAQs
To use the Bouygues Telecom SMS unofficial API (5 SMS /day limitation)
The npm package bouygues-sms receives a total of 2 weekly downloads. As such, bouygues-sms popularity was classified as not popular.
We found that bouygues-sms 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
Tea.xyz, a crypto project aimed at rewarding open source contributions, is once again facing backlash due to an influx of spam packages flooding public package registries.
Security News
As cyber threats become more autonomous, AI-powered defenses are crucial for businesses to stay ahead of attackers who can exploit software vulnerabilities at scale.
Security News
UnitedHealth Group disclosed that the ransomware attack on Change Healthcare compromised protected health information for millions in the U.S., with estimated costs to the company expected to reach $1 billion.