wavvs / nanorobeus Goto Github PK
View Code? Open in Web Editor NEWCOFF file (BOF) for managing Kerberos tickets.
COFF file (BOF) for managing Kerberos tickets.
hello
I want to know how to compile this project.
please. help me.
thanks
Attempting to build in linux, and I'm getting some error messages:
source/ptt.c: In function ‘execute_ptt’:
source/ptt.c:35:5: error: unknown type name ‘KERB_SUBMIT_TKT_REQUEST’; did you mean ‘KERB_RETRIEVE_TKT_REQUEST’?
KERB_SUBMIT_TKT_REQUEST* submitRequest = NULL;
^~~~~~~~~~~~~~~~~~~~~~~
KERB_RETRIEVE_TKT_REQUEST
source/ptt.c:36:29: error: ‘KERB_SUBMIT_TKT_REQUEST’ undeclared (first use in this function); did you mean ‘KERB_RETRIEVE_TKT_REQUEST’?
int submitSize = sizeof(KERB_SUBMIT_TKT_REQUEST) + decoded_len;
^~~~~~~~~~~~~~~~~~~~~~~
KERB_RETRIEVE_TKT_REQUEST
source/ptt.c:36:29: note: each undeclared identifier is reported only once for each function it appears in
source/ptt.c:37:46: error: expected expression before ‘)’ token
submitRequest = (KERB_SUBMIT_TKT_REQUEST*)MSVCRT$calloc(submitSize, sizeof(KERB_SUBMIT_TKT_REQUEST));
^
source/ptt.c:44:18: error: request for member ‘MessageType’ in something not a structure or union
submitRequest->MessageType = KerbSubmitTicketMessage;
^~
source/ptt.c:44:34: error: ‘KerbSubmitTicketMessage’ undeclared (first use in this function); did you mean ‘KerbRetrieveTicketMessage’?
submitRequest->MessageType = KerbSubmitTicketMessage;
^~~~~~~~~~~~~~~~~~~~~~~
KerbRetrieveTicketMessage
source/ptt.c:45:18: error: request for member ‘KerbCredSize’ in something not a structure or union
submitRequest->KerbCredSize = decoded_len;
^~
source/ptt.c:46:18: error: request for member ‘KerbCredOffset’ in something not a structure or union
submitRequest->KerbCredOffset = sizeof(KERB_SUBMIT_TKT_REQUEST);
^~
source/ptt.c:48:22: error: request for member ‘LogonId’ in something not a structure or union
submitRequest->LogonId = luid;
^~
source/ptt.c:50:55: error: request for member ‘KerbCredOffset’ in something not a structure or union
MSVCRT$memcpy((PBYTE)submitRequest + submitRequest->KerbCredOffset, decoded, decoded_len);
and
include/beacon.h:79:23: note: in definition of macro ‘PRINT’
{ fprintf(stdout, __VA_ARGS__); }
^~~~~~~~~~~
source/tgtdeleg.c:250:85: warning: passing argument 2 of ‘fprintf’ makes pointer from integer without a cast [-Wint-conversion]
PRINT("[!] Failed to unpack authenticator: 0x%x\n", kerbError);
^~~~~~~~~
include/beacon.h:79:23: note: in definition of macro ‘PRINT’
{ fprintf(stdout, __VA_ARGS__); }
^~~~~~~~~~~
In file included from include/bofdefs.h:8,
from include/tgtdeleg.h:5,
from source/tgtdeleg.c:1:
/usr/share/mingw-w64/include/stdio.h:507:75: note: expected ‘const char * restrict’ but argument is of type ‘KERBERR’ {aka ‘long int’}
int __cdecl fprintf(FILE * __restrict__ _File,const char * __restrict__ _Format,...);
~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~
I'm just using the make
command to build it, not sure if I should be doing something else
After compiling the 64bit BOF and running in Cobalt Strike, I receive the following error:
[-] no slot for function (reduce number of Win32 APIs called)
No errors in script console.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.