exploit code

Page 2 of 2 FirstFirst 12
Results 16 to 22 of 22
  1. #16
    Tantra Freelancer A v a r a is offline
    MemberRank
    Apr 2014 Join Date
    In Your HeadLocation
    554Posts

    Re: exploit code

    Quote Originally Posted by noesis123 View Post
    I already disable those specials chars in my HTlauncher by using Hex Editor .
    Your further elaboration regarding that matter is deeply appreciated. As to how and how really...

  2. #17
    تانترا اون لاين Lunatic is offline
    MemberRank
    Jan 2014 Join Date
    KoreaLocation
    420Posts

    Re: exploit code

    just message me if you are interested :)

  3. #18
    Member dTantra is offline
    MemberRank
    Jul 2013 Join Date
    94Posts

    Re: exploit code

    Client side blocking is a very shitty way to do it, instead why not filter packets like the big servers do??

    struct MSG_STANDARD
    {
    WORD wType;
    WORD wSeq;
    WORD wPDULength;
    WORD wDummy;
    DWORD dwClientTick;
    int nID;
    };

    Code:
    bool ValidString(char * cString){
    	string lFilter = "!@#$^&*()_+-=[]{}|;:,./<>?`~ ";
    	int iResult = 1;
    	int i, j;
    	bool Continue = false;
    	const char * cFilter = "!@#$^&*()_+-=[]{}|;:,./<>?`~ ";
    
    
    	string sString = string(cString);
    
    
    	if(sString.size() == 0)
    	{
    		return true;
    	}
    
    
    	for ( i = 0; i <= sString.size() - 1 && iResult == 1; i++)
    	{
    		if(cString[i] < 0)
    		{
    			return false;
    		}
    		else if(!isalnum(cString[i]))
    		{
    			Continue = true;
    			for( j = 0; j <= lFilter.size() - 1 && Continue == true; j++)
    			{
    				Continue = true;
    				iResult = 0;
    				if(cFilter[j] == cString[i])
    				{
    					iResult = 1;
    					Continue = false;
    					break;
    				}
    			}
    		}
    	}
    
    
    	if(iResult == 1)
    	{
    		return true;
    	}
    	else
    	{
    		return false;
    	}
    };
    
    
    bool ValidName(char * cName, int cSize)
    {
    	int cResult = 0;
    	for (int i = 0; i <= cSize - 1; i++)
    	{
    		if(cName[i] < 0)
    		{
    			return false;
    		}
    		else if(!isalnum(cName[i]))
    		{
    			return false;
    		}
    	}
    	return true;
    }

  4. #19
    تانترا اون لاين Lunatic is offline
    MemberRank
    Jan 2014 Join Date
    KoreaLocation
    420Posts

    Re: exploit code

    Quote Originally Posted by dTantra View Post
    Client side blocking is a very shitty way to do it, instead why not filter packets like the big servers do??

    struct MSG_STANDARD
    {
    WORD wType;
    WORD wSeq;
    WORD wPDULength;
    WORD wDummy;
    DWORD dwClientTick;
    int nID;
    };

    Code:
    bool ValidString(char * cString){
        string lFilter = "!@#$^&*()_+-=[]{}|;:,./<>?`~ ";
        int iResult = 1;
        int i, j;
        bool Continue = false;
        const char * cFilter = "!@#$^&*()_+-=[]{}|;:,./<>?`~ ";
    
    
        string sString = string(cString);
    
    
        if(sString.size() == 0)
        {
            return true;
        }
    
    
        for ( i = 0; i <= sString.size() - 1 && iResult == 1; i++)
        {
            if(cString[i] < 0)
            {
                return false;
            }
            else if(!isalnum(cString[i]))
            {
                Continue = true;
                for( j = 0; j <= lFilter.size() - 1 && Continue == true; j++)
                {
                    Continue = true;
                    iResult = 0;
                    if(cFilter[j] == cString[i])
                    {
                        iResult = 1;
                        Continue = false;
                        break;
                    }
                }
            }
        }
    
    
        if(iResult == 1)
        {
            return true;
        }
        else
        {
            return false;
        }
    };
    
    
    bool ValidName(char * cName, int cSize)
    {
        int cResult = 0;
        for (int i = 0; i <= cSize - 1; i++)
        {
            if(cName[i] < 0)
            {
                return false;
            }
            else if(!isalnum(cName[i]))
            {
                return false;
            }
        }
        return true;
    }

    yes we can .
    but we have a different kind of idea's on how to disable those characters in .exe
    one of them is using offset .
    don't worry i will post some tutorials how to disable it. :)

  5. #20
    Tantra Freelancer A v a r a is offline
    MemberRank
    Apr 2014 Join Date
    In Your HeadLocation
    554Posts

    Re: exploit code

    Quote Originally Posted by noesis123 View Post
    yes we can .
    but we have a different kind of idea's on how to disable those characters in .exe
    one of them is using offset .
    don't worry i will post some tutorials how to disable it. :)
    I can't wait for your tutorial mate.

  6. #21
    Member dTantra is offline
    MemberRank
    Jul 2013 Join Date
    94Posts

    Re: exploit code

    Quote Originally Posted by noesis123 View Post
    lol hahaha
    Let me tell you why you don't want to bother with "clientside" fixing...

    What happens when someone else uses a different client exe but yours to connect?
    What happens when someone uses your client and just sends the packets directly without relying on the client?

    The real solution at this point is to filter the string out of your packets serverside, that way you can prevent the crashing, log who does it, disconnect just them etc.

    Enough of the source code for tantra was released that you can have a look and write new code to handle it. The same goes for all these dupes that people are exploiting, all you really need to do is save the character data right after they do anything important, eg: trading, buying, selling.

  7. #22
    Tantra Freelancer A v a r a is offline
    MemberRank
    Apr 2014 Join Date
    In Your HeadLocation
    554Posts

    Re: exploit code

    Quote Originally Posted by dTantra View Post
    Client side blocking is a very shitty way to do it, instead why not filter packets like the big servers do??

    struct MSG_STANDARD
    {
    WORD wType;
    WORD wSeq;
    WORD wPDULength;
    WORD wDummy;
    DWORD dwClientTick;
    int nID;
    };

    Code:
    bool ValidString(char * cString){
        string lFilter = "!@#$^&*()_+-=[]{}|;:,./<>?`~ ";
        int iResult = 1;
        int i, j;
        bool Continue = false;
        const char * cFilter = "!@#$^&*()_+-=[]{}|;:,./<>?`~ ";
    
    
        string sString = string(cString);
    
    
        if(sString.size() == 0)
        {
            return true;
        }
    
    
        for ( i = 0; i <= sString.size() - 1 && iResult == 1; i++)
        {
            if(cString[i] < 0)
            {
                return false;
            }
            else if(!isalnum(cString[i]))
            {
                Continue = true;
                for( j = 0; j <= lFilter.size() - 1 && Continue == true; j++)
                {
                    Continue = true;
                    iResult = 0;
                    if(cFilter[j] == cString[i])
                    {
                        iResult = 1;
                        Continue = false;
                        break;
                    }
                }
            }
        }
    
    
        if(iResult == 1)
        {
            return true;
        }
        else
        {
            return false;
        }
    };
    
    
    bool ValidName(char * cName, int cSize)
    {
        int cResult = 0;
        for (int i = 0; i <= cSize - 1; i++)
        {
            if(cName[i] < 0)
            {
                return false;
            }
            else if(!isalnum(cName[i]))
            {
                return false;
            }
        }
        return true;
    }
    I think this code is strong enough to handle those exploit but the problem is I don't know how to implement this thing. I have been looking everywhere to find a solution and I guess yours is the strong one. Please shred us some light regarding this code you have shared.

    Ciao!



Page 2 of 2 FirstFirst 12

Advertisement