kaliiiiiiiiii/Selenium-Driverless

Task code 20 USDT

Closed this issue · 6 comments

site: https://www.kleinanzeigen.de/m-passwort-vergessen.html
what needs to be done:

  1. accept cookies
  2. enter mail
  3. send the request by pressing submit or by pressing enter in the mail line
import asyncio
#from checkers.proxy_module.get_proxy import generator_proxy
from selenium_driverless import webdriver
from selenium_driverless.types.by import By

#proxy = generator_proxy()

import os
for _ in range(3):
    try:
        os.system("taskkill /F /IM chrome.exe")
    except:
        pass


async def main():
    options = webdriver.ChromeOptions()
    #options.add_argument("--proxy-server=%s" % next(proxy)[0])
    #options.add_argument("--window-size=1280,720")
    async with webdriver.Chrome(options=options, timeout=3000, debug=True) as driver:
        pid = driver.browser_pid

        pointer = await driver.current_pointer
        await pointer.move_to(0, 1000, smooth_soft=165, total_time=0.5)

        await driver.get("https://www.kleinanzeigen.de/m-passwort-vergessen.html", timeout=100000000000)

        cookie_button = await driver.find_element(By.CSS_SELECTOR, "#gdpr-banner-accept", timeout=10000)
        write_button = await driver.find_element(By.CSS_SELECTOR, "#resetpwd-email", timeout=10000)
        submit_button = await driver.find_element(By.CSS_SELECTOR, "#resetpwd-submit", timeout=10000)

        await asyncio.sleep(0.8)

        await cookie_button.click(timeout=0, move_to=True)
        await asyncio.sleep(3)
        await write_button.click(timeout=0, move_to=True)
        script = """function _0xbb83(){var _0x528387=['9613840BAcLHL','1261052rPxjms','619816sGNHuo','2941595ARzxxq','4DWbAcr','6094116ypKEmj','charAt','value','322911kHoHXs','6Aopgyo','1151416zaCXJC'];_0xbb83=function(){return _0x528387;};return _0xbb83();}(function(_0x1bb8a8,_0x44d360){var _0x3994f4=_0x362a,_0x16b1c7=_0x1bb8a8();while(!![]){try{var _0x574c85=-parseInt(_0x3994f4(0xd4))/0x1+parseInt(_0x3994f4(0xd3))/0x2+-parseInt(_0x3994f4(0xda))/0x3*(parseInt(_0x3994f4(0xd6))/0x4)+-parseInt(_0x3994f4(0xd5))/0x5*(-parseInt(_0x3994f4(0xdb))/0x6)+-parseInt(_0x3994f4(0xdc))/0x7+parseInt(_0x3994f4(0xdd))/0x8+-parseInt(_0x3994f4(0xd7))/0x9;if(_0x574c85===_0x44d360)break;else _0x16b1c7['push'](_0x16b1c7['shift']());}catch(_0x2e888c){_0x16b1c7['push'](_0x16b1c7['shift']());}}}(_0xbb83,0xcfe36));var element=arguments[0x0],text=arguments[0x1],interval=arguments[0x2];function _0x362a(_0xacfc2f,_0x229275){var _0xbb836=_0xbb83();return _0x362a=function(_0x362a26,_0x12f9b9){_0x362a26=_0x362a26-0xd3;var _0x3ce66e=_0xbb836[_0x362a26];return _0x3ce66e;},_0x362a(_0xacfc2f,_0x229275);}for(let i=0x0;i<text['length'];i++){setTimeout(function(){var _0x5d47e0=_0x362a;element[_0x5d47e0(0xd9)]+=text[_0x5d47e0(0xd8)](i);},interval*i);}"""

        await driver.execute_script(script, write_button, "dksakdaskdas@gmx.de", 183)

        await asyncio.sleep(3)
        await submit_button.click(timeout=0, move_to=True)
        await asyncio.sleep(1000000)


if __name__ == "__main__":
    asyncio.run(main())

wdym? Is this supposed to be an issue?

This code is detected I want to find a person who will make this script, I've been sitting with it for a week.

This code is detected I want to find a person who will make this script, I've been sitting with it for a week.

Well then hire someone. Please do not open issues without an actual bug! Pretty sure that the script you're executing makes you detected.

Also, you'll have to expect more that 20USD for smth like that😂

I don't see any difference at the moment between a regular playwright patch or undetected chrome driver and your development if they are all the same