screenpipe icon indicating copy to clipboard operation
screenpipe copied to clipboard

Add: Client screenshot to server

Open rhysqi opened this issue 1 year ago • 10 comments

/claim #850

Summary

  • Take client screenshot using GDI
  • Using FTP for image transfer

Issues

  • Not possible to use WTSVirtualChannel without open RDP session
  • Connect using WTSOpenServer & WTSConnectSession while MS-RDP active with the same credentials can cause session conflict
  • Also not possible to use MS-RDP session for transfer data through because it has session isolation

Prerequisites Dependencies & Toolchains

  • Windows API (10.0.26100.0)
  • Clang/LLVM (17.0.5)
  • GNU Makefile

How to build

make buildworld

How to test

Program.exe "ftp.example.com" "username" "password" "Screenhot_name.bmp" "Screenshot_Folder"

Screenshot

From Client image From Server image

rhysqi avatar Mar 26 '25 04:03 rhysqi

@rhysqi is attempting to deploy a commit to the louis030195's projects Team on Vercel.

A member of the Team first needs to authorize it.

vercel[bot] avatar Mar 26 '25 04:03 vercel[bot]

how do i test with my own server?

like with domain name and password stuff

louis030195 avatar Mar 26 '25 14:03 louis030195

You need to enable FTP on the server. You can enable it from Turn Windows Features on and off on the Windows server. image

After that, you can start and check FTP services from powershell as administrator using this command on the Windows Server image

Don't forget to allow user for using FTP from Internet Information Service (IIS) image

After all are ready, we can go to the next step for sending screenshot to the Windows Server. This is provided example from my devices. image

This is provided binary for test the program Program.zip

rhysqi avatar Mar 26 '25 18:03 rhysqi

Hi @louis030195, is there any specific constraint that you encounter with? If so, may i help you to with it? I'm just doing follow up and need to know my PR progress after more than 3 days.

rhysqi avatar Mar 31 '25 13:03 rhysqi

can you share environment i can test this? like VMs and stuff

louis030195 avatar Mar 31 '25 15:03 louis030195

Ok, we can test it using DriveHQ. Can I send credentials via your Discord DM?

rhysqi avatar Mar 31 '25 19:03 rhysqi

@louis030195 i've already sent it to your discord DM for testing stuff. Please check it soon.

rhysqi avatar Apr 01 '25 15:04 rhysqi

@louis030195 had you test it? Just checking my PR progress if there is any problem there.

rhysqi avatar Apr 04 '25 16:04 rhysqi

@louis030195 It's already been a weeks. Does this solution approved? If this solution not acceptable, please tell me why it's not approved.

rhysqi avatar Apr 18 '25 05:04 rhysqi

@louis030195 ?

laz-001 avatar May 23 '25 03:05 laz-001

@louis030195 ?

there is still no answer from the author.

rhysqi avatar Jun 12 '25 12:06 rhysqi

work is too low quality, wasting my time

louis030195 avatar Jun 12 '25 17:06 louis030195