May 20, 2012, 12:43:52 PM *
Welcome, Guest. Please login or register.

Login with username, password and session length
News: THC is up and running !
 

 
advertisement:

Pages: [1]
  Print  
Author Topic: Encryption 11  (Read 683 times)
alephone
Newbie
*

Karma: +4/-1
Posts: 7

thc title: 3t3rn4l n00b
thc points: 0
challenges: (0/83)

View Profile
« on: July 31, 2010, 10:49:52 AM »
Share on FacebookFacebook Share

Code:
# Decimal encoded values for the ciphertext
enc = [[9, 9, 12, 22], [3, 4, 26, 24], [27, 4, 30, 22]]
#list is the wordlist I used
f = open('list','r')
for line in f:
   line=line[:-1] #Strip newline
   line = line.upper() #The keys and text are in upper case
   if len(line) == 4:     
      y = []
      for x in enc:
       a = [chr(x[i]^ord(line[i])) for i in range(0,4)]
       a = ''.join(a)
       y.append(a)
       flag = True
       for i in y:
if i.isalpha() == False:
   flag = False
       if flag == True and len(y) == 3:
print line+ ": ",
print y

One line in the output is: KEYS:  ['BLUE', 'HACK', 'PAGE']
Enter "keys blue hack page" on the webpage to get your points

Logged
Pages: [1]
  Print  
 
Jump to:  


Related Topics
Subject Started by Replies Views Last post
RSS: Protect Me: Secure Your Data with Encryption!
Hack Tool Releases
zomgwtfbbq 0 79 Last post June 30, 2011, 09:16:51 AM
by zomgwtfbbq
RSS: Protect Me : Secure Your Data with Encryption
Hack Tool Releases
zomgwtfbbq 0 65 Last post June 29, 2011, 04:17:31 PM
by zomgwtfbbq
YellowPipe Encryption and Decryption Tool
Online Tools
zomgwtfbbq 0 257 Last post October 18, 2010, 12:25:47 PM
by zomgwtfbbq
RSS: Sophos SafeGuard Disk Encryption 5.50.1.17
Software
zomgwtfbbq 0 164 Last post September 14, 2010, 09:03:59 AM
by zomgwtfbbq
RSS: Hardware Hack Busts Quantum Encryption
Security News
zomgwtfbbq 0 72 Last post August 30, 2010, 09:45:51 PM
by zomgwtfbbq
RSS: Wikileaks Encryption Use Offers Legal Challenge
Security News
zomgwtfbbq 0 89 Last post August 20, 2010, 02:23:40 AM
by zomgwtfbbq
PHP Class: PHP Encryption
Latest Tools and Files
zomgwtfbbq 0 85 Last post September 24, 2009, 02:20:02 PM
by zomgwtfbbq
Da Vinci Encryption System
Torrents
zomgwtfbbq 0 86 Last post October 16, 2008, 02:28:28 AM
by zomgwtfbbq
HBH Encryption Challenge 9
Hacker Playground
zomgwtfbbq 0 1007 Last post September 27, 2008, 06:35:29 PM
by zomgwtfbbq
HBH Encryption Challenge 7
Hacker Playground
zomgwtfbbq 0 747 Last post September 27, 2008, 06:31:59 PM
by zomgwtfbbq
HBH Encryption Challenge 2
Hacker Playground
zomgwtfbbq 0 1250 Last post September 27, 2008, 06:23:51 PM
by zomgwtfbbq
HBH Encryption Challenge 1
Hacker Playground
pr2008 0 427 Last post September 27, 2008, 09:04:47 AM
by pr2008
SMF Board hacked and modded by zomgwtfbekjam aka Rembo from Tools & Design