Snorflake

Cepg files

May 26th, 2015
299
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.88 KB | None | 0 0
  1. Hey mate, I was looking over your "finding clientmode pointer" tutorial.
  2. [11:31:15 PM] Snorflake | Aria: yea
  3. [11:31:35 PM] Cepg: Thanks for it btw, it helped me alot. Now I was wondering if you could do the same thing for IPanel
  4. [11:31:43 PM] Snorflake | Aria: o.o
  5. [11:31:46 PM] Snorflake | Aria: just get the interface like anything else
  6. [11:31:57 PM] Cepg: With the interface function you say?
  7. [11:31:59 PM] Snorflake | Aria: its in vgui.dll
  8. [11:32:02 PM] Snorflake | Aria: its called VGUI_Panel
  9. [11:32:04 PM] Snorflake | Aria: find the version urself
  10. [11:32:08 PM] Cepg: I know I know, thats not the problem
  11. [11:32:31 PM] Cepg: You know, calling the interface from vgui2.dll returns you a pointer to the VMT
  12. [11:33:00 PM] Snorflake | Aria: yeah
  13. [11:33:10 PM] Snorflake | Aria: wat
  14. [11:33:15 PM] Snorflake | Aria: its the same as any other interface??
  15. [11:33:23 PM] Cepg: Sure BUT
  16. [11:33:33 PM] Cepg: If you follow the clientmode pointer
  17. [11:33:46 PM] Snorflake | Aria: bro i gave you perfectly good code for getting interfaces
  18. [11:33:52 PM] Snorflake | Aria: just use that but for VGUI_Panel
  19. [11:34:04 PM] Cepg: I have a working painttraverse hook btw
  20. [11:34:10 PM] Cepg: But I don't want to use virtualprotect
  21. [11:34:31 PM] Snorflake | Aria: then dont
  22. [11:34:50 PM] Cepg: Which would be doable if I could do the same thing as you did for clientmode with ipanel
  23. [11:35:02 PM] Snorflake | Aria: you have no idea what you're talking about
  24. [11:36:01 PM] Snorflake | Aria: w
  25. [11:36:02 PM] Snorflake | Aria: dude
  26. [11:36:06 PM] Snorflake | Aria: its not fucking hard?
  27. [11:36:13 PM] Snorflake | Aria: Do it the same way you do PaintTraverse
  28. [11:36:33 PM] Snorflake | Aria: wtf
  29. [11:36:34 PM] Snorflake | Aria: Wtf
  30. [11:36:34 PM] Snorflake | Aria: wtf
  31. [11:36:35 PM] Snorflake | Aria: WTF
  32. [11:36:37 PM] Snorflake | Aria: DUDE
  33. [11:36:43 PM] Cepg: What
  34. [11:36:43 PM] Snorflake | Aria: facepalm
  35. [11:36:48 PM] Snorflake | Aria: hardcoding the interface
  36. [11:36:59 PM] Snorflake | Aria: is no different
  37. [11:37:05 PM] Snorflake | Aria: to using CreateInterface
  38. [11:37:41 PM] Cepg: I dont think you understand. I can't use the createinterface if I wanna change the vtable pointer.
  39. [11:37:52 PM] Cepg: Because the createinterface function returns the vtable pointer.
  40. [11:38:01 PM] Snorflake | Aria: so?
  41. [11:38:12 PM] Snorflake | Aria: i use createinterface and i change the vtable pointer
  42. [11:38:23 PM] Cepg: Thats not possible.
  43. [11:38:33 PM] Snorflake | Aria: lmfao
  44. [11:38:38 PM] Snorflake | Aria: you're unhelpable
  45. [11:40:51 PM] Cepg: I dont think thats true. What you're saying is not possible. The address the Createinterface function returns is the pointer that I want to change.. How can you overwrite a pointer which is returned by a function.
  46. [11:41:10 PM] Snorflake | Aria: its returning you a fucking address
  47. [11:41:10 PM] Cepg: Dereference the pointer once and youre in the Vtable
  48. [11:41:16 PM] Snorflake | Aria: learn pointers
  49. [11:41:30 PM] Snorflake | Aria: http://www.cplusplus.com/doc/tutorial/pointers/
  50. [11:42:12 PM] Cepg: You know when you dereference clientmode pointer once youre not in the actual vtable.
  51. [11:42:27 PM] Snorflake | Aria: holy shit
  52. [11:42:27 PM] Snorflake | Aria: http://www.cplusplus.com/doc/tutorial/pointers/
  53. [11:42:29 PM] Snorflake | Aria: read the fucking page
  54. [11:42:30 PM] Snorflake | Aria: please
  55. [11:42:33 PM] Snorflake | Aria: before you say anything more
  56. [11:42:40 PM] Snorflake | Aria: if you dont understand it read it again
  57. [11:43:57 PM] Cepg: Still, if you dereference it once, you're not in the vtable. You're in the actual object that holds the vtable pointer. But you seem pretty angry with my "stupidity" so I'm not gonna bother you.
  58. [11:44:06 PM] Snorflake | Aria: holy
  59. [11:44:07 PM] Snorflake | Aria: fucking
  60. [11:44:08 PM] Snorflake | Aria: shit
  61. [11:44:09 PM] Snorflake | Aria: lmfao
  62. [11:44:13 PM] Snorflake | Aria: this is going on pastebin...
  63. [11:44:21 PM] Cepg: Alright
Advertisement
Add Comment
Please, Sign In to add comment