large inputs not handled
MuhammadHassanRazaa opened this issue · 9 comments
get_string() and get_int() are not accepting large input (i.e. 2048 bits)
Can you please be more specific? What steps did you take to reproduce this problem?
when i pasted the following number in the input to the command a = get_int('long number')
, the number gets truncated to 1/3rd while inputting. here's the video link.
Hi @MuhammadHassanRazaa, looks like a cmd.exe
limitation?
@dmalan it can't be cmd.exe
limitation. The character count of my input is just 1233, but according to the link you've specified cmd can take 8191 characters once.
Secondly, if it's a cmd limitation, the built-in python input()
function shouldn't work.
Looking forward :)
Regards
Ah, apologies, quite right, I'm seeing a 4096-char limit on Linux. We'll take a look!
Thanks for reporting, @MuhammadHassanRazaa! There may still be platform-specific limitations, though, just fyi!
You're Welcome @dmalan 👍 :). I have tested this code on Kali Linux, Parrot, Windows(cmd and PowerShell) and Ubuntu, it is working perfectly with characters allowed in the respective shell.
Thank you for making the correction :)