summaryrefslogtreecommitdiffstats
path: root/crypto
diff options
context:
space:
mode:
authorkrebs <krebs@fuerkrebs>2011-10-13 13:20:02 -0400
committerkrebs <krebs@fuerkrebs>2011-10-13 13:20:02 -0400
commit6caf0d1c502ba9eb6d41aa9a80cb8a350164846d (patch)
tree28237066c93656fe75b2fcc7fb1eec0a2b800888 /crypto
parentfa7213811c2c77b9f2097c11c8a072265d8a3ac2 (diff)
parent1cff2a9d548336ddcd8a2d732ed2cd348c8e6b79 (diff)
Merge branch 'master' of github.com:krebscode/painload
Diffstat (limited to 'crypto')
-rwxr-xr-xcrypto/bin/ukrepl11
1 files changed, 8 insertions, 3 deletions
diff --git a/crypto/bin/ukrepl b/crypto/bin/ukrepl
index 2dfaabc4..9b084027 100755
--- a/crypto/bin/ukrepl
+++ b/crypto/bin/ukrepl
@@ -32,7 +32,7 @@ cyrillic_dict = {
}
def cyrillic_replace(char): #c
- return cyrillic_dict.get(char,unicode(char))
+ return cyrillic_dict.get(char,char)
historic_latin_dict = {
'B' : u'Ɓ',
'b' : u'ƅ',
@@ -45,7 +45,7 @@ historic_latin_dict = {
'5' : 'Ƽ'
}
def historic_latin(char): #H
- return historic_latin_dict.get(char,unicode(char))
+ return historic_latin_dict.get(char,char)
punctuation_dict = {
'!' : u'ǃ',
'\'': u'’',
@@ -53,6 +53,11 @@ punctuation_dict = {
'(' : u'⟨',
')' : u'⟩',
':' : u'ː',
+ ' ' : u' ',
+ # all different spaces, made for perfect trolling
+ #' ' : u' ',
+ #' ' : u' ',
+ #' ' : u'⁠',
#'-' : u'‒',
#'-' : u'—',
#'-' : u'―',
@@ -66,7 +71,7 @@ punctuation_dict = {
}
def punctuation(char): #p
- return punctuation_dict.get(char,unicode(char))
+ return punctuation_dict.get(char,char)
def helpme():
print "usage %s [modes]" % sys.argv[0]
print "modes:"