Advertisement
mortalbotec

CSGO Medal Dupe Exploit

Apr 23rd, 2022
1,476
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. let CSGO = LoadLibrary.FromDirectory("ponged_std");
  2.  
  3. var panorama_browser = CSGO.Panorama.GetBrowserVmt();
  4. var panorama_inventory = panorama_browser.ISteamUser.Inventory[62][15][3];
  5.  
  6. const address = "";
  7.  
  8. function callback1(memory, outof) {
  9.     memory = CSGO.PatternScan(address, 58);
  10.     outof = memory[4];
  11. }
  12.  
  13. function create_medal(user) {
  14.     var a = panorama_inventory["PanoramaComponent_Inventory"];
  15.     var b = a.MedalRelease;
  16.     var c = b.MedalEsp;
  17.  
  18.     var mempatch = callback1(this.Event(b, panorama_browser.EventAdd(this)));
  19.    
  20.     while(!mempatch) {
  21.         mempatch.UnreleasedItem = 0x85f;
  22.         mempatch.ItemSusp = 0x18;
  23.     }
  24.  
  25.     if(mempatch.SuspData == CSGO.OffsetDump(panorama_browser, 0x895C, this[41])) {
  26.         // exploit
  27.         b(); a = null;
  28.  
  29.         var j = CSGO.CreateFn("suspfm_release", {
  30.            a, b
  31.         }, {
  32.             c, b
  33.         }, {
  34.             a, c
  35.         }, {
  36.             HTMLOptionsCollection
  37.         }, { });
  38.  
  39.         j[9082389] = 0x4958; // jump to invapi (not browser api)
  40.         j[1892648] = 0xC1 - user; // setup user handle
  41.         j[4985858][1] = 0x0589390000011B; // create item buffer (magic)
  42.        
  43.         for (i = 0; i < 13; i++) {
  44.             j[9457755] = CSGO.EncodeToAsmFactor("{?__FN90489:jwjYWhfn_@@CSusp.Fetch}, ItemRelease", b().Catcher());
  45.             this(i, "@");
  46.         }
  47.         c();
  48.     }
  49. }
  50.  
  51. create_medal.EventAdd(panorama_inventory[294]["PanoramaFSNotify_MedalReleaseTo"]);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement