clean up
This commit is contained in:
parent
6d6900151e
commit
33695b7649
|
@ -1,6 +1,7 @@
|
||||||
#include <windows.h>
|
#include <windows.h>
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#include "bofdefs.h"
|
#include "bofdefs.h"
|
||||||
|
|
||||||
#pragma comment(lib, "User32.lib")
|
#pragma comment(lib, "User32.lib")
|
||||||
#pragma comment(lib, "Gdi32.lib")
|
#pragma comment(lib, "Gdi32.lib")
|
||||||
|
|
||||||
|
@ -122,12 +123,13 @@ void go(char* buff, int len) {
|
||||||
|
|
||||||
//I was going to pull from the clipboard but then realized it
|
//I was going to pull from the clipboard but then realized it
|
||||||
//was more trouble than it was worth, so I just saved it to a file. ~ CodeX
|
//was more trouble than it was worth, so I just saved it to a file. ~ CodeX
|
||||||
|
/*
|
||||||
// save bitmap to clipboard
|
// save bitmap to clipboard
|
||||||
OpenClipboard(NULL);
|
OpenClipboard(NULL);
|
||||||
EmptyClipboard();
|
EmptyClipboard();
|
||||||
SetClipboardData(CF_BITMAP, hBitmap);
|
SetClipboardData(CF_BITMAP, hBitmap);
|
||||||
CloseClipboard();
|
CloseClipboard();
|
||||||
|
*/
|
||||||
|
|
||||||
BeaconPrintf(0x0, "[+] PrintScreen saved to bitmap...");
|
BeaconPrintf(0x0, "[+] PrintScreen saved to bitmap...");
|
||||||
LPCSTR filename = "screenshot.bmp";
|
LPCSTR filename = "screenshot.bmp";
|
||||||
|
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Loading…
Reference in New Issue