
Research
NPM targeted by malware campaign mimicking familiar library names
Socket uncovered npm malware campaign mimicking popular Node.js libraries and packages from other ecosystems; packages steal data and execute remote code.
The package is designed to work with cookies for the Chrome browser. The package allows you to delete, insert, receive and decrypt cookies.
Этот проект представляет собой программу для взаимодействия с куками (cookies) в браузере пользователя. Программа позволяет извлекать и расшифровывать зашифрованные данные о куках, а также добавлять новые данные куков в базу данных.
get()
: Получение куков из базы данных с возможностью применения SQL операторов WHERE, ORDER BY, LIMIT, OFFSET.add()
: Добавление новых куков в базу данных.get()
для получения списка куков или add()
для добавления новых куков.from biscuit.cookies import Biscuit
biscuit = Biscuit('/path/to/user/data/directory', profile='Default')
# Пример использования метода add() для добавления куков
new_cookies = [
{'name': 'username', 'value': 'john_doe', 'domain': 'example.com', 'path': '/', 'expires': '1656079200'},
{'name': 'session', 'value': '1234567890', 'domain': 'sub.example.com', 'path': '/admin', 'expires': '1656079200'},
]
biscuit.add(new_cookies)
# Проверка добавленных куков
cookies = biscuit.get(where='domain LIKE "%.example.com"')
print(cookies)
FAQs
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
Socket uncovered npm malware campaign mimicking popular Node.js libraries and packages from other ecosystems; packages steal data and execute remote code.
Research
Socket's research uncovers three dangerous Go modules that contain obfuscated disk-wiping malware, threatening complete data loss.
Research
Socket uncovers malicious packages on PyPI using Gmail's SMTP protocol for command and control (C2) to exfiltrate data and execute commands.