Open digininja opened 6 years ago
Yeah, I do agree with this. This is one of the reasons I actually like running FP on a different port as well, because it makes it a bit easier to handle (you can configure the port to run it on in the installer). That said, the installer is created to allow you to rerun it to reconfigure everything without breakage so that might be a solution for you.
But yeah, Laravel clobbers entire hosting directories, so the solution is really within the installer and configuration of Apache. I'll include this in v2.0, good feedback
So if re-run the installer and pick a different port, will it clear anything out that I've set up so far?
I've nothing really important in, just test stuff, so doesn't matter if I do lose things.
I know Apache config files fairly well, I could just edit the config file if that would be easier but don't know if anything else needs updating in the app config.
On Tue, 19 Jun 2018 at 16:49 Chris King notifications@github.com wrote:
Yeah, I do agree with this. This is one of the reasons I actually like running FP on a different port as well, because it makes it a bit easier to handle (you can configure the port to run it on in the installer). That said, the installer is created to allow you to rerun it to reconfigure everything without breakage so that might be a solution for you.
But yeah, Laravel clobbers entire hosting directories, so the solution is really within the installer and configuration of Apache. I'll include this in v2.0, good feedback
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/Raikia/FiercePhish/issues/70#issuecomment-398448486, or mute the thread https://github.com/notifications/unsubscribe-auth/AAHJWekAgI7-jVIDxHbopCm5GUU2Nudfks5t-R1tgaJpZM4UtxEk .
You should be able to rerun the installer with no issues and not lose any data....
Or you can simply edit "/etc/apache2/sites-available/fiercephish.conf", change the :80 to :[port]
And then edit "/etc/apache2/ports.conf" and insert a "Listen [port]" line. (where [port] is a number)
Then restart Apache.
That worked nicely, I've moved FiercePhish over to a different port and now have my app running on 80.
When I run my next phish for a different company, will I need to re-run the installer to change all the domain details?
On Tue, 19 Jun 2018 at 16:59 Chris King notifications@github.com wrote:
You should be able to rerun the installer with no issues and not lose any data....
Or you can simply edit "/etc/apache2/sites-available/fiercephish.conf", change the :80 to :
And then edit "/etc/apache2/ports.conf" and insert a "Listen " line.
Then restart Apache.
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/Raikia/FiercePhish/issues/70#issuecomment-398452119, or mute the thread https://github.com/notifications/unsubscribe-auth/AAHJWToVj-0RgQI8gEH0Uo2wDYpD8IVoks5t-R_DgaJpZM4UtxEk .
Yes, thats how I made it work. v2.0 will allow you to configure for multiple domains because thats a thing I didn't expect people to need to do frequently but turned out it is needed.
Makes sense for out sourced testers who have different clients each week.
On Tue, 19 Jun 2018, 17:10 Chris King, notifications@github.com wrote:
Yes, thats how I made it work. v2.0 will allow you to configure for multiple domains because thats a thing I didn't expect people to need to do frequently but turned out it is needed.
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/Raikia/FiercePhish/issues/70#issuecomment-398456212, or mute the thread https://github.com/notifications/unsubscribe-auth/AAHJWV4Nh_3VMhcGxoPe45PNQQgc-R_9ks5t-SKPgaJpZM4UtxEk .
I might have set things up wrong to get in this position but I set the app up on targetdomain.com and now need to host some files on the domain so that I can direct the users to them.
I've moved the app out of the way and have now had to edit the laravel routes file to allow me to host some files in the root of the domain.
As an example I've added
It would be nice to have a wiki page on how to do this correctly as this feels like a hack that will go wrong next time I update the app and you overwrite the routes/web.php file.