Off Topic > Off Topic
Programming Megathread
Metario:
--- Quote from: Foxscotch on January 15, 2017, 01:09:07 PM ---unless you're reading an absurd number of these files all at once, you should be fine
post the code
--- End quote ---
--- Code: ---http://i.malw.io/u/9f0ea0.txt <-- removing in 5 minutes
--- End code ---
Foxscotch:
well I don't know what the hell you're doing. does the original code have the same problem? if not, then what exactly did you change?
if the original code does do it, then you should contact the original writer
def sxor(a, b):
def decrypt(self, o, s):
for i in range(s):
sxor(stuff, also_stuff)
this probably has something to do with it though
Metario:
--- Quote from: Foxscotch on January 15, 2017, 01:45:16 PM ---well I don't know what the hell you're doing. does the original code have the same problem? if not, then what exactly did you change?
if the original code does do it, then you should contact the original writer
def sxor(a, b):
def decrypt(self, o, s):
for i in range(s):
sxor(stuff, also_stuff)
this probably has something to do with it though
--- End quote ---
it's def with the string XORing- that or it starts reading into the float tables
also my formatting got a little forgeted but decrypt isn't inside of sxor
Foxscotch:
use pdb or some other debugging tool to figure out where it's hanging. it shouldn't be too much trouble. I don't understand enough about the code to really help you from here, and I don't have the patience to look through it all. if you can't figure out why it's hanging, I or someone else may be able to help you once you know where
Metario:
bump I figured it out
while reading a part of it I returned in the for loop resulting in it not properly going through each entry properly
woo