Page 1 of 3 123 LastLast
Results 1 to 15 of 33
  1. #1
    Silk[H4x]'s Avatar
    Join Date
    Jul 2008
    Posts
    45
    Reputation
    10
    Thanks
    102

    ~ DLL Injector Source Code ~

    I saw many people asking how to do a DLL Injector, so i diceded to post a source that i made for myself...

    NOTE: It is in Visual Basic 6 (VB6) You can't open it with VB.net...

    You can start doing your first DLL Injector from that source...
    I Hope you understand everything i made, and please don't do sh*t with it!

    Have fun (The file is Attached)
    Last edited by Silk[H4x]; 08-12-2008 at 05:29 AM.

  2. The Following 78 Users Say Thank You to Silk[H4x] For This Useful Post:

    *Rambo* (09-23-2012),-GEORGE2- (03-29-2013),-iFaDy..* (03-25-2012),18princess18 (08-11-2011),88power88 (08-22-2009),affs2009 (04-24-2014),AndMore (07-18-2009),Angel9758 (11-28-2014),arangkada (03-23-2013),aryaprz (11-23-2012),Ava_aeria. (07-10-2013),boNutZ (04-16-2013),boydodida (04-21-2013),budicyber (01-22-2014),castro_miguel (03-13-2013),CComputer (07-29-2012),CF_Hacker. (08-31-2012),Chaser343 (03-03-2009),classyjakey (02-22-2014),conndrst (05-09-2010),danialrk1 (10-29-2012),deivisxm (08-03-2015),djobey123 (06-22-2013),drbeat (02-03-2013),DyNamoTR (03-02-2013),Excelize (08-03-2013),fandy1 (06-15-2014),Fizz_X (12-23-2008),FrezZzeD (05-02-2012),geeeirock (05-11-2012),ginocapo (01-01-2015),GM_AVA (04-08-2013),gw4poka09 (11-18-2012),HazimYo (04-13-2013),heyned (10-04-2012),hoodprince7 (02-23-2013),iSkyToxiC (04-18-2014),Ivvvvvan (12-13-2014),jordan32710 (06-14-2015),loquendomia (11-09-2014),lorran000 (08-13-2011),madh334 (11-04-2013),mostafa2033 (06-10-2012),Mouca (05-23-2015),mrcnky (02-02-2013),MrJohnson90 (01-16-2010),MulleDK19 (08-30-2008),nellyblack (03-03-2013),ngnam87 (02-09-2015),NIgga* (08-02-2014),OblivionGunner99 (07-13-2015),olie122333 (09-21-2008),outsiderpoh (01-02-2015),Owghard (08-12-2015),Radu_cool2012 (01-11-2013),Ryodvincenta (11-05-2015),Shartob1 (06-12-2012),SHOGUN4252 (12-08-2012),Sky_____ (12-05-2012),Slice- (09-01-2010),Spadez47 (10-27-2008),sungjoeha (08-16-2015),swailen (07-01-2013),tenusbr (05-27-2013),therev91 (08-21-2012),thespaceliongr (06-27-2015),Tierrize (09-01-2009),tranhuynhthao (04-05-2015),tv!X^^ (09-17-2011),Unfinished Code (02-07-2013),wafinasir (05-16-2016),xLeanBY22 (12-29-2012),xuxero (08-10-2011),XYZteam (05-27-2012),ySoNoob (03-13-2013),YUTOSALTA (01-11-2013),Zako3032 (01-22-2014),|Team| (01-18-2013)

  3. #2
    gbitz's Avatar
    Join Date
    Mar 2008
    Gender
    male
    Location
    Here.
    Posts
    3,136
    Reputation
    197
    Thanks
    335
    Doesn't work for me, tried compiling multiple times and using it and it doesn't work.

  4. #3
    Silk[H4x]'s Avatar
    Join Date
    Jul 2008
    Posts
    45
    Reputation
    10
    Thanks
    102
    Edit: I found an error, i fixed it, it should work now...
    Last edited by Silk[H4x]; 08-12-2008 at 05:27 AM.

  5. #4
    punkbuster!123's Avatar
    Join Date
    Feb 2008
    Gender
    male
    Posts
    154
    Reputation
    10
    Thanks
    35
    thanks for the source
    [x] 50 posts
    [x] 100 posts
    [ ] 250 posts
    [ ] 500 posts

    [ ] Another rank
    [ ] Advanced Member

  6. #5
    MulleDK19's Avatar
    Join Date
    Aug 2008
    Gender
    male
    Posts
    2
    Reputation
    10
    Thanks
    0
    Thank you very much.

    I'm trying to convert this to VB.NET, and works fine except one line.

    (ProsH renamed to ProcessHandle)
    Code:
    CreateThread = CreateRemoteThread(ProcessHandle, vbNull, 0, LibAddress, DLLVirtLoc, 0, ThreadID)

    The error:
    Code:
    ************** Exception Text **************
    System.AccessViolationException: Attempted to read or write protected memory. This is often an indication that other memory is corrupt.
       at WindowsApplication1.Form1.CreateRemoteThread(IntPtr ProcessHandle, Int64 lpThreadAttributes, IntPtr dwStackSize, IntPtr lpStartAddress, String lpParameter, Int64 dwCreationFlags, IntPtr lpThreadID)
       at WindowsApplication1.Form1.InjectDll(String DllPath, IntPtr ProcessHandle)
       at WindowsApplication1.Form1.Injection()
       at WindowsApplication1.Form1.cmdInject_Click(Object sender, EventArgs e)
       at System.Windows.Forms.Control.OnClick(EventArgs e)
       at System.Windows.Forms.Button.OnClick(EventArgs e)
       at System.Windows.Forms.Button.PerformClick()
       at System.Windows.Forms.Form.ProcessDialogKey(Keys keyData)
       at System.Windows.Forms.Control.ProcessDialogKey(Keys keyData)
       at System.Windows.Forms.Control.PreProcessMessage(Message& msg)
       at System.Windows.Forms.Control.PreProcessControlMessageInternal(Control target, Message& msg)
       at System.Windows.Forms.Application.ThreadContext.PreTranslateMessage(MSG& msg)
    Any help is highly appreciated.
    Thanks in advance.

  7. #6
    rotodi1234's Avatar
    Join Date
    Apr 2008
    Posts
    2
    Reputation
    10
    Thanks
    0
    what does it do?

  8. #7
    Silk[H4x]'s Avatar
    Join Date
    Jul 2008
    Posts
    45
    Reputation
    10
    Thanks
    102
    Mulle, i will try to convert it to VB.net if i got any idea how to fix it, i will tell u ..
    Last edited by Silk[H4x]; 09-13-2008 at 12:23 PM.

  9. #8
    scapecoolioboy's Avatar
    Join Date
    Aug 2008
    Gender
    male
    Posts
    277
    Reputation
    10
    Thanks
    35
    thanks bro help me with trying to make my first hack

  10. #9
    AltF5's Avatar
    Join Date
    May 2008
    Gender
    male
    Location
    USA
    Posts
    19
    Reputation
    10
    Thanks
    0
    Ah yes, this code I found over at PSCode.com and it is what inspired me to write my own Module(DLL/Exe) injector and ejector (Similar to unlocker)

    As for the .Net problem the error appears to be "Attempted to read or write protected memory. " it probably is due to a problem with VirtualAllocEx. Ensure it is succeeded (proper return value according to MSDN) and you could try perhaps using PAGE_READWRITEEXECUTE.

    I would check to ensure that all your API calls are succeeding, and if not go from there.

    PS -->
    Private Const MEM_RELEASE = &H8000 needs to be changed to Private Const MEM_RELEASE = &H8000& (Add "&" at the end) because we need the number to be unsigned. If it is signed it will = -32768 instead of 32768 which is what we want. (If you dont know about signed numbers google it)
    Because the declaration of how it is now VirtualFreeEx is failing. (See MSDN documentation to see the proper return value that it should have for success)


    Hopefully this helps.

  11. #10
    Spadez47's Avatar
    Join Date
    Oct 2008
    Gender
    female
    Posts
    1
    Reputation
    10
    Thanks
    0
    sweet, thanks. i'll check it out.

  12. #11
    Canada6999's Avatar
    Join Date
    Oct 2008
    Posts
    3
    Reputation
    10
    Thanks
    1
    Thanks silk... and just to let you know, you can update your sig thing and mark down 50 posts.

  13. #12
    deve48's Avatar
    Join Date
    Nov 2008
    Gender
    male
    Posts
    12
    Reputation
    10
    Thanks
    0
    what exactly does it do ?

  14. #13
    Ximbuca's Avatar
    Join Date
    Dec 2008
    Gender
    male
    Posts
    1
    Reputation
    10
    Thanks
    0
    Thank´s
    This is very usefull

  15. #14
    Calster's Avatar
    Join Date
    Dec 2008
    Gender
    male
    Posts
    16
    Reputation
    10
    Thanks
    3
    Thanks man... Really useful
    ~ Hope i can help ~
    ~ Thank me if i do ~

  16. #15
    adz0rd's Avatar
    Join Date
    Dec 2008
    Posts
    1
    Reputation
    10
    Thanks
    0

    Exclamation

    hi m8 everytime i try to compile it, it comes up with this error Method or Data Member not found and it highlights this part

    Code:
    Private Sub Command2_Click()
      Dim sTemp As String
      CommonDialog1.FileName = "*.dll"
      CommonDialog1.ShowOpen
      Text1.Text = CommonDialog1.FileName
    End Sub
    it highlights
    Code:
    FileName
    any ideas?

Page 1 of 3 123 LastLast

Similar Threads

  1. [Release] Injector Source Code
    By SteamAss in forum CrossFire Hack Coding / Programming / Source Code
    Replies: 11
    Last Post: 01-02-2011, 07:33 PM
  2. Can i Request a Good Injector Source Code?
    By InCapacitated in forum CrossFire Hack Coding / Programming / Source Code
    Replies: 9
    Last Post: 10-05-2010, 07:41 AM
  3. [RELEASE] FULL WORKING INJECTOR SOURCE CODE
    By flameswor10 in forum Combat Arms Hack Coding / Programming / Source Code
    Replies: 37
    Last Post: 08-29-2010, 05:03 AM
  4. [RELEASE] FULL WORKING INJECTOR SOURCE CODE
    By flameswor10 in forum Visual Basic Programming
    Replies: 34
    Last Post: 08-14-2010, 09:58 AM
  5. Combat Arms Injector Source Code
    By Melikepie in forum Combat Arms Discussions
    Replies: 6
    Last Post: 10-21-2009, 03:24 PM

Tags for this Thread