![]() |
|
i would need some help with coding - Printable Version +- Sinisterly (https://sinister.ly) +-- Forum: Coding (https://sinister.ly/Forum-Coding) +--- Forum: Coding (https://sinister.ly/Forum-Coding--71) +--- Thread: i would need some help with coding (/Thread-i-would-need-some-help-with-coding) |
i would need some help with coding - lolrol - 12-14-2023 hi, I'm looking for guidance on creating a tool that can send a packet containing login information to a website and perform a specific action. I'd like the tool to have the following features: 1. Ability to use proxies. 2. Automatic account switching. 3. Log output. I'm curious about how to develop such a tool and which programming language would be suitable for this task. Any advice or suggestions would be appreciated.
RE: i would need some help with coding - JefeNoMas - 12-16-2023 If your goal is to automate interactions with a website for personal use or learning purposes, you might want to explore web automation frameworks such as Selenium or Puppeteer. Python is a fantastic language for web automation due to its simplicity and the availability of libraries like BeautifulSoup and requests. RE: i would need some help with coding - lolrol - 12-16-2023 (12-16-2023, 10:30 PM)JefeNoMas Wrote: If your goal is to automate interactions with a website for personal use or learning purposes, you might want to explore web automation frameworks such as Selenium or Puppeteer. Python is a fantastic language for web automation due to its simplicity and the availability of libraries like BeautifulSoup and requests. kk will try to learn selenium i already heard of it so will try but can i send a packet with login data in it? RE: i would need some help with coding - JefeNoMas - 12-16-2023 (12-16-2023, 11:06 PM)lolrol Wrote:(12-16-2023, 10:30 PM)JefeNoMas Wrote: If your goal is to automate interactions with a website for personal use or learning purposes, you might want to explore web automation frameworks such as Selenium or Puppeteer. Python is a fantastic language for web automation due to its simplicity and the availability of libraries like BeautifulSoup and requests. Yes , here is an example in python Code: from selenium import webdriver
from selenium.webdriver.common.keys import Keys
# Create a new instance of the Firefox driver (There is drivers for each browser)
driver = webdriver.Firefox()
# Open the login page
driver.get("https://example.com/login")
# Find the username and password input fields and enter your login data
username_input = driver.find_element("id", "username")
password_input = driver.find_element("id", "password")
username_input.send_keys("your_username")
password_input.send_keys("your_password")
# Submit the form
password_input.send_keys(Keys.RETURN)
driver.quit()If you provide the website I can write a short example, using that website (For Educational purposes) RE: i would need some help with coding - lolrol - 12-16-2023 thx a lot will try tomorow |