gentilkiwi / mimikatz

A little tool to play with Windows security
http://blog.gentilkiwi.com/mimikatz
18.98k stars 3.62k forks source link

Compile Error: LNK2001: _SystemFunction041 #415

Open Coleiras opened 1 year ago

Coleiras commented 1 year ago

Any solution for the following error?

4>kuhl_m_misc_citrix.obj : error LNK2001: símbolos externos indefinidos _SystemFunction041 4>C:\Users\User\Downloads\mimikatz\Win32\mimikatz.exe : fatal error LNK1120: 1 externo não resolvidos 4>Projeto de compilação pronto "mimikatz.vcxproj" -- FALHA.

image image

bbhorrigan commented 1 year ago

Its unable to find a definition for an_systemfunction41 that has been referenced in your code. Which is not defined in your project.where the symbol is being referenced in your code, and either provide a definition for it or remove the reference to it. It's also possible that the symbol is being referenced in a library that you are linking to, in which case you will need to make sure that the library is properly linked to your project.

GabgM commented 1 year ago

Have you solved this problem yet? What should I do?

mbillen-cimt commented 11 months ago

I have the same problem. Could you give any advise how to solve that issue?

GabgM commented 11 months ago

I have the same problem. Could you give any advise how to solve that issue?

This is because ntsecapi. h incorrectly declared the Function prototype. You can refer to https://blog.gentilkiwi.com/tag/systemfunction041 Make modifications

mbillen-cimt commented 11 months ago

Many thanks for the tip. I already knew the article but I also had to use the Visual Studio version 2013. It didn't work with the 2019 version despite this modification.

[cid:cimt-logo1_36e76380-e72a-48c8-a9c9-6b0ce4b357fb.jpg] Marcel Billen cimt technology gmbh Steinstraße 4 40212 Düsseldorf www.cimt-ag.dehttps://www.cimt-ag.de

t. +49 211 545907 77 f. +49 211 545907 99 m. +49 177 5107496 e. @. @.>

Sitz der Gesellschaft: Hamburg, Amtsgericht Hamburg, HRB 100619 Geschäftsführer: Mehrdad Abdipour

Hinweise zum Datenschutzhttps://www.cimt-ag.de/datenschutz/ [cid:linkedin_32x32_5b30fa52-7b77-4226-a142-af475003a00e.png] https://www.linkedin.com/company/cimt-ag/?utm_source=mail-signatur&utm_medium=social-icons&utm_campaign=linkedin [cid:xing_32x32_f0824d9c-f1d1-4d29-9b65-78c07c17495b.png] https://www.xing.com/pages/cimtag/?utm_source=mail-signatur&utm_medium=social-icons&utm_campaign=xing [cid:twitter_32x32_3ce410c5-bd6e-4644-ba46-2ba37c0ac62c.png] https://twitter.com/cimtag/?utm_source=mail-signatur&utm_medium=social-icons&utm_campaign=twitter [cid:facebook_32x32_30e76735-a585-4054-be6e-2b7f68edecc8.png] https://www.facebook.com/cimtag/?utm_source=mail-signatur&utm_medium=social-icons&utm_campaign=facebook [cid:instagram_32x32_b660bf13-1d86-4a15-b42c-6c247882e3b2.png] https://www.instagram.com/cimt_ag/?utm_source=mail-signatur&utm_medium=social-icons&utm_campaign=instagram


Von: GabgM @.> Gesendet: Donnerstag, 20. Juli 2023 18:38 An: gentilkiwi/mimikatz @.> Cc: Marcel Billen @.>; Comment @.> Betreff: Re: [gentilkiwi/mimikatz] Compile Error: LNK2001: _SystemFunction041 (Issue #415)

I have the same problem. Could you give any advise how to solve that issue?

This is because ntsecapi. h incorrectly declared the Function prototype. You can refer to https://blog.gentilkiwi.com/tag/systemfunction041 Make modifications

— Reply to this email directly, view it on GitHubhttps://github.com/gentilkiwi/mimikatz/issues/415#issuecomment-1644244600, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AQOCYOOZHWGQAD4MJTMQPU3XRFNHTANCNFSM6AAAAAAS5QNBVE. You are receiving this because you commented.Message ID: @.***>

Achtung: Diese E-Mail stammt von einem externen Absender. Bitte vermeide es, Anhänge oder externe Links zu öffnen. Bei Fragen wende dich an die IT-Abteilung. Caution: This email is from an external sender. Please avoid opening attachments or external links. If you have any questions, please contact the IT department.

jedai47 commented 7 months ago

same issue on visual studio ultimate 2013 ... what am i doing wrong