Skip to content

Framework Helper Rework - #52

Merged
KevinHock merged 9 commits into
masterfrom
kevinhock/args_as_sources_flag
Jul 14, 2017
Merged

KevinHock merged 9 commits into
masterfrom
kevinhock/args_as_sources_flag

Conversation

@KevinHock

@KevinHock KevinHock commented Jun 8, 2017 •

Copy link
Copy Markdown
Collaborator

One day, when current high priority issues are done, we will parse route files (routing.py's, url.py's etc.) to find controllers so we can run it at scale with less false positives then we can use the apaptor pattern.

But until then, requiring users to point pyt at their controllers seems fine. We can do this with the template pattern instead, for now. In Pylons for instance, in a controller file anything without a leading underscore should have arguments marked as tainted. This and the flask helper function works great.

The Flask option is still the default, so the default behavior hasn't changed. I was running pyt on DjangoNV (a purposely vulnerable Django app) and it was missing a lot because I couldn't mark all args as tainted, this PR solves that.

@KevinHock
KevinHock requested a review from Thalmann June 9, 2017 00:11
@KevinHock

Copy link
Copy Markdown
Collaborator Author

I hate the yolo merge but oh well :/

@KevinHock
KevinHock merged commit 82f388b into master Jul 14, 2017
@KevinHock
KevinHock deleted the kevinhock/args_as_sources_flag branch March 16, 2018 03:21
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