This forum is in archive mode. You will not be able to post new content.

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - r23k

Pages: [1]
1
Hacking and Security / Re: Null encoding
« on: September 08, 2013, 02:49:25 AM »
Interesting your idea now is to test in practice.

2
I built a simple php


Code: [Select]
<?php
################################################## ###
Wordlist simple php
r23k
################################################## ###

//The getRandomword = 7 is the number of characters

function getRandomWord($len 7) {

//O array_merge = this case will be a combination of the z

$word array_merge(range('a''z'), range('A''Z'));
shuffle($word);
return 
substr(implode($word), 0$len);
}

//O 1000 = this case is the number of repetitions, here we have to make some calculations combinatorics not to repeat combinations. Eg you put $ len = 2 and 'a', 'c' is the number of repetitions equal to "6" = ab, ba, ca, ac, cb, bc or 2 * 3 = 6

for ($i 0$i 1000$i++) {
echo 
getRandomWord()."<p>";



}

?>


3
Web Oriented Coding / Re: Using XML with PHP
« on: September 04, 2013, 02:27:58 AM »
Code: [Select]
<?php

$ip 
12356;
$sistema linux;

$manipulador_arq fopen("information.xml","w+"); 


@
fwrite($manipulador_arq,"<?xml version=\"1.0\" encoding=\"utf-8\" standalone=\"yes\"?>
\n<information>\n<settings
    />\n
    <List>\n");



$xml = "<\n ip = \"$ip\"\n sistema = \"$sistema\"\n/>\n";


@fwrite($manipulador_arq,$xml);


@fwrite($manipulador_arq,"</List>\n</information>");
@fclose($manipulador_arq);


?>

Pages: [1]


Want to be here? Contact Ande, Factionwars or Kulverstukas on the forum or at IRC.