Results 1 to 10 of 10
  1. #1
    hack2learn's Avatar
    Join Date
    May 2011
    Gender
    male
    Posts
    13
    Reputation
    10
    Thanks
    0
    My Mood
    Fine

    Question How to Delay DLL Injection?

    Hello all... I've been thinking how to delay dll's injection and then automatically injecting dll's after a specified executable run about 10 minutes in a future... Is there someone have a clues about it... I do very new in vb's... Thank for all attentions an long live mpgh.net...

  2. #2
    freedompeace's Avatar
    Join Date
    Jul 2010
    Gender
    female
    Posts
    3,033
    Reputation
    340
    Thanks
    2,792
    My Mood
    Sad
    Thread.Sleep(10 * 1000)

    rocketscience! :cooleyes:

  3. The Following User Says Thank You to freedompeace For This Useful Post:

    hack2learn (05-21-2011)

  4. #3
    Blubb1337's Avatar
    Join Date
    Sep 2009
    Gender
    male
    Location
    Germany
    Posts
    5,915
    Reputation
    161
    Thanks
    3,108
    [highlight="VB.Net"]System.Threading.Thread.Sleep(1000) 'wait 1 second[/highlight]



  5. The Following User Says Thank You to Blubb1337 For This Useful Post:

    hack2learn (05-21-2011)

  6. #4
    Hassan's Avatar
    Join Date
    May 2010
    Gender
    male
    Location
    System.Threading.Tasks
    Posts
    4,764
    Reputation
    495
    Thanks
    2,132
    My Mood
    Dead
    No, both of the above posters are wrong. You do it like this:

    First Import System.Threading.Thread namespace:
    [highlight=vbnet]Imports System.Threading.Thread[/highlight]

    Then you call the method like this:

    [highlight=vbnet]Dim Minutes As Integer=((60*1000)*10)
    Sleep(Minutes)
    Msgbox("You mad ?")
    [/highlight]


  7. #5
    hack2learn's Avatar
    Join Date
    May 2011
    Gender
    male
    Posts
    13
    Reputation
    10
    Thanks
    0
    My Mood
    Fine
    Thank very much Hassan... I'll try that... but i have another question for you, what is "Msgbox("You mad ?")" for?...
    Last edited by hack2learn; 05-21-2011 at 08:23 AM.

  8. #6
    Blubb1337's Avatar
    Join Date
    Sep 2009
    Gender
    male
    Location
    Germany
    Posts
    5,915
    Reputation
    161
    Thanks
    3,108
    Quote Originally Posted by Hassan View Post
    No, both of the above posters are wrong. You do it like this:

    First Import System.Threading.Thread namespace:
    [highlight=vbnet]Imports System.Threading.Thread[/highlight]

    Then you call the method like this:

    [highlight=vbnet]Dim Minutes As Integer=((60*1000)*10)
    Sleep(Minutes)
    Msgbox("You mad ?")
    [/highlight]

    What the fuck?

    If you do system.threading.thread.sleep or imports system.threading.thread and use sleep...what's the matter...



  9. #7
    Hassan's Avatar
    Join Date
    May 2010
    Gender
    male
    Location
    System.Threading.Tasks
    Posts
    4,764
    Reputation
    495
    Thanks
    2,132
    My Mood
    Dead
    Quote Originally Posted by Blubb1337 View Post
    What the fuck?

    If you do system.threading.thread.sleep or imports system.threading.thread and use sleep...what's the matter...
    Quote Originally Posted by hack2learn
    Thank very much Hassan... I'll try that... but i have another question for you, what is "Msgbox("You mad ?")" for?...
    Was just kidding lol ;P

    [You mad kevin ]

  10. #8
    TheBest-1337's Avatar
    Join Date
    Sep 2010
    Gender
    male
    Posts
    35
    Reputation
    15
    Thanks
    38
    My Mood
    Goofy
    Just put a timer simple.

  11. #9
    freedompeace's Avatar
    Join Date
    Jul 2010
    Gender
    female
    Posts
    3,033
    Reputation
    340
    Thanks
    2,792
    My Mood
    Sad
    Quote Originally Posted by Hassan View Post
    No, both of the above posters are wrong. You do it like this:

    First Import System.Threading.Thread namespace:
    [highlight=vbnet]Imports System.Threading.Thread[/highlight]

    Then you call the method like this:

    [highlight=vbnet]Dim Minutes As Integer=((60*1000)*10)
    Sleep(Minutes)
    Msgbox("You mad ?")
    [/highlight]

    No, you're wrong :3

    System.Threading.Thread is not a namespace - it is a class.

    And this, is the correct way to do it:
    [highlight=vbnet]
    Imports Boogas = System.Theading.Thread
    Dim A As Integer = 1
    Dim B As Integer = B * 10
    Dim C As Integer = C * 10
    Dim D As Integer = D * 10
    Dim E As Integer = E * 30
    Dim F As Integer = F * 2
    Dim G As Integer = G * 10
    Boogas.Sleep(G)
    Msgbox("Y" + "o" + "u" + " " + "m" + "a" + "d" + "?")
    [/highlight]

  12. The Following User Says Thank You to freedompeace For This Useful Post:

    [MPGH]master131 (05-21-2011)

  13. #10
    Hassan's Avatar
    Join Date
    May 2010
    Gender
    male
    Location
    System.Threading.Tasks
    Posts
    4,764
    Reputation
    495
    Thanks
    2,132
    My Mood
    Dead
    Quote Originally Posted by freedompeace View Post


    No, you're wrong :3

    System.Threading.Thread is not a namespace - it is a class.

    And this, is the correct way to do it:
    [highlight=vbnet]
    Imports Boogas = System.Theading.Thread
    Dim A As Integer = 1
    Dim B As Integer = B * 10
    Dim C As Integer = C * 10
    Dim D As Integer = D * 10
    Dim E As Integer = E * 30
    Dim F As Integer = F * 2
    Dim G As Integer = G * 10
    Boogas.Sleep(G)
    Msgbox("Y" + "o" + "u" + " " + "m" + "a" + "d" + "?")
    [/highlight]
    Your code will not compile. You can't put decelerations below Import statements.
    + First, I just used System.Threading but later changed to System.Threading.Thread but forgot to replace namespace with class.