Results 1 to 14 of 14
  1. #1
    hitmen69's Avatar
    Join Date
    Aug 2010
    Gender
    male
    Location
    in croatia?
    Posts
    57
    Reputation
    10
    Thanks
    101
    My Mood
    Amazed

    Add DLL file to resources of injector and make it work..

    hi all mpgh members
    i have one injector what i made in VB and dll file
    so my question is :
    can you add that dll file and put it in resources and debug that injector so it can automatic inject to the process we want..
    if you can please someone send code or something how to do this
    Thanks

  2. #2
    Jason's Avatar
    Join Date
    Apr 2010
    Gender
    male
    Location
    /dev/null
    Posts
    5,704
    Reputation
    918
    Thanks
    7,676
    My Mood
    Mellow
    Quote Originally Posted by hitmen69 View Post
    hi all mpgh members
    i have one injector what i made in VB and dll file
    so my question is :
    can you add that dll file and put it in resources and debug that injector so it can automatic inject to the process we want..
    if you can please someone send code or something how to do this
    Thanks
    You just add the dll to resources, then at runtime write it to a temporary file, then inject it.

    Quote Originally Posted by Jeremy S. Anderson
    There are only two things to come out of Berkley, Unix and LSD,
    and I don’t think this is a coincidence
    You can win the rat race,
    But you're still nothing but a fucking RAT.


    ++Latest Projects++
    [Open Source] Injection Library
    Simple PE Cipher
    FilthyHooker - Simple Hooking Class
    CLR Injector - Inject .NET dlls with ease
    Simple Injection - An in-depth look
    MPGH's .NET SDK
    eJect - Simple Injector
    Basic PE Explorer (BETA)

  3. #3
    Lyoto Machida's Avatar
    Join Date
    Jan 2011
    Gender
    male
    Location
    Far away with girls
    Posts
    3,734
    Reputation
    133
    Thanks
    1,621
    My Mood
    Aggressive
    Almost the same thing in snippet vault.

    First thread/post in snippet vault, the last snippet..

  4. #4
    hitmen69's Avatar
    Join Date
    Aug 2010
    Gender
    male
    Location
    in croatia?
    Posts
    57
    Reputation
    10
    Thanks
    101
    My Mood
    Amazed
    Quote Originally Posted by Jason View Post


    You just add the dll to resources, then at runtime write it to a temporary file, then inject it.
    i dont get it..
    i read snippets vault and i know how to do it with exe. file but i dont understand how to do it .dll
    Jason can you write a code for me i know that's spoonfeding but can you pls just help me ?
    thank you and sorry for my bad english..

  5. #5
    freedompeace's Avatar
    Join Date
    Jul 2010
    Gender
    female
    Posts
    3,033
    Reputation
    340
    Thanks
    2,792
    My Mood
    Sad
    Quote Originally Posted by hitmen69 View Post
    i dont get it..
    i read snippets vault and i know how to do it with exe. file but i dont understand how to do it .dll
    Jason can you write a code for me i know that's spoonfeding but can you pls just help me ?
    thank you and sorry for my bad english..
    It's the same thing. Both are files.

  6. #6
    master131's Avatar
    Join Date
    Apr 2010
    Gender
    male
    Location
    Melbourne, Australia
    Posts
    8,858
    Reputation
    3438
    Thanks
    101,670
    My Mood
    Breezy
    Add the file to your Resources (My Project > Resources) then use this to write the file:
    System.IO.File.WriteAllBytes("blah, file path", My.Resources.ResourceName)
    Donate:
    BTC: 1GEny3y5tsYfw8E8A45upK6PKVAEcUDNv9


    Handy Tools/Hacks:
    Extreme Injector v3.7.3
    A powerful and advanced injector in a simple GUI.
    Can scramble DLLs on injection making them harder to detect and even make detected hacks work again!

    Minion Since: 13th January 2011
    Moderator Since: 6th May 2011
    Global Moderator Since: 29th April 2012
    Super User/Unknown Since: 23rd July 2013
    'Game Hacking' Team Since: 30th July 2013

    --My Art--
    [Roxas - Pixel Art, WIP]
    [Natsu - Drawn]
    [Natsu - Coloured]


    All drawings are coloured using Photoshop.

    --Gifts--
    [Kyle]

  7. #7
    hitmen69's Avatar
    Join Date
    Aug 2010
    Gender
    male
    Location
    in croatia?
    Posts
    57
    Reputation
    10
    Thanks
    101
    My Mood
    Amazed
    Quote Originally Posted by master131 View Post
    Add the file to your Resources (My Project > Resources) then use this to write the file:
    System.IO.File.WriteAllBytes("blah, file path", My.Resources.ResourceName)
    ok i did that but when i click button listbox text will be byte[]array
    something like that..

  8. #8
    ♪~ ᕕ(ᐛ)ᕗ's Avatar
    Join Date
    Jun 2010
    Gender
    male
    Location
    Uterus
    Posts
    9,119
    Reputation
    1096
    Thanks
    1,970
    My Mood
    Doh
    Quote Originally Posted by hitmen69 View Post
    ok i did that but when i click button listbox text will be byte[]array
    something like that..
    Try this:
    [VB.NET]Read/Write Resource(Bypass Avira)

  9. #9
    Jason's Avatar
    Join Date
    Apr 2010
    Gender
    male
    Location
    /dev/null
    Posts
    5,704
    Reputation
    918
    Thanks
    7,676
    My Mood
    Mellow
    Quote Originally Posted by Horatio Caine View Post
    Horrible example for something so simple.

    [highlight=vb.net]
    Dim dllLoc As String = IO.Path.Combine(My.Computer.FileSystem.SpecialDire ctories.Temp, Math****und(Rnd() * 912152112319).ToString() + ".dll")
    IO.File.WriteAllBytes(dllLoc, My.Resources.Dll)
    [/highlight]

    Now dllLoc holds the location on disk of your dll.

    Quote Originally Posted by Jeremy S. Anderson
    There are only two things to come out of Berkley, Unix and LSD,
    and I don’t think this is a coincidence
    You can win the rat race,
    But you're still nothing but a fucking RAT.


    ++Latest Projects++
    [Open Source] Injection Library
    Simple PE Cipher
    FilthyHooker - Simple Hooking Class
    CLR Injector - Inject .NET dlls with ease
    Simple Injection - An in-depth look
    MPGH's .NET SDK
    eJect - Simple Injector
    Basic PE Explorer (BETA)

  10. #10
    ♪~ ᕕ(ᐛ)ᕗ's Avatar
    Join Date
    Jun 2010
    Gender
    male
    Location
    Uterus
    Posts
    9,119
    Reputation
    1096
    Thanks
    1,970
    My Mood
    Doh
    Quote Originally Posted by Jason View Post


    Horrible example for something so simple.

    [highlight=vb.net]
    Dim dllLoc As String = IO.Path.Combine(My.Computer.FileSystem.SpecialDire ctories.Temp, Math****und(Rnd() * 912152112319).ToString() + ".dll")
    IO.File.WriteAllBytes(dllLoc, My.Resources.Dll)
    [/highlight]

    Now dllLoc holds the location on disk of your dll.
    File.IO.WriteAllBytes() for me gives an error. That's why I searched.

  11. #11
    hitmen69's Avatar
    Join Date
    Aug 2010
    Gender
    male
    Location
    in croatia?
    Posts
    57
    Reputation
    10
    Thanks
    101
    My Mood
    Amazed
    i got two errors here...

  12. #12
    Blubb1337's Avatar
    Join Date
    Sep 2009
    Gender
    male
    Location
    Germany
    Posts
    5,915
    Reputation
    161
    Thanks
    3,108
    Quote Originally Posted by hitmen69 View Post
    i got two errors here...


    Dlloc = Either declare a string variable named dlloc or just write the path where it should be extracted.

    @*** - Math . Round



  13. #13
    hitmen69's Avatar
    Join Date
    Aug 2010
    Gender
    male
    Location
    in croatia?
    Posts
    57
    Reputation
    10
    Thanks
    101
    My Mood
    Amazed
    ok i did it
    but how to now enter that in a listbox?

  14. #14
    Jason's Avatar
    Join Date
    Apr 2010
    Gender
    male
    Location
    /dev/null
    Posts
    5,704
    Reputation
    918
    Thanks
    7,676
    My Mood
    Mellow
    Quote Originally Posted by hitmen69 View Post
    ok i did it
    but how to now enter that in a listbox?
    Seriously, learn the basics of coding.

    Quote Originally Posted by Jeremy S. Anderson
    There are only two things to come out of Berkley, Unix and LSD,
    and I don’t think this is a coincidence
    You can win the rat race,
    But you're still nothing but a fucking RAT.


    ++Latest Projects++
    [Open Source] Injection Library
    Simple PE Cipher
    FilthyHooker - Simple Hooking Class
    CLR Injector - Inject .NET dlls with ease
    Simple Injection - An in-depth look
    MPGH's .NET SDK
    eJect - Simple Injector
    Basic PE Explorer (BETA)