
Security News
vlt Launches "reproduce": A New Tool Challenging the Limits of Package Provenance
vlt's new "reproduce" tool verifies npm packages against their source code, outperforming traditional provenance adoption in the JavaScript ecosystem.
cordova-sqlite-devtools
Advanced tools
A quick and easy way to pull a backup of a sqlite database from a connected Android device.
npm install -g cordova-sqlite-devtools
cordova-sqlite-devtools
uses Android Debug Bridge (adb)
to communicate with your Android device. Make sure you have adb
installed / configured, and you
have connected your mobile phone to your laptop / desktop.
csd --help
List all databases on the device.
csd list
With the below command, you should be able to find the database copied into the _sqlite-backups
folder of the current directory. Use SQLite browser to open the
database and browse the data.
csd pull awesome.db
Where awesome.db
is the optional name of the database to backup. Note: the database name is case
sensitive. If the database is not provided, you will be prompted to select from a list of available
databases on the device.
Remove _sqlite-backups
folder and all backups.
csd clean
Combine all SQL files into a JavaScript file that adds all SQL queries to an object on the window (window._sqlite
).
The generated file can be included (<script src="build/sqlite.js"></script>
) and the queries accessed from code. For example,
if your SQL file is named MyAwesomeQuery.sql
, then you can access the query via window._sqlite['MyAwesomeQuery']
.
csd generate
Name | Alias | Description | Default |
---|---|---|---|
--src | -s | Source glob of sql files. | src/sqlite/**/*.sql |
--dest | -d | Destination JavaScript file. | www/build/sqlite.js |
For easy development, clone the repo and run the following commands in the cordova-sqlite-devtools
directory:
npm install
npm link
npm run build
FAQs
Access SQLite database from Android devices.
The npm package cordova-sqlite-devtools receives a total of 0 weekly downloads. As such, cordova-sqlite-devtools popularity was classified as not popular.
We found that cordova-sqlite-devtools 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.
Security News
vlt's new "reproduce" tool verifies npm packages against their source code, outperforming traditional provenance adoption in the JavaScript ecosystem.
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.