MoneyPrinterTurbo – 免费开源的AI短视频生成工具
一、MoneyPrinterTurbo简介
MoneyPrinterTurbo是一款由开发者harry0703基于原有MoneyPrinter项目优化而来的开源AI视频生成工具。
这款工具的核心价值在于其全自动化的工作流程——用户只需提供一个视频主题或关键词,MoneyPrinterTurbo就能自动完成以下所有工作:
- 根据主题生成视频文案
- 从无版权素材库中搜索匹配的视频片段
- 生成与文案同步的语音解说
- 添加可自定义的字幕
- 匹配合适的背景音乐
- 最终合成一个完整的高清短视频
与OpenAI的Sora等纯AI生成视频不同,MoneyPrinterTurbo采用的是"智能缝合"技术,它将互联网上的高质量素材进行智能组合和编辑,既保证了视频质量,又避免了版权问题。这种技术路线使其对硬件要求相对较低,普通个人电脑即可运行,大大提高了实用性。
功能特性详解
MoneyPrinterTurbo集成了多种先进功能,使其成为一款真正意义上的"一站式"视频制作解决方案:
- 多尺寸视频生成
支持两种主流视频尺寸格式:
- 竖屏9:16(1080×1920):专为抖音、快手等短视频平台优化
- 横屏16:9(1920×1080):适合YouTube、B站等平台
- 智能文案生成
内置AI文案生成引擎,支持:
- 根据关键词自动生成视频脚本
- 支持中英文双语生成
- 允许用户自定义文案
- 可接入多种大模型(OpenAI、Ollama、Azure、通义千问等)提升文案质量
- 多媒体元素集成
- 语音合成:提供400多种声音选择,支持多种语言和方言
- 字幕系统:可调整字体、位置、颜色、大小,支持字幕描边设置
- 背景音乐:内置无版权音乐库,可随机或指定音乐,调节音量
- 批量生成与效率工具
- 支持一次生成多个视频版本,便于选择最佳作品
- 可设置视频片段时长,控制素材切换频率
- 采用高清无版权素材,避免法律风险
- 技术架构
- 完整的MVC架构,代码结构清晰,易于二次开发
- 同时支持API和Web界面两种调用方式
- 基于Python和MoviePy视频编辑库构建
配置要求
- 建议最低 CPU 4核 或以上,内存 4G 或以上,显卡非必须
- Windows 10 或 MacOS 11.0 以上系统
适用场景
- 社交媒体运营:快速生成抖音,快手 平台短视频内容
- 营销推广:创建产品介绍,品牌宣传等短视频广告
- 个人创作:个人快速制作Vlog,故事讲述等
先来看一下,我生成的视频效果,有声音,字幕,画面1920×1080。视频文件太大了,这里用gif演示其中5秒效果,只能上传10M的文件,视频总共有33秒。

整体效果还是可以的,字幕,声音都有。
二、安装
基础环境

3. 这里强调一下,不需要显卡,只需要cpu 核和内存4G即可使用
下载资源
https://pan.baidu.com/s/1wg0UaIyXpO3SqIpaq790SQ?pwd=sbqx
https://drive.google.com/file/d/1HsbzfT7XunkrCrHw5ncUjFX8XX4zAuUh/view?usp=sharing
用百度盘下载太慢了,直接用google的链接,前提是你有魔法网络,下载就很快了。
启动脚本

脚本会自动打开网页:http://localhost:8501/
基础设置
点击基础设置
大模型供应商:Qwen
API KEY: 输入自己的
模型:选择qwen-plus,也可以选择其他的,只要是文字聊天模型即可。注意:这里千万不要输入多模态的模型,比如:文生视频,图片识别等等。
视频来源:输入Pixabay API Key即可,国内网络可以正常使用。
注意:不要用Pexels API Key,这个必须要用魔法网络才可以使用。

文案设置
视频主题:人间烟火,你可以输入别的主题。
视频文案:这里直接AI生成,你可以手动输入。最好还是AI生成,自然一点。
视频关键词:这里直接AI生成,只支持英文
视频来源:选择Pixbay,最好选这个,国内网络可以使用。
启用字幕:默认启用,默认字体即可。

朗读声音,这里用默认的女性即可。这里有国内方言,还有国外语言。
最后点击生成

输出如下:

2025-07-18 17:43:27.492 | INFO | __main__:<module>:948 - 开始生成视频
2025-07-18 17:43:27.493 | INFO | __main__:<module>:949 - {
"video_subject": "人间烟火",
"video_script": "晨曦微露,街道两旁的早点铺子早早升起炊烟,热气腾腾的包子、油条在案板上摆开,迎接新一天的烟火生活。人们匆匆穿梭在小巷之间,脚步声与吆喝声交织,城市的节奏从一顿简单的早餐开始。夜幕降临,霓虹灯下,烧烤摊的烟火气升腾,笑声与谈话语声弥漫在空气中,平凡的日子就在这一餐一饭、一呼一吸之间缓缓流淌。",
"video_terms": "morning street food, breakfast vendors, city life rhythm, night street vendors, barbecue night",
"video_aspect": "16:9",
"video_concat_mode": "random",
"video_transition_mode": "None",
"video_clip_duration": 3,
"video_count": 1,
"video_source": "pixabay",
"video_materials": null,
"video_language": "",
"voice_name": "zh-CN-XiaoxiaoNeural-Female",
"voice_volume": 1.0,
"voice_rate": 1.0,
"bgm_type": "random",
"bgm_file": "",
"bgm_volume": 0.2,
"subtitle_enabled": true,
"subtitle_position": "bottom",
"custom_position": 70.0,
"font_name": "MicrosoftYaHeiBold.ttc",
"text_fore_color": "#FFFFFF",
"text_background_color": true,
"font_size": 60,
"stroke_color": "#000000",
"stroke_width": 1.5,
"n_threads": 2,
"paragraph_number": 1
}
2025-07-18 17:43:27.497 | INFO | app.services.task:start:211 - start task: b4233916-d32f-43ff-84fb-3f1df5f60091, stop_at: video
2025-07-18 17:43:27.501 | INFO | app.services.task:generate_script:17 -
## generating video script
2025-07-18 17:43:27.505 | DEBUG | app.services.task:generate_script:26 - video script:
晨曦微露,街道两旁的早点铺子早早升起炊烟,热气腾腾的包子、油条在案板上摆开,迎接新一天的烟火生活。人们匆匆穿梭在小巷之间,脚步声与吆喝声交织,城市的节奏从一顿简单的早餐开始。夜幕降临,霓虹灯下,烧烤摊的烟火气升腾,笑声与谈话语声弥漫在空气中,平凡的日子就在这一餐一饭、一呼一吸之间缓缓流淌。
2025-07-18 17:43:27.508 | INFO | app.services.task:generate_terms:37 -
## generating video terms
2025-07-18 17:43:27.510 | DEBUG | app.services.task:generate_terms:51 - video terms: [
"morning street food",
"breakfast vendors",
"city life rhythm",
"night street vendors",
"barbecue night"
]
2025-07-18 17:43:27.517 | INFO | app.services.task:generate_audio:74 -
## generating audio
2025-07-18 17:43:27.521 | INFO | app.services.voice:azure_tts_v1:1127 - start, voice name: zh-CN-XiaoxiaoNeural, try: 1
2025-07-18 17:43:31.440 | INFO | app.services.voice:azure_tts_v1:1147 - completed, output file: .\storage\tasks\b4233916-d32f-43ff-84fb-3f1df5f60091\audio.mp3
2025-07-18 17:43:31.441 | INFO | app.services.task:generate_subtitle:102 -
## generating subtitle, provider: edge
2025-07-18 17:43:31.444 | INFO | app.services.voice:create_subtitle:1474 - completed, subtitle file created: .\storage\tasks\b4233916-d32f-43ff-84fb-3f1df5f60091\subtitle.srt, duration: 31.312
2025-07-18 17:43:31.445 | INFO | app.services.task:get_video_materials:140 -
## downloading videos from pixabay
2025-07-18 17:43:31.445 | INFO | app.services.material:search_videos_pixabay:109 - searching videos: https://pixabay.com/api/videos/?q=morning+street+food&video_type=all&per_page=50&key=51359859-12ee7876f406e9b455a9ba3a8, with proxies: {}
2025-07-18 17:43:32.281 | INFO | app.services.material:download_videos:219 - found 49 videos for 'morning street food'
2025-07-18 17:43:32.283 | INFO | app.services.material:search_videos_pixabay:109 - searching videos: https://pixabay.com/api/videos/?q=breakfast+vendors&video_type=all&per_page=50&key=51359859-12ee7876f406e9b455a9ba3a8, with proxies: {}
2025-07-18 17:43:33.081 | INFO | app.services.material:download_videos:219 - found 43 videos for 'breakfast vendors'
2025-07-18 17:43:33.084 | INFO | app.services.material:search_videos_pixabay:109 - searching videos: https://pixabay.com/api/videos/?q=city+life+rhythm&video_type=all&per_page=50&key=51359859-12ee7876f406e9b455a9ba3a8, with proxies: {}
2025-07-18 17:43:33.894 | INFO | app.services.material:download_videos:219 - found 50 videos for 'city life rhythm'
2025-07-18 17:43:33.894 | INFO | app.services.material:search_videos_pixabay:109 - searching videos: https://pixabay.com/api/videos/?q=night+street+vendors&video_type=all&per_page=50&key=51359859-12ee7876f406e9b455a9ba3a8, with proxies: {}
2025-07-18 17:43:34.655 | INFO | app.services.material:download_videos:219 - found 43 videos for 'night street vendors'
2025-07-18 17:43:34.656 | INFO | app.services.material:search_videos_pixabay:109 - searching videos: https://pixabay.com/api/videos/?q=barbecue+night&video_type=all&per_page=50&key=51359859-12ee7876f406e9b455a9ba3a8, with proxies: {}
2025-07-18 17:43:35.514 | INFO | app.services.material:download_videos:219 - found 48 videos for 'barbecue night'
2025-07-18 17:43:35.515 | INFO | app.services.material:download_videos:227 - found total videos: 209, required duration: 32 seconds, found duration: 4345.0 seconds
2025-07-18 17:43:35.516 | INFO | app.services.material:download_videos:244 - downloading video: https://cdn.pixabay.com/video/2022/12/18/143486-782758140_large.mp4
2025-07-18 17:43:45.156 | INFO | app.services.material:download_videos:249 - video saved: .\storage\cache_videos/vid-a8bea7b8132dc9f09b003ebf4f3a9745.mp4
2025-07-18 17:43:45.162 | INFO | app.services.material:download_videos:244 - downloading video: https://cdn.pixabay.com/video/2016/09/02/4882-181170856_large.mp4
2025-07-18 17:43:50.689 | INFO | app.services.material:download_videos:249 - video saved: .\storage\cache_videos/vid-35bababb05ed2a54cc84bbc0bb209054.mp4
2025-07-18 17:43:50.690 | INFO | app.services.material:download_videos:244 - downloading video: https://cdn.pixabay.com/video/2016/06/27/3565-172488151_large.mp4
2025-07-18 17:43:57.028 | INFO | app.services.material:download_videos:249 - video saved: .\storage\cache_videos/vid-20331a946df2c71f1b36e4b938cbbf49.mp4
2025-07-18 17:43:57.029 | INFO | app.services.material:download_videos:244 - downloading video: https://cdn.pixabay.com/video/2024/04/18/208477_large.mp4
2025-07-18 17:44:03.868 | INFO | app.services.material:download_videos:249 - video saved: .\storage\cache_videos/vid-c0903a38702e6b3cb6fbd9b6d771318f.mp4
2025-07-18 17:44:03.871 | INFO | app.services.material:download_videos:244 - downloading video: https://cdn.pixabay.com/video/2019/04/03/22555-328624767_large.mp4
2025-07-18 17:44:09.765 | INFO | app.services.material:download_videos:249 - video saved: .\storage\cache_videos/vid-21b762b983e47d38d9532ab7492df277.mp4
2025-07-18 17:44:09.766 | INFO | app.services.material:download_videos:244 - downloading video: https://cdn.pixabay.com/video/2023/03/02/152834-804130720_large.mp4
2025-07-18 17:44:15.770 | INFO | app.services.material:download_videos:249 - video saved: .\storage\cache_videos/vid-738dfe7ce02cbfd54481bfb95ebfbc01.mp4
2025-07-18 17:44:15.771 | INFO | app.services.material:download_videos:244 - downloading video: https://cdn.pixabay.com/video/2025/02/23/260397_large.mp4
2025-07-18 17:44:22.931 | INFO | app.services.material:download_videos:249 - video saved: .\storage\cache_videos/vid-38255b1cea69a7a1632605f9fa5afb5b.mp4
2025-07-18 17:44:22.932 | INFO | app.services.material:download_videos:244 - downloading video: https://cdn.pixabay.com/video/2024/04/17/208347_large.mp4
2025-07-18 17:44:28.615 | INFO | app.services.material:download_videos:249 - video saved: .\storage\cache_videos/vid-9739632cf686fc9e2ef3ce4ccbfa5a13.mp4
2025-07-18 17:44:28.617 | INFO | app.services.material:download_videos:244 - downloading video: https://cdn.pixabay.com/video/2023/11/24/190485-888122631_large.mp4
2025-07-18 17:44:34.125 | INFO | app.services.material:download_videos:249 - video saved: .\storage\cache_videos/vid-abf3ad49b6ce233d20fe641363e074c0.mp4
2025-07-18 17:44:34.127 | INFO | app.services.material:download_videos:244 - downloading video: https://cdn.pixabay.com/video/2019/09/25/27230-362518559_large.mp4
2025-07-18 17:44:40.232 | INFO | app.services.material:download_videos:249 - video saved: .\storage\cache_videos/vid-a34e12ac70bdb403ac4f81d1e261a0a5.mp4
2025-07-18 17:44:40.234 | INFO | app.services.material:download_videos:244 - downloading video: https://cdn.pixabay.com/video/2019/09/27/27268-363287559_large.mp4
2025-07-18 17:44:47.266 | INFO | app.services.material:download_videos:249 - video saved: .\storage\cache_videos/vid-9a22925b8a52f4ff09099d5b44d77749.mp4
2025-07-18 17:44:47.268 | INFO | app.services.material:download_videos:254 - total duration of downloaded videos: 33.0 seconds, skip downloading more
2025-07-18 17:44:47.271 | SUCCESS | app.services.material:download_videos:260 - downloaded 11 videos
2025-07-18 17:44:47.272 | INFO | app.services.task:generate_final_videos:175 -
## combining video: 1 => .\storage\tasks\b4233916-d32f-43ff-84fb-3f1df5f60091\combined-1.mp4
2025-07-18 17:44:49.448 | INFO | app.services.video:combine_videos:129 - audio duration: 31.9 seconds
2025-07-18 17:44:49.454 | INFO | app.services.video:combine_videos:133 - maximum clip duration: 3 seconds
2025-07-18 17:45:27.337 | DEBUG | app.services.video:combine_videos:162 - total subclipped items: 79
2025-07-18 17:45:27.340 | DEBUG | app.services.video:combine_videos:169 - processing clip 1: 3840x2160, current duration: 0.00s, remaining: 31.90s
2025-07-18 17:45:30.644 | DEBUG | app.services.video:combine_videos:179 - resizing clip, source: 3840x2160, ratio: 1.78, target: 1920x1080, ratio: 1.78
2025-07-18 17:46:02.335 | DEBUG | app.services.video:combine_videos:169 - processing clip 2: 1920x1080, current duration: 3.00s, remaining: 28.90s
2025-07-18 17:46:08.965 | DEBUG | app.services.video:combine_videos:169 - processing clip 3: 1920x1080, current duration: 6.00s, remaining: 25.90s
2025-07-18 17:46:17.151 | DEBUG | app.services.video:combine_videos:169 - processing clip 4: 2560x1440, current duration: 9.00s, remaining: 22.90s
2025-07-18 17:46:19.883 | DEBUG | app.services.video:combine_videos:179 - resizing clip, source: 2560x1440, ratio: 1.78, target: 1920x1080, ratio: 1.78
2025-07-18 17:46:36.594 | DEBUG | app.services.video:combine_videos:169 - processing clip 5: 3840x2160, current duration: 12.00s, remaining: 19.90s
2025-07-18 17:46:40.389 | DEBUG | app.services.video:combine_videos:179 - resizing clip, source: 3840x2160, ratio: 1.78, target: 1920x1080, ratio: 1.78
2025-07-18 17:47:13.964 | DEBUG | app.services.video:combine_videos:169 - processing clip 6: 1920x1080, current duration: 15.00s, remaining: 16.90s
2025-07-18 17:47:21.948 | DEBUG | app.services.video:combine_videos:169 - processing clip 7: 3840x2160, current duration: 18.00s, remaining: 13.90s
2025-07-18 17:47:25.093 | DEBUG | app.services.video:combine_videos:179 - resizing clip, source: 3840x2160, ratio: 1.78, target: 1920x1080, ratio: 1.78
2025-07-18 17:48:03.818 | DEBUG | app.services.video:combine_videos:169 - processing clip 8: 1920x1080, current duration: 21.00s, remaining: 10.90s
2025-07-18 17:48:09.132 | DEBUG | app.services.video:combine_videos:169 - processing clip 9: 3840x2160, current duration: 24.00s, remaining: 7.90s
2025-07-18 17:48:13.385 | DEBUG | app.services.video:combine_videos:179 - resizing clip, source: 3840x2160, ratio: 1.78, target: 1920x1080, ratio: 1.78
2025-07-18 17:48:54.787 | DEBUG | app.services.video:combine_videos:169 - processing clip 10: 1920x1080, current duration: 27.00s, remaining: 4.90s
2025-07-18 17:49:09.286 | DEBUG | app.services.video:combine_videos:169 - processing clip 11: 1920x1080, current duration: 30.00s, remaining: 1.90s
2025-07-18 17:49:24.231 | INFO | app.services.video:combine_videos:247 - starting clip merging process
2025-07-18 17:49:24.263 | INFO | app.services.video:combine_videos:270 - merging clip 1/10, duration: 3.00s
2025-07-18 17:49:53.527 | INFO | app.services.video:combine_videos:270 - merging clip 2/10, duration: 3.00s
2025-07-18 17:50:38.693 | INFO | app.services.video:combine_videos:270 - merging clip 3/10, duration: 3.00s
2025-07-18 17:51:26.346 | INFO | app.services.video:combine_videos:270 - merging clip 4/10, duration: 3.00s
2025-07-18 17:52:28.310 | INFO | app.services.video:combine_videos:270 - merging clip 5/10, duration: 3.00s
2025-07-18 17:53:37.458 | INFO | app.services.video:combine_videos:270 - merging clip 6/10, duration: 3.00s
2025-07-18 17:55:00.273 | INFO | app.services.video:combine_videos:270 - merging clip 7/10, duration: 3.00s
2025-07-18 17:56:47.100 | INFO | app.services.video:combine_videos:270 - merging clip 8/10, duration: 3.00s
2025-07-18 17:58:43.273 | INFO | app.services.video:combine_videos:270 - merging clip 9/10, duration: 3.00s
2025-07-18 18:00:57.229 | INFO | app.services.video:combine_videos:270 - merging clip 10/10, duration: 3.00s
2025-07-18 18:03:14.687 | INFO | app.services.video:combine_videos:308 - video combining completed
2025-07-18 18:03:14.693 | INFO | app.services.task:generate_final_videos:192 -
## generating video: 1 => .\storage\tasks\b4233916-d32f-43ff-84fb-3f1df5f60091\final-1.mp4
2025-07-18 18:03:14.696 | INFO | app.services.video:generate_video:376 - generating video: 1920 x 1080
2025-07-18 18:03:14.699 | INFO | app.services.video:generate_video:377 - ① video: .\storage\tasks\b4233916-d32f-43ff-84fb-3f1df5f60091\combined-1.mp4
2025-07-18 18:03:14.707 | INFO | app.services.video:generate_video:378 - ② audio: .\storage\tasks\b4233916-d32f-43ff-84fb-3f1df5f60091\audio.mp3
2025-07-18 18:03:14.710 | INFO | app.services.video:generate_video:379 - ③ subtitle: .\storage\tasks\b4233916-d32f-43ff-84fb-3f1df5f60091\subtitle.srt
2025-07-18 18:03:14.717 | INFO | app.services.video:generate_video:380 - ④ output: .\storage\tasks\b4233916-d32f-43ff-84fb-3f1df5f60091\final-1.mp4
2025-07-18 18:03:14.723 | INFO | app.services.video:generate_video:395 - ⑤ font: C:/Users/xiao/Downloads/MoneyPrinterTurbo-Portable-Windows-1.2.6/MoneyPrinterTurbo/resource/fonts/MicrosoftYaHeiBold.ttc
2025-07-18 18:09:46.652 | SUCCESS | app.services.task:start:312 - task b4233916-d32f-43ff-84fb-3f1df5f60091 finished, generated 1 videos.
2025-07-18 18:09:46.942 | INFO | __main__:<module>:970 - 视频生成完成
过程比较漫长,大概30分钟左右。
生成完成之后,会自动打开生成好的目录,比如:C:\Users\xiao\Downloads\MoneyPrinterTurbo-Portable-Windows-1.2.6\MoneyPrinterTurbo\storage\tasks\b4233916-d32f-43ff-84fb-3f1df5f60091
点击文件final-1.mp4播放

注意:这个视频文件,是最终效果,合成了字幕,声音等文件。
播放视频,全屏都可以。

查看视频文件分辨率,确实是1920×1080

MoneyPrinterTurbo – 免费开源的AI短视频生成工具的更多相关文章
- Pexels Videos – 可以免费商业使用的短视频
Pexels 是一个巨大的平台,提供免费的精美照片,很多设计师和博客每天用它来寻找他们的个人和商业项目的照片.现在我们想介绍 Pexels 视频,他是用来帮助你找到免费的视频.所有的 Pexels 视 ...
- Upscayl,免费开源的 AI 图像增强软件
有的时候我们找遍了全网却难以找到一张模糊图片的原图,这时候我们想如果能够一键将图片变成高清的就好了.其实这正是计算机视觉的一大研究反向--图形增强,通过AI计算将模糊的图片增强,将几百kb的低像素图片 ...
- 微软开源全新的文档生成工具DocFX
微软放弃Sandcastle有些年头了,微软最近开源了全新的文档生成工具DocFX,目前支持C#和VB,类似JSDoc或Sphinx,可以从源代码中提取注释生成文档之外,而且还有语法支持你加入其他的文 ...
- 开源:C# 代码自动生成工具,支持站点前后台
前言 写这个项目有很长一段时间了,期间也修修改改,写到最后,自己也没咋用(研究方向变化了). 正文 具体项目开源了:https://github.com/supperlitt/WebAutoCodeO ...
- 永久免费开源的卫星地形图地图下载工具更新Somap2.13版本功能更新 更新时间2019年2月22日13:59:05
一.下载地址 最新版本下载地址:SoMap2.13点击此处下载 二.系统自主开发特色功能展示 1.上百种地图随意下载 高德.百度.arcgis.谷歌.bing.海图.腾讯.Openstreet.天地 ...
- C# 代码自动生成工具
开源:C# 代码自动生成工具,支持站点前后台 前言 写这个项目有很长一段时间了,期间也修修改改,写到最后,自己也没咋用(研究方向变化了). 正文 具体项目开源了:https://github.co ...
- 2018亚太CDN峰会开幕, 阿里云王海华解读云+端+AI的短视频最佳实践
4月11-12日,2018亚太CDN峰会在北京隆重召开,在11日下午的短视频论坛中,阿里云高级技术专家王海华进行了<短视频最佳实践:云+端+AI>的主题演讲,分享了短视频的生命周期关键点和 ...
- 视频云肖长杰:视频AI科技助力短视频生态
人工智能技术是当今炙手可热的技术领域,它在制造.家居.零售.交通.安防等行业的应用已经是大势所趋.在本月云栖Techday音视频技术沙龙中,阿里云视频云产品专家肖长杰为我们分享了一些AI技术在视频中应 ...
- Python 带你一键生成朋友圈超火的九宫格短视频
1. 场景 如果你经常刷抖音和微信朋友圈,一定发现了最近九宫格短视频很火! 从朋友圈九宫格图片,到九宫格视频,相比传统的图片视频,前者似乎更有个性和逼格 除了传统的剪辑软件可以实现,是否有其他更加快 ...
- 推荐一款轻量小众却高效免费开源windows热键脚本语言Autohotkey
写在前面的话 Autohotkey是一款轻量小众但高效免费开源的windows热键脚本语言,游戏操纵.鼠标操作.键盘快捷重定义,快捷短语等等,只有你想不到,没有它做不到,神器中的神器呀,相见恨晚. 安 ...
随机推荐
- 题解:UVA11214 守卫键盘 Guarding the Chessboard
题意:输入一个 n×mn\times mn×m 棋盘,某些格子有标记.用最少的皇后守卫(即占据或者攻击)所有带标记的格子. 分析:因为不知道放几个皇后可以守卫所有带标记的格子,即回溯法求解时解答树的深 ...
- 记一次移动光猫(GM219-S)安全测试
前言 过个年,WiFi密码忘记了-光猫管理密码也忘记了(这个光猫也不支持物理按钮重置设置),但是手机还连着WiFi,正规操作找回不了密码,那就用咱们测试的思维来试试PWN掉这个路由器. 过程 未授权获 ...
- [语法分析/编译原理] Antlr : 开源语法分析工具
序 最近的工作涉及到数据引擎查询 DSL 设计,正好找到 Antlr. 那些繁琐的词法分析.语法分析工作全部由 Antlr 搞定,即使你不懂编译原理,也不能阻碍你使用 Antlr 开发自己的小语言. ...
- 【笔记】libpcap安装与使用
Ubuntu 20.04. 文章目录 起步 一.下载libpcap 库 二.安装 三.使用 完整程序 (们) 1. 头文件集锦 myheader.h 2. 打印报文内容 sniff.c 3. 嗅探与伪 ...
- 【HUST】网络攻防实践|6_物联网设备固件安全实验|实验三 FreeRTOS-MPU 保护绕过
文章目录 实验三 FreeRTOS-MPU 保护绕过 实验要求 子任务1 逆向分析StartFreeRTOS 打印 Flag 函数名称和地址 用于提权的函数名称和地址 填写的代码 模拟运行截图 **附 ...
- TVM Pass优化 -- InferType 类型推导
定义(What) InferType,类型推断,顾名思义,给表达式进行类型的推断 直接上代码 import tvm from tvm import relay import numpy as np d ...
- .NET外挂系列:8. harmony 的IL编织 Transpiler
一:背景 1. 讲故事 前面文章所介绍的一些注入技术都是以方法为原子单位,但在一些罕见的场合中,这种方法粒度又太大了,能不能以语句为单位,那这个就是我们这篇介绍的 Transpiler,它可以修改方法 ...
- Faray 数列问题
首先,Farey 数列 \(F_n\) 表示分母不超过 \(n\) 的所有既约真分数按大小顺序排列的集合,形式化来说 \[F_n = \left\{\frac{p}{q} \bigg\vert 0 & ...
- Markdown中设置图片尺寸及添加图注
设置缩放比例 使用下面的语法可以调整图片尺寸,同时保证长宽比: <img style="width:缩放比例;" src="图片资源地址"/> 在标 ...
- maven导入org.apache.pdfbox
PDF和图片相互转换用到的maven依赖如下: <dependency> <groupId>org.apache.pdfbox</groupId> <arti ...