"Hacking" the kernel32.dll - Programmers Heaven

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Categories

Welcome to the new platform of Programmer's Heaven! We apologize for the inconvenience caused, if you visited us from a broken link of the previous version. The main reason to move to a new platform is to provide more effective and collaborative experience to you all. Please feel free to experience the new platform and use its exciting features. Contact us for any issue that you need to get clarified. We are more than happy to help you.

"Hacking" the kernel32.dll

Alex_EldersonAlex_Elderson Posts: 104Member
Is thear a appliction that can replase a function in the kernel2.dll (or in an other dll)???

I want to put my code in a function of the kernel32.dll!!!


Comments

  • leeosleeos Posts: 1,212Member
    : Is thear a appliction that can replase a function in the kernel2.dll (or in an other dll)???
    :
    : I want to put my code in a function of the kernel32.dll!!!


    Kernel32.dll is not written in VB

  • Alex_EldersonAlex_Elderson Posts: 104Member
    : : Is thear a appliction that can replase a function in the kernel2.dll (or in an other dll)???
    : :
    : : I want to put my code in a function of the kernel32.dll!!!
    :
    :
    : Kernel32.dll is not written in VB
    :
    I know that the kernel32.dll is't written in vb but if i make
    a dll can i than get a function of my ddl and put it in the
    kernel32.dll over a other function???


  • KDivad LeahcimKDivad Leahcim Posts: 3,948Member
    : : : Is thear a appliction that can replase a function in the kernel2.dll (or in an other dll)???
    : : :
    : : : I want to put my code in a function of the kernel32.dll!!!
    : :
    : :
    : : Kernel32.dll is not written in VB
    : :
    : I know that the kernel32.dll is't written in vb but if i make
    : a dll can i than get a function of my ddl and put it in the
    : kernel32.dll over a other function???
    :
    :

    The header for the function is also different. While theoretically, you can rewrite the kernel's fucntion with a compiled VB function, it's not really worth the trouble. It'd be easier to learn what machine code looks like and modify the kernel in a DOS-based hex editor.

  • AndyJWAndyJW Posts: 88Member
    : Is thear a appliction that can replase a function in the kernel2.dll (or in an other dll)???
    :
    : I want to put my code in a function of the kernel32.dll!!!
    :
    : What on Earth are you trying to do???

    The kernel32.dll gives you access to a specific range of functions in the Windows API - why do you want to hack the damn thing?

    As DKL says, it would be easier to write your own dll from scratch. Remember that the kernel32.dll is written by Microsoft who have exclusive knowledge of the Windows OS and, as such, is a gift to programmers. If you want to do anything effective outside this dll then a) choose another dll like the user32 or b)try and find the source code for Windows, which is just about impossible.

    Andy.


  • Alex_EldersonAlex_Elderson Posts: 104Member
    : : Is thear a appliction that can replase a function in the kernel2.dll (or in an other dll)???
    : :
    : : I want to put my code in a function of the kernel32.dll!!!
    : :
    : : What on Earth are you trying to do???
    :
    : The kernel32.dll gives you access to a specific range of functions in the Windows API - why do you want to hack the damn thing?
    :
    : As DKL says, it would be easier to write your own dll from scratch. Remember that the kernel32.dll is written by Microsoft who have exclusive knowledge of the Windows OS and, as such, is a gift to programmers. If you want to do anything effective outside this dll then a) choose another dll like the user32 or b)try and find the source code for Windows, which is just about impossible.
    :
    : Andy.
    :
    :

    I want for instans rewrite the function that remove files from the HD!!!

  • jerlynmae123jerlynmae123 Posts: 1Member
    [size=2][/size][color=Blue][/color][img=http://][hr]
    R U SURE?
Sign In or Register to comment.