Research
Security News
Malicious npm Packages Inject SSH Backdoors via Typosquatted Libraries
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
.. contents::
Change history
Detailed Documentation
The activity-API reads the character-activity-sheet from the Armory to get the five last actions of the character.
To use the API, just do an import like this
::
>>> from activity_api import Activity
Mock Realmstatus.get_realm_status
Returns output similar to what we would get from the API, so that this test can be used while offline
::
>>> from test_activity import mocked_get_activity
Mocking the functions
::
>>> Activity.get_activity = mocked_get_activity
First create an instance of the Activity object
::
>>> activity = Activity()
To get the recent activities, use get_activity(name, realm, zone, count) count must be + 1, if you want 5, count must be 6, etc.
::
>>> activities = activity.get_activity("Kutschurft", "Azshara", "EU", 6)
>>> test_activities = [u'Earned the achievement [Neck-Deep in Vile (10 player)].',
... u'Has now completed [Victories over the Lich King (Icecrown 10 player)] 4 times.',
... u'Has now completed [Sindragosa kills (Heroic Icecrown 10 player)] 2 times.',
... u'Has now completed [Valithria Dreamwalker rescues (Heroic Icecrown 10 player)] 4 times.',
... u'Has now completed [Blood Queen Lanathel kills (Heroic Icecrown 10 player)] 6 times.']
>>> activities == test_activities
True
Contributors
Marc Goetz, Author
Download
FAQs
Python World of Warcraft Activity API
We found that wow.activityapi 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
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
Security News
MITRE's 2024 CWE Top 25 highlights critical software vulnerabilities like XSS, SQL Injection, and CSRF, reflecting shifts due to a refined ranking methodology.
Security News
In this segment of the Risky Business podcast, Feross Aboukhadijeh and Patrick Gray discuss the challenges of tracking malware discovered in open source softare.