Closed saran0008 closed 3 months ago
check whether you have a chrome browser installed. if not install it
I installed in wsl even though it is not working bro
On Sat, 27 Jul 2024 at 1:05 PM, Mithun M @.***> wrote:
check whether you have a chrome browser installed. if not install it
— Reply to this email directly, view it on GitHub https://github.com/mith36/XSS-PrO/issues/3#issuecomment-2254130193, or unsubscribe https://github.com/notifications/unsubscribe-auth/BCCN6G7NDTZXDWKYQJH6B2DZOOEIBAVCNFSM6AAAAABLR2AJSWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDENJUGEZTAMJZGM . You are receiving this because you authored the thread.Message ID: @.***>
Try running in your Windows machine. This issue is because it's not able to launch the Chrome browser. It could be an issue with the web driver library version also so, I have updated the requirements.txt file with the library version.
Ok, I will try.
On Sat, Jul 27, 2024 at 1:11 PM Mithun M @.***> wrote:
Try running in your Windows machine. This issue is because it's not able to launch the Chrome browser.
— Reply to this email directly, view it on GitHub https://github.com/mith36/XSS-PrO/issues/3#issuecomment-2254132083, or unsubscribe https://github.com/notifications/unsubscribe-auth/BCCN6G2SVUAVBAPDC5G2UKLZOOE7HAVCNFSM6AAAAABLR2AJSWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDENJUGEZTEMBYGM . You are receiving this because you authored the thread.Message ID: @.***>
I have made a few changes to the code. also, i have added the Chrome web driver
just clone the new code and run it
Great!
On Tue, 30 Jul 2024 at 6:20 PM, Mithun M @.***> wrote:
Closed #3 https://github.com/mith36/XSS-PrO/issues/3 as completed.
— Reply to this email directly, view it on GitHub https://github.com/mith36/XSS-PrO/issues/3#event-13699144446, or unsubscribe https://github.com/notifications/unsubscribe-auth/BCCN6G56USV73PV4B64R4ZDZO7DNFAVCNFSM6AAAAABLR2AJSWVHI2DSMVQWIX3LMV45UABCJFZXG5LFIV3GK3TUJZXXI2LGNFRWC5DJN5XDWMJTGY4TSMJUGQ2DINQ . You are receiving this because you authored the thread.Message ID: @.***>
Traceback (most recent call last): File "/home/user/XSS-PrO/XSS_PRO.py", line 114, in
popup_triggered, alert_text = check_popup(url_with_payload, payload)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/hacker/XSS-PrO/XSS_PRO.py", line 46, in check_popup
driver = get_chrome_driver()
^^^^^^^^^^^^^^^^^^^
File "/home/user/XSS-PrO/XSS_PRO.py", line 27, in get_chrome_driver
chrome_driver = webdriver.Chrome(service=Service(ChromeDriverManager().install()), options=options)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/dist-packages/selenium/webdriver/chrome/webdriver.py", line 45, in init
super().init(
File "/usr/local/lib/python3.11/dist-packages/selenium/webdriver/chromium/webdriver.py", line 66, in init
super().init(command_executor=executor, options=options)
File "/usr/local/lib/python3.11/dist-packages/selenium/webdriver/remote/webdriver.py", line 212, in init
self.start_session(capabilities)
File "/usr/local/lib/python3.11/dist-packages/selenium/webdriver/remote/webdriver.py", line 299, in start_session
response = self.execute(Command.NEW_SESSION, caps)["value"]
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/dist-packages/selenium/webdriver/remote/webdriver.py", line 354, in execute
self.error_handler.check_response(response)
File "/usr/local/lib/python3.11/dist-packages/selenium/webdriver/remote/errorhandler.py", line 229, in check_response
raise exception_class(message, screen, stacktrace)
selenium.common.exceptions.SessionNotCreatedException: Message: session not created: Chrome failed to start: exited normally.
(session not created: DevToolsActivePort file doesn't exist)
(The process started from chrome location /opt/google/chrome/chrome is no longer running, so ChromeDriver is assuming that Chrome has crashed.)
Stacktrace:
0 0x563c3c7eb6ba
1 0x563c3c4bb730
2 0x563c3c4f3615
3 0x563c3c4ef488
4 0x563c3c539e88
5 0x563c3c52d7f3
6 0x563c3c4fdec9
7 0x563c3c4fe91e
8 0x563c3c7b19eb
9 0x563c3c7b5972
10 0x563c3c79ee15
11 0x563c3c7b6502
12 0x563c3c783d2f
13 0x563c3c7da578
14 0x563c3c7da750
15 0x563c3c7ea48c
16 0x7fd0e6b56dbb