Skip to content

0xflagplz/DirectX9-Screenshot-BOF

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

83 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

DirectX9-Screenshot-BOF

memez

Overview

Capture Screenshots with DirectX 9
TBH I haven't tested this too much just seemed like a cool idea

Notes

  • Export screenshots to %TEMP% or the current working directory as .tmp files
  • Output format: time_<width>oo<height>.tmp
  • Reconstruct .tmp files into PNG format locally
  • Libraries Used - MSVCRT, D3D9

BOF Execution

beacon> screenshot-bof

Example

Cobalt Strike Example

Image Reconstruction

To reconstruct the image with this script, follow these steps:

  1. Install the required packages:

    pip3 install Pillow
  2. Run the script with the desired log file path and output file path:

    python3 assemble.py <tmp file> output.png

Contributers

Big thanks to ma boy Kyle started this @kyle41111

About

Takin Screenshots with Directx9

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors