Closed mirko closed 1 year ago
The code making trouble seems to be in a list comprehension in a function in a class somewhere, can you share all snippets that match that description? should roughly look something like this:
class Abc:
def abc():
[something() for x in something] # OR:
[x for x in something()] # OR:
[x for x in something if something()] # etc
Or, if you're fine with sharing all of your code, please do that.
Alternatively, you can DM me the code on discord @ 0x150
, if you don't want to publicly post it
on further inspection, it might have something to do with keyword args. if you have a call somewhere that uses keyword args, in a list comprehension, in a method definition in a class, that might be it
Thanks for the immediate response - is there a way to narrow it down for me? Like, at least which file is currently being parsed / operated on? I do use list-comprehension quite a lot.
Found the offending part:
'{proto}://{host}:{port}/{path}/{call}?{cgi_params}'.format(proto=X['proto'], host=X['host'], port=X['port'], path=X['path'], call=call, cgi_params=''.join(["%s=%s&"%(k,v) for k,v in dict(**cgiparams, **X['params']).items()]))
that sounds about right, yeah i know what went wrong. i'll fix it in a bit
Alternatively, you can DM me the code on discord @ 0x150, if you don't want to publicly post it
I'm not familiar with navigating through discord, but the only seemingly feasible option was adding a user as "friend" - which resulted in it telling me 0x150 doesn't accept friend requests.
fixed in a rather unsatisfying manner with 12a236a
For one of my python projects pyobf2 crashes with the following trace:
Unfortunately it doesn't reveal which code / part of my project might be at fault here :/