Security News
Research
Data Theft Repackaged: A Case Study in Malicious Wrapper Packages on npm
The Socket Research Team breaks down a malicious wrapper package that uses obfuscation to harvest credentials and exfiltrate sensitive data.
A simple Python API for 5sim.net
Before proceeding, you should register an account on 5sim.net and generate a personal API key to use.
Install from source:
pip install git+https://github.com/squirrelpython/5sim-python.git
Alternatively, install from PyPI:
pip install 5sim-python
from fivesim import FiveSim
# These example values won't work. You must get your own api_key
API_KEY = 'ey.............'
client = FiveSim(API_KEY)
Official docs here
# Balance request
client.get_balance() # Provides profile data: email, balance and rating.
# Products request
client.product_requests(country='russia', product='telegram') # To receive the name, the price, quantity of all products, available to buy.
# Prices request
client.price_requests() # Returns product prices
# Prices by country
client.price_requests_by_country(country='russia') # Returns product prices by country
# Prices by product
client.price_requests_by_product(product='telegram') # Returns product prices by product
# Prices by country and product
client.price_requests_by_country_and_product(country='russia' ,product='telegram') # Returns product prices by country and specific product
# Buy activation number
client.buy_number(country='russia', operator='any', product='telegram') # Buy new activation number
# Buy hosting number
client.buy_hosting_number(country='russia', operator='any', product='amazon') # Buy new hosting number
# Re-buy number
client.rebuy_number(product='telegram', number='7485.....') # Re-buy number
# Check order (Get SMS)
client.check_order(order_id='12345678') # Check the sms was received
# Finish order
client.finish_order(order_id='12345678') # Finish the order after code received
# Cancel order
client.cancel_order(order_id='12345678') # Cancel the order
# Ban order
client.ban_order(order_id='12345678') # Cancel the order if banned from the service
# SMS inbox list
client.sms_inbox_list(order_id='12345678') # Get SMS inbox list by order's id.
Powered by SquirrelPython.
FAQs
A simple Python API for 5sim.net
We found that 5sim-python demonstrated a healthy version release cadence and project activity because the last version was released less than 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
Research
The Socket Research Team breaks down a malicious wrapper package that uses obfuscation to harvest credentials and exfiltrate sensitive data.
Research
Security News
Attackers used a malicious npm package typosquatting a popular ESLint plugin to steal sensitive data, execute commands, and exploit developer systems.
Security News
The Ultralytics' PyPI Package was compromised four times in one weekend through GitHub Actions cache poisoning and failure to rotate previously compromised API tokens.