Website Bruteforcer using Python Requests [Ethical Hacking]

Поділитися
Вставка
  • Опубліковано 1 жов 2024
  • How to make a website bruteforcer using Python's Requests library!
    Link to the testing website: jac24.pythonan...
    Characters list: "abcdefghijklmnopqrstuvwxyz0123456789"
    Source code: github.com/Lou...
    Try to brute force the account "username" on the test website which has a password of 5 characters!
    Don't forget to leave a like and subscribe!
    Tags:
    python bruteforcer requests coding programming
  • Навчання та стиль

КОМЕНТАРІ • 150

  • @JustAnotherCoder
    @JustAnotherCoder  Місяць тому

    Consider donating to help the channel!
    Buy me a kofi ko-fi.com/justanothercoder
    Patreon patreon.com/justanothercoder

    • @xspydazx
      @xspydazx 25 днів тому

      you oly need to give the GPT local the code and it will expand it : as required : Hece today we should creaate tools which models can utilize! as we only need to introduce the basic concepts to the modle and as the evole they will rewrite the code to solve and bariors

  • @UltraduckkSHORTSa
    @UltraduckkSHORTSa Місяць тому +1

    When I run it it says all of them are correct.... and when I import OS it doesn't say anything. Please help me

  • @taimuralisakhawat6148
    @taimuralisakhawat6148 Рік тому +7

    bro I encountered "no such file or directory" issue plzz guide

  • @theheavycoder9326
    @theheavycoder9326 3 роки тому +13

    Amazing Video! I have a suggestion: Instead of writing to disk, I recommend writing to a list, as this will be stored on the user's RAM. Even if the user is using a solid state drive (SSD), most SSD's available to the consumer are slower than RAM. This practice of writing to the disk can be very slow!
    Also, since replit websites tend to shut down every 15 mins with no ping, I decided to use my uptime robot to help keep your website up instead of waiting for it to turn it on.
    Edit: One more thing, to have a tag on UA-cam you have to put a "#" symbol between all those tags in the desc. So do: #python, #bruteforce, etc.

    • @JustAnotherCoder
      @JustAnotherCoder  3 роки тому +5

      Thanks so much! Sorry for replying late but UA-cam blocked this comment for some reason lol
      And yes you're right, it is a better solution writing to a list, I didn't think of that.
      Also thanks for the tip on the uptime robot!

    • @JustAnotherCoder
      @JustAnotherCoder  2 роки тому +1

      @@deborahperro7751 What- How can I steal someone's identity lol

    • @JustAnotherCoder
      @JustAnotherCoder  2 роки тому +1

      @@deborahperro7751 Ok even if this is real I am not sure why you are saying it here, I suggest calling the police and filing a report

  • @JustAnotherCoder
    @JustAnotherCoder  2 роки тому +23

    Another way for checking if the password is incorrect or not is checking if the r.status_code != 200. Use this if it's not working!

  • @antagoat-l9w
    @antagoat-l9w 10 місяців тому +2

    I must to say that you was the best than other hackers in this videos you need more subscribers man + 1

  • @tachthank2393
    @tachthank2393 Рік тому +1

    Hi I am from Morocco how to brutforce router wifi on python plz help me

  • @yourcollywollyhere
    @yourcollywollyhere Місяць тому

    It only worked one time and in the one time it worked it said that every single password it tried was correct...

  • @JesseOrSomething2.0
    @JesseOrSomething2.0 25 днів тому

    when i type pip install requests it says 'pip' is not recognized as an internal or external command,
    operable program or batch file. what do i do?

  • @reaper8156
    @reaper8156 Рік тому +2

    wow! this video is really amazing. I really did learned a whole bunch lol. I will make sure to show this to my class!

  • @fasttask5101
    @fasttask5101 2 роки тому +1

    why is my not working even when I created a tries.txt

  • @joymackey8218
    @joymackey8218 2 роки тому +1

    Can you make video about brutefoce website request and parse token and post data etc example any website with token thank you

  • @swaggygt5500
    @swaggygt5500 Рік тому +2

    This was by far! The best tutorial, i have found.
    This was like 2 hours of tutorial in 15 min. Thats crazy♥♥♥♥♥

  • @cjgomez857
    @cjgomez857 2 роки тому +1

    i tried it on my roblox alt account. It did not find its correct password

  • @JustAnotherCoder
    @JustAnotherCoder  3 роки тому +3

    Comment the password of the account "username" if you managed to crack it!
    Hint: it is 5 characters long

    • @theheavycoder9326
      @theheavycoder9326 3 роки тому +6

      is the password "ucool"?

    • @JustAnotherCoder
      @JustAnotherCoder  3 роки тому +9

      @@theheavycoder9326 wow someone actually guessed it! Good job!!

    • @screewedup713
      @screewedup713 2 роки тому +1

      @@theheavycoder9326 how did you manage get the password? i run the script to give me 5 characters long but all it generates it's bullshit random letters.

    • @neos_games
      @neos_games 2 роки тому

      @@theheavycoder9326 how long did it take you? howd you get it in the firsg place?

  • @pedropascalDaddy
    @pedropascalDaddy 2 роки тому +1

    i have tried this but i get the eror data is not defined at the begining of the video, is it because im using a different python version ?

  • @ramelsteel3782
    @ramelsteel3782 2 роки тому +3

    name password is not defined" what am i gonna do about that bro?

  • @Mrmaggakos
    @Mrmaggakos 4 місяці тому

    where can i download it?

  • @darklonewolf2331
    @darklonewolf2331 2 роки тому +1

    I do not see form data when clicking inspect element?

  • @フエリペ
    @フエリペ 2 роки тому +1

    i dont get the install request part

  • @toptrash8077
    @toptrash8077 2 роки тому +1

    what if the website print the whole html code instead a spesific text and the status code still 200 even the password is correct ? pls give a solution to me

    • @alper1609
      @alper1609 2 роки тому

      You can parse html for getting the password correct or not

  • @crimatador1
    @crimatador1 2 роки тому +1

    Will this work with qpython android?

  • @neos_games
    @neos_games 2 роки тому +2

    working, but is there a way of adding actual words to the list? like intead of random letters

    • @AmlizeagaGaming
      @AmlizeagaGaming 2 роки тому +2

      im a python begginer, but i think you can do this
      chars = ("word", "word", "word")

    • @AmlizeagaGaming
      @AmlizeagaGaming 2 роки тому +2

      maybe that works

    • @neos_games
      @neos_games 2 роки тому +2

      @@AmlizeagaGaming already tried that but it just works weirdly, thanks thought

  • @vaibhavkumawat2369
    @vaibhavkumawat2369 2 роки тому +1

    Heyy man I got the password of username account in the output but when I go to the website and try to login in there it's showing failed to login what should I do

  • @pikaxmv6660
    @pikaxmv6660 3 місяці тому

    i cant find form data

  • @lexwaches8343
    @lexwaches8343 2 роки тому +2

    txs now i can hack into russian websites

    • @DominicNweze
      @DominicNweze Рік тому

      Did you succeed

    • @lexwaches8343
      @lexwaches8343 Рік тому

      @@DominicNweze nah it was A joke I dont want to get in trouble

  • @EDU-rs3ld
    @EDU-rs3ld 5 місяців тому

    a terminal.

  • @jameslane4673
    @jameslane4673 2 роки тому

    Hi when I run every single one says correct password Im knda confuse

  • @oliwierewe2060
    @oliwierewe2060 2 роки тому

    winerror 10061 no connection could be made because the target machine actively refused it why?

  • @wowgingermobile2123
    @wowgingermobile2123 Рік тому +1

    Amazing man! But if possible could you please adjust the audio in your future videos, thanks!

  • @mralasco7976
    @mralasco7976 Рік тому

    hello this video is amazing but if i want put multpule username and i want use my own password list not generate and i??

  • @ИвасикТелесик-е8э

    and how to pick up a 6-digit password-verification for the game account "Origin" if you forgot your mail?

  • @danimaccio4222
    @danimaccio4222 2 роки тому

    hi bro i run your script in my pycharm and exit code is 0,ok,but bruteforce not works,why?thkx

  • @razvanprg5718
    @razvanprg5718 Рік тому

    @Just Another Code Does it work on other websites?

  • @kalee303
    @kalee303 2 роки тому

    Its not working indentation error it's saying what should I do

  • @pr1stak
    @pr1stak Рік тому

    Im trying to use password list from text file, but it says that the password is incorrect even if it is, any ideas how to fix it?

  • @_____1826
    @_____1826 10 місяців тому

    Looks cool...going to subscribe you now

  • @HenryApanisile
    @HenryApanisile Рік тому

    i try the pip install request but its error

  • @KraydoDakid
    @KraydoDakid Рік тому

    Where do I download python

  • @jaksiz
    @jaksiz 7 місяців тому

    Amazing video, you explained so well.

  • @ikhebdieishetnietgoeddathe4057
    @ikhebdieishetnietgoeddathe4057 2 роки тому

    It gives me 'Thread' is not defined, why's that?

  • @danimaccio4222
    @danimaccio4222 2 роки тому

    amazing,but you can show too as run using threads bro?it will more fast

  • @fasttask5101
    @fasttask5101 2 роки тому

    and in replit it is showing correct password for inccorrect password instead of showing inccorrect password

  • @thangphan6972
    @thangphan6972 Рік тому

    so if we assume if data{ "otp ": otp }, can it attack the otp code?

  • @kellgo
    @kellgo 2 роки тому

    when i click run ti doesnt say that there are any errors but it doesnt come up with any combonations

  • @pimpbob
    @pimpbob Рік тому

    can this lag websites?

  • @dakshchaudhary8256
    @dakshchaudhary8256 Рік тому

    Hello friend will it work on sites like Instagram and Facebook who have certain limits for entering wrong password?

  • @tareqziad376
    @tareqziad376 2 роки тому +1

    the code is not showing any results, the only things the code shows is filenotfound in line 29

    • @tareqziad376
      @tareqziad376 2 роки тому

      I wish someone help me

    • @JustAnotherCoder
      @JustAnotherCoder  2 роки тому

      @@tareqziad376 create tries.txt in the same folder as your python file

    • @tareqziad376
      @tareqziad376 2 роки тому

      @@JustAnotherCoder I tried but nothing happened, maybe I did something wrong

    • @anonymuser6610
      @anonymuser6610 2 роки тому

      @@JustAnotherCoder not working nothing happens

  • @kombo0261
    @kombo0261 2 роки тому +1

    @Just Another Coder: I have a problem. If im going to run the programm it says that the ,,r,, at r = requests.get(url), data=data) is an ivalid syntax. how can i fix this?

    • @JustAnotherCoder
      @JustAnotherCoder  2 роки тому +1

      it is r = requests.get(url, data=data). Instead of url) it is url

    • @kombo0261
      @kombo0261 2 роки тому

      @@JustAnotherCoder ok fixed it, now it starts, but instead of passwords it runs ,,tries.txtfilenotfounderror..

    • @JustAnotherCoder
      @JustAnotherCoder  2 роки тому

      @@kombo0261 create tries.txt in the same directory as your program

    • @kombo0261
      @kombo0261 2 роки тому

      @@JustAnotherCoder i did one on my desktop. i think i did it the same way like you. but what do you mean with ,, in the same directory?

    • @JustAnotherCoder
      @JustAnotherCoder  2 роки тому

      @@kombo0261 I mean in the same place as your program, so on your desktop in your case

  • @Christian19.01
    @Christian19.01 2 роки тому

    Hey the programm gave me password, but it's wrong. Why do this happend? The password is 5l4kt

    • @JustAnotherCoder
      @JustAnotherCoder  2 роки тому

      Could be many reasons. Someone had the same issue and the reason was that the server I am using to host the website crashed, to bypass this issue instead of checking if 'logged in' not in r.text.lower() check for if 'failed to login' in r.text.lower()

  • @weirdo1097
    @weirdo1097 Рік тому

    How do you install pip on windows 11?

  • @snub7991
    @snub7991 2 роки тому

    Can i get the website source code??or tutorial to make website

  • @MarkoBrainz
    @MarkoBrainz 2 роки тому

    Man this was so helpful thank you so much! I ran the code and tried to crack "username"... But even after over 60 000 tries and about an hour of it running it couldn't find it :( I know the password is ucool (found in comments). So I could see if it found it or not (using ctrl+f). It's working it's just a really small chance XD

  • @danimaccio4222
    @danimaccio4222 2 роки тому

    bro in py 3.9 not works

  • @miyagixamikadze1555
    @miyagixamikadze1555 8 місяців тому

    Bro it amazing, + sub

  • @imrealgigachad
    @imrealgigachad 2 роки тому

    Doesnt work

  • @headthinker5549
    @headthinker5549 2 роки тому

    Youre amazing as f***

  • @skkepter2526
    @skkepter2526 2 роки тому

    If a username is already set then does it try passwords connecting to the username or computer?

  • @walidmat8972
    @walidmat8972 2 роки тому +1

    how to set the password lentgh between 3 and 12 carracter please

    • @JustAnotherCoder
      @JustAnotherCoder  2 роки тому +2

      You can make the length be random.randint(3,12)

    • @walidmat8972
      @walidmat8972 2 роки тому

      @@JustAnotherCoder thnx lazing video 💯

    • @walidmat8972
      @walidmat8972 2 роки тому

      bro i have another question 😅
      in you case site you used "failed to login" as a condition but it Change from a site to other can you pleas tell me how to find this conditions

    • @JustAnotherCoder
      @JustAnotherCoder  2 роки тому +1

      @@walidmat8972 Try checking with r.status_code (check pinned comment) or check for what the site tells you when you fail to login

  • @desnikeenfer5557
    @desnikeenfer5557 2 роки тому

    how get the confirm login in other site ?

  • @moseschisanga5232
    @moseschisanga5232 2 роки тому

    How can you tell the program to load attempts from a file the user browsed?

  • @hackers_league
    @hackers_league 2 роки тому

    Method not allowed. What can I do?

  • @wisdomovermoney3394
    @wisdomovermoney3394 2 роки тому +1

    How about multiple requests at the same time, in parallel?

    • @AbdusSalam-ll1yp
      @AbdusSalam-ll1yp 2 роки тому

      I think the website will respond like normal. In an actual website log in, it won't be just us logging in, there will be other people as well.

    • @wisdomovermoney3394
      @wisdomovermoney3394 2 роки тому

      @@AbdusSalam-ll1yp I know it will respond normally. The question is if you can implement parallel requests.

    • @AbdusSalam-ll1yp
      @AbdusSalam-ll1yp 2 роки тому

      @@wisdomovermoney3394 yes you can implement it with the threading module

    • @wisdomovermoney3394
      @wisdomovermoney3394 2 роки тому

      @@AbdusSalam-ll1yp have you done it or just theorizing?

    • @AbdusSalam-ll1yp
      @AbdusSalam-ll1yp 2 роки тому

      @@wisdomovermoney3394 the guy in the video has done it. Did you watch the whole video?

  • @Miner_BoiYT
    @Miner_BoiYT Рік тому

    what program do u use for writing in puthon

    • @義
      @義 10 місяців тому

      Python.

  • @cold7372
    @cold7372 2 роки тому

    pass is nnzr0

  • @Christian19.01
    @Christian19.01 2 роки тому

    @Just Another Code Does the password contain capital letters and Special characters?

  • @Christian19.01
    @Christian19.01 2 роки тому +1

    @Just Another Code
    To begin with a this is a very good video.
    I have only one problem, random.randit(1,10)) is shown to me as error. To be more precise, the error seems to be the randit. What could be the reason for this and how can I fix it?

    • @JustAnotherCoder
      @JustAnotherCoder  2 роки тому

      Have you imported random by adding import random at the top of the code? Also what exactly does the error say?

    • @Christian19.01
      @Christian19.01 2 роки тому

      @@JustAnotherCoder yes i did

    • @JustAnotherCoder
      @JustAnotherCoder  2 роки тому

      @@Christian19.01 if your exact line of code is random.randit(1,10)) then the error is cause you added an extra ) at the end

    • @Christian19.01
      @Christian19.01 2 роки тому

      @@JustAnotherCoder i got my misstake. i wrote randit, i forgot the n

    • @JustAnotherCoder
      @JustAnotherCoder  2 роки тому

      @@Christian19.01 oh, these types of mistakes happen to everyone lol

  • @SahilFR
    @SahilFR 2 роки тому

    super informative thanks

  • @ridvanyilmaz7028
    @ridvanyilmaz7028 2 роки тому

    error python file

  • @Hallxween
    @Hallxween 2 роки тому +4

    any way to make a “automated” version of this like when you start the program it asks you what link and username you want to brute force?

    • @JustAnotherCoder
      @JustAnotherCoder  2 роки тому +1

      Kind of, since every website can have different parameters, login url, request method you will also need to ask in the input for the login url, what are the required parameters (for example username and password), and what is the request method (post or get).

    • @jakes-dev1337
      @jakes-dev1337 2 роки тому

      Just learn basic python user input. You can collect that information with a print statememt

  • @jay-dq8tr
    @jay-dq8tr 2 роки тому

    does this also work to guess a 2fa authenticator code?

  • @headthinker5549
    @headthinker5549 2 роки тому

    I love this

  • @yingo1525
    @yingo1525 2 роки тому

    It is normal for the programme to exit after a while?

    • @JustAnotherCoder
      @JustAnotherCoder  2 роки тому

      Not really, but since it uses threads technically the program is already closed and the threads are running separately.
      One way to check if it actually stopped is checking if tries.txt is not getting updated anymore, if that is the case then you can just restart it and it will continue from where it left off since tries.txt still contains all tried non working password

  • @hurykainyt5673
    @hurykainyt5673 2 роки тому

    I have a question. What do I have to replace in the script if instead of cracking the password, I want it to try all the words that I put in a notepad for example?

    • @JustAnotherCoder
      @JustAnotherCoder  2 роки тому +2

      At the top of your code add this line of code: with open("your_notepad_file.txt") as f:
      passwords = f.readlines()
      and then instead of rndpasswd = random.choices(chars, k=2) put
      rndpassword = random.choice(passwords)
      Also make sure to replace your_notepad_file.txt with whatever your filename which has the words is

    • @D_ev
      @D_ev 2 роки тому

      @@JustAnotherCoder thanks :D

  • @ssanith
    @ssanith 2 роки тому

    I did this but it says that name error, send_req is not defined but I have

    • @spencerkeys
      @spencerkeys 2 роки тому

      Make sure you are running it in Python IDLE. When you run the module it should open up the terminal and that is where you type the send_request

    • @AmlizeagaGaming
      @AmlizeagaGaming 2 роки тому

      @@spencerkeys hey can you help me

    • @AmlizeagaGaming
      @AmlizeagaGaming 2 роки тому

      @@spencerkeys when i run the script, it cant find the module "requests"

    • @KraydoDakid
      @KraydoDakid Рік тому

      @@spencerkeysit keep saying permission denied

  • @zirreo
    @zirreo 2 роки тому

    i have a question how do you get python that looks like that on the one u use the code with

    • @JustAnotherCoder
      @JustAnotherCoder  2 роки тому

      It's called IDLE, when you download Python from the official python website you have the option to download it also, just click the Customize button in the installer and then select the box that says IDLE.

    • @zirreo
      @zirreo 2 роки тому

      @@JustAnotherCoder i mean like how do you run the code whenever you want it doesnt work for me also i cant put multiple lines it execute automaticly

    • @JustAnotherCoder
      @JustAnotherCoder  2 роки тому

      @@zirreo That is because you are in the IDLE Console. You need to click File and then New File, then click F5 and it will run after you save it

    • @zirreo
      @zirreo 2 роки тому

      @@JustAnotherCoder thanks it works now

  • @AntsFromHolland
    @AntsFromHolland 3 роки тому +2

    Change the threads to 200 and it will be instant :D

    • @JustAnotherCoder
      @JustAnotherCoder  3 роки тому

      Oh cool! I didn't try it in the video since some people might crash their pc's if they put 200 threads lol

    • @JustAnotherCoder
      @JustAnotherCoder  3 роки тому

      @@abhradeepde2357 This happened when you tried with 200 threads, so does it work with like 50 threads or less? can you show me the full error?

  • @JustAnotherCoder
    @JustAnotherCoder  2 роки тому

    Discord server: discord.gg/wXz8GD9ySm

  • @argosgaming5659
    @argosgaming5659 Рік тому

    Can you tell me how to make it so it tries for example passwords with a minimum of six characters?

  • @hackattackanddefence4471
    @hackattackanddefence4471 2 роки тому

    bhai muh me paaan daba ke q bol rha he yar

  • @SahilFR
    @SahilFR 2 роки тому

    question though, if I want it to include capital letters - do I put that in also so like "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789" or is there some other way? this stuff really interests me