当前位置:网站首页>Tempest HDMI leak reception 4
Tempest HDMI leak reception 4
2022-07-01 11:06:00 【Lao Shao's open source world】
Next we start to optimize the picture
First of all, I changed the line feed position , It was 463 New line , Almost a line repeats 8 Repeated pictures . I put 463/8 obtain 58.
stay x>=58 Change the line .
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((600,600,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 >= 58):
x = 0
y = y + 1
if (y >= 500):
y = 0
cv2.imshow("HDMI", img)
if(cv2.waitKey(10)==27):
break
sdr.close()You can see that there is only one picture left , But the width of the picture narrows , It looks deformed .

At this time, I will interpolate the pixels in each row , Repeat to the right for each pixel 10 All over , You can get the following results :

It can be seen that the screen is enlarged , Basically, the display interface corresponds to 1 A screen leak .
The code of line difference is as follows :
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((600,600,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
img[y, x + 1] = value
img[y, x + 2] = value
img[y, x + 3] = value
img[y, x + 4] = value
img[y, x + 5] = value
img[y, x + 6] = value
img[y, x + 7] = value
img[y, x + 8] = value
img[y, x + 9] = value
x = x + 10
if (x >= 580):
x = 0
y = y + 1
if (y >= 500):
y = 0
cv2.imshow("HDMI", img)
if(cv2.waitKey(10)==27):
break
sdr.close()But it can be seen from the picture , The whole screen is still tilted , Originally, the white rectangle should be vertical on my leak screen , But now it is inclined from the top right to the bottom left .
This problem can also be solved , You need to save the data of each row separately , Then spell the extra data from the previous line to the beginning of the next line , Or take the data from the beginning of the next line and spell it to the end of the previous line .
The leakage picture of this experiment is like this , For reference :

边栏推荐
- Infinite innovation in cloud "vision" | the 2022 Alibaba cloud live summit was officially launched
- flutter path_ Provider: ^2.0.10 can get temporary directory
- Matplotlib数据可视化基础
- 华为设备配置大型网络WLAN基本业务
- 【AI资讯月刊】350+资源大盘点!6月不容错过的资料和动态,都都都在这里啦!<附下载>
- CVPR 2022 | Virtual Correspondence: Humans as a Cue for Extreme-View Geometry
- 力扣(LeetCode)181. 超过经理收入的员工(2022.06.29)
- China's cellular Internet of things users have reached 1.59 billion, and are expected to surpass mobile phone users within this year
- 获取键代码
- Value 1000 graduation project campus information publishing platform website source code
猜你喜欢

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

12 product management platforms that everyone is using

Website source code whole site download website template source code download

CVPR 2022 | Virtual Correspondence: Humans as a Cue for Extreme-View Geometry

Rising stars in Plant Sciences (rsps2022) final Science Lecture (6.30 pm)

LeetCode. 515. Find the maximum value in each tree row___ BFS + DFS + BFS by layer

Intel Labs announces new progress in integrated photonics research

【MAUI】为 Label、Image 等控件添加点击事件

Ten years of sharpening a sword: unveiling the secrets of ant group's observability platform antmonitor

商城小程序源码开源版-可二开
随机推荐
网站源码整站下载 网站模板源代码下载
Rising Stars in Plant Sciences (RSPS2022) Finalist科学演讲会(6.30晚9点)
名创拟7月13日上市:最高发行价22.1港元 单季净利下降19%
CVPR 2022 | Virtual Correspondence: Humans as a Cue for Extreme-View Geometry
放弃深圳高薪工作回老家
Harbor webhook从原理到构建
选择在中金证券上炒股开户可以吗?安全吗?
个人商城二开逍遥B2C商城系统源码-可商用版/拼团拼购优惠折扣秒杀源码
sdp 协议中的packetization-mode方式和三种流传输模式
Leetcode 181 Employees exceeding the manager's income (June 29, 2022)
英特尔实验室公布集成光子学研究新进展
商城小程序源码开源版-可二开
CPI教程-异步接口创建及使用
Compliance management of fund managers
Dotnet console uses microsoft Maui. Getting started with graphics and skia
Huawei HMS core joins hands with hypergraph to inject new momentum into 3D GIS
达梦数据冲刺科创板:拟募资24亿 冯裕才曾为华科教授
y48.第三章 Kubernetes从入门到精通 -- Pod的状态和探针(二一)
京东与腾讯续签合作:向腾讯发行A类股 价值最高达2.2亿美元
Detailed explanation of linear regression in machine learning