C++ Read and Write Process Memory for beginners

Поделиться
HTML-код
  • Опубликовано: 29 ноя 2024

Комментарии • 99

  • @TukeShark
    @TukeShark  2 года назад +15

    Rookie mistake i forgor to close the handle so please dont forget to do this at the end of the code:
    CloseHandle(pHandle);

    • @squidbq
      @squidbq 2 года назад +2

      And how do I change the code if want to change things in a dll like UnityGame.dll + 0x… if I have this in cheat engine how do I have to handle the things because it isn’t a window. Like if I look into the process with process hacker it’s a dll loaded into the game and so cheat engine is telling me the dll name plus some hex code and then normal with the offsets

    • @2f510
      @2f510 Год назад +1

      @@squidbq Look into GetModuleHandleA();

    • @Darth_Bateman
      @Darth_Bateman 6 месяцев назад

      YOU DID WHAT?!
      *nuclear alarm*

    • @DatBoi_TheGudBIAS
      @DatBoi_TheGudBIAS 3 месяца назад

      Don't worry, when u close a process, the OS frees every resource used in it, so it closes all handles, frees all memory, and all of that
      But it is good practise to close them manully

    • @luxdercito
      @luxdercito 11 дней назад

      i was doing some cheat for a game, i forgot to use close handle after creating thread on python, then my pid's gone up to 500k

  • @xh4rmy
    @xh4rmy 2 года назад +29

    best intro ever made

  • @Fidelity_Investments
    @Fidelity_Investments 2 года назад +5

    7:57 wii tanks background music turns into resonance

    • @TukeShark
      @TukeShark  2 года назад +1

      Wii tanks nostalgia

  • @gonska9188
    @gonska9188 2 года назад +6

    Everyone who is looking into this video not because it showed somewhere but because they want learn something you are ultra chad

  • @SkaterProSeven
    @SkaterProSeven Год назад +2

    the subway surfer background music helps a lot

  • @monkeelmaoo
    @monkeelmaoo 11 месяцев назад +2

    bro for all the tutorials I saw u r the best ngl, and i love ur vibes ong, good video!

  • @Randomsheit
    @Randomsheit 2 года назад +4

    I appreciate you explaining what you're typing in. So many blow through it and don't explain anything

  • @yalcinsynth
    @yalcinsynth 6 месяцев назад +1

    Hey man. This is literally a great tutorial! Helped me a lot!

  • @digitzero3613
    @digitzero3613 2 месяца назад

    Thank you very much brother!!!

  • @Fidelity_Investments
    @Fidelity_Investments 2 года назад +1

    subbed just because of the intro. haven't even watched the rest of the video.

  • @mavrick23
    @mavrick23 10 месяцев назад +1

    why cant we find the class name from any windows application be it notpad,calculator or anything, i understand they are not made up from java then how can we find that, and with process hacker i couldnt find the class name for windows apps or other applications

    • @TukeShark
      @TukeShark  9 месяцев назад

      In that case you can get the pid from the exe name or even the window name, some apps dont have class names ig

  • @galencole2108
    @galencole2108 6 месяцев назад +1

    Bring back C++ tutorials gang. Do drivers and Kernel memory processes

    • @TukeShark
      @TukeShark  6 месяцев назад

      I miiiighttt … idk

    • @galencole2108
      @galencole2108 6 месяцев назад +1

      @@TukeShark reading memory would be sick to find variables and functions

    • @tomiibarrientos9440
      @tomiibarrientos9440 5 месяцев назад

      @@TukeShark More c++ videos plsss! Really good one

  • @nonamee817
    @nonamee817 7 месяцев назад

    please continue with more video about c++

  • @velja1312
    @velja1312 2 года назад +3

    The intro got me dead LMAO

  • @scammers9316
    @scammers9316 Год назад +1

    Where can I find that video of them dancing at the beginning?

    • @TukeShark
      @TukeShark  Год назад

      no idea its probably on youtube when you look up "dancing on the highway"

  • @doovid5717
    @doovid5717 2 года назад +2

    Fire video bro great teacher

  • @ForikiTheRat
    @ForikiTheRat 2 года назад +2

    inshalla habibi

  • @amirkamalian5656
    @amirkamalian5656 Год назад +1

    I love it

  • @aba22125
    @aba22125 2 года назад +1

    7:45 "I don't... I don't know what the hell" ya relatable, wtf is that (void) crap do anyways xd

    • @TukeShark
      @TukeShark  2 года назад

      Oh the function wants us to put a void as are address but we have a dword so we just convert it

    • @aba22125
      @aba22125 2 года назад +1

      @@TukeShark Oh I see, also there's (void*) stuff when making a game engine, I presume the '*' stands for static or something? There's also double **

    • @TukeShark
      @TukeShark  2 года назад

      @@aba22125 the star is a pointer so it indicates its a void pointer

  • @FormerReligious
    @FormerReligious 2 года назад +1

    best youtuber! plz make video scanner that works on lunar

  • @jonttan03
    @jonttan03 2 года назад +1

    Dat Wannacry background tho 😂
    +1 sub btw

    • @TukeShark
      @TukeShark  2 года назад

      I changed it since but yeah legendary background

  • @ygmonkey7854
    @ygmonkey7854 2 года назад +1

    Code your so clean

    • @TukeShark
      @TukeShark  2 года назад

      wasnt supposed to be

  • @aerospacemilitary605
    @aerospacemilitary605 Год назад +1

    I'm trying to do this without cheat engine. My plan was to go through the entire memory of the process but i found that there are a lot of values that change... any ideas?

    • @TukeShark
      @TukeShark  Год назад

      Skip memory regions and filter the results

  • @getb0nk
    @getb0nk 2 года назад +4

    I really just watched 17 minutes of a language I don't use :/

    • @TukeShark
      @TukeShark  2 года назад

      Big brain

    • @getb0nk
      @getb0nk 2 года назад

      @@TukeShark I'm back, and now I'm learning the language. Cheers for this, tutorial helped quite a bit, understand memory and handles much more now.

  • @poiau7412
    @poiau7412 2 года назад +1

    this is how i made speed hacks for among us game

  • @6S3
    @6S3 2 года назад +1

    very informative

  • @oneauraaaaa
    @oneauraaaaa 2 года назад +1

    how can we do that? first scan then next scan and inject all results of next scan

  • @armageddon543
    @armageddon543 9 месяцев назад +2

    is this possible in java?

    • @TukeShark
      @TukeShark  9 месяцев назад

      I have no idea but thw winapi is best on c++

    • @virno69420
      @virno69420 9 месяцев назад +2

      If you wanna use java probably best to just go internal and make fabric mod, mixin is easier than it looks.
      It's uncommon to externally w/rpm in Java but it is definitely possible! Using the Java Native Access (JNA) library you can call win32 api functions, but most would just recommend using cpp.

  • @Blink-yh4tb
    @Blink-yh4tb Год назад

    Hey! Could you link your github? I am struggling with making a scanner since I don't really know which memory region to search.

    • @TukeShark
      @TukeShark  Год назад

      Yeah i dont have internet so i cant go on my pc. I believe im too late lol

  • @sativa2513
    @sativa2513 2 года назад +2

    When making reach do you change all of the 3.0 doubles to make longer reach or do you filter the wrong adresses out someway

    • @TukeShark
      @TukeShark  2 года назад

      i filter them out

    • @sativa2513
      @sativa2513 2 года назад

      How do i know which adresses i should filter out

    • @kemura944
      @kemura944 2 года назад

      A way you could filter them out is to scan 3.0 in survival, then change to creative which has more reach and higher the value from 3.0 to (whatever the creative reach is), then repeat this process until you have only the correct reach values.
      (I'm a total beginner and haven't made any clients before but I just guessed this cus its logical)

  • @2f510
    @2f510 Год назад +1

    Great video though I'd recommend you to add checks for the handles in case the window wasn't found or injecting into the process didn't work

  • @sensei_whoop7970
    @sensei_whoop7970 2 года назад +1

    Hi really good video, just wanna ask what way did you learn the windows.h library in c++?

    • @2f510
      @2f510 Год назад

      Try the video by GuidedHacking on windows.h

    • @TukeShark
      @TukeShark  Год назад +1

      I didn’t specifically learn the whole lib but ive looked at the documentation when i needed to use a function

  • @Kenced1352
    @Kenced1352 2 года назад +1

    release the next version of tuke!

    • @TukeShark
      @TukeShark  2 года назад

      Nah i don’t have the code and im not focusing on this project anymore

  • @razy9187
    @razy9187 2 года назад

    ok so what if i REALLY invite you to skeet if you write my name on your face again?

    • @TukeShark
      @TukeShark  2 года назад

      Lol sure, having flashback

  • @amandla1020
    @amandla1020 2 года назад +1

    Im a beginner,what can i do with that? Can you show in a video?

  •  2 года назад +1

    Can you update your discord tag ???

  • @teriyakichicken1848
    @teriyakichicken1848 2 года назад +1

    Does this work for games that are 64bit processes?

    • @2f510
      @2f510 Год назад +1

      Yes

  • @disbanded4429
    @disbanded4429 2 года назад +2

    Files are encrypted!

    • @TukeShark
      @TukeShark  2 года назад +1

      Files are tampered!

  • @clausemaven6464
    @clausemaven6464 2 года назад +1

    Holy fuck you sound like Roomie official

  • @Kxcperr
    @Kxcperr 2 года назад +1

    me when the

  • @aba22125
    @aba22125 2 года назад +1

    Oy would this work for CS:GO? I don't want to make cheats, I wanna make powerful trolling tools >:)

    • @TukeShark
      @TukeShark  2 года назад

      Yeah to update offsets by making a scanner itIs actually pretty useful
      Or pointers etc…

  • @pictol8395
    @pictol8395 2 года назад +1

    Is that detected by Easy anticheat?

    • @apple.3947
      @apple.3947 2 года назад +2

      yes lol

    • @TukeShark
      @TukeShark  2 года назад

      🧗🏻‍♀️

    • @2f510
      @2f510 Год назад

      Check out Kernel Driver hacking if you want to bypass eac

  • @testplmnb
    @testplmnb 10 месяцев назад +1

    you fiking returd, you make a tutorial, but each second you say "Ehm, i doNT KnOW"

    • @echoic-yl5wj
      @echoic-yl5wj 8 месяцев назад

      and yet you dont know, hense the reason you're watching. foolish clown

  • @kpina7531
    @kpina7531 2 года назад +1

    ¿Salut, es-tu gay?

    • @TukeShark
      @TukeShark  2 года назад

      Salut, qui est tu?

    • @kpina7531
      @kpina7531 2 года назад

      ​@@TukeShark no kim ja jestem dobre pytanie a tak na serio to po prostu sobie z ciebie kpie 🐵

  • @UnchartedFactsOfTheWorld
    @UnchartedFactsOfTheWorld 2 года назад

    hey just a question is ur client safe cuz it looks like it terminates %windir%\System32\svchost.exe -k WerSvcGroup i did see it re adds the file but idrk if its safe still

    • @TukeShark
      @TukeShark  2 года назад +1

      Its safe

    • @getb0nk
      @getb0nk 2 года назад

      svchost.exe is what hosts a large amount of services like DPS, SysMain etc..., your computer won't run properly without svchost.exe.

  • @seupai113
    @seupai113 2 года назад +2

    Whats ur new discord?

    • @TukeShark
      @TukeShark  2 года назад +1

      Tuke#9959

    • @seupai113
      @seupai113 2 года назад

      @@TukeShark it says it doesnt exist

  • @djellabhadil301
    @djellabhadil301 Год назад +1

    hey bro actually i need to talk with you becuase i need some more info about read and write in memory can u give your instgram

    • @TukeShark
      @TukeShark  Год назад

      i dont have insta tho i have discord