
Research
Security News
Malicious PyPI Package Exploits Deezer API for Coordinated Music Piracy
Socket researchers uncovered a malicious PyPI package exploiting Deezer’s API to enable coordinated music piracy through API abuse and C2 server control.
@edsdk/flmngr
Advanced tools
File manager SDK for your websites and applicatoins. Both client and server side modules.
Flmngr is full featured file manager for your current or future app or website. You can add this module to instantly have feature to manage files on your webserver: to allow users to upload, edit and choose files, to build a structure for your files and images, to delete or download them.
It can be perfectly integrated with common CMSs (WordPress, Drupal, Joomla, etc), with popular client frameworks (React, Angular, Vue, etc.), server frameworks (Laravel, Symphony, YII, RoR, Django, etc.) and in any other code using API.
The great advantage of Flmngr are tools for full stack application integration. Flmngr contains both client script (JS/TypeScript) and server side in PHP, Node and Java for saving images on your server. It also has microservice feature for those who would like to use uploader separately or uses different language on server side.
Deploy and run your own demo in 1 min using Flmngr example repository.
With npm installed, run
$ npm install @edsdk/flmngr
Yarn users can run
$ yarn add @edsdk/flmngr
openFlmngr({
urlFileManager: 'http://localhost:8080/flmngr/',
onOk: (files: IFile[]) => {
for (const file of files)
console.log(`${file.name} (${file.size})`);
},
});
This code immediately opens Flmngr fullscreen dialog in your browser letting user to specify some files, probably with uploading them. When user confirms its selection, the dialog is being closed and onOk
callback is processed. In this password we just print info about files into console.
You need to have @edsdk/flmngr-server package installed and started on the URL equal to urlFileManager
you've passed to your frontend part of Flmngr.
function openFlmngr({
urlFileManager: string,
onOk: (
files: IFile[]
) => void
onCancel?: () => void,
onSelected?: (files: IFile[]) => null | boolean
onlyImages?: boolean,
isMultiple?: boolean,
urlFiles?: string,
dateFormat?: string,
openLastDir?: boolean,
branding?: boolean,
maxFolderTreeWidth?: boolean,
isIconsView?: true,
});
urlFileManager
- URL of Flmngr server in binded to (be sure CORS is enabled for external resources)onOk
- callback for files specified and "Ok" button is pressed eventOptional parameters:
onCancel
- callback for case user had closed Flmngr without selecting a fileonSelected
- callback called on any files selection change. It gets files array as argument and returns the flag of ability to choose exactly this files. Return true
if you want to set "Ok" button enabled, false
to disable it or null
if you want to make it enabled or disabled based on flags onlyImages
and isMultiple
(default)onlyImages
- show and allow to choose images only, default is false
isIconsView
- show files as icons or as table. true
is defaultisMultiple
- allow to choose many files or just once, default is true
urlFiles
- URL prefix to uploaded files i. e. https://somesite.com/files/
dateFormat
- format to print all file time attributes in, DD/MM/YYYY HH:mm
by defaultopenLastDir
- do Flmngr to open last opened directoty on future Flmngr uses. fm_lastDir
cookie is used for saving it. This option affects only if you open Flmngr without files preselected. Default is true
branding
- do show name of Flmngr in UI, default is true
maxFolderTreeWidth
- maximum width of directories view, 250
is defaultisIconsView
- do show previews of images or table view is default, default is true
To avoid network delays you can preload Flmngr at any moment (e. g. you page is loaded):
function preload(callback?: () => void);
After this call all next openFlmngr
calls will be faster. If you do not use preload
, calling openFlmngr
first time can be slower.
You can also pass callback
function if you want to execute some code right after Flmngr libraries were preloaded.
Double licensing:
Trial EdSDK license
Commercial EdSDK license
FAQs
Flmngr file manager (Local disk / Amazon S3 / Azure Blob)
We found that @edsdk/flmngr demonstrated a not healthy version release cadence and project activity because the last version was released 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 uncovered a malicious PyPI package exploiting Deezer’s API to enable coordinated music piracy through API abuse and C2 server control.
Research
The Socket Research Team discovered a malicious npm package, '@ton-wallet/create', stealing cryptocurrency wallet keys from developers and users in the TON ecosystem.
Security News
Newly introduced telemetry in devenv 1.4 sparked a backlash over privacy concerns, leading to the removal of its AI-powered feature after strong community pushback.