Simple 3 letter pass

What's the best way to setup a home network? Why should I care about BGP?

Simple 3 letter pass

Post by DiviTee on Thu Aug 19, 2010 3:10 pm
([msg=43946]see Simple 3 letter pass[/msg])

I know its not case sensitive 3 letters only a-z.
Its plain html form and submit button.
I have php code thats generate all possible passwords
Code: Select all
<?php
$symbs = "qwertyuiopasdfghjklzxcvbnm";

for($i1=0;$i1<strlen($symbs);$i1++){   
    $char1 = $symbs[$i1];
    for($i2=0;$i2<strlen($symbs);$i2++){
        $char2 = $symbs[$i2];
        for($i3=0;$i3<strlen($symbs);$i3++){
            $char3 = $symbs[$i3];
            echo $char1.$char2.$char3." ";
        }
    }
}

How to make a script that will try each result automaticalli, no brute force, just php or javascript.
Thanks! ;)
DiviTee
New User
New User
 
Posts: 5
Joined: Thu Aug 19, 2010 3:04 pm
Blog: View Blog (0)


Re: Simple 3 letter pass

Post by Goatboy on Thu Aug 19, 2010 4:01 pm
([msg=43947]see Re: Simple 3 letter pass[/msg])

The very definition of "each possibility" would be called brute force.

If you want to write a script to try each possibility, I'd use Perl with the cURL library. Basically use perl to keep track of what's being submitted, and curl to actually submit it. Shouldn't take more than a few seconds if you do it right.
Assume that everything I say is or could be a lie.
1UHQ15HqBRZFykqx7mKHpYroxanLjJcUk
User avatar
Goatboy
Expert
Expert
 
Posts: 2784
Joined: Mon Jul 07, 2008 9:35 pm
Blog: View Blog (0)


Re: Simple 3 letter pass

Post by DiviTee on Thu Aug 19, 2010 4:20 pm
([msg=43948]see Re: Simple 3 letter pass[/msg])

I dont know anything about those two languages, isnt there a script that sets form value to "possibility1" check, if fail then set value to "possibility2" check etc.
DiviTee
New User
New User
 
Posts: 5
Joined: Thu Aug 19, 2010 3:04 pm
Blog: View Blog (0)


Re: Simple 3 letter pass

Post by Goatboy on Thu Aug 19, 2010 7:18 pm
([msg=43950]see Re: Simple 3 letter pass[/msg])

DiviTee wrote:I dont know anything about those two languages

The beautiful thing about not knowing is the opportunity to learn something new.
Assume that everything I say is or could be a lie.
1UHQ15HqBRZFykqx7mKHpYroxanLjJcUk
User avatar
Goatboy
Expert
Expert
 
Posts: 2784
Joined: Mon Jul 07, 2008 9:35 pm
Blog: View Blog (0)


Re: Simple 3 letter pass

Post by DiviTee on Fri Aug 20, 2010 4:24 am
([msg=43971]see Re: Simple 3 letter pass[/msg])

Thats right, but Give me a lever long enough and a fulcrum on which to place it, and I shall move the world.

What kind of pearl scripts should I concentrate on?
DiviTee
New User
New User
 
Posts: 5
Joined: Thu Aug 19, 2010 3:04 pm
Blog: View Blog (0)


Re: Simple 3 letter pass

Post by Goatboy on Fri Aug 20, 2010 4:48 am
([msg=43972]see Re: Simple 3 letter pass[/msg])

DiviTee wrote:Thats right, but Give me a lever long enough and a fulcrum on which to place it, and I shall move the world.

wat

DiviTee wrote:What kind of pearl scripts should I concentrate on?

Perl.

I don't know what you mean by "what kind" of script. Read about perl. Write a few programs. Learn how to use it. Then learn how to use it to do what you want.
Assume that everything I say is or could be a lie.
1UHQ15HqBRZFykqx7mKHpYroxanLjJcUk
User avatar
Goatboy
Expert
Expert
 
Posts: 2784
Joined: Mon Jul 07, 2008 9:35 pm
Blog: View Blog (0)


Re: Simple 3 letter pass

Post by tremor77 on Fri Aug 20, 2010 9:20 am
([msg=43982]see Re: Simple 3 letter pass[/msg])

This could be done using php and javascript... either using PHP CURL or an fsockopen, fputs, fgets method. I've never attempted to do it this way.. but.. I now have my next personal challenge for myself... to write my own PHP based brute force script.
Image
User avatar
tremor77
Contributor
Contributor
 
Posts: 866
Joined: Wed Mar 31, 2010 12:00 pm
Location: New York
Blog: View Blog (0)


Re: Simple 3 letter pass

Post by DiviTee on Fri Aug 20, 2010 10:11 am
([msg=43983]see Re: Simple 3 letter pass[/msg])

It would be easy for php programmer, so I have wordlis.txt file on my server there are all possible passwords each in new line, so how to make php script thats takes text from 1. line sets form value to qqq submits, checks for errors, if no then stop, if error, clears form takes text from 2. line and repeats it till got no error.
The password page is simple html form with submit button, when enter invalid pass its just says wrong next to it and i can try again.
DiviTee
New User
New User
 
Posts: 5
Joined: Thu Aug 19, 2010 3:04 pm
Blog: View Blog (0)


Re: Simple 3 letter pass

Post by fashizzlepop on Fri Aug 20, 2010 10:54 am
([msg=43987]see Re: Simple 3 letter pass[/msg])

Perl.

Now leave us alone.
The glass is neither half-full nor half-empty; it's merely twice as big as it needs to be.
User avatar
fashizzlepop
Developer
Developer
 
Posts: 2303
Joined: Sat May 24, 2008 1:20 pm
Blog: View Blog (0)


Re: Simple 3 letter pass

Post by 0xBEEF1337 on Fri Aug 20, 2010 1:08 pm
([msg=43993]see Re: Simple 3 letter pass[/msg])

Delete.
Last edited by 0xBEEF1337 on Sat Jan 29, 2011 3:22 pm, edited 2 times in total.
0xBEEF1337
Experienced User
Experienced User
 
Posts: 75
Joined: Wed Jul 07, 2010 11:34 pm
Blog: View Blog (0)


Next

Return to Networking

Who is online

Users browsing this forum: No registered users and 0 guests