
Research
wget to Wipeout: Malicious Go Modules Fetch Destructive Payload
Socket's research uncovers three dangerous Go modules that contain obfuscated disk-wiping malware, threatening complete data loss.
@e-is/cordova-plugin-downloader
Advanced tools
Forked from integrator-cordova-plugin-downloader
This plugin is designed to support downloading files using Android DownloadManager.
Supported platforms
cordova plugin add @e-is/cordova-plugin-downloader
Create download request. For more info on parameter use refer to DownloadRequest
.
var request = {
//Location of the resource to download
uri: '',
//Title of this download, to be displayed in notifications
title: '',
//Description of this download, to be displayed in notifications
description: '',
//This will override the content type declared in the server's response.
mimeType: '',
//Set whether this download should be displayed in the system's Downloads UI. True by default
visibleInDownloadsUi: true,
//Control when a system notification is posted by the download manager.
notificationVisibility: 0,
// Set the local destination to a path within the application's external files directory
destinationInExternalFilesDir: {
dirType: '',
subPath: '' //Path within the external directory, including the destination filename
},
//Set the local destination to a path within the application's public external storage directory
destinationInExternalPublicDir: {
dirType: '',
subPath: '' //Path within the external directory, including the destination filename
},
//Set the local destination for the downloaded file.
destinationUri: '',
//Additional HTTP headers to be included with the download request.
headers: [{header: 'Authorization', value: 'Bearer iaksjfd89aklfdlkasdjf'}]
};
Starts download and returns location uri on completion
cordova.plugins.Downloader.download(request,
(location) => { alert('File is downloaded at ' + location) },
(err) => { alert(err)})
Based on Luka313's integrator-cordova-plugin-downloader
Based on Emil Bay's cordova-plugin-android-downloadmanager
FAQs
Downloader
We found that @e-is/cordova-plugin-downloader demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 open source maintainers 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
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.
Product
We redesigned Socket's first logged-in page to display rich and insightful visualizations about your repositories protected against supply chain threats.