pentestgeek / phishing-frenzy

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

Website Cloning is not working properly #278

Closed iHasanYK closed 6 years ago

iHasanYK commented 8 years ago

Hi

i have checked the issues reported regarding website cloning, this error is generated when i try to clone a website: ActiveRecord::StatementInvalid in ClonesController#create

can it be solved by using such a solution ?! http://stackoverflow.com/questions/21334092/activerecordstatementinvalid-in-userscontrollercreate-when-i-use-sorcery-gem

iHasanYK commented 8 years ago

Extracted source (around line #56):

54 55 56 57 58 59

respond_to do |format|
  if @clone.save
    format.html { redirect_to clones_path, notice: 'Clone was successfully created.' }
    format.json { render json: @clone, status: :created, location: @clone }
  else
iHasanYK commented 8 years ago

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

app/controllers/clones_controller.rb:56:in block in create' app/controllers/clones_controller.rb:55:increate'

Request

Parameters:

{"utf8"=>"✓", "authenticity_token"=>"tbCPR80BNvxeg9Cwpiy3rTsh9baV2R5HbCIvchoqUnY=", "clone"=>{"name"=>"HMG - FB Campaign", "url"=>"https://www.facebook.com"}, "commit"=>"Clone Website"}

zeknox commented 8 years ago

Thanks for the bug report, we are actually looking to remove the site cloning functionality because it has a number of bugs which would require a big refactor to not store the cloned data within the db due to size restraints.

xwareinnovations commented 7 years ago

try this fix https://github.com/pentestgeek/phishing-frenzy/issues/170#issuecomment-244424213

zeknox commented 7 years ago

We are going to be removing the website cloning functionality in future versions.