Results 1 to 7 of 7
  1. #1
    jimbocyber's Avatar
    Join Date
    Aug 2013
    Gender
    male
    Posts
    2
    Reputation
    10
    Thanks
    12
    My Mood
    Relaxed

    Talking Making process suspender and process killer

    hello all , i will post how to make process suspender and process killer , if you can't create a form you can see my first post
    okay let's go


    Tutorial:
    - Create project and select "Windows Application Form"
    - And add this component :
    Button : 2
    Textbox : 1
    Module : 1
    - type the button1 text to : Suspend
    type the button 2 text to : kill process
    - for the code you can see in attachman
    - and open file Form1.txt and right click form1 and click view code
    - open file Form1.txt CTRL+A and CTRL+C and open your project CTRL+A and CTRL+V
    - now the press F5 and test your program

    NOTE : DON'T type ".exe"


    Attached Thumbnails Attached Thumbnails
    8AHF5ve.png  

    2KxGW8i.png  

    <b>Downloadable Files</b> Downloadable Files

  2. The Following 11 Users Say Thank You to jimbocyber For This Useful Post:

    Alviqbal (12-31-2013),angahkechik11 (11-22-2013),FirstLeutenant (12-23-2013),GusFring5 (01-16-2016),jaguargames01 (04-17-2015),LWJ (12-30-2013),nova0001 (10-19-2013),pizzahut2012 (06-01-2014),riesyablackshot (04-18-2014),roland56 (10-01-2014),wen816 (05-03-2014)

  3. #2
    ecaep42's Avatar
    Join Date
    Sep 2011
    Gender
    male
    Posts
    123
    Reputation
    10
    Thanks
    11
    My Mood
    Relaxed
    So then how are you supposed to target the application you want to suspend and resume?
    Last edited by ecaep42; 10-05-2013 at 05:16 AM.
    HOW TO GET A ADMIN/MODS ATTENTION:
    1) Find a reason to get their attention.
    2) Post a outside link to a broken file (Such as Med-ia Fire, Mega, and even youtube (Since they hate outside links so much)).
    3) Yell and call other people ******s
    4) Become a closet homosexual
    5) Watch as the mods try to ban you, but cant because its a fake url and they fell for your trick.
    6) Report them to a higher-admin.
    7) Watch them get demoted and banned

    ᕙ( ͡° ͜ʖ ͡°)ᕗ OBEY MY DOG ᕙ( ͡° ͜ʖ ͡°)ᕗ


    [url]https://www.youtube.com/watch?v=7cw2DllsZmc]https://www.youtube.com/watch?v=7cw2DllsZmc[/video]

  4. #3
    jimbocyber's Avatar
    Join Date
    Aug 2013
    Gender
    male
    Posts
    2
    Reputation
    10
    Thanks
    12
    My Mood
    Relaxed
    oh i forgot for button 1 :
    Dim game As Process() = Process.GetProcessesByName(TextBox1.Text)
    If Button1.Text = "SUSPEND!" Then
    SuspendProcess(game(0))
    Button1.Text = "RESUME!"
    Else
    ResumeProcess(game(0))
    Button1.Text = "SUSPEND!"
    End If

  5. #4
    ecaep42's Avatar
    Join Date
    Sep 2011
    Gender
    male
    Posts
    123
    Reputation
    10
    Thanks
    11
    My Mood
    Relaxed
    Quote Originally Posted by jimbocyber View Post
    oh i forgot for button 1 :
    You'll need administrative permissions to do Process Debug Mode... well for me atleast. So I would suggest adding "Change the windows settings in the project properties.
    HOW TO GET A ADMIN/MODS ATTENTION:
    1) Find a reason to get their attention.
    2) Post a outside link to a broken file (Such as Med-ia Fire, Mega, and even youtube (Since they hate outside links so much)).
    3) Yell and call other people ******s
    4) Become a closet homosexual
    5) Watch as the mods try to ban you, but cant because its a fake url and they fell for your trick.
    6) Report them to a higher-admin.
    7) Watch them get demoted and banned

    ᕙ( ͡° ͜ʖ ͡°)ᕗ OBEY MY DOG ᕙ( ͡° ͜ʖ ͡°)ᕗ


    [url]https://www.youtube.com/watch?v=7cw2DllsZmc]https://www.youtube.com/watch?v=7cw2DllsZmc[/video]

  6. #5
    abuckau907's Avatar
    Join Date
    Dec 2012
    Gender
    male
    Location
    other side of the wire
    Posts
    1,342
    Reputation
    162
    Thanks
    239
    My Mood
    Cold
    Quote Originally Posted by ecaep42 View Post
    So then how are you supposed to target the application you want to suspend and resume?

    By process name, like mentioned above.
    Code:
    For each pp as Process in Process.GetProcesses()
    If pp.ProcessName = "TargetProcessName" Then  '// Without the extension! Process.ProcessName doesn't include extension.
    ''This is our target process! Store a reference to it.
    End If
    Next pp
    
    ''No need to loop over all of them like that. Just use .GetProcessesByName() like OP said. However, it does return an array, so, your choice. Also did it for consistency between the 3 examples.
    "main window title". Obviously this only works if the process has a Window displayed, and hopefully only 1.
    Code:
    For each pp as Process in Process.GetProcesses()
    If pp.MainWindowTitle = "TargetProcessWindowTitle" Then 
     ''This is our target process! Store a reference to it.
    End If
    Next pp
    
    ''Tip: You might not have to (or be able to) use the entire Window Title ->  .Contains(), .StartsWith(), .EndsWith() and .ToLower() might be useful.
    Force the user to look up the process ID manually. Every time.
    Code:
    ''This one isn't cool for the user; included for completeness.
    
    Dim targetProcessID As Int32 = CInt(InputBox("Please enter the target process ID", "Input Required", "1"))
    
    For Each pp as Process in Process.GetProcesses()
    If pp.Id = targetProcessID Then
     ''This is our target process! Store a reference to it.
    End If
    
    ''Same as above. Could avoid the loop and use Process.GetProcessById(). It will return only 1 process (by nature of ID's being unique), not an array like the comment in box 1.
    By starting the process yourself using Process.Start(), which returns a reference to the newly created process.
    Code:
    targetProcess = Process.Start("C:\file_path") '' Assumes you've created the targetProcess variable in this class, or with global scope.
     




    edit: no error-handling in the code to save space & for clarity.
    Last edited by abuckau907; 10-07-2013 at 12:05 AM.
    'Some things that can be counted, don't matter. And some things that matter, can't be counted' - A.E.
    --
     

    My posts have some inaccuracies/are wrong/wrong keyword(s) used.
    They're (maybe) pretty close, and I hope they helped you, not created confusion. Take with grain of salt.

    -if you give rep, please leave a comment, else it means less.

  7. #6
    ecaep42's Avatar
    Join Date
    Sep 2011
    Gender
    male
    Posts
    123
    Reputation
    10
    Thanks
    11
    My Mood
    Relaxed
    Quote Originally Posted by abuckau907 View Post
    By process name, like mentioned above.
    Code:
    For each pp as Process in Process.GetProcesses()
    If pp.ProcessName = "TargetProcessName" Then  '// Without the extension! Process.ProcessName doesn't include extension.
    ''This is our target process! Store a reference to it.
    End If
    Next pp
    
    ''No need to loop over all of them like that. Just use .GetProcessesByName() like OP said. However, it does return an array, so, your choice. Also did it for consistency between the 3 examples.
    "main window title". Obviously this only works if the process has a Window displayed, and hopefully only 1.
    Code:
    For each pp as Process in Process.GetProcesses()
    If pp.MainWindowTitle = "TargetProcessWindowTitle" Then 
     ''This is our target process! Store a reference to it.
    End If
    Next pp
    
    ''Tip: You might not have to (or be able to) use the entire Window Title ->  .Contains(), .StartsWith(), .EndsWith() and .ToLower() might be useful.
    Force the user to look up the process ID manually. Every time.
    Code:
    ''This one isn't cool for the user; included for completeness.
    
    Dim targetProcessID As Int32 = CInt(InputBox("Please enter the target process ID", "Input Required", "1"))
    
    For Each pp as Process in Process.GetProcesses()
    If pp.Id = targetProcessID Then
     ''This is our target process! Store a reference to it.
    End If
    
    ''Same as above. Could avoid the loop and use Process.GetProcessById(). It will return only 1 process (by nature of ID's being unique), not an array like the comment in box 1.
    By starting the process yourself using Process.Start(), which returns a reference to the newly created process.
    Code:
    targetProcess = Process.Start("C:\file_path") '' Assumes you've created the targetProcess variable in this class, or with global scope.
     




    edit: no error-handling in the code to save space & for clarity.
    he answered me first though ;p
    HOW TO GET A ADMIN/MODS ATTENTION:
    1) Find a reason to get their attention.
    2) Post a outside link to a broken file (Such as Med-ia Fire, Mega, and even youtube (Since they hate outside links so much)).
    3) Yell and call other people ******s
    4) Become a closet homosexual
    5) Watch as the mods try to ban you, but cant because its a fake url and they fell for your trick.
    6) Report them to a higher-admin.
    7) Watch them get demoted and banned

    ᕙ( ͡° ͜ʖ ͡°)ᕗ OBEY MY DOG ᕙ( ͡° ͜ʖ ͡°)ᕗ


    [url]https://www.youtube.com/watch?v=7cw2DllsZmc]https://www.youtube.com/watch?v=7cw2DllsZmc[/video]

  8. #7
    abuckau907's Avatar
    Join Date
    Dec 2012
    Gender
    male
    Location
    other side of the wire
    Posts
    1,342
    Reputation
    162
    Thanks
    239
    My Mood
    Cold
    maybe he likes you.
    'Some things that can be counted, don't matter. And some things that matter, can't be counted' - A.E.
    --
     

    My posts have some inaccuracies/are wrong/wrong keyword(s) used.
    They're (maybe) pretty close, and I hope they helped you, not created confusion. Take with grain of salt.

    -if you give rep, please leave a comment, else it means less.

Similar Threads

  1. [Discussion] Process Suspender
    By Bobysays23 in forum Vindictus Discussions
    Replies: 8
    Last Post: 09-16-2013, 04:22 PM
  2. [Tutorial] Bypass Xuerth and Process Hacker in Mat Cibmall
    By Mr DHack in forum Mission Against Terror Hacks & Cheats
    Replies: 14
    Last Post: 04-17-2013, 07:06 PM
  3. [Solved] What Injector, and process
    By ReaLesT69 in forum Combat Arms Help
    Replies: 2
    Last Post: 12-03-2012, 11:30 PM
  4. [RELEASE + SOURCE]process starter and killer
    By maarten551 in forum Visual Basic Programming
    Replies: 4
    Last Post: 11-03-2009, 10:46 PM