Research
Security News
Quasar RAT Disguised as an npm Package for Detecting Vulnerabilities in Ethereum Smart Contracts
Socket researchers uncover a malicious npm package posing as a tool for detecting vulnerabilities in Etherium smart contracts.
John Hoffman's fork of the original bittorrent, we do some modify and use it as torrent download library
Becuase this package in under development, so we have not upload it to PyPI yet. When this project is good enough,
we will upload it to PyPI, at that time, user can use "pip install academictorrents" install this module.
in termimal copy the following command:
(1) if you have administrator permission:
sudo pip install git+https://github.com/liuyifei0226/atproject
(2) If you do not have administrator permission, please use:
pip install git+https://github.com/liuyifei0226/atproject --user
(1) After installing the Academictorrents, enter python in terminal, get into python commond line:
python
and you'll see
>>>
This means you're in python now.
(2) Import academictorrents in your python. For your convinience, you can import it as at for short:
import academictorrents as at
(3) Download the file. Use the command at.get(" ") to download the file you need. Here you should pay attention that your current path should be higher than the folder you save your .torrent file. For example, if you put your .torrent file in the folder /Users/ABC/Downloads, you should at Downloads or ABC to download the file.
>>> at.get("path/torrentname.torrent")
When you see something like
saving: devinberg.com_471592PB.pdf (0.2 MB)
percent done: 0.0
time left:
download to: /Users/ChunjieXu/devinberg.com_471592PB.pdf
download rate: 0.0 kB/s
upload rate: 0.0 kB/s
share rating: 0.000 (0.0 MB up / 0.0 MB down)
seed status: 1 seen now, plus 0.000 distributed copies
peer status: 1 seen now, 0.0% done at 0.0 kB/s
saving: devinberg.com_471592PB.pdf (0.2 MB)
percent done: 86.4
time left: complete!
download to: /Users/ChunjieXu/devinberg.com_471592PB.pdf
download rate: 29.6 kB/s
upload rate: 0.0 kB/s
share rating: 0.000 (0.0 MB up / 0.2 MB down)
seed status: 4 seen now, plus 0.000 distributed copies
peer status: 0 seen now, 0.0% done at 0.0 kB/s
saving: devinberg.com_471592PB.pdf (0.2 MB)
percent done: 100
time left: Download Succeeded!
download to: /Users/ChunjieXu/devinberg.com_471592PB.pdf
download rate:
upload rate: 0.0 kB/s
share rating: 0.000 (0.0 MB up / 0.2 MB down)
seed status: 4 seen now, plus 0.000 distributed copies
peer status: 0 seen now, 0.0% done at 0.0 kB/s
Congratulations! This means your academic torrents works perfect. You can Press "Control+C" to quit and get back to python.
FAQs
John Hoffman's fork of the original bittorrent, we do some modify and use it as torrent download library
We found that atproject 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 researchers uncover a malicious npm package posing as a tool for detecting vulnerabilities in Etherium smart contracts.
Security News
Research
A supply chain attack on Rspack's npm packages injected cryptomining malware, potentially impacting thousands of developers.
Research
Security News
Socket researchers discovered a malware campaign on npm delivering the Skuld infostealer via typosquatted packages, exposing sensitive data.