Waraxe IT Security Portal
Login or Register
December 23, 2024
Menu
Home
Logout
Discussions
Forums
Members List
IRC chat
Tools
Base64 coder
MD5 hash
CRC32 checksum
ROT13 coder
SHA-1 hash
URL-decoder
Sql Char Encoder
Affiliates
y3dips ITsec
Md5 Cracker
User Manuals
AlbumNow
Content
Content
Sections
FAQ
Top
Info
Feedback
Recommend Us
Search
Journal
Your Account
User Info
Welcome, Anonymous
Nickname
Password
(Register)

Membership:
Latest: MichaelSnaRe
New Today: 0
New Yesterday: 0
Overall: 9144

People Online:
Visitors: 88
Members: 0
Total: 88
Full disclosure
CyberDanube Security Research 20241219-0 | Authenticated Remote Code Execution in Ewon Flexy 205
Stored XSS with Filter Bypass - blogenginev3.3.8
[SYSS-2024-085]: Broadcom CA Client Automation - Improper Privilege Management (CWE-269)
[KIS-2024-07] GFI Kerio Control <= 9.4.5 Multiple HTTP Response Splitting Vulnerabilities
RansomLordNG - anti-ransomware exploit tool
APPLE-SA-12-11-2024-9 Safari 18.2
APPLE-SA-12-11-2024-8 visionOS 2.2
APPLE-SA-12-11-2024-7 tvOS 18.2
APPLE-SA-12-11-2024-6 watchOS 11.2
APPLE-SA-12-11-2024-5 macOS Ventura 13.7.2
APPLE-SA-12-11-2024-4 macOS Sonoma 14.7.2
APPLE-SA-12-11-2024-3 macOS Sequoia 15.2
APPLE-SA-12-11-2024-2 iPadOS 17.7.3
APPLE-SA-12-11-2024-1 iOS 18.2 and iPadOS 18.2
SEC Consult SA-20241211-0 :: Reflected Cross-Site Scripting in Numerix License Server Administration System Login
Log in Register Forum FAQ Memberlist Search
IT Security and Insecurity Portal

www.waraxe.us Forum Index -> All other security holes -> Source PHP Decode MySql SHA1 Brutus Force
Post new topicReply to topic View previous topic :: View next topic
Source PHP Decode MySql SHA1 Brutus Force
PostPosted: Sun Jan 20, 2008 6:30 pm Reply with quote
nox
Advanced user
Advanced user
Joined: Dec 29, 2007
Posts: 100
Location: c://windows/system32




Need programer PHP : Source PHP Decode MySql SHA1 Brutus Force by wordlist

wordlist.txt

THank You Cool

Exemple Hash : D98ABA786F6715F905E1A11EFF509DFD47FF1136

_________________
..::::[ Waraxe.us is the BEST and the TOP ]::::..
View user's profile Send private message Send e-mail Visit poster's website MSN Messenger
PostPosted: Wed Jan 23, 2008 12:55 pm Reply with quote
ploert
Regular user
Regular user
Joined: Jan 23, 2008
Posts: 21




<?php
//EDIT: now works with lower-and UPPERcase
if ($_SERVER['REQUEST_METHOD'] == 'POST')
{
$words = file_get_contents('wordlist.txt');
$words = str_replace("\r", "\n", $words);
$words = str_replace("\n\n", "\n", $words);
$words = explode("\n", $words);

for ($i = 0; $i < count($words); $i++)
{
if (sha1($words[$i]) == strtolower($_POST['hash']))
{
echo 'Match found: '.$_POST['hash'].' is <b>'.$words[$i].'</b>';
$found = true;
break;
}
}

if (!$found) echo 'No hash found.';
}

?>

<form method="POST">
Hash: <input type="text" name="hash" value="<?=$_POST['hash']?>">
<br />
<input type="submit" value=" go " />
</form>


Last edited by ploert on Wed Jan 23, 2008 8:29 pm; edited 2 times in total
View user's profile Send private message
PostPosted: Wed Jan 23, 2008 12:56 pm Reply with quote
ploert
Regular user
Regular user
Joined: Jan 23, 2008
Posts: 21




note it doesn't add anything and it's case sensitive, aka hello doesn't match for Hello, if you need anything more detailed let me know

ps. wordlist isn't a download, should it be?
View user's profile Send private message
PostPosted: Wed Jan 23, 2008 4:58 pm Reply with quote
nox
Advanced user
Advanced user
Joined: Dec 29, 2007
Posts: 100
Location: c://windows/system32




Not work Cool

_________________
..::::[ Waraxe.us is the BEST and the TOP ]::::..
View user's profile Send private message Send e-mail Visit poster's website MSN Messenger
PostPosted: Wed Jan 23, 2008 5:12 pm Reply with quote
ploert
Regular user
Regular user
Joined: Jan 23, 2008
Posts: 21




I can't guess what exactly you want, the code does what you requested Razz

"Not work" doesn't give me enough info there, I have tested it with a plaintext wordlist of two whole words, and it found the hash there.
View user's profile Send private message
PostPosted: Wed Jan 23, 2008 5:20 pm Reply with quote
waraxe
Site admin
Site admin
Joined: May 11, 2004
Posts: 2407
Location: Estonia, Tartu




nox wrote:
Not work Cool


It's because you want to crack SHA1 hash, that no one had hacked before ... It's probably too good plaintext password for cracking. Noone can do miracles - if pass is good then hash is uncrackable, period.
View user's profile Send private message Send e-mail Visit poster's website
PostPosted: Wed Jan 23, 2008 5:23 pm Reply with quote
nox
Advanced user
Advanced user
Joined: Dec 29, 2007
Posts: 100
Location: c://windows/system32




look here Cool :

Type Hash
--------- ---------

TEXT 123456
MD2 D4541250B586296FCCE5DEA4463AE17F
MD4 585028AA0F794AF812EE3BE8804EB14A
MD5 E10ADC3949BA59ABBE56E057F20F883E
SHA-1 7C4A8D09CA3762AF61E59520943DC26494F8941B
SHA-2 (256) 8D969EEF6ECAD3C29A3A629280E686CF0C3F5D5A86AFF3CA12020C923ADC6C92
SHA-2 (384) 0A989EBC4A77B56A6E2BB7B19D995D185CE44090C13E2984B7ECC6D446D4B61EA9991B76A4C2F04B1B4D244841449454
SHA-2 (512) BA3253876AED6BC22D4A6FF53D8406C6AD864195ED144AB5C87621B6C233B548BAEAE6956DF346EC8C17F5EA10F35EE3CBC514797ED7DDD3145464E2A0BAB413
RIPEMD-160 D8913DF37B24C97F28F840114D05BD110DBB2E44
LM 44EFCE164AB921CA
NT 32ED87BDB5FDC5E9CBA88547376818D4
MySQL323 565491D704013245

MySQLSHA1 6BB4837EB74329105EE4568DDA7DC67ED2CA2AD9
Cisco PIX jDUXMyqeIzxQIVgK
VNC Hash 494015F9A35E8B22


__________________

Pic Arrow :



when i put a Hash Mysql SHA-1 : " Not Fond "

_________________
..::::[ Waraxe.us is the BEST and the TOP ]::::..
View user's profile Send private message Send e-mail Visit poster's website MSN Messenger
PostPosted: Wed Jan 23, 2008 6:12 pm Reply with quote
ploert
Regular user
Regular user
Joined: Jan 23, 2008
Posts: 21




If the wordlist doesn't contain the password, then you will not find the password - because it's not in the wordlist.

Brute force (without wordlist) will give you the result 100% guaranteed - in about 20 years if you run it on one PC.
View user's profile Send private message
PostPosted: Wed Jan 23, 2008 6:24 pm Reply with quote
waraxe
Site admin
Site admin
Joined: May 11, 2004
Posts: 2407
Location: Estonia, Tartu




ploert wrote:
If the wordlist doesn't contain the password, then you will not find the password - because it's not in the wordlist.

Brute force (without wordlist) will give you the result 100% guaranteed - in about 20 years if you run it on one PC.


20 years is in case of easy passwords ...
I look right now on Cain bruteforce estimations:

loweralpha [a-z]{1,16} --> 427 000 000 years Smile
View user's profile Send private message Send e-mail Visit poster's website
PostPosted: Wed Jan 23, 2008 6:29 pm Reply with quote
ploert
Regular user
Regular user
Joined: Jan 23, 2008
Posts: 21




Woa Razz Easier to buy a gun and point it at the admin then ^^
View user's profile Send private message
PostPosted: Wed Jan 23, 2008 6:53 pm Reply with quote
waraxe
Site admin
Site admin
Joined: May 11, 2004
Posts: 2407
Location: Estonia, Tartu




ploert wrote:
Woa Razz Easier to buy a gun and point it at the admin then ^^


http://en.wikipedia.org/wiki/Rubber-hose_cryptanalysis
http://en.wikipedia.org/wiki/Black-bag_cryptanalysis

Laughing
View user's profile Send private message Send e-mail Visit poster's website
PostPosted: Wed Jan 23, 2008 7:59 pm Reply with quote
nox
Advanced user
Advanced user
Joined: Dec 29, 2007
Posts: 100
Location: c://windows/system32




but the password is added in wordlist.txt

exemple wordlist.txt

123456
hacker
spammer
defacer


123456 = 6BB4837EB74329105EE4568DDA7DC67ED2CA2AD9

when i put a Hash Mysql SHA-1 : " Not Fond " Crying or Very sad ???

_________________
..::::[ Waraxe.us is the BEST and the TOP ]::::..
View user's profile Send private message Send e-mail Visit poster's website MSN Messenger
PostPosted: Wed Jan 23, 2008 8:28 pm Reply with quote
ploert
Regular user
Regular user
Joined: Jan 23, 2008
Posts: 21




oh hehe my bad then Smile

it compares the strings case-sensitive

6BB4837EB74329105EE4568DDA7DC67ED2CA2AD9

!=

6bb4837eb74329105ee4568dda7dc67ed2ca2ad9

I'll edit the code above to make it work with CAPITALS too
View user's profile Send private message
PostPosted: Thu Jan 24, 2008 6:42 am Reply with quote
nox
Advanced user
Advanced user
Joined: Dec 29, 2007
Posts: 100
Location: c://windows/system32




not wr0k Confused Shocked

_________________
..::::[ Waraxe.us is the BEST and the TOP ]::::..
View user's profile Send private message Send e-mail Visit poster's website MSN Messenger
PostPosted: Thu Jan 24, 2008 6:45 am Reply with quote
nox
Advanced user
Advanced user
Joined: Dec 29, 2007
Posts: 100
Location: c://windows/system32




look here Confused :




123456 = 6BB4837EB74329105EE4568DDA7DC67ED2CA2AD9

THankx...
????? Shocked

_________________
..::::[ Waraxe.us is the BEST and the TOP ]::::..
View user's profile Send private message Send e-mail Visit poster's website MSN Messenger
Source PHP Decode MySql SHA1 Brutus Force
www.waraxe.us Forum Index -> All other security holes
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
All times are GMT
Page 1 of 1

Post new topicReply to topic


Powered by phpBB © 2001-2008 phpBB Group



Space Raider game for Android, free download - Space Raider gameplay video - Zone Raider mobile games
All logos and trademarks in this site are property of their respective owner. The comments and posts are property of their posters, all the rest (c) 2004-2024 Janek Vind "waraxe"
Page Generation: 0.092 Seconds