当前位置:网站首页>How Windows bat script automatically executes sqlcipher command
How Windows bat script automatically executes sqlcipher command
2022-07-05 09:47:00 【Black Mountain demon 2018】
windows bat How scripts execute automatically sqlcipher command
Demand background
Following sqlcipher After decryption , I think I have to input a bunch of instructions every time I view the encrypted database , It is not conducive to development and testing , So this article introduces how to pass bat Scripts execute automatically .
Use the command line directly
sqlcipher-shell64.exe universal_encrypt.db Enter into sqlite in
And then execute
1.PRAGMA key = '123456';
2.ATTACH DATABASE 'plaintext.db' AS plaintext KEY '';
3.SELECT sqlcipher_export('plaintext');
4.DETACH DATABASE plaintext
Use bat Script
sqlcipher-shell64.exe universal_encrypt.db < adb.txt
pause
adb.txt
PRAGMA key = ‘123456’;
ATTACH DATABASE ‘plaintext.db’ AS plaintext KEY ‘’;
SELECT sqlcipher_export(‘plaintext’);
DETACH DATABASE plaintext
边栏推荐
- [how to disable El table]
- Charm of code language
- 搞数据库是不是越老越吃香?
- 使用el-upload封装得组件怎么清空已上传附件
- 百度APP 基于Pipeline as Code的持续集成实践
- [technical live broadcast] how to rewrite tdengine code from 0 to 1 with vscode
- On July 2, I invite you to TD Hero online press conference
- Oracle combines multiple rows of data into one row of data
- The most comprehensive promotion strategy: online and offline promotion methods of E-commerce mall
- 【两个对象合并成一个对象】
猜你喜欢
Three-level distribution is becoming more and more popular. How should businesses choose the appropriate three-level distribution system?
Dry goods sorting! How about the development trend of ERP in the manufacturing industry? It's enough to read this article
C language - input array two-dimensional array a from the keyboard, and put 3 in a × 5. The elements in the third column of the matrix are moved to the left to the 0 column, and the element rows in ea
VS Code问题:长行的长度可通过 “editor.maxTokenizationLineLength“ 进行配置
How to correctly evaluate video image quality
Why don't you recommend using products like mongodb to replace time series databases?
From "chemist" to developer, from Oracle to tdengine, two important choices in my life
Viewpager pageradapter notifydatasetchanged invalid problem
Figure neural network + comparative learning, where to go next?
LeetCode 556. 下一个更大元素 III
随机推荐
Viewpager pageradapter notifydatasetchanged invalid problem
mysql安装配置以及创建数据库和表
Evolution of Baidu intelligent applet patrol scheduling scheme
【对象数组的排序】
Greendao reported an error in qigsaw, could not init daoconfig
【js 根据对象数组中的属性进行排序】
Tongweb set gzip
The research trend of map based comparative learning (gnn+cl) in the top paper
Deep understanding of C language pointer
The most comprehensive promotion strategy: online and offline promotion methods of E-commerce mall
Gradientdrawable get a single color
tongweb设置gzip
百度APP 基于Pipeline as Code的持续集成实践
MYSQL 对字符串类型排序不生效问题
写入速度提升数十倍,TDengine 在拓斯达智能工厂解决方案上的应用
Oracle combines multiple rows of data into one row of data
What about wechat mall? 5 tips to clear your mind
How to empty uploaded attachments with components encapsulated by El upload
STM32 simple multi-level menu (array table lookup method)
Why don't you recommend using products like mongodb to replace time series databases?