pentestgeek / phishing-frenzy

Ruby on Rails Phishing Framework
www.phishingfrenzy.com
GNU General Public License v3.0
768 stars 293 forks source link

Unable to update #66

Closed fschauvinhold closed 10 years ago

fschauvinhold commented 10 years ago

Hi, think I may have issues with my permissions. Any idea? Phishing Frenzy site launched. Wehn trying to create a campaign I get the following. This was my first linux and project, so really not sure where to go from here:

Errno::EACCES in CampaignsController#update_settings

Permission denied @ rb_sysopen - /etc/apache2/httpd.conf

Rails.root: /var/www/phishing-frenzy Application Trace | Framework Trace | Full Trace

app/models/campaign.rb:125:in initialize' app/models/campaign.rb:125:inopen' app/models/campaign.rb:125:in check_changes' app/models/campaign.rb:67:inparse_email_addresses' app/controllers/campaigns_controller.rb:80:in `update_settings'

zeknox commented 10 years ago

Yeah, you've got a permission issue with the /etc/apache2/httpd.conf file. PF needs to write to this file in order to configure the phishing websites with Apache's VirtualHosts.

Try to chown the file to the www-data user since this is what Apache is most likely running under:

chown www-data:www-data /etc/apache/httpd.conf
fschauvinhold commented 10 years ago

It worked! Thank you very much. Really looking forward to using the tool.