{"action":"created","issue":{"url":"https://api.github.com/repos/gophish/gophish/issues/1012","repository_url":"https://api.github.com/repos/gophish/gophish","labels_url":"https://api.github.com/repos/gophish/gophish/issues/1012/labels{/name}","comments_url":"https://api.github.com/repos/gophish/gophish/issues/1012/comments","events_url":"https://api.github.com/repos/gophish/gophish/issues/1012/events","html_url":"https://github.com/gophish/gophish/issues/1012","id":305908375,"number":1012,"title":"GoPhish Crash /Mailer Issue","user":{"login":"heathy3210","id":37443198,"avatar_url":"https://avatars3.githubusercontent.com/u/37443198?v=4","gravatar_id":"","url":"https://api.github.com/users/heathy3210","html_url":"https://github.com/heathy3210","followers_url":"https://api.github.com/users/heathy3210/followers","following_url":"https://api.github.com/users/heathy3210/following{/other_user}","gists_url":"https://api.github.com/users/heathy3210/gists{/gist_id}","starred_url":"https://api.github.com/users/heathy3210/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/heathy3210/subscriptions","organizations_url":"https://api.github.com/users/heathy3210/orgs","repos_url":"https://api.github.com/users/heathy3210/repos","events_url":"https://api.github.com/users/heathy3210/events{/privacy}","received_events_url":"https://api.github.com/users/heathy3210/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-03-16T12:23:43Z","updated_at":"2018-03-16T12:42:56Z","closed_at":null,"author_association":"NONE","body":"Having a few Issues, \r\ni successfully created a campaign and used port 8080 instead of port 80.\r\nwhen setting up the campain i set the IP address to my machine http://10.128.10.100:8080\r\nas soon as i pressed the start campaign button the application crashed including the webserver.\r\nnow every time i try to start gophish with ./gophish it fails as it is trying to run that mail job every time and failing on an error, therefore the web interface doesnt load up so i cant even delete the campaign.\r\n\r\nIs there a way to purge the mail job so that i can load up Gophish again?\r\n\r\nHere is my output:\r\n\r\n\r\nroot@kali:~/Apps/GoWork/src/github.com/gophish/gophish# ./gophish\r\n 2018/03/16 12:18:59 worker.go:26: Background Worker Started Successfully - Wait                                                                                                                                                             ing for Campaigns\r\ngoose: no migrations to run. current version: 20171208201932\r\n 2018/03/16 12:18:59 gophish.go:120: Starting phishing server at http://10.128.1                                                                                                                                                             0.100:8080\r\n 2018/03/16 12:18:59 gophish.go:103: Starting admin server at https://10.128.10.                                                                                                                                                             100:3334\r\n 2018/03/16 12:19:59 worker.go:65: Sending 1 maillogs to Mailer\r\n 2018/03/16 12:19:59 mailer.go:78: Mailer got 1 mail to send\r\npanic: runtime error: invalid memory address or nil pointer dereference\r\n[signal SIGSEGV: segmentation violation code=0x1 addr=0x68 pc=0x607562]\r\n\r\ngoroutine 46 [running]:\r\nnet/url.(*URL).Query(0x0, 0x12)\r\n        /usr/lib/go-1.9/src/net/url/url.go:975 +0x22\r\ngithub.com/gophish/gophish/models.(*MailLog).Generate(0xc4201d6690, 0xc4206682a0                                                                                                                                                             , 0x0, 0xc4206682a0)\r\n        /root/Apps/GoWork/src/github.com/gophish/gophish/models/maillog.go:224 +                                                                                                                                                             0x384\r\ngithub.com/gophish/gophish/mailer.sendMail(0x1030480, 0xc4201f4280, 0x1029200, 0                                                                                                                                                             xc4201f8ee8, 0xc4201225b0, 0x1, 0x1)\r\n        /root/Apps/GoWork/src/github.com/gophish/gophish/mailer/mailer.go:145 +0                                                                                                                                                             x18a\r\ngithub.com/gophish/gophish/mailer.(*MailWorker).Start.func1(0x1030480, 0xc4201f4                                                                                                                                                             280, 0xc4201225b0, 0x1, 0x1)\r\n        /root/Apps/GoWork/src/github.com/gophish/gophish/mailer/mailer.go:84 +0x                                                                                                                                                             165\r\ncreated by github.com/gophish/gophish/mailer.(*MailWorker).Start\r\n        /root/Apps/GoWork/src/github.com/gophish/gophish/mailer/mailer.go:77 +0x                                                                                                                                                             81\r\n\r\n\r\nThanks,\r\nJordan"},"comment":{"url":"https://api.github.com/repos/gophish/gophish/issues/comments/373701839","html_url":"https://github.com/gophish/gophish/issues/1012#issuecomment-373701839","issue_url":"https://api.github.com/repos/gophish/gophish/issues/1012","id":373701839,"user":{"login":"S0larflare","id":8939757,"avatar_url":"https://avatars3.githubusercontent.com/u/8939757?v=4","gravatar_id":"","url":"https://api.github.com/users/S0larflare","html_url":"https://github.com/S0larflare","followers_url":"https://api.github.com/users/S0larflare/followers","following_url":"https://api.github.com/users/S0larflare/following{/other_user}","gists_url":"https://api.github.com/users/S0larflare/gists{/gist_id}","starred_url":"https://api.github.com/users/S0larflare/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/S0larflare/subscriptions","organizations_url":"https://api.github.com/users/S0larflare/orgs","repos_url":"https://api.github.com/users/S0larflare/repos","events_url":"https://api.github.com/users/S0larflare/events{/privacy}","received_events_url":"https://api.github.com/users/S0larflare/received_events","type":"User","site_admin":false},"created_at":"2018-03-16T12:42:56Z","updated_at":"2018-03-16T12:42:56Z","author_association":"COLLABORATOR","body":"If you do ./gophish --disable-mailer that should disable it (I tried thinking of a better way to word that without sounding like an idiot, but failed). You should then be able to delete the campaign and restart gophish normally (I think, I haven't looked in to the new mailer code so I'm not sure if deleting the campaign will clear it or not, but it's worth a try for a quick fix)."}}
{"actor":{"display_login":"S0larflare"}}