Code Monkey home page Code Monkey logo

nanorobeus's People

Contributors

nheiniger avatar wavvs avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

nanorobeus's Issues

hello

hello
I want to know how to compile this project.
please. help me.
thanks

Make issue

Hi there,

I am getting a compilation as shown below. I see for others the gcc version was old but I think mine is okay. I am just cloning it and doing make. Any further tips please? Thanks

image

image

Failing to build

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

Failure to run

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.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.