Thread: Loot Code

Results 1 to 2 of 2
  1. #1
    eteran's Avatar
    Join Date
    Aug 2014
    Gender
    male
    Location
    Bucuresti
    Posts
    105
    Reputation
    10
    Thanks
    156
    My Mood
    Amused

    Loot Code

    I need to know where is the exact location in code for this because i can't find it ...

    I rebuilt it from aob:
    7B ?? ?? ?? ?? ldfld <field>
    72 ?? ?? ?? ?? ldstr <string>
    28 ?? ?? ?? ?? call <method>
    25 dup
    26 pop
    25 dup
    75 ?? ?? ?? ?? isinst <class>
    2D ?? brtrue.s <int8 (target)>
    D0 ?? ?? ?? ?? ldtoken <token>
    28 ?? ?? ?? ?? call <method>
    25 dup
    26 pop

    I exported Assembly-UnityScript.Cleaned.dll to IL and i searched with a regex to find the location but i couldn't find anything
    Last edited by eteran; 06-21-2015 at 11:15 AM.

  2. #2
    eteran's Avatar
    Join Date
    Aug 2014
    Gender
    male
    Location
    Bucuresti
    Posts
    105
    Reputation
    10
    Thanks
    156
    My Mood
    Amused
    This is the AOB for enable all loot points:
    Code:
    02 7B ?? ?? ?? ?? 72 ?? ?? ?? ?? 28 ?? ?? ?? ?? 25 26 25 75 ?? ?? ?? ?? 2D ?? D0 ?? ?? ?? ?? 28 ?? ?? ?? ?? 28 ?? ?? ?? ?? 25 26 74 ?? ?? ?? ?? 28 ?? ?? ?? ?? 02
    so in IL it should look something like:
    Code:
    02 ldarg.0
    7B ?? ?? ?? ?? ldfld <field>
    72 ?? ?? ?? ?? ldstr <string>
    28 ?? ?? ?? ?? call <method>
    25 dup
    26 pop
    25 dup
    75 ?? ?? ?? ?? isinst <class>
    2D ?? brtrue.s
    D0 ?? ?? ?? ?? ldtoken <token>
    28 ?? ?? ?? ?? call <method>
    28 ?? ?? ?? ?? call <method>
    25 dup
    26 pop
    74 ?? ?? ?? ?? castclass <class>
    28 ?? ?? ?? ?? call <method>
    02 ldarg.0
    so i found it yeyyy
    How? With this code that i wrote(very fast and not optimized):
    Code:
    #include <iostream>
    #include <fstream>
    #include <windows.h>
    #include <conio.h>
    #include <vector>
    
    using namespace std;
    
    vector<string> get_all_files_names_within_folder(string folder){
        vector<string> names;
        char search_path[200];
        sprintf(search_path, "%s*.*", folder.c_str());
        WIN32_FIND_DATA fd;
        HANDLE hFind = ::FindFirstFile(search_path, &fd);
        if(hFind != INVALID_HANDLE_VALUE) {
            do{
                if(! (fd.dwFileAttributes & FILE_ATTRIBUTE_DIRECTORY) ){
                    names.push_back(fd.cFileName);
    
                }
            }while(::FindNextFile(hFind, &fd));
            ::FindClose(hFind);
        }
        return names;
    }
    
    bool isstart(string tmp){
        if(tmp[0]=='L' and tmp[1]=='_' and tmp[6]==':')
            return true;
        return false;
    }
    
    bool checkword(string tmp,int &state){
        switch(state){
        case 0: if(tmp=="ldfld")state++;else state=0;break;
        case 1: if(tmp=="ldstr")state++;else {state=0;checkword(tmp,state);}break;
        case 2: if(tmp=="call")state++;else {state=0;checkword(tmp,state);}break;
        case 3: if(tmp=="dup")state++;else {state=0;checkword(tmp,state);}break;
        case 4: if(tmp=="pop")state++;else {state=0;checkword(tmp,state);}break;
        case 5: if(tmp=="dup")state++;else {state=0;checkword(tmp,state);}break;
        case 6: if(tmp=="isinst")state++;else {state=0;checkword(tmp,state);}break;
        case 7: if(tmp=="brtrue.s")state++;else {state=0;checkword(tmp,state);}break;
        case 8: if(tmp=="ldtoken")state++;else {state=0;checkword(tmp,state);}break;
        case 9: if(tmp=="call")state++;else {state=0;checkword(tmp,state);}break;
        case 10: if(tmp=="call")state++;else {state=0;checkword(tmp,state);}break;
        case 11: if(tmp=="dup")state++;else {state=0;checkword(tmp,state);}break;
        case 12: if(tmp=="pop")state++;else {state=0;checkword(tmp,state);}break;
        case 13: if(tmp=="castclass")state++;else {state=0;checkword(tmp,state);}break;
        case 14: if(tmp=="call")state++;else {state=0;checkword(tmp,state);}break;
        default:break;
        }
        if(state==15){
            state=0;
            cout<<" - Here\n";
            getch();
            return true;
        }
        return false;
    }
    
    int main()
    {
        string patch="C:\\Users\\User\\Desktop\\deadff\\";
        string cfile;
        vector<string> files=get_all_files_names_within_folder(patch);
        for(int i=0;i<files.size();i++){
            bool fnd=false;
            cout<<files[i];
            cfile=patch+files[i];
            fstream f(cfile.c_str(),ios::in);
            string tmp;
            int state=0;
            while(!f.eof()){
                f>>tmp;
                if(isstart(tmp)){
                    f>>tmp;
                    if(checkword(tmp,state)){
                        fnd=true;
                        break;
                    }
                }
            }
            if(!fnd)
                cout<<" - no\n";
            f.close();
        }
        return 0;
    }
    I will not post the exact location of code just in case AdminPwn look at this because is easy to fix but i hope this help someone

Similar Threads

  1. [Source code] Anti-loot bots hack
    By JustAnoobROTMG in forum Realm of the Mad God Tutorials & Source Code
    Replies: 4
    Last Post: 07-07-2014, 11:59 AM
  2. [WTB] WoW TCG loot codes
    By ConnorMcG in forum Buying Accounts/Keys/Items
    Replies: 4
    Last Post: 01-06-2014, 09:31 PM
  3. [WTS] Picnic basket loot card code world of warcraft
    By Dolice in forum Selling Accounts/Keys/Items
    Replies: 4
    Last Post: 09-07-2013, 10:21 AM
  4. [Help] Does anyone know the code for a medical loot box ?
    By alLeXalLiVe in forum DayZ Mod & Standalone Hacks & Cheats
    Replies: 4
    Last Post: 09-14-2012, 10:34 AM
  5. a Couple WPE Weapon codes?
    By phil823 in forum WarRock - International Hacks
    Replies: 16
    Last Post: 02-10-2006, 02:14 PM