当前位置:网站首页>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 :

边栏推荐
- Paxos 入门
- 12款大家都在用的产品管理平台
- Combinaison Oracle et json
- "Target detection" + "visual understanding" to realize the understanding and translation of the input image (with source code)
- JS foundation -- data type
- LeetCode.每日一题 剑指 Offer II 091. 粉刷房子 (DP问题)
- “目标检测”+“视觉理解”实现对输入图像的理解及翻译(附源代码)
- Value 1000 graduation project campus information publishing platform website source code
- 2022年已经过去一半了,是不是很突然呢?
- 编译调试Net6源码
猜你喜欢

金融壹账通拟7月4日香港上市:2年亏近30亿 市值蒸发超90%

kubernetes之ingress探索实践

The idea runs with an error command line is too long Shorten command line for...

软件项目管理 9.2.软件项目配置管理过程

Huawei Equipment configure les services de base du réseau WLAN à grande échelle

Matplotlib数据可视化基础

使用强大的DBPack处理分布式事务(PHP使用教程)

云上“视界” 创新无限 | 2022阿里云直播峰会正式上线

英特爾實驗室公布集成光子學研究新進展

移动硬盘驱动器读到,但不显示盘符
随机推荐
技术分享 | Linkis参数介绍
Half of 2022 has passed, isn't it sudden?
CVPR 2022 | Virtual Correspondence: Humans as a Cue for Extreme-View Geometry
Intel Labs annonce de nouveaux progrès en photonique intégrée
2022年现在在网上开通股票账户安全吗?会不会有什么危险?
Global filter (processing time format)
Can I choose to open an account on CICC securities? Is it safe?
node版本管理器nvm安装及切换
Rising stars in Plant Sciences (rsps2022) final Science Lecture (6.30 pm)
NC | 肠道细胞和乳酸菌共同作用来防止念珠菌感染
Give up high paying jobs in Shenzhen and go back home
mysql如何把 一个数据库中的表数据 复制到 另一个数据库中(两个数据库不在同一个数据库链接下)
TEMPEST HDMI泄漏接收 4
软件项目管理 9.2.软件项目配置管理过程
The list of winners of the digital collection of "century master" was announced
华为设备配置大型网络WLAN基本业务
使用强大的DBPack处理分布式事务(PHP使用教程)
Mobile hard drive reads but does not display drive letter
Compliance management of fund managers
Cvpr22 | CMT: efficient combination of CNN and transformer (open source)