I have downloaded the pass the hash toolkit source codes from here. When I am compiling it with Visual Studio Ultimate 2010, I would get the following error:
findfuncs_msv10.obj : error LNK2019: unresolved external symbol _GetModuleInformation@16 referenced in function _FindMSV10Functions
whosthere-alt.obj : error LNK2019: unresolved external symbol _LsaFreeReturnBuffer@4 referenced in function _GetLogonSessionData
whosthere-alt.obj : error LNK2019: unresolved external symbol _LsaGetlogonSessionData@8 referenced in function _GetLogonSessionData
whosthere-alt.obj : error LNK2019: unresolved external symbol _LsaEnumerateLogonSession@8 referenced in function _main
How do I solve this error or is there another better way to compile the code. I'm new to C and I'm open to any suggestions.
Update: I have linked the Secur32.lib and the Psapi.lib and it compiles. Thanks alot
It is programmed in ruby and uses the GTK graphical user interface. It is ideal for questionnaires and also for entering basic data about the experimenter and participant.
Citing PsyToolkit (2010). PsyToolkit - A software package for programming psychological experiments using Linux.
It sounds like you need to link to some additional libraries.
If you search for the functions listed in the errors (minus the leading underscore) in MSDN, it'll show you which libraries to link to.
e.g.
You need to add the *.lib files to the Visual Studio project.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With