Results 1 to 3 of 3
  1. #1
    supercarz1991's Avatar
    Join Date
    Jul 2010
    Gender
    male
    Location
    North of Hell, South of Heaven
    Posts
    6,067
    Reputation
    323
    Thanks
    3,323
    My Mood
    Doh

    XOR String html file?

    I can't seem to find it. I had it bookmarked for a long ass time, but in a recent system wipe, it was lost. Was wondering if anyone could point me in the right direction for this file, googled for awhile, but every other XOR out there requires a password and i don't have one for my XOR as far as i can tell anyway

    commando: You're probably the best non-coder coder I know LOL


  2. #2
    Ch40zz-C0d3r's Avatar
    Join Date
    Apr 2011
    Gender
    male
    Posts
    839
    Reputation
    44
    Thanks
    400
    My Mood
    Twisted
    A password can be written in hex.... 0xDEADBEEF
    BTW it seems that you didnt understand how XOR works... It HAS to have a password, or with what do you think you are actually XORring your string? -.-
    Last edited by Ch40zz-C0d3r; 03-23-2014 at 10:42 AM.

    Progress with my game - "Disbanded"
    • Fixed FPS lag on spawning entities due to the ent_preload buffer!
    • Edit the AI code to get some better pathfinding
    • Fixed the view bug within the sniper scope view. The mirror entity is invisible now!
    • Added a new silencer for ALL weapons. Also fixed the rotation bugs
    • Added a ton of new weapons and the choice to choose a silencer for every weapon
    • Created a simple AntiCheat, noobs will cry like hell xD
    • The name will be Disbanded, the alpha starts on the 18th august 2014



    Some new physics fun (Serversided, works on every client)



    My new AI
    http://www.youtube.com/watch?v=EMSB1GbBVl8

    And for sure my 8 months old gameplay with 2 friends
    http://www.youtube.com/watch?v=Na2kUdu4d_k

  3. #3
    Acea's Avatar
    Join Date
    Oct 2012
    Gender
    female
    Location
    Home of the elks
    Posts
    346
    Reputation
    80
    Thanks
    2,204
    My Mood
    Stressed
    Code:
    <HTML> 
     
    <HEAD> 
     
    <SCRIPT language=JavaScript> 
     
    var symbols = " !\"#$%&'()*+'-./0123456789:;<=>?@";
    function toAscii (xx)  
    {
    	var loAZ = "abcdefghijklmnopqrstuvwxyz";
    	symbols+= loAZ.toUpperCase();
    	symbols+= "[\\]^_`";
    	symbols+= loAZ;
    	symbols+= "{|}~";
    	var loc;
    	loc = symbols.indexOf(xx);
    	if (loc >-1) 
    	{ 
    		Ascii_Decimal = 32 + loc;
    		return (32 + loc);
    	}
    	return(0);  // If not in range 32-126 return ZERO
    }
     
    function Dec2Hex(Decimal) 
    {
    	var hexChars = "0123456789ABCDEF";
    	var a = Decimal % 16;
    	var b = (Decimal - a)/16;
    	hex = "" + hexChars.charAt(b) + hexChars.charAt(a);
    	L = hexChars.charAt(a);
    	H = hexChars.charAt(b);
    	return hex;
    }
     
    function randByte() { return Math.floor(Math.random()*256%256); }
     
     
    function blub(form) 
    {
    	s1 = form.inp.value;
    	xvaluestart = randByte();
    	xrefkill =  "0x" + Dec2Hex(randByte()) + Dec2Hex(randByte()) + Dec2Hex(randByte()) + Dec2Hex(randByte());
     
    	finallen = s1.length+1;
     
    	hexsequence = '"';
    	xvalue = xvaluestart;
    	for(i=0;i<s1.length;i++) 
    	{ 
    		ch     = s1.substr(i,1); 
    		var chval; 
    		if(ch=="\\"){ 
    		    i++; 
    		    ch     = s1.substr(i,1); 
    		    if(ch=="0")       { chval = 0;  } 
    		    else if(ch=="n")  { chval = 10; } 
    		    else if(ch=="\\") { chval = toAscii("\\"); } 
    		    else if(ch=="r")  { chval = 13; } 
    		    else { javascript:alert("invalid control sequence: \\"+ch); } 
    		    --finallen; 
    		} 
    		else if(ch=="|"){ 
    		    chval=0; 
    		} 
    		else { 
    		    chval  = toAscii(ch); 
    		    if(chval==0) { form.ans.value = "invalid character: "+ch; return; } 
            } 
    		chval ^=xvalue; 
    		xvalue += 1; 
    		xvalue %= 256; 
    		hexsequence += "\\x"+ Dec2Hex(chval); 
    	} 
    	hexsequence += '"'; 
    	
    	s2  = "/*"+s1+"*/XorStr<0x" + Dec2Hex(xvaluestart) + ","  + finallen + ","+xrefkill+'>('
    	s2 += hexsequence + "+" + xrefkill + ").s";
    	
    	form.ans.value = s2;
    	form.ans.focus();
    	form.ans.select();
    }
     
     
    </SCRIPT> 
    </HEAD> 
     
     
    <BODY background="../imgs/bg.gif"> 
    <CENTER> 
    <FORM name=formx> 
    <INPUT name=inp size=20 value="IsDebuggerPresent">  <br><br>	
    <INPUT onclick=blub(this.form) type=button value="******  CONVERT TO XOR STRING   ******"><br>&nbsp;&nbsp; 
    <INPUT name=ans size=220 ?number?> 
    </FORM> 
    </CENTER>

  4. The Following User Says Thank You to Acea For This Useful Post:

    supercarz1991 (03-23-2014)

Similar Threads

  1. [Help] Edit HTML file
    By ShifterCZ in forum Web Languages
    Replies: 5
    Last Post: 03-25-2014, 11:40 PM
  2. [Release] Johnny XOR-GEN [.HTML]
    By Johnny9813 in forum Combat Arms BR Hack Coding/Source Code
    Replies: 23
    Last Post: 11-25-2013, 03:18 AM
  3. [Help] Finding a string within html webpage
    By DawgiiStylz in forum Visual Basic Programming
    Replies: 9
    Last Post: 12-21-2012, 11:43 AM
  4. [Help] Read a external txt file in a html file
    By shotyoudie in forum Web Languages
    Replies: 2
    Last Post: 10-05-2010, 01:42 PM
  5. Free File Hosts
    By Paolo1993 in forum Spammers Corner
    Replies: 5
    Last Post: 04-12-2008, 09:33 PM