
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).
SFTP client Python package that uses paramiko library.
from a script:
import fileshiftlib
host = "localhost"
username = "123..."
password = "xxxx"
port = 22
# Initialize SFTP client
sftp = fileshiftlib.SFTP(host=host,
username=username,
password=password,
port=port,
logger=None)
content_list = sftp.list_dir()
print(content_list)
sftp.change_dir(path=".")
sftp.delete_file(filename=r"demo.txt")
sftp.download_file(remote_path=r"/demo/demo.txt", local_path=r"c:\local\demo.txt")
sftp.upload_file(local_path=r"c:\local\demo.txt", remote_path=r"/demo/demo.txt")
Install python and pip if you have not already.
Then run:
pip install pip --upgrade
For production:
pip install fileshiftlib
This will install the package and all of it's python dependencies.
If you want to install the project for development:
git clone https://github.com/aghuttun/fileshiftlib.git
cd fileshiftlib
pip install -e ".[dev]"
To test the development package: Testing
BSD License (see license file)
FAQs
SFTP client!
We found that fileshiftlib 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.