Follow us on Twitter!
Never in the field of human conflict was so much owed by so many to so few. - Winston Churchill
Saturday, April 19, 2014
Navigation
Home
HellBoundHackers Main:
HellBoundHackers Find:
HellBoundHackers Information:
Learn
Communicate
Submit
Shop
Challenges
HellBoundHackers Exploit:
HellBoundHackers Programming:
HellBoundHackers Think:
HellBoundHackers Track:
HellBoundHackers Patch:
HellBoundHackers Other:
HellBoundHackers Need Help?
Other
Members Online
Total Online: 27
Guests Online: 25
Members Online: 2

Registered Members: 82840
Newest Member: Mohammed Izzat
Latest Articles
View Thread

HellBound Hackers | Computer General | Programming

Page 1 of 3 1 2 3 >
Author

Source code


Member

Your avatar

Posts:
Location:
Joined: 01.01.70
Rank:
Guest
Posted on 20-07-05 19:35

EDIT BY MR_CHEESE:
To HBH Members reading this message: this will be removed shortly, just the facists at www.panf.info have stumbled across this site, because the "HBH Team" recently destroyed their racist community.

To PANF members reading this message:
ok, lets get a few things straight.. this website has NOTHING to do with the HBH Team.. you fuck-sticks. The HBH Team is based somewhere external to this site. So, to put it simply so you racist cunts can understand...
This website (HBH) is not affialted or condones any actions done by the HBH Team.
HBH is not The HBH Team.


So dont go shouting abuse at HBH's members and thinking your really clever. beacuse they will have no clue as to what your on about. Not only that, but if you piss of certain members on this site.. you'll be in for alot of trouble!!

Anyway.. how stupid can you be. i mean FFS it takes you nearly a month to track The HBH Team to this website. what a bunch of idiots... at this rate i can see it taking you years to track The HBH Team to its actual headquarters. pfft retards.

p.s ROLFMAO at your site. you had it comming you red neck racists. have fun attempting to rebuild it. it will never be as it was. i'd give up now. LMAO




------------------------------------------------------------------------------
BACK TO THE FORUM POST:

Well i don't know about you guys but i'm a fan of open source, i'm always curious how other people solve something and to see what they like to code etc. Especially when i'm out of ideas a good idea is always welcome so that's why i'm making this thread.
So this is basically a parking spot for all your source code that you want to showoff so other people can worship you, learn from it, be amazed, flame you about it , etc etc .

Couple of guidelines:
-------------------------
-All programming languages, scripting languages etc goes.
that means:
-Python, Visual Basic, VB.NET, C, C++, C#, Assembler, Delphi, Java, Turbo Pascal , .....
-PHP, Javascript, Visual basic script, ASP, Batch, ....
Heck, even if you want to post a brainfuck script be my guest.

- All source code is acceptable, even those for "educational purposes", but fit it with an appropriate disclaimer or use the one below.

-If there are 3th party things needed let us know.

-if it's very large code , host the source file somewhere and link it plz, so the layout doesn't get f*cked up.

-Maybe a little bit of yourself, how long you have been programming and wich languages you program in, average coding time a day etc.

-A quick comment on what it does, wich language it is and if you are willing to write a tutorial about it, if you used resources maybe a link or two.

-If somebody would want to see a tutorial about it then just post, if there are like 4 replies then a tutorial could be written.
Not that i'm saying that you have to write it but it would spice up the programming section a bit Wink



//also small programming challenges are always welcome

###########################################
DISCLAIMER
###########################################
The whole hbh team, nor the starter of this thread takes any
responsibilty of any malicious thing you are going to do with it.
All the source code is for educational purposes only.
Take responsibility for your own actions.
###########################################


So have fun posting your code, everybody's curious B)




Edited by Mr_Cheese on 14-01-06 17:14
Author

RE: Source code


Member

Your avatar

Posts:
Location:
Joined: 01.01.70
Rank:
Guest
Posted on 20-07-05 20:09
It took me about 5 months to finish this project... I invested a lot of time and emotion into it, so I feel a little sheepish about showing it to everyone, but here you go:

#include<stdio.h>

void main()
{
printf("Hello World");
}

###########################################
DISCLAIMER
###########################################
The whole hbh team, nor the starter of this thread takes any
responsibilty of any malicious thing you are going to do with it.
All the source code is for educational purposes only.
Take responsibility for your own actions.
###########################################





Edited by on 20-07-05 20:13
Author

RE: Source code


Member

Your avatar

Posts:
Location:
Joined: 01.01.70
Rank:
Guest
Posted on 20-07-05 20:17
Hey! Grayhat! You stole that code from ME!
That's my code! I'll sue, I swear!
Author

RE: Source code


Member

Your avatar

Posts:
Location:
Joined: 01.01.70
Rank:
Guest
Posted on 20-07-05 20:53
Marvelous, the geniousity, the creativity, the revolutionary ideas that hide after such few lines, brilliant.

Not exactly what i meant but you did a great job non the less. Smile



Author

RE: Source code

n3w7yp3
Member

Your avatar

Posts: 358
Location: USA
Joined: 19.03.05
Rank:
Moderate
Posted on 20-07-05 21:56
heres a little DES dictionary cracker that i made in Perl:

Code

#!/usr/bin/perl -w
 
use strict;
my $dict = shift || &usage;
my $hash = shift || &usage;
my $salt = substr($hash,0,2);
 
if(-e "$dict")
{
        open(LIST, "$dict") || die "Could not open $dict.\n";
        {
                print "Starting $0 by n3w7yp3....\n";
                print "Cracking the hash \'$hash\' that has the salt \'$salt\' using the words in \'$dict\'...\n";
                while(defined(my $passwd = <LIST>))
                {
                        chomp $passwd;
                        if(crypt($passwd, $salt) eq $hash)
                        {
                                print "Password cracked!!!\nThe password is: $passwd\n";
                                close LIST;
                                exit;
                        }
                }
                close LIST;
                die "The password was not found using the words from $dict.\n";
        }
}
die "$dict does not exist!\n";
sub usage
{
        die "Usage: $0 <wordlist> <hash>\nWordlist is the file to get words from.\nHash is the hash to crack.\n";
}





nothing too special ;-)

---EDIT---

wtf? the code didnt tab over, and my backslashes didn't show up!


"Root is a state of mind" -- K0resh

Edited by n3w7yp3 on 20-07-05 21:59
Author

RE: Source code


Member

Your avatar

Posts:
Location:
Joined: 01.01.70
Rank:
Guest
Posted on 20-07-05 22:26
nothing too special, a little game i made for linux in C++. I would post some vb stuff but thats quite hard to post.

Code

#include <iostream>
#include <iomanip>

using namespace std;

int main()
{

int i;
string question;
int random_integer;
  for(i= 0; i < 4; i++){
system("clear");
cout << "\033[31m8-ball - by scankyfrank\n";
system("sleep 0.3");
system("clear");
cout << "\033[32m8-ball - by scankyfrank\n";
system("sleep 0.3");
system("clear");
cout << "\033[33m8-ball - by scankyfrank\n";
system("sleep 0.3");
system("clear");
cout << "\033[30m8-ball - by scankyfrank\n";
}
while(question != "quit"){
random_integer = (rand()%10);
cout << "what is your question? ";
cin >> question;
switch (random_integer)
     {
  case 1:
  system("clear");
     cout << "Yes!\n";
         break;

  case 2:
  system("clear");
     cout << "No!\n";
         break;
  case 3:
  system("clear");
     cout << "Maybe...\n";
         break;
  case 4:
  system("clear");
     cout << "Definitely!\n";
         break;
  case 5:
  system("clear");
     cout << "Definitely Not!!!\n";
         break;

  case 6:
  system("clear");
     cout << "I'm a computer! How should i know!!\n";
         break;

  case 7:
  system("clear");
     cout << "Without a doubt!\n";
         break;

  case 8:
  system("clear");
     cout << "I doubt it!\n";
         break;
  case 9:
    system("clear");
     cout << "Most probably!\n";
         break;
     }
}

cout << "Bye\n";

    return 0;
}








Edited by on 20-07-05 22:27
Author

RE: Source code


Member

Your avatar

Posts:
Location:
Joined: 01.01.70
Rank:
Guest
Posted on 20-07-05 23:03
Language: C++
Purpose: Basic Portscanner
Code

#include <iostream>
#include <windows.h>
#pragma comment(lib, "ws2_32.lib")

using namespace std;
// Simple portscanner that shows the basics of socket use in C++
int main(){
//declaration of needed vars and everything
SOCKET mysocket;
int startport(0),endport(0);
char addres[MAX_PATH];
WSAData wsaData;
mysocket=WSAStartup(MAKEWORD(2,2) ,&wsaData);
if(mysocket==SOCKET_ERROR){
cout<<"Socket could not be started\n";
return 0;
}
cout<<"Socket started\n";
mysocket=socket(AF_INET, SOCK_STREAM,0);
SetConsoleTitle("$ FatBoy PortScanner $");
cout<<"\n";
cout<<"################\n";
cout<<"|PortScanner   |\n";
cout<<"|Written in C++|\n";
cout<<"|By            |\n";
cout<<"|Anarcho-Hippie|\n";
cout<<"################\n";
cout<<"\n";
cout<<"\n";
cout<<"\n";
cout<<"input ip addres here: ";
cin>>addres;
cout<<"\n";
cout<<"The Starting Port: ";
cin>>startport;
cout<<"\n";
cout<<"The Ending Port: ";
cin>>endport;
cout<<"\n";

endport++;
cout<<"###########################################################################\n";
do
{
loop:
SOCKADDR_IN server;
server.sin_port=htons(startport);
server.sin_family=AF_INET;
server.sin_addr.s_addr=inet_addr(addres);

if(connect(mysocket,(SOCKADDR*)(&server),sizeof(server))==SOCKET_ERROR)
{
cout<<startport<<" is currently on a holiday.\n";
startport++;
if(startport>=endport)
{
   cin.get();
   break;
}
goto loop;
}
else{
cout<<"Port "<<startport<<" is having a yardsale!\n";
closesocket(mysocket);
mysocket=socket(AF_INET,SOCK_STREAM,0);
startport++;
if(startport>=endport)
{
   cin.get();
   break;
}
goto loop;
}
}while (startport != endport);
cout<<"###########################################################################\n";
cout<<"thanks for using me!\n";
cin.get();
}





the freaky 92; thingies are backslashes


Author

RE: Source code


Member

Your avatar

Posts:
Location:
Joined: 01.01.70
Rank:
Guest
Posted on 20-07-05 23:05
scankyfrank wrote:
I would post some vb stuff but thats quite hard to post.


Just post the code then post the layout and the components attached to it.,





Edited by on 21-07-05 09:28
Author

RE: Source code

n3w7yp3
Member

Your avatar

Posts: 358
Location: USA
Joined: 19.03.05
Rank:
Moderate
Posted on 21-07-05 16:17
its kinda hard to post code here as it does not come out right... :-/


"Root is a state of mind" -- K0resh
Author

RE: Source code


Member

Your avatar

Posts:
Location:
Joined: 01.01.70
Rank:
Guest
Posted on 21-07-05 21:12
Yeah it doesn't include tabs and the backslash get's coded out, but anyone with half a brain in the programming language can see what it has to be, besides that, nice cracker.
Also if somebody has some vb projects that they want to share but it's to hard to post just zip in the project files and host it somewhere, then post the link.

Programming language:VB
Purpose: To get back on annoying people who don't get a clue.

Code

'#########################################
'|Msn Spammer written by Anarcho-Hippie  |
'|Some bugs need to be fixed, but it's   |
'|working normally. Just to show how to  |
'|make msn addons in vb.                 |
'#########################################

Public WithEvents msn As MessengerAPI.Messenger


Private Sub cmdstop_Click()
txtAantal.Text = 0
txtmessage.Text = ""
End Sub

Private Sub Command1_Click()
Dim i As Integer
If txtcontact.Text <> "" And txtmessage.Text <> "" And txtAantal.Text <> "" Then
cmdstop.Visible = True
For i = 0 To txtAantal.Text
Set MsnWindow = msn.InstantMessage(txtcontact.Text)
SendKeys (txtmessage.Text)
SendKeys "{ENTER}"
Next
txtAantal.Text = 0
Else
MsgBox ("Click on a contact, choose how many times, then input your message")
txtcontact.Text = ""
End If
End Sub

Private Sub Form_Load()
Set msn = New MessengerAPI.Messenger
Dim msncontact As IMessengerContact
Dim msncontacts As IMessengerContacts
Set msncontacts = msn.MyContacts
For Each msncontact In msncontacts
If msncontact.Status = MISTATUS_ONLINE Then
List1.AddItem (msncontact.SigninName)
End If
Next
End Sub

Private Sub List1_Click()
Dim email As String
Dim num As Integer

num = List1.ListIndex
email = List1.List(num)
txtcontact = email
End Sub








Edited by on 23-07-05 11:16
Author

RE: Source code


Member

Your avatar

Posts:
Location:
Joined: 01.01.70
Rank:
Guest
Posted on 21-07-05 23:29
I'd try avoiding goto's in your C++ port scanner, but it's a mighty fine intro to winsock at least, pretty nice. Anyways, I made a ServerBetaAlpha v.00000000000111111423562782 HTTP daemon

It's Winsock oriented, uses asynch sockets, compiled under VC++ (6.0) and basically I stopped working on it because I was lyke, should each client be given their own thread? Should I use a linked list to store connections on FD_ACCEPT? omg i do not no! If anyone has any advice on how to handle client connections effectively, they should tell me ;) but otherwise my project will sit here outputting a default text. Anyways, more basic functional code, a bruteforce string generator! You know, like for Cain and such:

Code
#include <iostream>
#include <string>
using std::string;
using std::cout;
using std::endl;
int main() {
    string s = "aaaa"; 
    int i = 0;
    int length = s.length();
    while(s[i]++)
    {
           
          while(s[i] == 'z' + 1) {
                s[i] = 'a';
                s[++i]++;
          }
          if(i == length)
          {
               break;
          }
          cout << s << endl;
          i = 0;
    }
    cout << "done";
    return 0;
}





Annnnnddd, now in NASM syntax! Assembles: nasm prog.asm -o prog.com (yeah...com for now)

Code
org 100h
    mov ah, 09h           ; For int 21h
    mov edx, string       ; "Load" string into dx
    mov ebx, 0            ; "placeholder" var

L1:
    int 21h               ; Printit
    inc byte[edx]         ; First character
    cmp byte[edx], 'z'    ; if 'z', process
    jle L1                ; if not z, jump back
    mov ebx, 0            ; if it falls through
                          ; Reset ebx counter
L2:
    mov byte[edx+ebx],'a' ; When the character is 'z' reset
    inc ebx               ; increase placeholder
    inc byte[edx+ebx]     ; increase char next to it
    cmp byte[edx+ebx],'z' ; Jump back if the char isn't 'z'
    jle L1
    cmp ebx, 03h          ; Check for end of string
    jle L2                ; Jump to L2 is it's not



    mov ax,04c00h         ; Errorlevel in al
    int 021h              ; Terminate



string  db 'aaaaa', 0Dh,'$'





OMG THE DEVS SHOULD ALLOW LIKE <PRE> TAGS IN THE CODE FORMATTING SO THAT IT DOESN'T MAKE MY FEELINGS CRY KK??

Edited by on 21-07-05 23:37
Author

RE: Source code


Member

Your avatar

Posts:
Location:
Joined: 01.01.70
Rank:
Guest
Posted on 22-07-05 02:27
right, i made an encryption in c++. I think its quite original becuase i haven't seen anything like it before so if you know what kinda encryption this is please tell me.

Code

#include <iostream>
using namespace std;
int main()
{
const int max = 80;
char str[max];
int count = 0;
int i = 0;
string encryption = "";


cout << "Enter a string:\n";
cin.getline(str,max,'\n');

while(str[count] != '\0')
count++;

for(i = count; i >=0; i--)
{
encryption = encryption + str[i] + str[i+1];
}
cout << encryption;
cout << "\n";
return 0;
}







also, i'm working on the decryption now, i know how it should work but i'm not sure how to code a curtain bit. So i've decided to make it a programming challenge for someone :).




Author

RE: Source code


Member

Your avatar

Posts:
Location:
Joined: 01.01.70
Rank:
Guest
Posted on 22-07-05 04:34
I'm, uh, a bit confused about your program to say the least ;)

You calculate count with a newline, which is your delineator, so it'll just run off into memory until it some how hits a 0x0A by chance :o (unless your iostream is crazy)

Then uh, I guess you work backwards from the end so like if I had entered 'hello' it would say

enc += ol;
enc += ll;
enc += el;
enc += he;

So then the encrypted string is 'olllleehh' (or lollelhe if I did it backwards), but this is hardly the case with your code, just the operator overloading on the '+' fucks things up, so that hardly works on my computer. Am I right on any of this? If so, I'm gonna make kind of a, uh, 'better' one:
[CODE]#include <iostream>
#include <string>
using namespace std;
int main()
{
string szEncout;
string szInput;

cout << "Enter a string:\n";
getline(cin, szInput);

for(int i = szInput.length() - 1; i > 0; i--)
{
szEncout += szInput[i-1];
szEncout += szInput[i];
}



cout << szEncout;
cout << "\n";
return 0;
}[/CODE]

And here's the decryptor (for the lollelhe one, the other would have been stupid!) I am infinitely ashamed that I had to resort to a char array, but assigned these values with the [] was shit, I don't know, all this overloading on the underside of things. So I did char* buf = new char[inputlen]; because the source string is guaranteed to be smaller than the encrypted one ;)
[CODE]#include <iostream>
#include <string>
using namespace std;


int main()
{
string szEncin = "";
cout << "Enter encrypted string: ";
getline(cin, szEncin);
int i = szEncin.length() - 1;
char* szOut = new char[i];


///////////
// Decryption scheme, i -= 2
// is crucial, write it out on
// paper to be sure ;)
///////////

int j = 0;
for(; i > 0; i-=2, j++)
{
szOut[j] = szEncin[i-1];
szOut[j+1] = szEncin[i];
} szOut[j+1] = 0;
cout << szOut;


return 0;
}[/CODE]



Oh well, whatever, I figured I'd post a hasher I made a little while ago that SUCKS ASS! No padding, the free() doesn't work so there's a (small) memory leak, and input needs to be greater than 32 for this to work!

[CODE]#include <stdio.h>
#include <string.h>
#include <malloc.h>

char* output = (char*) calloc(32, 1);
char* Hash(char* input, int length)
{
for(int i = 0; i < length; i++)
{
output[i%32] = (input[i] ^ i);
output[i%32] %= 26; // Forces it into 26 letter alph
output[i%32] += 97; // Makes it lower case, from 26
}
output[32] = 0; // Null terminate, no weird heap stuff
return output;
}
int main(int argc, char* argv[])
{
printf("\n\tFinal: %s", Hash(argv[1], strlen(argv[1])));
return 0;
}[/CODE]

Sample output:
C:\Tests\Debug>test omgomgomgomgomgomgomgomgomgomgomgomgomgomgomgomgomg

Final: tabqxunurarsxopurohwlstipmvmjsjk


Post some more code guys :)
Author

RE: Source code


Member

Your avatar

Posts:
Location:
Joined: 01.01.70
Rank:
Guest
Posted on 22-07-05 15:05
basic text editor :P
Code
#!/python24
print "Hello and welcome to the most basic text editor creater ever. Remember once writing the document pressing enter will close it."
b = raw_input( "What shall the file be named? " )
c = open( b + ".txt", "a" )
c.write( raw_input( "Type document now: " ) )




four lines lol


Author

RE: Source code


Member

Your avatar

Posts:
Location:
Joined: 01.01.70
Rank:
Guest
Posted on 22-07-05 15:46
nice. and it is basic code so anyone could add functions to it! Good job! Pfft


Author

RE: portscanner


Member

Your avatar

Posts:
Location:
Joined: 01.01.70
Rank:
Guest
Posted on 22-07-05 16:35
portscanner in python
Code

#!/python24
import socket
host = raw_input("What is the IP? ")
port0 = raw_input("What is the starting port? ")
port1 = raw_input("What is the finishing port? ")
output = raw_input("What shall the log output file be called? ")
port = port0
print "Scanning ports..."
z = open(output + ".txt", "a")
z.write("Scan result: ")
z.close()
while int(port) <= int(port1):
   try:
      s = socket.socket(socket.AF_INET,socket.SOCK_STREAM)
      s.connect((host, int(port)))
      z = open(output + ".txt", "a")
      z.write("Port: " + str(port) + " is open.  ")
      z.close()
      s.close()
      print port
      port = int(port) + 1     
   except socket.error:
      z = open(output + ".txt", "a")
      z.write("Port: " + str(port) + " is closed.  ")
      z.close()
      s.close()
      print port
      port = int(port) + 1








Edited by on 22-07-05 18:16
Author

RE: Source code


Member

Your avatar

Posts:
Location:
Joined: 01.01.70
Rank:
Guest
Posted on 23-07-05 02:19
This is a procedure to make a list into a matrix. Does anyone know what language this is?
Code

(define makesublist
  (lambda (list size)
    (if (zero? size)
   '()
   (cons (car list) (makesublist (cdr list) (- size 1))))))

(define shortlist
  (lambda (list number)
    (if (zero? number)
   list
   (shortlist (cdr list) (- number 1)))))

(define list->matrix
  (lambda (list)
    (let ([number (list-ref list 0)]
     [size (list-ref list 1)])
      (makelist (cddr list) number size))))

(define makelist
  (lambda (list number size)
      (if (null? list)
     '()
     (cons (makesublist list size) (makelist (shortlist list size) number size)))))






Author

RE: Source code


Member

Your avatar

Posts:
Location:
Joined: 01.01.70
Rank:
Guest
Posted on 23-07-05 03:27
Oh man... the memories...
Not too sure if I wanted to remember Scheme.
Meh
Author

RE: Source code


Member

Your avatar

Posts:
Location:
Joined: 01.01.70
Rank:
Guest
Posted on 23-07-05 14:10
dictionary md5 pass-cracker in python. very fast in IDLE.
Code
#!/python24
import md5
a = raw_input("What is the hash to be cracked? ")
z = raw_input("Where is the dictionary file? ")
c = 0
b = open( z, "r")
b.seek(0)
while ( c != a ):
    x = b.readline()
    c = md5.new(x).hexdigest()
    print x
d = open("Password.txt", "a")
d.write("Hash: " + a + " Password: " + x)







Author

RE: Source code

n3w7yp3
Member

Your avatar

Posts: 358
Location: USA
Joined: 19.03.05
Rank:
Moderate
Posted on 23-07-05 16:03
a little Perl script that will do a dictionary attack on a DES, MD5 or SHA1 hash. it will identify the appropriate algorithm to use and spit out the password if it is in the wordlist provided. it is pretty fast.

Code

#!/usr/bin/perl -w

# written by n3w7yp3

use strict;
use Digest::MD5;
use Digest::SHA1;
my $dict = shift || &usage;
my $hash = shift || &usage;
my $count = 0;
print "Starting $0 by n3w7yp3...\n";
if(!(-e "$dict"))
{
   die "$dict does not exist!\n";
}
open(LIST, "$dict") || die "Unable to open $dict!\n";
print "Cracking the hash \'$hash\', using the words in \'$dict\'...\n";
if($hash =~ /^.{32}$/)
{
   &md5;
}
if($hash =~ /^.{40}$/)
{
   &sha1;
}
else
{
   &des;
}
sub usage
{
   die "Usage: $0 <wordlist> <hash>\nWordlist is the wordlist to get words from.\nHash is the hash to crack. Valid hash types are: DES, MD5, and SHA1.\n";
}
sub md5
{
   print "Algorithm is: MD5.\n";
   while(defined(my $password = <LIST>))
   {
      chomp $password;
      my $new_md5 = Digest::MD5 -> new;
      $new_md5 -> add ("$password");
      my $new_md5_hash = $new_md5 -> hexdigest;
      $count++;
      if($new_md5_hash eq $hash)
      {
         
         print "Password cracked!!!\n";
         print "Password is: $password\n";
         print "Password was cracked in $count tries.\n";
         close LIST;
         exit;
      }
   }
   close LIST;
   die "The password was not found in the words from \'$dict\'.\n";
}
sub sha1
{
   print "Algorithm is: SHA1.\n";
   while(defined(my $password = <LIST>))
   {
      chomp $password;
      my $new_sha1 = Digest::SHA1 -> new;
      $new_sha1 -> add ("$password");
      my $new_sha1_hash = $new_sha1 -> hexdigest;
      $count++;
      if($new_sha1_hash eq $hash)
      {
         print "Password cracked!!!\n";
         print "Password is: $password\n";
         print "Password was cracked in $count tries,\n";
         close LIST;
         exit;
      }
   }
   close LIST;
   die "The password was not found in the words from \'$dict\'.\n";
}
sub des
{
   my $salt = substr($hash,0,2);
   print "Algorithm is: DES.\n";
   print "Salt is: $salt\n";
   while(defined(my $password = <LIST>))
   {
      chomp $password;
      $count++;
      if(crypt($password, $salt) eq $hash)
      {
          print "Password cracked!!!\n";
         print "Password is: $password\n";
         print "Password was cracked in $count tries.\n";
         close LIST;
         exit;
      }
   }
   close LIST;
   die "The password was not found in the words from \'$dict\'.\n";
}
      






"Root is a state of mind" -- K0resh
Page 1 of 3 1 2 3 >