当前位置:网站首页>Tempest HDMI leak receive 3
Tempest HDMI leak receive 3
2022-07-01 11:07:00 【Lao Shao's open source world】
The first article I was going to use python Write code and use rtlsdr To receive , This not only makes the code simple and easy to understand , And the equipment is also very cheap , Good introduction . But in the second article, I still adopted c++ Language and hackrf. May not be very friendly to beginners , So these two days I continue to do python+rtlsdr Version of . Now it has achieved initial success
from pylab import *
from rtlsdr import *
import cv2
sdr = RtlSdr()
# configure device
sdr.sample_rate = 1.951047e6
sdr.center_freq = 395.991e6
sdr.gain = 60
# init for opencv
x = 0
y = 0
img=np.zeros((512,512,1), np.uint8)
while True:
samples = sdr.read_samples(1024*100) #type(sample) is numpy.complex128
for sample in samples:
mag = np.sqrt( sample.imag * sample.imag + sample.real * sample.real)
value = mag * 255 * 10
img[y, x] = value
x = x + 1
if (x >= 463):
x = 0
y = y + 1
if (y >= 500):
y = 0
cv2.imshow("HDMI", img)
if(cv2.waitKey(10)==27):
break
sdr.close()The above is my code , All together 30 Multiple lines , It's very simple . It can be used python2.7 function .
When rtlsdr stay hdmi When near the cable , The effect is as follows :

This is the desktop of the leaking computer :

It can be seen that they are more echoing —— The overall interface is black , There is a white bar on it , Then there is a vertical white rectangle on the left , There is also a small white rectangle on the right .
But there are still two problems
1. The solved image is a little tilted ( This problem can be solved by adjusting the line feed position 463 improve , But because the line feed position must be integer , So the accuracy is limited )
2. Many smaller pictures appear repeatedly in the window , Better enlarge the picture , There is no need to see so many repeated pictures , This is a good solution , Just put 1 A pixel is expanded to several pixels up, down, left and right .
Later I will find time to slowly optimize .
Here are two real photos , You can compare the relationship between two computer screens . My operation is in the white text input interface on the right side of the mobile leak computer screen .


边栏推荐
- 全局过滤器(处理时间格式)
- Give up high paying jobs in Shenzhen and go back home
- 软件项目管理 9.2.软件项目配置管理过程
- What are the advantages and disadvantages of PHP
- Packet mode and three streaming modes in SDP protocol
- Want to open an account, is it safe to open an account of Huatai Securities online?
- Google's new paper Minerva: solving quantitative reasoning problems with language models
- Valgrind usage of memory leak locating tool
- Spam filtering challenges
- kubernetes之ingress探索实践
猜你喜欢

Combination of Oracle and JSON
![[paper reading] trajectory guided control prediction for end to end autonomous driving: a simple yet strong Ba](/img/fa/f2d24ee3dbbbe6332c84a82109338e.png)
[paper reading] trajectory guided control prediction for end to end autonomous driving: a simple yet strong Ba

名创拟7月13日上市:最高发行价22.1港元 单季净利下降19%

CVPR 2022 | 基于密度与深度分解的自增强非成对图像去雾

12 plateformes de gestion de produits utilisées par tout le monde

Yoda unified data application -- Exploration and practice of fusion computing in ant risk scenarios

12款大家都在用的產品管理平臺

mysql如何把 一个数据库中的表数据 复制到 另一个数据库中(两个数据库不在同一个数据库链接下)

TEMPEST HDMI泄漏接收 3
![[.NET6]使用ML.NET+ONNX预训练模型整活B站经典《华强买瓜》](/img/b3/b117481fba7257453011e4cdb1eaaa.png)
[.NET6]使用ML.NET+ONNX预训练模型整活B站经典《华强买瓜》
随机推荐
CVPR 2022 | Virtual Correspondence: Humans as a Cue for Extreme-View Geometry
Give up high paying jobs in Shenzhen and go back home
Matplotlib数据可视化基础
Get key code
applyMiddleware 原理
LeetCode 438. 找到字符串中所有字母异位词__滑动窗口
田溯宁投的天润云上市:市值22亿港元 年利润下降75%
y48.第三章 Kubernetes从入门到精通 -- Pod的状态和探针(二一)
2022年已经过去一半了,是不是很突然呢?
Prism journal navigation button usability exploration record
华泰证券网上开户安全吗?
Detailed explanation of linear regression in machine learning
Applymiddleware principle
Handling distributed transactions with powerful dbpack (PHP tutorial)
Half of 2022 has passed, isn't it sudden?
Brief analysis of edgedb architecture
放弃深圳高薪工作回老家
No statements may be issued when any streaming result sets are open and in use on a given connection
CVPR22 |CMT:CNN和Transformer的高效结合(开源)
达梦数据冲刺科创板:拟募资24亿 冯裕才曾为华科教授