当前位置:网站首页>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
边栏推荐
- The writing speed is increased by dozens of times, and the application of tdengine in tostar intelligent factory solution
- Tdengine offline upgrade process
- LeetCode 496. Next larger element I
- Develop and implement movie recommendation applet based on wechat cloud
- Kotlin introductory notes (VI) interface and function visibility modifiers
- SQL learning - case when then else
- 如何正确的评测视频画质
- 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
- 干货整理!ERP在制造业的发展趋势如何,看这一篇就够了
- oracle 多行数据合并成一行数据
猜你喜欢
mysql安装配置以及创建数据库和表
Develop and implement movie recommendation applet based on wechat cloud
Unity skframework framework (XXIII), minimap small map tool
初识结构体
What should we pay attention to when developing B2C websites?
Unity skframework framework (XXII), runtime console runtime debugging tool
Online chain offline integrated chain store e-commerce solution
Analysis on the wallet system architecture of Baidu trading platform
Oracle combines multiple rows of data into one row of data
Tdengine connector goes online Google Data Studio app store
随机推荐
E-commerce apps are becoming more and more popular. What are the advantages of being an app?
Kotlin introductory notes (VI) interface and function visibility modifiers
Kotlin introductory notes (VII) data class and singleton class
First understanding of structure
LeetCode 503. 下一个更大元素 II
C语言-从键盘输入数组二维数组a,将a中3×5矩阵中第3列的元素左移到第0列,第3列以后的每列元素行依次左移,原来左边的各列依次绕到右边
【el-table如何禁用】
Node の MongoDB Driver
一篇文章带你走进cookie,session,Token的世界
TDengine可通过数据同步工具 DataX读写
单片机原理与接口技术(ESP8266/ESP32)机器人类草稿
Figure neural network + comparative learning, where to go next?
【技术直播】如何用 VSCode 从 0 到 1 改写 TDengine 代码
Tdengine can read and write through dataX, a data synchronization tool
初识结构体
百度交易中台之钱包系统架构浅析
[listening for an attribute in the array]
Data visualization platform based on template configuration
[ManageEngine] how to make good use of the report function of OpManager
Charm of code language