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

New Feature: Set Custom User-Agent for Phishlets #1115

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

DrorDvash
Copy link

@DrorDvash DrorDvash commented Sep 24, 2024

A custom_ua field has been added to each phishlet in the configuration. Allows users to specify a custom User-Agent, which will be injected into the HTTP request before sending it to the server.

Some websites deliver different content depending on the User-Agent, and manipulating the User-Agent can help bypass certain security measures.

Usage:
Simply update the custom_ua field like so: phishlets custom_ua <phishlet> "<ua>"

custom_ua_3

Log output:
NOTE: When a "new visitor has arrived" it will print the original User-Agent but will send to the server the custom one.
custom_ua_5

Also, Thanks to @An0nUD4Y for his solution, which inspired this addition.

@DrorDvash DrorDvash changed the title Adding Feature: Set Custom User-Agent for Phishlets New Feature: Set Custom User-Agent for Phishlets Sep 24, 2024
Copy link

@iliwasel iliwasel left a comment

Choose a reason for hiding this comment

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

Great feature!

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