User Controls
Posts by Lanny
-
2016-03-18 at 5:08 AM UTC in IS THE BEATIFIC VISION REAL!?
You don't even "talk" to people here
You just "post content"
It's getting on my nerves
Start talking to people that aren't Malice or I'll fucking Vex you. Chris "Blood Magick" Hansen showed me how.
so is darg bag crib leg considered talking to people or posting content? -
2016-03-18 at 4:39 AM UTC in IS THE BEATIFIC VISION REAL!?No, but I do believe in dope ass trips and spontaneous hallucinations. Aquinas probably had a stroke towards the end of his life that caused him to experience intermittent ecstasy until he died and that was some of the most fruitful work of his career, supposedly he would dictate three different essays, books, or different parts of the same book at the same time to three scribes, dictating to one while the other two caught up and would do this for days on end without sleep.
-
2016-03-18 at 4:27 AM UTC in On converting ASM to Bytearray Shellcode and it's applications in malware.
Because that's the maximum attack buffer size.
Haha, all your supposed legendary experience and you've only ever seen one particular buffer overflow and now think that 7KB is is some natural limit on direct memory alteration attacks. That's rich.
objdump -d ./PROGRAM|grep '[0-9a-f]:'|grep -v 'file'|cut -f2 -d:|cut -f1-6 -d' '|tr -s ' '|tr '\t' ' '|sed 's/ $//g'|sed 's/ /\\x/g'|paste -d '' -s |sed 's/^/"/'|sed 's/$/"/g'
Does anyone know what all the string processing after the objdump invocation does? I got as far as "process lines that potentially have hex files but don't contain the string 'file'" before my eyes glazed over. -
2016-03-18 at 4:27 AM UTC in What should you do if you see a shitfaced driver on the road and you're drunk too?Pull over, call the cops on them. If I'm really fine to drive just chill until he's picked up but sluring and driving well usually don't go well together
-
2016-03-17 at 5:03 PM UTC in ARE DANGOS REAL!?Yee blood, they're just those random over-sweet japanese pastry things. They're only a daikazoku if you have a bunch and draw the eyes on them tho.
Also clannad a shit. I made a thread on AB about how shit it was, maybe will x-post -
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"