Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

modules/encoders/cipher/bitwise_xor: Stack level too deep error #158

Open
cliffe opened this issue Oct 17, 2019 · 2 comments
Open

modules/encoders/cipher/bitwise_xor: Stack level too deep error #158

cliffe opened this issue Oct 17, 2019 · 2 comments

Comments

@cliffe
Copy link
Owner

cliffe commented Oct 17, 2019

ruby modules/encoders/cipher/bitwise_xor/secgen_local/local.rb --b64 --strings_to_encode=MTAyMTA4MDk3MTAzMTIzMDk5MTAwMTAwMTAwMTAwMDU3MDUxMDUxMTI1
Bitwise XOR Challenge Generator
Reading args from STDIN
 Encoding '["102108097103123099100100100100057051051125"]'
 Encoded: ["010101100111010001111000011101010110011110100000110101100001000000001000110110011000110100111010100001100000010111010111110011101111110110100000111000100101100100001011011010011111101111111011000100000011011010000010001001011110010101001100101010010110100111111001101000010000101001110001100111011010111011111100011011111001100100001110_011001110100010001001010010001000101011110011000111001100010100100111111111010001011110100001001101101110011011111100100111111101100010010011001110100110110100100111011010110001100101111001011001000010000011010110010000101001101010101111100100110010101110011001110100100010011111101000000101011011001101111001101010111101010101100111011", [...]]...
/home/secgen/SecGen/lib/objects/local_encoding_functions.rb:26:in `map': stack level too deep (SystemStackError)
        from /home/secgen/SecGen/lib/objects/local_encoding_functions.rb:26:in `array_to_utf8'
        from /home/secgen/SecGen/lib/objects/local_encoding_functions.rb:32:in `block in array_to_utf8'
        from /home/secgen/SecGen/lib/objects/local_encoding_functions.rb:26:in `map'
        from /home/secgen/SecGen/lib/objects/local_encoding_functions.rb:26:in `array_to_utf8'
        from /home/secgen/SecGen/lib/objects/local_encoding_functions.rb:32:in `block in array_to_utf8'
        from /home/secgen/SecGen/lib/objects/local_encoding_functions.rb:26:in `map'
        from /home/secgen/SecGen/lib/objects/local_encoding_functions.rb:26:in `array_to_utf8'
        from /home/secgen/SecGen/lib/objects/local_encoding_functions.rb:32:in `block in array_to_utf8'
         ... 11220 levels...
        from /home/secgen/SecGen/lib/objects/local_string_encoder.rb:141:in `each'
        from /home/secgen/SecGen/lib/objects/local_string_encoder.rb:141:in `enforce_utf8'
        from /home/secgen/SecGen/lib/objects/local_string_encoder.rb:135:in `run'
        from modules/encoders/cipher/bitwise_xor/secgen_local/local.rb:45:in `<main>'
@cliffe
Copy link
Owner Author

cliffe commented Oct 17, 2019

In the meantime, I'll set it to conflict with everything, so it doesn't get selected into scenarios.

cliffe added a commit that referenced this issue Oct 17, 2019
@cliffe
Copy link
Owner Author

cliffe commented Apr 17, 2024

Todo: remove the module permanently (won't fix)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants