Phishlets with ports

Hey Everyone,

I have been trying to get a phishlet to work for a client, but have run into an issue. Their site is built on React and have gotten all asset to dynamically load, but have run into an issue with the authentication portion. They call a custom script running on port 5000, however I am not able to get Evilginx to send the request to it.

I read through the code and found that evilginx is hardcoded, which supports all the documentation that I have found online. I have also added the following to my phishlet to implement the workaround, to no avail:

  • {phish_sub: ‘api2’, orig_sub: ‘api’, domain: ‘site.com:5000’, session: true, is_landing: false, auto_filter: true }

Has anyone been able to get this working? I have reviewed various phishlets online and have not found any examples of one that solve this issue. Is the solution to do some iptable trickery?

u can create seprate reverce prxy lets say in docker to export that on 80 or 443 and then use in evilginx

check this pull request

1 Like

Hmmm, I wonder if this will work if I roll back to an earlier version. I implemented the code that he has in his submission request and it’s still attempting to connect on port 443. I might run a diff between the two versions and see what has changed. When I made the change with 3 .3.0 the rows were about 400 higher than what he has in his branch.

I appreciate you updating the author’s request as well. I’ll update that thread with my findings as well. If we can get this working it would be a huge benefit to this tool.

bro im trying to reach out to you on telegram @ ,my messages are limited please send a dm or ad@ me at important :raised_fist:

if that dosent work the try proxy method i mentioned above

did , sorry for delay