当前位置:网站首页>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 .
边栏推荐
- PHP realizes lottery function
- Half of 2022 has passed, isn't it sudden?
- 数据库实验报告(二)
- MIT's latest paper, "the need for interpretable features: motivation and classification": building interpretability in the constituent elements of machine learning models
- CVPR22 |CMT:CNN和Transformer的高效结合(开源)
- I'd like to know where I can open an account in Guangzhou? Is it safe to open an account online now?
- 京东与腾讯续签合作:向腾讯发行A类股 价值最高达2.2亿美元
- Spam filtering challenges
- [MPC] ② quadprog solves positive definite, semi positive definite and negative definite quadratic programming
- . Net 5.0+ does not need to rely on third-party native implementation of scheduled tasks
猜你喜欢
随机推荐
Want to open an account, is it safe to open an account of Huatai Securities online?
CANN算子:利用迭代器高效实现Tensor数据切割分块处理
Exposure:A White-Box Photo Post-Processing Framework阅读札记
node版本管理器nvm安装及切换
MySQL IN 和 NOT IN () 空列表报错
Can servers bundled with flask be safely used in production- Is the server bundled with Flask safe to use in production?
基金管理人的合规管理
谷歌新论文-Minerva:用语言模型解决定量推理问题
Whether lending a bank card to others constitutes a crime
TEMPEST HDMI泄漏接收 4
云上“视界” 创新无限 | 2022阿里云直播峰会正式上线
MIT最新论文《对可解释特征的需求:动机和分类》:在机器学习模型的组成元素中建立可解释性
获取键代码
Network security learning notes 01 network security foundation
No statements may be issued when any streaming result sets are open and in use on a given connection
I'd like to know where I can open an account in Guangzhou? Is it safe to open an account online now?
[encounter Django] - (II) database configuration
Internal control of fund managers
[paper reading] trajectory guided control prediction for end to end autonomous driving: a simple yet strong Ba
12 plateformes de gestion de produits utilisées par tout le monde