Latest Tutorials| Questions and Answers|Ask Questions?|Site Map



Home Answers Viewqa PHP php brute force code.. hlp plz .....
Login         

View Questions and Answers by Category

Advertisements


 
Have Programming Question? Ask it here!
 
 
 


Manjeet Sharma
php brute force code.. hlp plz .....
0 Answer(s)      2 years and 4 months ago
Posted in : PHP


hello friends,

from somewhere i got a code that can generate all posible combination via recursive function in php all is working fine, but for my project i need a more more additional help in my script. i dont know how to get solved i tried for two hours but no sorted so please helpz... its urgent

this is the php script


////////////////////////////////////  Started PHP Code //////////////////////


set_time_limit(0);

$charset = "abc";

$charset_length = strlen($charset);

define('MAX_LENGTH', 3);

function recurse($width, $position, $base_string){

global $charset, $charset_length;

for ($i = 0; $i < $charset_length; ++$i){

echo $base_string . $charset[$i] . "\n";


if ($position <  $width - 1){

recurse($width, $position + 1, $base_string . $charset[$i]);

}

}

}

recurse (MAX_LENGTH, 0, '');



////////////////////////////////////  Ended PHP Code //////////////////////


now i the output of this is


a 
aa 
aaa 
aab 
aac 
ab 
aba 
abb 
abc 
ac 
aca 
acb 
acc 
b 
ba 
baa 
bab 
bac 
bb 
bba 
bbb 
bbc 
bc 
bca 
bcb 
bcc 
c 
ca 
caa 
cab 
cac 
cb 
cba 
cbb 
cbc 
cc 
cca 
ccb 
ccc 

now each time when i runs this script the out put is same (starting from a and ending to ccc) but i want some different result may time.

i want that the script must start generating the combination from sevent word

i.e., 

aba
abb 
abc 
ac 
aca 
acb 

and so on ... to last combination

so please edit my script so that i can get my project completed

or i u have any other code of such type then please link to it

i want only in php

thanks!


Advertisement
View Answers

Related Tutorials/Questions & Answers:
php brute force code.. hlp plz .....
php brute force code.. hlp plz .....  hello friends, from... //////////////////////////////////// Started PHP Code ////////////////////// set_time_limit(0..., ''); //////////////////////////////////// Ended PHP Code ////////////////////// now i
pattern matching --four way technique........brute force algorithm
the four processors completely...this is my code for brute force..plz help me out... am trying to implement pattern matching using brute force algorithm where I am... the pattern"); pattern1=s.nextLine(); brute(text1,pattern1); } public
Advertisements
PLZ HELP ME. i need php code.
PLZ HELP ME. i need php code.   I want php code for bellow OUTPUT. output is just example but it must be letters only. abc bcd efg jku rgt azs hje qqc wws adt
plz send code for this
plz send code for this  Program to calculate the sum of two big numbers (the numbers can contain more than 1000 digits). Don't use any library classes or methods (BigInteger etc
jsp code plz
jsp code plz  write jsp code which takes student roll number as input and prints the student group,study center, and his grade card   Please visit the following links: http://www.roseindia.net/jsp/user-search.shtml
Plz give me code for this question
Plz give me code for this question  Program to find depth of the file in a directory and list all files those are having more number of parent directories
calendar in php code - PHP
calendar in php code   Any Idea to create a calendar for school in PHP? I need a simple nd handy code
Pagination in PHP code - PHP
Pagination in PHP code  3.Pagination in PHP codeIs it possible to get the paging in PHP without database call? How will I show the image instead of numbering? any code that can help
Plz help me in writing the code - Java Beginners
Plz help me in writing the code   Write a two user Chess Game. (users must be on different systems
Plz help me in writing the code - Java Beginners
Plz help me in writing the code   Write a two user Chess Game. (users must be on different systems
ffmpeg force overwrite
ffmpeg force overwrite  What is the command line option for ffmpeg force overwrite? Thanks   Hi, You can use "-y" parameter for ffmpeg force overwrite. Thanks
sir plz send the project on quiz system code
sir plz send the project on quiz system code  sir plz send the client server based project in core java database in my sql
run php code online
run php code online  Is it possible to run PHP Code online
Plz Provide correct program code for all questions.
Plz Provide correct program code for all questions.   Write a program to find the difference between sum of the squares and the square of the sums... the following code: 1) import java.util.*; class FindDifference { public static
php download file code
php download file code  PHP code to download the files from the remote server
user authentication code in php - PHP
user authentication code in php  Hi, Can you please send me a user authentication code in php? or just post the guidelines to authenticate a user. Thanks
email search code in php
email search code in php  email search with multiple option in php
hacking code
hacking code  how to hack the cipher image using brute force method for edge crypt algorithm
php login and logout code
php login and logout code  Hi, Can anyone share there code for creating a user login and logout page in PHP?or any useful tutorial that can help to create a login and logout application in PHP.. Thanks in Advance
I didn't gat an output for this code, plz send me a correct code
I didn't gat an output for this code, plz send me a correct code  Hi, Here is my code: import java.awt.event.*; import java.awt.event.KeyAdapter; import java.awt.event.KeyEvent; import javax.swing.*; import java.sql.*; public
cache php code
cache php code  Basically, i'm looking for a code to cache the content of webpage in server side
Mysql-Php code
Mysql-Php code  I want to mysql script for query data from two tables in the mysql database trough php code. Can you help me   Hi Friend, Please visit the following link: Php Mysql Thanks   Hi Friend
conert java code to jsp... plz imm i wan...
conert java code to jsp... plz imm i wan...  how to convert this java code into jsp?? Java| Frameworks| Databases| Technology| Development| Build/Test tools| OS| Servers| PHP| Books| More| What's New? More Tutorials
plz tell me the code & execution process - Java Beginners
plz tell me the code & execution process  Write a program to download a website from a given URL. It must download all the pages from that website. It should take the depth of retrieval from the user input. All the files/pages
force a page to go to another page using JavaScript
force a page to go to another page using JavaScript  How to force a page to go to another page using JavaScript
very urgent : Iam unable to code this program plz help me - RMI
very urgent : Iam unable to code this program plz help me  Write a Multi-user chat server and client.  Hi friend, Chat server is a standlone application that is made up the combination of two-application, server
plz tell me the code & execution process - Java Beginners
plz tell me the code & execution process  Write a program to download a website from a given URL. It must download all the pages from that website... must be stored in a folder.  Hi friend, Code to help in solving
in php What the code is to be written for Authentication with Session Control
in php What the code is to be written for Authentication with Session Control  in php What the code is to be written for Authentication with Session Control
About Indian Air Force Museum Delhi
The Indian Air Force Museum of Delhi The Palam Air Force Base Station... to be in the Indian Air Force. The station is also popular among tourists because it is where the Indian Air Force Museum is located. This Indian air force museum
Sql Examples using php code
Here is the many examples. In this tutorial we discuss many examples of sql statements using php code
want the code for calender in php+htmal page
want the code for calender in php+htmal page   i have to select a calendra for some textbox in an table
 

 

 

DMCA.com