Skip to content

Error during compilation #20

@rbfp

Description

@rbfp

Using the docker I've seen this come up a few times during compilation using different shellcode_types..Here's one example:

python3 Boaz.py -f /host_home/boaz_dock/payload_64.exe -o /host_home/boaz_dock/boaz8.exe -l 1 -t rc4 -c akira
loaders/loader1_modified.c:390:1: warning: non-void function does not return a value in all control paths [-Wreturn-type]                                    
  390 | }                                                                                                                                                    
      | ^                                                                                                                                                    
loaders/loader1_modified.c:1003:50: warning: format specifies type 'int' but the argument has type 'DWORD' (aka 'unsigned long') [-Wformat]                  
 1003 |         printf("[+] Found syscall number: %d\n", SSNAllocateVirtualMemory);                                                                          
      |                                           ~~     ^~~~~~~~~~~~~~~~~~~~~~~~                                                                            
      |                                           %lu
loaders/loader1_modified.c:1031:41: warning: format specifies type 'unsigned long' but the argument has type 'SIZE_T' (aka 'unsigned long long') [-Wformat]
 1031 |     printf("[+] Allocated size: %lu\n", allocatedsize);
      |                                 ~~~     ^~~~~~~~~~~~~
      |                                 %llu
loaders/loader1_modified.c:1032:41: warning: format specifies type 'unsigned long' but the argument has type 'unsigned long long' [-Wformat]
 1032 |     printf("[+] MagicCode size: %lu\n", sizeof(magiccode));

Please advise on how to fix or does the docker method not work? thank you!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions