Hack Forums
[C] Injecting a dll and calling a function with parameters - Printable Version

+- Hack Forums (https://hackforums.net)
+-- Forum: Tech (https://hackforums.net/forumdisplay.php?fid=444)
+--- Forum: Coding (https://hackforums.net/forumdisplay.php?fid=151)
+---- Forum: Software Development (https://hackforums.net/forumdisplay.php?fid=118)
+---- Thread: [C] Injecting a dll and calling a function with parameters (/showthread.php?tid=6002483)



Injecting a dll and calling a function with parameters - gigajew - Aug 26, 2019

Is it possible to not only inject a dll and call a function, but also include parameters? Very interested in this. Thanks for any input.


RE: Injecting a dll and calling a function with parameters - YouthInAsia - Aug 26, 2019

yup injecting a dll and calling a function and including parameters is possible


RE: Injecting a dll and calling a function with parameters - gigajew - Aug 26, 2019

I see, and what format would these parameters have to be in? Or do you just pass objects as pointers besides basic integers? Like a struct


RE: Injecting a dll and calling a function with parameters - int main() - Aug 27, 2019

(Aug 26, 2019 06:48 PM)gigajew Wrote:  I see, and what format would these parameters have to be in? Or do you just pass objects as pointers besides basic integers? Like a struct

You need to reverse the function and understand what's being passed to it.