Thanks for reaching out! We're happy to help resolve issues as quickly as possible.
Please use this template when creating a new issue. If you do not follow this template format, your issue may be closed without comment.
Before filing a new issue, please use the search bar at the top of the browser to search for similar issues. Also, please make sure you have read our documentation, which covers how to use Gophish.
What version of Gophish are you using?: 0.5.0
Brief description of the issue:
Issue 1. Trying to add users, I've gone to Users & Groups, Created a group, Done bulk upload, Can see all the users in the preview box below all in the correct fields (297 Users) press Save, it says the group has been updated but no users actually go in there. I've followed various threads about doing it UTF-8 format, swapping the position and email field around. None work
Issue 2. Can add a new email template, I've created one, Can view it in the preview before saving the template, All looks good, press save template, tells me its saved ok but it's not in the email templates list, If I try create it again using the same template name, it says I can't as it already exists. Doesn't matter if I do a complicated one or a simple 'Hello' still doesn't appear in the list.
What are you expecting to see happen? : In both instances for it to actually appear but never
What are you seeing happen? As above, it's saying its saved on both instances but there's nothing there.
If this question is related to email templates or landing pages not working as expected, please provide your template or landing page below:
Insert code here
Please provide any terminal output that may be relevant below:
Insert output here
Please provide as many steps as you can to reproduce the problem:
Good Afternoon,
Just wanted to confirm, It's not just uploading users, I can't add them manually either.
Perhaps the problem is that your database is read only or there isn't any space? Are there any errors on the console when you're doing this?
Hi @JellyWelly, thanks for reaching out! As @S0larflare suggested, one of the best things to check for are:
If you could provide those logs to us, we can continue troubleshooting.
Thanks!
Can't see the image there I'm afraid...
(Edited for redaction by @jordan-wright)
Hi thanks for the replies
Updated image, on the previous post
Don't see any errors in the developer tools (Used EDGE, IE and Firefox).
I'm wondering if the group name or the user id isn't getting set right in the database. Might be barking up the wrong tree but if you look at the users table, is the id there the same as the user id in the groups table and are the names correct in there (or is it blank?). The errors you've shown are from GetGroup() and GetGroupByName().
Hi S0larflare,
In the users folder I can only see the admin account. If I go into 'Targets' I can see the users I've uploaded but there is no group field in this table. The ID's are just sequential up to 299
In groups I see
Also in the web I must say they don't display the users or the groups.
Should I just delete the entire DB and rebuild from scratch ?
If you haven't done anything so far that you need to keep, deleting the db and starting again might be worth it, if only to rule out some weirdness on that end. Yes it was the users table I was after, the one with just admin (or any other 'gophish users' if you have added any extras) as I wanted to make sure that the ID matched the user_id. If you havent added any it should look just like:
id|username|hash|api_key
1|admin|
Hi,
Right some weirdness here, I've deleted the db and rebuilt it. Added a new group and uploaded some users to it. I have to log off the browser and back in to see the changes reflect (Used Edge, IE11 and Firefox 55.0.1 (32-bit)),
By logging in and off at each stage, I've been able to set up an email template and campaign and send it to myself. Now I have other issues :o which I'll have to research on the forum here and see.
I have to log off the browser and back in to see the changes reflect
That's awfully peculiar. I haven't heard of that before. Just curious, do you have any extensions or other things that might be messing with the session cookies? Are there any logs from the terminal when you've added the object and refreshed the page that might give away what's going on?
Finally, you might check with Chrome, since that's what I use for development. I try to design things such that they work in other browsers, but don't have the time to check everything.
That's awfully peculiar. I haven't heard of that before. Just curious, do you have any extensions or other things that might be messing with the session cookies? Are there any logs from the terminal when you've added the object and refreshed the page that might give away what's going on?
No other extensions they are all base browsers, Tried in Chrome this morning and it works perfectly.
I do have some other queries that'll I'll log in a different thread, Thanks for all your help on this so far.
Since things do appear to work in Chrome, I'm going to go ahead and close this one out. I'll do some digging on my own when I get a chance to verify that I don't encounter this issue with a default installation in IE/Firefox. If I run into the same issue you did @JellyWelly, I'll re-open this to track a fix. Otherwise, we can chalk it up to "weirdness", I suppose. 馃槃