Jj Del Carpio

Jj's web stream

Python fun

It's been a while since I posted, work and sleep don't leave time to post.

So today I played some with python and came up with this:

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
#!/usr/bin/env python




#######################################




#




#   So.. i was bored




#   I'll try some more of this later




#   Sat Mar 11 15:37:19 GMT 2006




#   jj _ gmail.com <- Jj




#   http://www.isgeek.net/




#######################################




import sys #gel guvf




#\nzNXYgM3ajl2SgomS




def do_it(_r_,_s_,_c_,_):#tor




    print chr(True<<5).join([_(_r_[_s_+(1<<1)+1],_c_)[1][:-1],_(_r_[_s_+~False],_c_)[1][:-1],_(_r_[_s_+2],_c_)[True][:-1][::~False]]).encode(_r_[-(_s_<<1)/~True+1].split(_c_)[1][::-1]+str(_s_+3))#rzbu gn




#qb abg




if __name__==&#39;__main__&#39;: do_it(open(sys.argv[1>>1]).readlines(),10,eval(r&#39;Y2hyKDM1KQ==\n&#39;.decode("base64")),eval(&#39;bGFtYmRhIHgsdjp4LnNwbGl0KHYp\n&#39;.decode("base64")))#dGhpcyBpcyB1c2VsZXNz\n

I don't like how it is obvious where stuff comes from, I'll try to hide it next time :)

Comments

#254" title="2006-03-11 18:40:52">Droper: omg!, python ofuscado

#257" title="2006-03-11 22:20:40">tabo: heh, python que parece perl

#260" title="2006-03-12 12:52:39">Muty: Hehe, nice one :)

Jj Avatar of Jj

Reply or react to this post via Webmentions