D
D
Deni112019-06-18 01:03:59
cmd/bat
Deni11, 2019-06-18 01:03:59

How to open console in browser using bat?

Need.
1) Open the site itself and the desired browser. (Already done)
2) Run js console script on this site.
All via bat

Answer the question

In order to leave comments, you need to log in

2 answer(s)
S
SlavikF, 2019-06-18
@SlavikF

How to launch a browser, open a website and execute JS there?

Sounds like a vulnerability.
Are you familiar with vulnerability rates?
Although this is easy to do through WebDriver. But precisely so that such a scenario does not become a vulnerability, Chrome in this mode writes in capital letters that the browser is controlled by someone else's program.

R
rPman, 2019-06-18
@rPman

Unfortunately, you can do these steps individually, but not sequentially.
open link:
open a blank page and run a java script (actually open the page encoded in the link via data uri):
instead of chrome, you can use firefox, by default, data uri is not registered in the system, which means you can use
will only work for standard http/ftp links

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question