SkillAgentSearch skills...

FlyFishing

Lightweight Phishing for Red Team Assessments ๐ŸŽฃ

Install / Use

/learn @DoobTheGoober/FlyFishing
About this skill

Quality Score

0/100

Supported Platforms

Universal

README

FlyFishing ๐ŸŽฃ

Quickly Deploy Phishing Webpages for Red Team Assessments

Description ๐Ÿฆ 

Quickly deploy phishing webpages and cast phishing emails to lure victims in Red Team Assessments. This is a lighweight golang webserver which hosts the webpage locally or for one to host externally. Caster on the other hand is for casting phishing emails to given targets on an assessment.

Deployment ๐Ÿ”จ

git clone https://github.com/CharlesTheGreat77/FlyFishing
cd FlyFishing
go mod init main
go mod tidy
go get github.com/PuerkitoBio/goquery
go build -o fishing main.go

fishing ๐ŸŽฃ

FlyFishing allows one to setup a local phishing webpage based on a given template. Templates can be found in /templates or found online.

./fishing -template templates/google.html
2024/09/23 06:16:27 [*] Server started at http://localhost:8888
2024/09/23 06:16:39 [*] Client IP visiting the page: 192.168.0.42:54773
2024/09/23 06:16:39 [*] Client IP visiting the page: 192.168.0.42:54773
2024/09/23 06:16:58 [*] Client IP on login: 192.168.0.42:54775
2024/09/23 06:16:58 [*] Received form data:
2024/09/23 06:16:58 Field: login_password, Value: admin1233
2024/09/23 06:16:58 Field: remember_me, Value: on
2024/09/23 06:16:58 Field: login_email, Value: admin@gmail.com

Templates ๐Ÿ“

How are templates processed? By using regex to locate action attribute(s) in the form and points such to our /login handler

re := regexp.MustCompile(`(?i)(<form[^>]*action=")([^"]*)(")`)
modified := re.ReplaceAllString(html, `${1}/login${3}`)
  • Redirection is based on file name, save templates to templates with the correlating website which the form is for (ie. linkedin.html). Templates are encoded in base64 and displayed after 3 seconds of the page being visited.

Caster ๐ŸŽฃ

Caster allows one to send or modify given templates to send to targets. It allows one to test the score(s) of a given phishing email using mail-tester.com for the odds of the email landing in spam. By spoofing a given email by effectively manipulating the headers with a well made phishing email will hook ๐Ÿช most if not all targets!

Build caster โš™๏ธ

go build -o caster caster.go
./caster -h

SMTP Setup โœ‰๏ธ

  1. Edit config.json
  2. Enter your email (smtp domain)
  3. Enter your token (password)
  4. Enter the SMTP server

Usage ๐Ÿค

Usage of ./caster:
  -help
    	show usage
  -homograph
    	specify option to replace chars with cryillic
  -spamfilter
    	enable to get a given templates spam score
  -spoof string
    	specify address to spoof email from [keep spam in mind]
  -subject string
    	specify a subject to add to email
  -target string
    	specify target(s) email address [filename or seperated by commas]
  -template string
    	specify a template for the email

Caster examples โ˜•๏ธ

Single Target

caster -template template.html -subject "RSVP Lunch" -spoof "Steven <michale@filamentco.org>" -target example@domain.com

Multiple Target(s)

caster -template template.html -subject "RSVP Lunch" -spoof "Steven <michale@filamentco.org>" -target example@domain.com,example2@domain.com

Target(s) in file

caster -template template.html -subject "RSVP Lunch" -spoof "Steven <michale@filamentco.org>" -target emails.txt
  • emails in file must be seperated by line.

Modify template to replace chars with homographic (cryillic) lookalikes

caster -template template.html -homograph

Testing phishing emails with spamfilter

caster -template template.html -subject "RSVP Lunch" -spoof "Steven <michale@filamentco.org>" -spamfilter
  • sends phishing email to mail-tester.com to retreive spam score. [default mail-tester email is hardcoded]

Spamfilter

The spamfilter email to test phishing email spam scores can be changed to an "updated" email of your choice.

  1. Visit https://mail-tester.com
  2. Copy Link Email
  3. Paste email on line 217
	tempMail := "test-sxzd09jk9@srv1.mail-tester.com"

Todo ๐Ÿงพ

  • AI template creation [ ]
  • Email Obfuscation [x]

But why FlyFishing? ๐Ÿค”

After a previous phishing assessment, I wanted to highlight the ease of spinning up cloned phishing pages within around 20 minutes from start to finish. This would allow anyone with limited time to get crackin' wit creds! ๐Ÿ”ฅ

Credits ๐Ÿช™

Templates: https://github.com/htr-tech/zphisher/tree/master/.sites

Disclaimer ๐Ÿšฉ

This program should only be used on environments that you own or have explicit permission to do so. The author will not be held liable for any illegal use of this program.

Related Skills

View on GitHub
GitHub Stars6
CategoryDevelopment
Updated6mo ago
Forks1

Languages

HTML

Security Score

77/100

Audited on Sep 19, 2025

No findings