Python Ethical Hacking - Malware Packaging(2)
2024-09-04 04:15:40
PACKAGING FOR WINDOWS FROM LINUX
- For best results package the program from the same OS as the target.
- EG if the target is Windows then package the program from a Windows computer with a python interpreter.
- Install Windows python interpreter on Linux.
- Use it to convert python programs to Windows executables.
Install wine tool on Kali Linux:
dpkg --add-architecture i386 && apt-get update &&
apt-get install wine32
Install Python 3.7.4 using wine.
Install PyInstaller on Kali Linux.
wine python.exe -m pip install /root/Downloads/PyInstaller-3.5.tar.gz
To package the keylogger program, we need to install the pynput module first.
wine python.exe -m pip --default-time= install pynput
Convert the python program to windows executable.
wine ~/.wine/drive_c/'Program Files (x86)'/Python37-/Scripts/pyinstaller.exe zkeylogger.py --onefile --noconsole
Test the zkeylogger.exe file on the Windows 10 PC. It works perfectly.
最新文章
- iOS之百度导航SDK的坐标转换
- XML格式示例 与 XML操作(读取)类封装
- c#基础-oop(面向对象理解)
- aspose.word使用简单方法
- jvm 数据区划分学习
- 1、探究java方法参数传递——引用传递?值传递!
- vijosP1071 新年趣事之打牌
- [转]Delphi执行CMD命令
- 推荐两个界面原型设计工具--GUIDesignStudio 和 Mockups For Desktop
- Intergate flot with Angular js ——Angular 图形报表
- Entity Framework细节追踪
- 关于mpu6050的几个很好的帖子
- Linux: Bash基本命令
- JPA关系映射之one-to-one
- WEBLOGIC 11G (10.3.6) windows PSU 升级10.3.6.0.171017(Java 反序列化漏洞升级)
- SQL Server 优化
- HDU - 3567
- HttpClient的POST请求返回302解决
- Qsys 设计流程---Qsys System Design Tutorial
- Redis学习笔记:windows上redis的安装运行
热门文章
- 【Azure SQL】数据库性能分析
- PHP丨PHP基础知识之流程控制for循环「理论篇」
- springboot 配置本地文件映射路径
- 解决 React Native Android:app:validateSigningRelease FAILED 错误
- OpenCV开发笔记(六十五):红胖子8分钟带你深入了解ORB特征点(图文并茂+浅显易懂+程序源码)
- 【asp.net core 系列】13 Identity 身份验证入门
- Elasticsearch、Solr、Lucene、Hermes区别
- JavaWeb网上图书商城完整项目--day02-5.ajax校验功能之服务器端三层实现
- 入门大数据---通过Flume、Sqoop分析日志
- webpack的入门实践,看这篇就够了