
Research
/Security News
Critical Vulnerability in NestJS Devtools: Localhost RCE via Sandbox Escape
A flawed sandbox in @nestjs/devtools-integration lets attackers run code on your machine via CSRF, leading to full Remote Code Execution (RCE).
A Python API for accessing your Tesco Mobile Ireland account balance & usage stats. This is an unoffical API and the author/contributors are in no way connected to Tesco or Tesco Mobile. The API provides methods to:
For an example of this in use, see my Tesco Mobile BitBar plugin
pip install pytescomobileirl
It's very easy to use. Try the following to get your balance data:
from pytescomobileirl import *
from pprint import pprint
session = pytescomobileirl.TescoSession()
session.login("<PhoneNumber>","<Password>")
balances = session.get_balances()
my_credit = balances.credit_remaining
my_data = balances.remaining_total("data")
print(my_credit)
print(my_data.summary())
pprint(vars(my_data))
returns:
14.28
939 MB
{'balance_expires': datetime.datetime(2017, 10, 15, 0, 0),
'balance_type': u'data',
'is_active': True,
'remaining_qty': 939.181640625,
'serviceCode': u'AB3',
'unit': 'MByte'}
Or to get your usage history enter:
usage = session.get_usage()
pprint(vars(usage.records[0]))
returns:
{'called_number': u'tescomobile.liffeytelecom.com',
'charge': u'0.0',
'country_code': None,
'event_date': datetime.datetime(2017, 9, 23, 13, 33),
'roaming': False,
'service_code': u'GPBAS',
'service_name': u'GPRS Basic Service',
'unit': u'Bytes',
'use_type': u'DATA',
'volume': 119896.0}
python ./tests/tests.py
Fork this repo, make some changes and create a new pull request!
FAQs
Unofficial Python Tesco Mobile (Ireland) API
We found that pytescomobileirl 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.
Research
/Security News
A flawed sandbox in @nestjs/devtools-integration lets attackers run code on your machine via CSRF, leading to full Remote Code Execution (RCE).
Product
Customize license detection with Socket’s new license overlays: gain control, reduce noise, and handle edge cases with precision.
Product
Socket now supports Rust and Cargo, offering package search for all users and experimental SBOM generation for enterprise projects.