

User Controls
Posts by Lanny
-
2016-03-17 at 6:26 AM UTC in Would you pimp your girlfriend/wife?v. cuck'd braj
-
2016-03-17 at 5:32 AM UTC in Trumps ascention to the throne is proof democracy is for stupid people
All you left wing faggots should just kill yourselves right now.
fite me irl rite now -
2016-03-17 at 2:38 AM UTC in I know I'm not that perfect, but you stay a while, baby then you will see.
-
2016-03-17 at 1:59 AM UTC in Let's talk crypto.
Bleh, there seems to be a problem with my PyCrypto module as well, at least the parts that ezPyCrypto is trying to import.
Traceback (most recent call last):
File "C:\crypto.py", line 1, in <module>
from ezPyCrypto import key
File "C:\Python27\lib\site-packages\ezPyCrypto.py", line 72, in <module>
from Crypto.Cipher import ARC2, Blowfish, CAST, DES3, RC5 #IDEA
ImportError: cannot import name RC5
So then i tried the following with just the PyCrypto module, to generate a pub/priv keypair. But printing the key pair returns
import os, random, struct
import Crypto
import types
from Crypto.PublicKey import ElGamal, DSA, RSA
from Crypto.Util.randpool import RandomPool
from Crypto.Util.number import getPrime
from Crypto.Cipher import AES
from Crypto.Hash import MD5
def KeyGen(self, something = 512, algoPub=None, algoSess=None, **kwds):
passphrase = kwds.get('passphrase', '')
if type(something) is types.IntType:
# which public key algorithm did they choose?
if algoPub == None:
algoPub = 'RSA'
algoP = self._algosPub.get(algoPub, None)
if algoP == None:
# Whoops - don't know that one
raise Exception("AlgoPub must be one of 'ElGamel', 'RSA' or 'DSA'")
self.algoPub = algoP
self.algoPname = algoPub
# which session key algorithm?
if algoSess == None:
algoSess = 'Blowfish'
algoS = self._algosSes.get(algoSess, None)
if algoS == None:
# Whoops - don't know that session algorithm
raise Exception("AlgoSess must be one of AES/ARC2/Blowfish/CAST/DES/DES3/IDEA/RC5")
self.algoSes = algoS
self.algoSname = algoSess
# organise random data pool
self.randpool = RandomPool()
self.randfunc = self.randpool.get_bytes
# now create the keypair
results = self.makeNewKeys(something, passphrase=passphrase)
return results
elif type(something) is types.StringType:
if algoPub != None:
raise Exception("Don't specify algoPub if importing a key")
if self.importKey(something, passphrase=passphrase) == False:
raise CryptoKeyError(
"Attempted to import invalid key, or passphrase is bad")
self.randpool = RandomPool()
self.randfunc = self.randpool.get_bytes
else:
raise Exception("Must pass keysize or importable keys")
key_pair = KeyGen(1024, RSA, "pass")
print key_pair
This returns "None" but i might have some semantic errors since i nigger rigged this code from the ezPyCrypto module itself.
There's a couple of issues here, the core of it seems to be that this was originally a method and now it's a function (functions don't take "self" as their first arg unless something weird is going on). If you don't need to worry about handling huge files you can use ezPyCrypto. Strings and files are isomorphic, that is one can represent the other. Consider something like this(have not run this code but should work):
from ezPyCrypto import key
def enc_file(key, in_name, out_name):
f_in = open(in_name, 'rb')
f_out = open(out_name, 'wb')
in_str = f_in.read()
out_str = key.encString(in_str)
f_out.write(out_str)
f_in.close()
f_out.close()
def dec_file(key, in_name, out_name):
f_in = open(in_name, 'rb')
f_out = open(out_name, 'wb')
in_str = f_in.read()
out_str = key.decString(in_str)
f_out.write(out_str)
f_in.close()
f_out.close()
if __name__ == '__main__':
my_key_pair = key(2048)
enc_file(my_key_pair, 'lolita.png', 'totally_innocuous_file.png')
dec_file(my_key_pair, 'totally_innocuous_file.png', 'dear_nabokov.png')
should leave you with 'lolita.png' and 'dear_nabakov.png' as two files with the same contents and 'totally_innocuous_file.png' as an encrypted version. The immediate issue is that it will read the whole source file into memory "at once" (you'll actually end up paging but that's opaque to you, it's going to hurt perf in any case) and you'll get another chunk of memory the same size plus IV and block waste tied up in the ciphertext which is a problem. But it might be good enough for your purposes. If you find you do end up needing chunking it looks like ezPyCrypto has functions that will work (the "mid-level" functions here: http://freenet.mcnabhosting.com/pyth...ail/index.html). -
2016-03-17 at 1:28 AM UTC in Cancer or not?Image 403'd but it's on masterchan so I'm kinda glad
-
2016-03-16 at 4:30 PM UTC in Got my dick sucked last night
Hey, sorry you don't get laid, but some of us here actually do.
See, that's the thing though. You're so eager to tell your internet buddied you got your dick sucked (and were literally cucked by the pope himself. Seriously, some old pasty nigger in the vatican says no rubbers and you're such a cuck that you stop having sex because of it) that I'm not not convinced you get laid half as often as you pretend like. Normal people don't feel the need to report each sexual encounter to people on the internet, the majority of which view them as a joke. -
2016-03-16 at 7:12 AM UTC in Drug R BadThat's a lot of mugshots
-
2016-03-16 at 5:30 AM UTC in Trumps ascention to the throne is proof democracy is for stupid people
^yeah that would be pretty annoying. But I like trump because he supporters young people like myself starting up business, and is against most of the red tape that minor bureaucrats like obama and bernie cuck sanders put in place.
Except that trump would have driven your niggergrant ancestors into the sea. Also republican rhetoric around small business is and always has been just that, Trump is large corporate interests in shitty wig form. -
2016-03-16 at 5:12 AM UTC in cuck'dWe may not have PMs but don't worry, we can have the next best thing: multiple pictures of a black cock in each and every thread
-
2016-03-16 at 3:53 AM UTC in cuck'd16x16 png is the requirement
-
2016-03-16 at 3:53 AM UTC in cuck'dsomeone get me a black penis icon and it shall be so
-
2016-03-16 at 3:44 AM UTC in Minecraft 1.9I just started up a new game on a whim and saw the 1.9 update. Got kinda bored with SP after a while but I might pop in later this week or weekend
-
2016-03-16 at 3:22 AM UTC in Got my dick sucked last nightpics and it didn't happen
-
2016-03-16 at 1:51 AM UTC in ATT: §m£ÂgØL (since you obviously didnt mean youd stop postingnhere)I think I have more sympathy for you than most hydro but your story changes with each retelling and this whole thread comes off as a big guilt trip. I'm not saying §m£ÂgØL has done nothing wrong but it really does seem like you're trying to guilt him back into your life when he's made it clear he isn't interested. I don't really see the end game since he's obviously not going to be able to support you, a habit, and a kid. There are more constructive things you can be doing with your life.
-
2016-03-15 at 7:57 AM UTC in Lanny is holding the PM system hostage until Malice gives him his personal EmailIt's like how bed and breakfasts are shitty old houses but people pay a lot of money to stay there because they have character or some shit. This forum has "character"
-
2016-03-15 at 7:38 AM UTC in A song for Bill KrozbyI can only wonder what was going through the mind of the dumb son of a bitch who setup a "will make you a song" page on fiverr when he was reading the lyrics. I wonder if he felt pity or disgust at Bill Krozby, a man who's failed dreams he volunteered to immortalize in song.
-
2016-03-15 at 7:38 AM UTC in Lanny is holding the PM system hostage until Malice gives him his personal Emailjokes on you, flags get sent to idio's old email address.
-
2016-03-15 at 4:55 AM UTC in A contest: What am I afraid of most?I don't know and what a person thinks/says their greatest fear has no necessary relationship to the reality of the situation. If I had to guess it'd be that your perceptions don't accurately reflect an external reality, that your "extreme systematizing" hasn't brought you a clearer picture of the world and that the behavior that's made you miserable has actually made it harder for make unbiased judgements. Of course that's probably wrong, the way you reflexively dismiss other opinions suggests otherwise, the level of confidence in the statements you throw out there, but that's what scares me most when I read some of your posts thinking I might be in the same boat.
The answer you're looking for is probably closer to "that the damage my lifestyle has done is irreversible" or "it will never get better" or something along those lines. -
2016-03-14 at 2:55 AM UTC in Are you really going to let these spammers spam Bad Ideas, Lanny?
I volunteer for mod. I wont ban anyone except bots and would recommend making it so that I (or whomever you choose) can only soft ban and soft delete posts. i.e. they can delete threads and ban users but for it to be permanent you have to press the button.
Haha, I have to say, of all the degenerates that populate this shit hole I can think of but one worse person to give executive power of it. Not even hating, glad to have you here, it's just you're probably the only person with such a flamboyantly bad (from an admin's perspective) track record as a mod. Of the last two suckers who made you a mod one has had to go into hiding because he was doxed and the other is contemplating rope in their moms basement in no small part due to you. I mean it's an accomplishment, maybe even commendable, but it doesn't speak to your being a good fit for the position. -
2016-03-14 at 2:22 AM UTC in Are you really going to let these spammers spam Bad Ideas, Lanny?aw shit, I guess I need to pay more attention to the ole forums.
So first things first, CP is one of very few things that could get me thrown in the slammer. Censoring your stuff will hopefully get me off the hook, the feds are free to instruct me otherwise, I'm not going to say you can't post it but think about your own level of confidence that your account here and the things you've discussed across communities can't be tied back to you and then ask yourself if you want to draw that kind of attention here. I'm concerned about my well being first, of course, but you in particular mr happy seem to have been playing it kinda fast and loose with the opsec thing lately, make sure nothing you do here comes back to bite you.
As for the spam, I actually delete spam threads when I see them in new topics but I'm not on all the time and I don't browse most the forums (including BI) outside of new topics much so there's room for improvement. You guys want a mod? No mods no rules is kinda the thing, although I could give someone the rights to ban bots and delete spam threads. I wouldn't mind, makes my life easier but if you're a believer in slippery slopes this is where you'd jump in and say no. Interested in thoughts on the subject.