martinmarinov / TempestSDR

Remote video eavesdropping using a software-defined radio platform
GNU General Public License v3.0
1.27k stars 241 forks source link

Use TempestSDR with HackRF #18

Open quinonero opened 6 years ago

quinonero commented 6 years ago

Hello,

I want use your soft with hackRF, how to process?

Thanks

muellermartin commented 6 years ago

Duplicate of #8

WaughB commented 5 years ago

Was this resolved? Interested in using my HackRF for this project.

phantomdennis commented 4 years ago

Yes. It works great.

GhostJumper commented 4 years ago

Yes. It works great.

@phantomdennis do you have exact instructions to do so? I tried multiple times in windows, but it didn't work.

phantomdennis commented 4 years ago

@GhostJumper It has been a while, but from what I recall this is what I did to get JTempestSDR to work on Windows 10. The version of java was the issue for me. Once I found the right version it worked. Let me know if these steps do it for you. If not I'll see if there was something I did that I forgot.

  1. Downloaded an older version of Java. Version 1.8.0_211.

  2. Install Java at C:\Java\jre1.8.0_211\

  3. Configure your windows 10 Java Environment Variables. Here is a good explanation. https://crunchify.com/how-to-setup-configure-java-home-and-jre-home-environment-variables-on-windows/

  4. Download an ExtIO that is for your device and put it in the directory \TEMPEST_SDR.HackRF - I used this one. I do not remember exactly where I got it, it has been a while or I would link it here. I have 3 or 4 of these from different places. This one is the one I use regularly.

    ExtIO_HackRF.zip

  5. Setup a shortcut or run from a command prompt.

    C:\Java\jre1.8.0_211\bin\java.exe -jar C:\YourPath\TEMPEST_SDR\JTempestSDR.jar

GhostJumper commented 4 years ago

@phantomdennis Thanks for your answer, but this unfortunately does not work for me. I dont have Java installed in C:\ directly, but I dont think that this matters.

Steps to reproduce:

  1. java -jar JTempestSDR.jar (opens as usual)
  2. File > Load ExtIO source > Selecting the dll
  3. Error: The ExtIO dll is not compatible with the current machine or does not exist. Please check the filename is correct and the file is a valid ExtIO dll file and try again.

I tried using the ExtIO dll I use in SDR# but this didnt work either.

Any suggestions?

MemeCommando commented 4 years ago

Bump. I am running into a similar problem to GhostJumper but i am running an Airspy R2.

I have seen videos of people getting this to work, but I am unsure why It is so hard.

@GhostJumper did you ever figure it out?

eried commented 4 years ago

I assembled a small self contained package https://github.com/eried/Research/tree/master/HackRF/TempestSDR that might solve your issues (I am using ExtIO_HackRF.dll, so not directly for @MemeCommando)

GhostJumper commented 4 years ago

@GhostJumper did you ever figure it out?

@MemeCommando no. Unfortunately I havent got it working in any way.

phantomdennis commented 4 years ago

@phantomdennis Thanks for your answer, but this unfortunately does not work for me. I dont have Java installed in C:\ directly, but I dont think that this matters.

Steps to reproduce:

  • Windows 10 Pro -- Version: 1809 -- Build: 17763.914
  • java jdk(installed in default path (C:\Program Files\Java\jdk1.8.0_211)): -- version "1.8.0_211" -- Java(TM) SE Runtime Environment (build 1.8.0_211-b12) --Java HotSpot(TM) 64-Bit Server VM (build 25.211-b12, mixed mode) -- yes with system variables
  • Latest JTempestSDR.jar --SHA256: EC092ED5519FB8DE1C9CAC33FF6DFC15AD5E59ED1DCEC992EE02D0F198A82150
  • Your ExtIO_HackRF.dll -- is in subfolder named as file -- SHA256: 9FA86C12B582644725CE8C7BEA7E364210EA71188D46E79E57A06B6A56FD25CF
  1. java -jar JTempestSDR.jar (opens as usual)
  2. File > Load ExtIO source > Selecting the dll
  3. Error: The ExtIO dll is not compatible with the current machine or does not exist. Please check the filename is correct and the file is a valid ExtIO dll file and try again.

I tried using the ExtIO dll I use in SDR# but this didnt work either.

Any suggestions?

@GhostJumper I was getting similar errors and the reason I put the java instance in the C:\Java\ was because the path does not have spaces. The default path has spaces - C:\Program Files\Java\

I am not sure if it is related to your issue but changing paths to omit spaces and specifically calling the java version I wanted to use ensured I was not accidentally running the jar file with another installed version of Java (Which I have done and I get similar errors)

C:\Java\jre1.8.0_211\bin\java.exe -jar C:\YourPath\TEMPEST_SDR\JTempestSDR.jar