当前位置:网站首页>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
边栏推荐
- Analysis on the wallet system architecture of Baidu trading platform
- MySQL does not take effect in sorting string types
- 【js 根据对象数组中的属性进行排序】
- 【sourceTree配置SSH及使用】
- SQL learning - case when then else
- Uncover the practice of Baidu intelligent testing in the field of automatic test execution
- 【饿了么动态表格】
- La voie de l'évolution du système intelligent d'inspection et d'ordonnancement des petites procédures de Baidu
- Observation cloud and tdengine have reached in-depth cooperation to optimize the cloud experience of enterprises
- What should we pay attention to when entering the community e-commerce business?
猜你喜欢

Unity skframework framework (XXIII), minimap small map tool

How to choose the right chain management software?

Understand the window query function of tdengine in one article

Figure neural network + comparative learning, where to go next?

TDengine可通过数据同步工具 DataX读写

Node-RED系列(二九):使用slider与chart节点来实现双折线时间序列图

Why don't you recommend using products like mongodb to replace time series databases?

卷起來,突破35歲焦慮,動畫演示CPU記錄函數調用過程

First understanding of structure

TDengine 连接器上线 Google Data Studio 应用商店
随机推荐
Dry goods sorting! How about the development trend of ERP in the manufacturing industry? It's enough to read this article
[sourcetree configure SSH and use]
【sourceTree配置SSH及使用】
[reading notes] Figure comparative learning gnn+cl
oracle 多行数据合并成一行数据
[Yugong series] go teaching course 003-ide installation and basic use in July 2022
[hungry dynamic table]
Data visualization platform based on template configuration
Uncover the practice of Baidu intelligent testing in the field of automatic test execution
Why does everyone want to do e-commerce? How much do you know about the advantages of online shopping malls?
Develop and implement movie recommendation applet based on wechat cloud
What should we pay attention to when developing B2C websites?
OpenGL - Coordinate Systems
单片机原理与接口技术(ESP8266/ESP32)机器人类草稿
First understanding of structure
Unity skframework framework (XXII), runtime console runtime debugging tool
Understanding of smt32h7 series DMA and DMAMUX
From "chemist" to developer, from Oracle to tdengine, two important choices in my life
【组队 PK 赛】本周任务已开启 | 答题挑战,夯实商品详情知识
解决idea调试过程中liquibase – Waiting for changelog lock….导致数据库死锁问题