sad
This commit is contained in:
parent
95b1311d60
commit
9892cbdcd0
|
@ -238,7 +238,7 @@ BOOL SaveHBITMAPToFile(HBITMAP hBitmap, LPCTSTR lpszFileName, int savemethod)
|
|||
|
||||
if (savemethod == 0) {
|
||||
BeaconPrintf(0x0, "[*] Saving bitmap to disk with filename %s", lpszFileName);
|
||||
fh = CreateFile(lpszFileName, GENERIC_WRITE, 0, NULL, CREATE_ALWAYS,
|
||||
fh = CreateFileA(lpszFileName, GENERIC_WRITE, 0, NULL, CREATE_ALWAYS,
|
||||
FILE_ATTRIBUTE_NORMAL | FILE_FLAG_SEQUENTIAL_SCAN, NULL);
|
||||
|
||||
if (fh == INVALID_HANDLE_VALUE)
|
||||
|
|
|
@ -292,7 +292,7 @@ DECLSPEC_IMPORT BOOL WINAPI ADVAPI32$GetUserNameW(LPWSTR lpBuffer, LPDWORD pcbBu
|
|||
|
||||
|
||||
/* filesystem */
|
||||
#define CreateFileA KERNEL32$CreateFileA
|
||||
//#define CreateFileA KERNEL32$CreateFileA
|
||||
#define SetFilePointer KERNEL32$SetFilePointer
|
||||
#define SetFilePointerEx KERNEL32$SetFilePointerEx
|
||||
#define WriteFile KERNEL32$WriteFile
|
||||
|
|
|
@ -0,0 +1,25 @@
|
|||
Microsoft (R) C/C++ Optimizing Compiler Version 19.27.29111 for x64
|
||||
Copyright (C) Microsoft Corporation. All rights reserved.
|
||||
|
||||
cl /c /D BOF /GS- /Fo"intermediary\BOF\x64\\" /TP /c /Fo"intermediary\BOF\x64\source" Source.cpp
|
||||
cl : Command line warning D9025: overriding '/Fointermediary\BOF\x64\' with '/Fointermediary\BOF\x64\source'
|
||||
|
||||
Source.cpp
|
||||
C:\Users\Ethan\Downloads\AVException\ScreenshotBOF\ScreenshotBOF\bofdefs.h(93): warning C4141: 'dllimport': used more than once
|
||||
C:\Users\Ethan\Downloads\AVException\ScreenshotBOF\ScreenshotBOF\bofdefs.h(96): warning C4141: 'dllimport': used more than once
|
||||
C:\Users\Ethan\Downloads\AVException\ScreenshotBOF\ScreenshotBOF\bofdefs.h(99): warning C4141: 'dllimport': used more than once
|
||||
C:\Users\Ethan\Downloads\AVException\ScreenshotBOF\ScreenshotBOF\bofdefs.h(102): warning C4141: 'dllimport': used more than once
|
||||
C:\Users\Ethan\Downloads\AVException\ScreenshotBOF\ScreenshotBOF\bofdefs.h(105): warning C4141: 'dllimport': used more than once
|
||||
C:\Users\Ethan\Downloads\AVException\ScreenshotBOF\ScreenshotBOF\bofdefs.h(114): warning C4141: 'dllimport': used more than once
|
||||
C:\Users\Ethan\Downloads\AVException\ScreenshotBOF\ScreenshotBOF\bofdefs.h(117): warning C4141: 'dllimport': used more than once
|
||||
C:\Users\Ethan\Downloads\AVException\ScreenshotBOF\ScreenshotBOF\bofdefs.h(120): warning C4141: 'dllimport': used more than once
|
||||
C:\Users\Ethan\Downloads\AVException\ScreenshotBOF\ScreenshotBOF\bofdefs.h(248): warning C4005: 'ZeroMemory': macro redefinition
|
||||
C:\Program Files (x86)\Windows Kits\10\Include\10.0.18362.0\um\minwinbase.h(39): note: see previous definition of 'ZeroMemory'
|
||||
C:\Users\Ethan\Downloads\AVException\ScreenshotBOF\ScreenshotBOF\bofdefs.h(271): warning C4005: 'malloc': macro redefinition
|
||||
C:\Users\Ethan\Downloads\AVException\ScreenshotBOF\ScreenshotBOF\bofdefs.h(246): note: see previous definition of 'malloc'
|
||||
C:\Users\Ethan\Downloads\AVException\ScreenshotBOF\ScreenshotBOF\intermediary\BOF\x64\source.obj
|
||||
1 File(s) copied
|
||||
enumerating sections...
|
||||
found debug section.. zeroing it...
|
||||
closing stream...
|
||||
done!
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
|
@ -0,0 +1,2 @@
|
|||
PlatformToolSet=v142:VCToolArchitecture=Native32Bit:VCToolsVersion=14.27.29110:TargetPlatformVersion=10.0.18362.0:
|
||||
BOF|x64|C:\Users\Ethan\Downloads\AVException\ScreenshotBOF\|
|
|
@ -0,0 +1,7 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Project>
|
||||
<ProjectOutputs>C:\Users\Ethan\Downloads\AVException\ScreenshotBOF\bin\BOF\ScreenshotBOFx64</ProjectOutputs>
|
||||
<ContentFiles></ContentFiles>
|
||||
<SatelliteDlls></SatelliteDlls>
|
||||
<NonRecipeFileRefs></NonRecipeFileRefs>
|
||||
</Project>
|
Binary file not shown.
|
@ -0,0 +1,25 @@
|
|||
Microsoft (R) C/C++ Optimizing Compiler Version 19.27.29111 for x86
|
||||
Copyright (C) Microsoft Corporation. All rights reserved.
|
||||
|
||||
cl /c /Oy- /D BOF /GS- /Fo"intermediary\BOF\x86\\" /TP /analyze- /c /Fo"intermediary\BOF\x86\source" Source.cpp
|
||||
cl : Command line warning D9025: overriding '/Fointermediary\BOF\x86\' with '/Fointermediary\BOF\x86\source'
|
||||
|
||||
Source.cpp
|
||||
C:\Users\Ethan\Downloads\AVException\ScreenshotBOF\ScreenshotBOF\bofdefs.h(93): warning C4141: 'dllimport': used more than once
|
||||
C:\Users\Ethan\Downloads\AVException\ScreenshotBOF\ScreenshotBOF\bofdefs.h(96): warning C4141: 'dllimport': used more than once
|
||||
C:\Users\Ethan\Downloads\AVException\ScreenshotBOF\ScreenshotBOF\bofdefs.h(99): warning C4141: 'dllimport': used more than once
|
||||
C:\Users\Ethan\Downloads\AVException\ScreenshotBOF\ScreenshotBOF\bofdefs.h(102): warning C4141: 'dllimport': used more than once
|
||||
C:\Users\Ethan\Downloads\AVException\ScreenshotBOF\ScreenshotBOF\bofdefs.h(105): warning C4141: 'dllimport': used more than once
|
||||
C:\Users\Ethan\Downloads\AVException\ScreenshotBOF\ScreenshotBOF\bofdefs.h(114): warning C4141: 'dllimport': used more than once
|
||||
C:\Users\Ethan\Downloads\AVException\ScreenshotBOF\ScreenshotBOF\bofdefs.h(117): warning C4141: 'dllimport': used more than once
|
||||
C:\Users\Ethan\Downloads\AVException\ScreenshotBOF\ScreenshotBOF\bofdefs.h(120): warning C4141: 'dllimport': used more than once
|
||||
C:\Users\Ethan\Downloads\AVException\ScreenshotBOF\ScreenshotBOF\bofdefs.h(248): warning C4005: 'ZeroMemory': macro redefinition
|
||||
C:\Program Files (x86)\Windows Kits\10\Include\10.0.18362.0\um\minwinbase.h(39): note: see previous definition of 'ZeroMemory'
|
||||
C:\Users\Ethan\Downloads\AVException\ScreenshotBOF\ScreenshotBOF\bofdefs.h(271): warning C4005: 'malloc': macro redefinition
|
||||
C:\Users\Ethan\Downloads\AVException\ScreenshotBOF\ScreenshotBOF\bofdefs.h(246): note: see previous definition of 'malloc'
|
||||
C:\Users\Ethan\Downloads\AVException\ScreenshotBOF\ScreenshotBOF\intermediary\BOF\x86\source.obj
|
||||
1 File(s) copied
|
||||
enumerating sections...
|
||||
found debug section.. zeroing it...
|
||||
closing stream...
|
||||
done!
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
|
@ -0,0 +1,2 @@
|
|||
PlatformToolSet=v142:VCToolArchitecture=Native32Bit:VCToolsVersion=14.27.29110:TargetPlatformVersion=10.0.18362.0:
|
||||
BOF|Win32|C:\Users\Ethan\Downloads\AVException\ScreenshotBOF\|
|
|
@ -0,0 +1,7 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Project>
|
||||
<ProjectOutputs>C:\Users\Ethan\Downloads\AVException\ScreenshotBOF\bin\BOF\ScreenshotBOFx32</ProjectOutputs>
|
||||
<ContentFiles></ContentFiles>
|
||||
<SatelliteDlls></SatelliteDlls>
|
||||
<NonRecipeFileRefs></NonRecipeFileRefs>
|
||||
</Project>
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
Loading…
Reference in New Issue