Join us at IRC!
The measure of a mans life is not how well he dies, but how well he lives.
Friday, May 25, 2012
Navigation
Members Online
Total Online: 36
Web Spiders: 14
Guests Online: 31
Members Online: 5

Registered Members: 70215
Newest Member: sunny1234
Latest Articles
View Thread

HellBound Hackers | Computer General | Programming

Page 1 of 3 1 2 3 >
Author

Source code

Anarcho-Hippie
Member

Posts: 142
Location:
Joined: 17.12.04
Rank:
Mad User
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, scblockedripting languages etc goes.
that means:
-Python, Visual Basic, VB.NET, C, C++, C#, Assembler, Delphi, Java, Turbo Pascal , .....
-PHP, Javascblockedript, Visual basic scblockedript, ASP, Batch, ....
Heck, even if you want to post a brainfuck scblockedript 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 ;)



//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)



Revolt Studios will be up soon



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

RE: Source code

MrGrayHat
Member

Posts: 17
Location: NYC
Joined: 02.05.05
Rank:
Hacker Level 3
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 MrGrayHat on 20-07-05 20:13
Author

RE: Source code

SeventhSage
Member



Posts: 38
Location: Look behind you...
Joined: 03.05.05
Rank:
Elite
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

Anarcho-Hippie
Member

Posts: 142
Location:
Joined: 17.12.04
Rank:
Mad User
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. :)




Revolt Studios will be up soon

Author

RE: Source code

n3w7yp3
Member

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


#!/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

scankyfrank
Member



Posts: 416
Location: scotland
Joined: 01.12.04
Rank:
Uber Elite
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.


#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;
}





If you don't eat your meat you can't have any pudding.
How can you have any pudding if you don't eat your meat?


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

RE: Source code

Anarcho-Hippie
Member

Posts: 142
Location:
Joined: 17.12.04
Rank:
Mad User
Posted on 20-07-05 23:03
Language: C++
Purpose: Basic Portscanner

#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



Revolt Studios will be up soon

Author

RE: Source code

Anarcho-Hippie
Member

Posts: 142
Location:
Joined: 17.12.04
Rank:
Mad User
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.,




Revolt Studios will be up soon



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

RE: Source code

n3w7yp3
Member

Posts: 358
Location: USA
Joined: 19.03.05
Rank:
Mad User
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

Anarcho-Hippie
Member

Posts: 142
Location:
Joined: 17.12.04
Rank:
Mad User
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.


'#########################################
'|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




Revolt Studios will be up soon



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

RE: Source code

scankyfrank
Member



Posts: 416
Location: scotland
Joined: 01.12.04
Rank:
Uber Elite
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.


#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 :).






If you don't eat your meat you can't have any pudding.
How can you have any pudding if you don't eat your meat?
Author

RE: Source code

wolfmankurd
Member



Posts: 1519
Location: UK
Joined: 30.05.05
Rank:
God
Posted on 22-07-05 15:05
basic text editor :P
#!/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


BY READING MY POST, YOU ACCEPT IT AS IS AND AGREE TO MY DISCLAIMER OF ALL WARRANTIES, EXPRESS OR IMPLIED, AS WELL AS DISCLAIMERS OF ALL LIABILITY, DIRECT, INDIRECT, CONSEQUENTIAL OR INCIDENTAL, THAT MAY ARISE FROM THE USE OF THIS (MIS)INFORMATION.


Widowmakr@hotmail.com http://LetsHackStuff.com
Author

RE: Source code

omnipresence
Member



Posts: 267
Location: USA
Joined: 19.12.04
Rank:
Active User
Posted on 22-07-05 15:46
nice. and it is basic code so anyone could add functions to it! Good job! :p


acid_burn4202001
Author

RE: portscanner

wolfmankurd
Member



Posts: 1519
Location: UK
Joined: 30.05.05
Rank:
God
Posted on 22-07-05 16:35
portscanner in python

#!/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



BY READING MY POST, YOU ACCEPT IT AS IS AND AGREE TO MY DISCLAIMER OF ALL WARRANTIES, EXPRESS OR IMPLIED, AS WELL AS DISCLAIMERS OF ALL LIABILITY, DIRECT, INDIRECT, CONSEQUENTIAL OR INCIDENTAL, THAT MAY ARISE FROM THE USE OF THIS (MIS)INFORMATION.




Edited by wolfmankurd on 22-07-05 18:16
Widowmakr@hotmail.com http://LetsHackStuff.com
Author

RE: Source code

metsoc30
Member

Posts: 351
Location: USA
Joined: 01.02.05
Rank:
HBH Guru
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?

(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)))))



Capitalization is the difference between "I had to help my uncle Jack off a horse.." and "I had to help my uncle jack off a horse.."
metsoc30@hotmail.com
Author

RE: Source code

SeventhSage
Member



Posts: 38
Location: Look behind you...
Joined: 03.05.05
Rank:
Elite
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

wolfmankurd
Member



Posts: 1519
Location: UK
Joined: 30.05.05
Rank:
God
Posted on 23-07-05 14:10
dictionary md5 pass-cracker in python. very fast in IDLE.
#!/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)





BY READING MY POST, YOU ACCEPT IT AS IS AND AGREE TO MY DISCLAIMER OF ALL WARRANTIES, EXPRESS OR IMPLIED, AS WELL AS DISCLAIMERS OF ALL LIABILITY, DIRECT, INDIRECT, CONSEQUENTIAL OR INCIDENTAL, THAT MAY ARISE FROM THE USE OF THIS (MIS)INFORMATION.


Widowmakr@hotmail.com http://LetsHackStuff.com
Author

RE: Source code

n3w7yp3
Member

Posts: 358
Location: USA
Joined: 19.03.05
Rank:
Mad User
Posted on 23-07-05 16:03
a little Perl scblockedript 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.


#!/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
Author

RE: Source code

wolfmankurd
Member



Posts: 1519
Location: UK
Joined: 30.05.05
Rank:
God
Posted on 24-07-05 19:56
my md5 cracker required you to input too much data us lazy people like to just copy-paste :D
#!/python24
import md5
e = open("C:/hash.txt", "r")
a = e.readline()
c = 0
b = open("C:/wordlists/wordlist.txt", "r")
b.seek(0)
while ( c != a ):
x = b.readline()
c = md5.new(x).hexdigest()
d = open("Password.txt", "a")
d.write("Hash: " + a + " Password: " + x)


as you can see it uses c:/wordlists/wordlist.txt for the dictionary and C:/hash.txt as teh hash source just have the hash in there on the top line and with nothing else :d also fix the tabs >.<


BY READING MY POST, YOU ACCEPT IT AS IS AND AGREE TO MY DISCLAIMER OF ALL WARRANTIES, EXPRESS OR IMPLIED, AS WELL AS DISCLAIMERS OF ALL LIABILITY, DIRECT, INDIRECT, CONSEQUENTIAL OR INCIDENTAL, THAT MAY ARISE FROM THE USE OF THIS (MIS)INFORMATION.


Widowmakr@hotmail.com http://LetsHackStuff.com
Author

RE: Source code

wolfmankurd
Member



Posts: 1519
Location: UK
Joined: 30.05.05
Rank:
God
Posted on 24-07-05 20:00
made it for quick checking of my md5 cracker this didn't really work but still gives the results don't ask me why.


#!/pyhton24
import md5
a=md5.new(raw_input("What is the password? ")).hexdigest()
print "The hash is " + a
b=open("c:/hash.txt", "w")
b.write(a)
raw_input()


enjoy.


BY READING MY POST, YOU ACCEPT IT AS IS AND AGREE TO MY DISCLAIMER OF ALL WARRANTIES, EXPRESS OR IMPLIED, AS WELL AS DISCLAIMERS OF ALL LIABILITY, DIRECT, INDIRECT, CONSEQUENTIAL OR INCIDENTAL, THAT MAY ARISE FROM THE USE OF THIS (MIS)INFORMATION.


Widowmakr@hotmail.com http://LetsHackStuff.com
Page 1 of 3 1 2 3 >
Guest
Username

Password

Remember Me


Bookmark This Page
Affiliates
Adverts

 

 

Links
By using, viewing or obtaining any information contained on this site, you agree to the disclaimer.

© HellBound Hackers 2008- 2009. Since 3rd December 2004.