当前位置:网站首页>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
边栏推荐
- [technical live broadcast] how to rewrite tdengine code from 0 to 1 with vscode
- Uncover the practice of Baidu intelligent testing in the field of automatic test execution
- High performance spark_ Transformation performance
- Node-RED系列(二九):使用slider与chart节点来实现双折线时间序列图
- 观测云与 TDengine 达成深度合作,优化企业上云体验
- [sorting of object array]
- Unity skframework framework (XXIII), minimap small map tool
- TDengine 连接器上线 Google Data Studio 应用商店
- Wechat applet obtains household area information
- LeetCode 496. 下一个更大元素 I
猜你喜欢
Mobile heterogeneous computing technology GPU OpenCL programming (Advanced)
TDengine ×英特尔边缘洞见软件包 加速传统行业的数字化转型
卷起来,突破35岁焦虑,动画演示CPU记录函数调用过程
Solve liquibase – waiting for changelog lock Cause database deadlock
oracle 多行数据合并成一行数据
一次 Keepalived 高可用的事故,让我重学了一遍它
卷起來,突破35歲焦慮,動畫演示CPU記錄函數調用過程
What about wechat mall? 5 tips to clear your mind
干货整理!ERP在制造业的发展趋势如何,看这一篇就够了
Unity SKFramework框架(二十三)、MiniMap 小地图工具
随机推荐
一次 Keepalived 高可用的事故,让我重学了一遍它
[technical live broadcast] how to rewrite tdengine code from 0 to 1 with vscode
测试老鸟浅谈unittest和pytest的区别
阿里十年测试带你走进APP测试的世界
一篇文章带你走进cookie,session,Token的世界
LeetCode 31. Next spread
Analysis of eventbus source code
Understand the window query function of tdengine in one article
【对象数组a与对象数组b取出id不同元素赋值给新的数组】
Online chain offline integrated chain store e-commerce solution
Wechat applet obtains household area information
How to improve the operation efficiency of intra city distribution
Greendao reported an error in qigsaw, could not init daoconfig
90%的人都不懂的泛型,泛型的缺陷和应用场景
百度智能小程序巡檢調度方案演進之路
Uncover the practice of Baidu intelligent testing in the field of automatic test execution
About getfragmentmanager () and getchildfragmentmanager ()
SMT32H7系列DMA和DMAMUX的一点理解
Gradientdrawable get a single color
Alibaba's ten-year test brings you into the world of APP testing