Python Forum
I need advise with developing a brute forcing script - Printable Version

+- Python Forum (https://python-forum.io)
+-- Forum: Python Coding (https://python-forum.io/forum-7.html)
+--- Forum: General Coding Help (https://python-forum.io/forum-8.html)
+--- Thread: I need advise with developing a brute forcing script (/thread-29178.html)

Pages: 1 2


I need advise with developing a brute forcing script - fatjuicypython - Aug-21-2020

I need some advise on developing a script to brute force a 4 digit pin.

I know the pin has to be from 0000 to 9999

However, on the game website there is a slot for me to add 4 digit pin. How can I instruct python, to brute force every number from 0000 - 9999 in that specific part of the website asking for pin ?


RE: I need advise with developing a brute forcing script - Larz60+ - Aug-21-2020

give it a go,
we are glad to help, but you must make an effort


RE: I need advise with developing a brute forcing script - fatjuicypython - Aug-21-2020

I understand but you have to understand, i do not know where to start, i am watching youtube videos and blog but it does not answer my exact questions.

First question is:

The game website i am trying to bruteforce is at

https://websitename.com/verify

However, what the tutorials do not mention is. Do i need to login to website with script or do i login manually and go to https://gamewebsitename.com/verify ?

Second question. There is a slot on website where I must manually type the 4 digit pin but how do i get python to select this element and input the numbers from 0000 to 9999


RE: I need advise with developing a brute forcing script - ndc85430 - Aug-21-2020

Is this really the sort of thing you should be doing?


RE: I need advise with developing a brute forcing script - fatjuicypython - Aug-21-2020

(Aug-21-2020, 02:59 PM)ndc85430 Wrote: Is this really the sort of thing you should be doing?


I am trying to learn cyber security


RE: I need advise with developing a brute forcing script - perfringo - Aug-21-2020

[Friday night ideas] I suspect that the most effective (time-wise) brute-force is to enter manually all numbers 0000, 0001, ... 9999 at aforementioned website (considering all the time spent watching tutorials and still not having idea where to start etc).


RE: I need advise with developing a brute forcing script - fatjuicypython - Aug-21-2020

(Aug-21-2020, 03:11 PM)perfringo Wrote: [Friday night ideas] I suspect that the most effective (time-wise) brute-force is to enter manually all numbers 0000, 0001, ... 9999 at aforementioned website (considering all the time spent watching tutorials and still not having idea where to start etc).

Wouldnt be possible, not efficient and there is only 5 attempts allowed.

I have never used python, created a script in my entire life with python, so sorry I do not meet your "high expectations.

[Friday night ideas] if you have nothing positive to contribute, then don't waste your time.


RE: I need advise with developing a brute forcing script - Intr0spective - Aug-21-2020

Quote:[Friday night ideas] if you have nothing positive to contribute, then don't waste your time.

Ehm, not sure if the purpose of perfringo's message wasn't to actually kindly advise you on actually not wasting your time this Friday evening :)

Btw, this kind of question i would expect over at e.g Kali or Parrot linux forums - i strongly believe that such a script must be somewhere out there among the tools these distros normally come with.


RE: I need advise with developing a brute forcing script - fatjuicypython - Aug-21-2020

(Aug-21-2020, 03:56 PM)Intr0spective Wrote:
Quote:[Friday night ideas] if you have nothing positive to contribute, then don't waste your time.

Ehm, not sure if the purpose of perfringo's message wasn't to actually kindly advise you on actually not wasting your time this Friday evening :)

Btw, this kind of question i would expect over at e.g Kali or Parrot linux forums - i strongly believe that such a script must be somewhere out there among the tools these distros normally come with.

I am reaching out for help, due to been new. I am watching the video but i do not understand how to select a specific element of a website, where i need enter the numbers from 0000 - 9999

I think i can use crunch for 0000 - 9999 but i do not understand how i can select element on the websie to enter in numbers. I just need a solid tutorial that can show me how to do this.


RE: I need advise with developing a brute forcing script - perfringo - Aug-21-2020

(Aug-21-2020, 03:17 PM)fatjuicypython Wrote: Wouldnt be possible, not efficient and there is only 5 attempts allowed.

I have never used python, created a script in my entire life with python, so sorry I do not meet your "high expectations.

[Friday night ideas] if you have nothing positive to contribute, then don't waste your time.

[Friday night conversation with imaginary friend]

[imaginary friend]: I need solution to my problem
[me]: Can you be more specific?
[imaginary friend]: you are not constructive, I need solution and not description of the problem.
[me]: I'll take another beer and try patronize.
------------------------------------------------------------------------

I feel that I am constructive. As a result of my post we have important information about problem: "only 5 attempts allowed". This makes my suggestion even more relevant: why write a script if one can only make 5 attempts? 4 x 5 = 20 keystrokes and it's over. Whatever script will be probably much longer.

On more serious note: server somehow attributes these attempts to 'user'. By username? By cookie? By IP-address? By hardware fingerprinting? By something else? By combinations of above mentioned? In order to have 'solution' one must describe problem with all it's constraints (I personally didn't visit the website as my browser warned me about invalid certificate; so I have no clue).

Before you proceed you should make sure that in your jurisdiction this is not something broadly called as 'unauthorized acces to computer network'. In some jurisdictions this is criminal offence, in some this carries civic liability. Do your research before you attempt something and not afterwards (ignorance does not release from liability).