Thread: Deleting threads

  1. #1
    Unregistered User Yarin's Avatar
    Join Date
    Jul 2007
    Posts
    2,158

    Deleting threads

    A thread asking about thread injection was recently hidden (effectively deleted). In light of Elkvis'(?) complaint, I wouldn't have been surprised to see it locked. But this was really surprising. Are you (moderator who removed it) really afraid of script kiddies' broken code?

  2. #2
    Registered User
    Join Date
    Jun 2011
    Posts
    4,513
    Seems perfectly in line with the publicly posted guidelines:

    6. Messages relating to cracking, (erroneously called "hacking" by many), copyright violations, or other illegal activities will be deleted.

  3. #3
    Unregistered User Yarin's Avatar
    Join Date
    Jul 2007
    Posts
    2,158
    Thread injection isn't cracking. Thankfully it isn't yet an illegal activity, either.

  4. #4
    Programming Wraith GReaper's Avatar
    Join Date
    Apr 2009
    Location
    Greece
    Posts
    2,738
    Oh well, the forum rules are a tad ambiguous and subjective, so it's left in the hands of the mods what to do in a case-by-case basis. I don't like it but I can understand that from a legal perspective it's "better safe than sorry".
    Devoted my life to programming...

  5. #5
    and the hat of int overfl Salem's Avatar
    Join Date
    Aug 2001
    Location
    The edge of the known universe
    Posts
    39,659
    It was me who deleted the thread.

    <<snipped a long boring explanation because I've now got better things to to >>
    If you dance barefoot on the broken glass of undefined behaviour, you've got to expect the occasional cut.
    If at first you don't succeed, try writing your phone number on the exam paper.

  6. #6
    (?<!re)tired Mario F.'s Avatar
    Join Date
    May 2006
    Location
    Ireland
    Posts
    8,446
    Well, let's hope it doesn't become a recurrent thing. In 15 years, I recall maybe once knowing about a non-spam thread being deleted. This was it.
    But I'm sure you must have had your reasons, exactly because of that.
    Originally Posted by brewbuck:
    Reimplementing a large system in another language to get a 25% performance boost is nonsense. It would be cheaper to just get a computer which is 25% faster.

  7. #7
    Registered User MutantJohn's Avatar
    Join Date
    Feb 2013
    Posts
    2,665
    So, what is this "thread injection" that we're talking about? I've tried googling this and all I got was stuff about DLLs and shared object files.

  8. #8
    (?<!re)tired Mario F.'s Avatar
    Join Date
    May 2006
    Location
    Ireland
    Posts
    8,446
    Quote Originally Posted by MutantJohn View Post
    So, what is this "thread injection" that we're talking about? I've tried googling this and all I got was stuff about DLLs and shared object files.
    Remote Thread Injection. The ability to add your own thread to a running process, allowing you to run your own code in that process memory space. It can have many practical uses like hot patching (a poor man's DSU), remote tracing, etc. But it can also be used to wreak havoc in a user system and gain all the information the target process has access to.
    Originally Posted by brewbuck:
    Reimplementing a large system in another language to get a 25% performance boost is nonsense. It would be cheaper to just get a computer which is 25% faster.

  9. #9
    and the hat of int overfl Salem's Avatar
    Join Date
    Aug 2001
    Location
    The edge of the known universe
    Posts
    39,659
    If it had been a regular member, I wouldn't have worried too much.

    But when the very first post begins "I'm a 15 year old c++ noob", then it only leads to a bad place.

    The poster (if they're reading this) needs to re-evaluate their reasons for learning c++.
    If you dance barefoot on the broken glass of undefined behaviour, you've got to expect the occasional cut.
    If at first you don't succeed, try writing your phone number on the exam paper.

  10. #10
    Registered User MutantJohn's Avatar
    Join Date
    Feb 2013
    Posts
    2,665
    Quote Originally Posted by Mario F. View Post
    Remote Thread Injection. The ability to add your own thread to a running process, allowing you to run your own code in that process memory space. It can have many practical uses like hot patching (a poor man's DSU), remote tracing, etc. But it can also be used to wreak havoc in a user system and gain all the information the target process has access to.
    Whoa, that sounds wildly unsafe O_o

  11. #11
    (?<!re)tired Mario F.'s Avatar
    Join Date
    May 2006
    Location
    Ireland
    Posts
    8,446
    Quote Originally Posted by MutantJohn View Post
    Whoa, that sounds wildly unsafe O_o
    It's not easy to achieve and you have to somehow defeat ASLR protection, which is no easy task (which I bet that code wasn't even close to achieve). It's also very difficult to implement without the OS raising all sorts of red flags and damning any chance of concealment (you have to also have gained the same user privileges of the target process. Good luck with that). As an attack it is virtually useless.
    Originally Posted by brewbuck:
    Reimplementing a large system in another language to get a 25% performance boost is nonsense. It would be cheaper to just get a computer which is 25% faster.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Replies: 22
    Last Post: 12-14-2012, 11:00 AM
  2. Creating and deleting directories and deleting files
    By fguy817817 in forum C Programming
    Replies: 1
    Last Post: 04-08-2009, 07:26 AM
  3. a point of threads to create multiple threads
    By v3dant in forum C Programming
    Replies: 3
    Last Post: 10-06-2004, 09:48 AM
  4. need help deleting a deleting a struct from file
    By Unregistered in forum C Programming
    Replies: 5
    Last Post: 05-20-2002, 05:38 AM

Tags for this Thread