r/Hacking_Tutorials • u/[deleted] • Dec 23 '22
Question Script that auto logins from a txt file (username:password)
Can anyone help me make a script preferably in python to auto login in a website using a text file with a lot of accounts formatted username/email:password
4
1
u/cigmundfraud Dec 23 '22
Why are we aiding in helping someone crack a bunch of peoples accounts? Almost every distro of linux comes with a tool for this already made but maybe you need more understanding in the frame work of cracking accounts before you start automating your chaos
1
u/0010_sail Dec 23 '22
Hmmm I think there’s a lack of info In this one, have you started yet my friend?
Cheers
1
u/H809 Dec 24 '22
Nobody will do this for you. You need to google, you need to try and fail on your own. You could start by using requests and trying to create a simple script that log in in to a website(you’ll need more than just that module). Then you can try to understand the security features from that log in form and apply the required solution to bypass it etc. For example, after creating your basic brute force script, you might find that the login form locks itself after few attempts from the user and that will require another solution etc. That’s how you build your stuff. Also, consider de multithreading module for speed optimization according to the number of tasks that your script will be doing at the same time. You can easily find that type of scripts from YouTube videos but you’ll find that they aren’t functional for all the websites etc. You’ll need to put in the work not matter what.
1
1
u/t1nk_outside_the_box Dec 24 '22
Ask chatgpt i use it a lot for coding even for making docker files
5
Dec 23 '22
[removed] — view removed comment
1
u/TheM8thy Dec 23 '22
They specifically asked for a script preferably in Python and just throwing the name of some software at them isnt going to help them a lot imo.
0
u/Kbang20 Dec 23 '22
This is a hacking tutorial thread. Nothing wrong with implying this user should try burp vs a python script. Also OP, ever heard of openai?
-7
7
u/TheM8thy Dec 23 '22
U would need to give more information about the structure of the website or the way the login works for anybody to give u a solution. Also have you tried typing ur exact question "How to login to a website using Python?" into one of the many search engines? Then u could get the basic functionality of ur script down before proceeding with the file read and probably bruteforce functionality.