[PR #1163] added ability to force get params (force_get section) #180

Open
opened 2026-02-26 02:31:31 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/kgretzky/evilginx2/pull/1163
Author: @callightmn
Created: 2/7/2025
Status: 🔄 Open

Base: masterHead: feature/force_get


📝 Commits (2)

  • 1fdd681 added ability to force get params (type: "get" in force_post)
  • decd3fb replaced type: "get" in force_post by new force_get section

📊 Changes

2 files changed (+144 additions, -1 deletions)

View changed files

📝 core/http_proxy.go (+44 -0)
📝 core/phishlet.go (+100 -1)

📄 Description

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


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/kgretzky/evilginx2/pull/1163 **Author:** [@callightmn](https://github.com/callightmn) **Created:** 2/7/2025 **Status:** 🔄 Open **Base:** `master` ← **Head:** `feature/force_get` --- ### 📝 Commits (2) - [`1fdd681`](https://github.com/kgretzky/evilginx2/commit/1fdd681366ad3935b4ae634f4974af99d910fc73) added ability to force get params (`type: "get"` in `force_post`) - [`decd3fb`](https://github.com/kgretzky/evilginx2/commit/decd3fb61e65a96ce0d13106fac6dadccf4c47fa) replaced `type: "get"` in `force_post` by new `force_get` section ### 📊 Changes **2 files changed** (+144 additions, -1 deletions) <details> <summary>View changed files</summary> 📝 `core/http_proxy.go` (+44 -0) 📝 `core/phishlet.go` (+100 -1) </details> ### 📄 Description 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](https://github.com/user-attachments/assets/3bd3805b-685a-4234-b1f8-6f538f1c52f6)<br> Modified request (sent from Evilginx to the remote site through Burp): ![image](https://github.com/user-attachments/assets/cf042570-efaa-41f7-8a35-cffb1d369502) --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
Sign in to join this conversation.
No labels
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/evilginx2-kgretzky#180
No description provided.