metalx1000

RAM Memory hacking with scanmem

Aug 22nd, 2019
678
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 0.67 KB | None | 0 0
  1. ####Numeric value
  2. sudo scanmem
  3. pid <pid of program>
  4. #search for value of 46
  5. 46
  6. #now change value in program and search for new value
  7. 45
  8. list
  9. write i32 5611be0f5140 500
  10.  
  11. ####scanmem string replace
  12. sudo scanmem
  13. pid <pid of program>
  14. option scan_data_type string
  15. " <string>
  16. list
  17. write string 55ad10d846f0 Timmy
  18.  
  19. ###setting all matches###
  20. #this could crash the program##
  21. sudo scanmem $(pidof doom)
  22. #enter value of ammo
  23. 50
  24. #shoot and enter new number
  25. 49
  26. #there are 3 values for this
  27. #if 3 are returned, go ahead and set all of them
  28. set 500
  29. #if there are other matches, than you might not want to change them
  30. #then again, have fun.  who cares if the game crashes
Add Comment
Please, Sign In to add comment