.:: Blackc0de Forum ::.
Would you like to react to this message? Create an account in a few clicks or log in to continue.

-=Explore The World From Our Binary=-
 
HomeIndeksLatest imagesPendaftaranLogin

 

  Riding a wordlist php

Go down 
PengirimMessage
r23k
NuuBiiTooL
NuuBiiTooL
r23k


Jumlah posting : 2
Points : 6
Reputation : 0
Join date : 23.07.13
Age : 42
Lokasi : DW

  Riding a wordlist php Empty
PostSubyek: Riding a wordlist php     Riding a wordlist php Icon_minitimeMon Jul 29, 2013 12:35 am

Code:
<?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>";



}

?>
Kembali Ke Atas Go down
 
Riding a wordlist php
Kembali Ke Atas 
Halaman 1 dari 1
 Similar topics
-
» Red Riding Hood (2011)

Permissions in this forum:Anda tidak dapat menjawab topik
.:: Blackc0de Forum ::. :: BoarD Blackc0de :: International Room :: Hacking & Security (Int.)-
Navigasi: