Jump to content
YOUR-AD-HERE
HOSTING
TOOLS
992Proxy

Locked Caesar Method (T2)


Expermicid

Recommended Posts

Les dejo este code.

Autor: sensei

 

[lenguaje=python]#!/usr/bin/python

 

#Cifrado Cesar (t2)

#Author: sensei

#twitter:@senseihackliza

#site: senseihackliza.blogspot.com

#RemoteExecution Hacking Group

#http://www.0x3a.com.ar

 

from string import maketrans

from sys import argv

 

if len(argv) !=3:

print 'Usage: nombredelarchivo.py <"Text to crypt decrypt">'

exit()

 

option = argv[1]

text = argv[2]

 

if option=='c':

crypt= maketrans('abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789' , 'cdefghijklmnopqrstuvwxyzabCDEFGHIJKLMNOPQRSTUVWXYZAB2345678901')

print '\n'

print 'Encrypted text:'

print text.translate(crypt)

 

if option=='d':

decrypt= maketrans('cdefghijklmnopqrstuvwxyzabCDEFGHIJKLMNOPQRSTUVWXYZAB2345678901' , 'abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789')

print '\n'

print 'Decrypted text:'

print text.translate(decrypt)

 

print '\n'

print 'Caesar(t2) crypter/decrypter by sensei to #RemoteExecution Hacking Group'[/lenguaje]

 

Saludos.

 

Fuente: Oversec

Edited by Expermicid
Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.