Skip to content

Comments

added length safety check#111

Open
SakarDev wants to merge 1 commit intom0rtem:masterfrom
SakarDev:fix-index-error
Open

added length safety check#111
SakarDev wants to merge 1 commit intom0rtem:masterfrom
SakarDev:fix-index-error

Conversation

@SakarDev
Copy link

Added a length check if(len(lineExploded) >= 3): to avoid potential IndexError when processing lines in the crimeflare function.

I got this error

CloudFail/cloudfail.py", line 124, in crimeflare
if lineExploded[1] == args.target:
~~~~~~~~~~~~^^^
IndexError: list index out of range

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

Successfully merging this pull request may close these issues.

1 participant