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 ability to force get params (force_get section) #1163

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

callightmn
Copy link

Hello,

This is to add the ability to force GET parameters.
Instead of adding an entire force_get section, I just added a type: "get" in the existing force_post.

Phishlet snippet:

force_post:
  - path: '/[...REDACTED...]/anchor'
    search:
      - {key: '^co$', search: '.*'}
    force:
      - {key: 'co', value: 'aHR0[...REDACTED...]ZXU6NDQz'}
    type: 'get'

Original request (sent from browser to Evilginx through Burp):

image

Modified request (sent from Evilginx to the remote site through Burp):

image

@callightmn callightmn changed the title added ability to force get params (type: "get" in force_post) added ability to force get params (force_get section) Feb 13, 2025
@callightmn
Copy link
Author

callightmn commented Feb 13, 2025

Update: I added a new force_get section instead of using type: "get" in force_post, which could have been confusing. This is basically the same section as force_post with the type parameter defaulting to type: "query" if absent. Currently only this type is supported but type: "path" could be useful to force values in the URL path for instance. The snippet above now is:

force_get:
  - path: '/[...REDACTED...]/anchor'
    search:
      - {key: '^co$', search: '.*'}
    force:
      - {key: 'co', value: 'aHR0[...REDACTED...]ZXU6NDQz'}
    type: 'query'

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