76 Commits

Author SHA1 Message Date
Sandeep Singh
df55f7a2eb
Disabling no-sandbox in headless engine (#1135)
* Disabling no-sandbox in headless engine

* limiting disabling sandbox to bare minimum

* adding warnings related to linux os and root user requirement

Co-authored-by: mzack <marco.rivoli.nvh@gmail.com>
2021-12-05 20:14:16 +05:30
Ice3man543
eb7c704d36 Merging from dev 2021-11-30 16:23:39 +05:30
forgedhallpass
5eca474c5e refactor(CR): better way of writing switch statement 2021-11-26 11:38:09 +02:00
forgedhallpass
7e22d70ded refactor/documentation: typos and grammatical errors 2021-11-25 18:54:16 +02:00
forgedhallpass
ec6889931d refactor: linter driven fixes
* x = x + ""  => x += ""
* pre-allocating slice with known size
* added t.Helper() methods in test helpers
* complex if-else conditions replaced by switches
* errors should be checked using error.Is() instead of ==
* function parameter should start with lower case letter
* removed unnecessary type definition
* variable/label naming convention: camelCase instead of snake_case
2021-11-25 17:57:22 +02:00
forgedhallpass
fdaa8e4539 refactor: removed redundant type conversion 2021-11-25 17:18:54 +02:00
forgedhallpass
47340f06b0 refactor: uniformly sorted imports 2021-11-25 17:09:20 +02:00
Ice3man543
caaa5c6594 Automatically generate docs for enum values 2021-11-25 19:34:01 +05:30
LuitelSamikshya
2856e7e247
Extractor + Headless Actions structures to enums (#1217)
* enum support for extractor
2021-11-19 01:41:10 +05:30
Mzack9999
ac75d9aa9b
Improving error handling in client certificate library (#1237) 2021-11-10 22:42:49 +05:30
LuitelSamikshya
0e46d3e041
feat: Checking socks5 proxy before launching a scan #1001 (#1225)
* Proxy validation and list input support

Co-authored-by: Sajad Parra <parrasajad@gmail.com>
Co-authored-by: sandeep <sandeep@projectdiscovery.io>
2021-11-10 21:30:03 +05:30
kchason
c3503922c9 Merge remote-tracking branch 'origin/client-cert-auth' into client-cert-auth
# Conflicts:
#	v2/pkg/protocols/headless/engine/http_client.go
2021-10-27 12:15:12 -04:00
kchason
4a1440a17b Merge dev branch 2021-10-27 12:13:23 -04:00
kchason
a539184ffd Switch logic to a shared package 2021-10-27 12:11:42 -04:00
Ice3man
808ed4edd2
Merge branch 'dev' into client-cert-auth 2021-10-26 16:42:02 +05:30
Ice3man
e0afa2cee4
Merge pull request #1157 from projectdiscovery/issue-1095-realistic-http-client
Making headless httpclient more similar to real browsers
2021-10-26 16:39:21 +05:30
kchason
4b70560cc9 Merge branch 'master' into client-cert-auth 2021-10-21 13:59:39 -04:00
kchason
0a57a1aa4d Client certificate authentication for headless connections 2021-10-21 13:48:13 -04:00
mzack
e6728e8ff9 Making headless httpclient more similar to real browsers 2021-10-20 13:26:47 +02:00
mzack
cbc5192e9a Adding proxy socks support to headless browser 2021-10-20 00:02:06 +02:00
mzack
fbea7535ca removing unrecognized routine 2021-10-18 09:38:43 +02:00
mzack
83924e203d fixing object assignment 2021-10-18 09:36:22 +02:00
mzack
c8edd4ce4a Fixing http proxy not working in headless browser 2021-10-18 09:32:38 +02:00
forgedhallpass
9b7a105766
Headless tests refactor - test fix (#1120)
* Add missing headless actions tests #1102
* test refactor (removed parallel test execution)
2021-10-14 19:11:07 +03:00
forgedhallpass
7d6386449d Revert "Add missing headless actions tests #1102"
This reverts commit 4d14063cbed11948609236257b307f9df672ed90.
2021-10-14 17:38:56 +03:00
forgedhallpass
4d14063cbe Add missing headless actions tests #1102
* test refactor
2021-10-14 17:35:32 +03:00
Pedro Lopez Mareque
53281660be chore: refactor tests 2021-10-13 20:45:04 +02:00
Pedro Lopez Mareque
8ee4ed2c17 chore: fix build 2021-10-13 20:29:28 +02:00
Pedro Lopez Mareque
101a1973a4 chore: fix pr comments 2021-10-13 19:52:43 +02:00
forgedhallpass
c0ef419048 Add/Expose Headless action that waits until an element appears #1096
* add timeout and pollTime options
2021-10-13 20:08:10 +03:00
forgedhallpass
88ee74d68a
Merge pull request #1101 from pmareke/feat/expose-rod-wait-visible
Expose WaitVisible method from the rod library
2021-10-13 20:00:13 +03:00
Pedro Lopez Mareque
322a6213c6 chore: refactor tests 2021-10-10 17:33:18 +02:00
Pedro Lopez Mareque
8502785a92 chore: add more tests 2021-10-10 17:18:53 +02:00
Pedro Lopez Mareque
62bfdf30b4 chore: add more tests 2021-10-10 13:17:35 +02:00
Pedro Lopez Mareque
3cd1b70bc0 chore: fix screenshot path 2021-10-10 08:36:44 +02:00
Pedro Lopez Mareque
e53f54b53f chore: remove files 2021-10-10 08:30:32 +02:00
Pedro Lopez Mareque
2b1ab54a6d chore: add tests 2021-10-10 08:29:58 +02:00
Pedro Lopez Mareque
6d88f26b1f chore: add tests 2021-10-09 23:19:07 +02:00
Pedro Lopez Mareque
05c8f2580e chore: add tests 2021-10-09 19:37:12 +02:00
Pedro Lopez Mareque
4383d8557f chore: add timeout test 2021-10-09 17:30:45 +02:00
Pedro Lopez Mareque
7e12774543 chore: add helper method 2021-10-09 17:08:00 +02:00
Pedro Lopez Mareque
6ebeaf84a3 feat: add missin actions tests 2021-10-09 13:18:43 +02:00
Pedro Lopez Mareque
bd14b0f2ac chore: remove block 2021-10-09 13:00:22 +02:00
Pedro Lopez Mareque
d06cd671e2 chore: remove .MustWaitVisible to .MustVisible 2021-10-09 12:29:08 +02:00
Pedro Lopez Mareque
3386c1c5bd chore: add new test 2021-10-09 12:26:18 +02:00
Pedro Lopez Mareque
4e54a61b65 feat: expose WaitVisible method from the rod library 2021-10-09 08:39:29 +02:00
mzack
ce205ae8a0 Adding support for installed chrome browser 2021-09-26 07:56:35 +02:00
Ice3man543
ea8a709bea Upgraded go-rod to latest version 2021-09-18 15:38:15 +05:30
forgedhallpass
c5a1753548
Merge branch 'dev' into patch-4 2021-09-16 20:35:43 +03:00
Geeknik Labs
eb566416fc
Update instance.go
typo fix
2021-09-16 11:37:36 -05:00