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

Added flows module #259

Merged
merged 1 commit into from
Dec 25, 2024
Merged

Added flows module #259

merged 1 commit into from
Dec 25, 2024

Conversation

raphaelahrens
Copy link
Contributor

This new module introduces two new functions which help in the creation of dataflows.

The first function is req_reply(), which creates two dataflows. The first is usual dataflow and the second is a dataflow which is a response to the first.
I used this function a lot for modeling dataflow with databases.

The second functions reply() takes a dataflow as an argument and returns a new dataflow which is a response to the given dataflow. This function is quite useful for modeling proxies.

d1 = Dataflow(client, web, 'Get page')
d2,d3 = req_reply(web, db, 'Query data')
d4 = reply(d1, 'return web page')

This new module introduces two new functions which help in the creation
of dataflows.

The first function is `req_reply()`, which creates two dataflows.
The first is usual dataflow and the second is a dataflow which is a
response to the first.
I used this function a lot for modeling dataflow with databases.

The second functions `reply()` takes a dataflow as an argument and returns
a new dataflow which is a response to the given dataflow.
This function is quite useful for modeling proxies.

```python
d1 = Dataflow(client, web, 'Get page')
d2,d3 = req_reply(web, db, 'Query data')
d4 = reply(d1, 'return web page')
```
@raphaelahrens raphaelahrens requested a review from izar as a code owner December 11, 2024 08:44
Copy link
Collaborator

@izar izar left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@izar izar merged commit c8c0875 into OWASP:master Dec 25, 2024
3 checks passed
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.

2 participants