91 Commits

Author SHA1 Message Date
mzack
3288c77692 fixing headless test cases 2022-03-22 13:47:13 +01:00
mzack
64bea4da8c Merge branch 'dev' into issue-1594-regexp 2022-03-02 17:28:04 +01:00
Sajad Parra
dc46bd263b add options to specify User-Agent in headless template 2022-02-24 12:31:08 +05:30
mzack
6746071979 Refactoring file templates to handle large files in chunks + removing deprecated io methods 2022-02-23 13:54:46 +01:00
mzack
54d8f9fdb5 Adding support for payloads in headless protocol 2022-02-04 11:43:42 +01:00
mzack
c701e2ad4a adding support for interactsh 2022-01-31 08:52:36 +01:00
mzack
2ba8e10050 Adding support for CLI/ENV vars to headless 2022-01-31 02:25:14 +01:00
mzack
695404477e Headless limited code refactor for better readability 2022-01-26 14:20:23 +01:00
Ice3man
6e71313d2b Misc changes to description 2022-01-17 15:35:27 +05:30
Mzack9999
0e8270c7b5
Replacing expression regex with lexical analyzer (#1440)
* Replacing regex with lexical analyzer taken from 610beb8534/v2/pkg/protocols/common/expressions/expressions.go (L66)
2022-01-09 17:22:04 +05:30
mzack
cf8bf50c9f fixing typo 2022-01-07 07:41:32 +01:00
mzack
1670bf874b fixing lint errors 2021-12-30 13:04:08 +01:00
mzack
7251a2ef60 implementing requested changes 2021-12-30 12:59:42 +01:00
mzack
0a6b84639b adding missing comments 2021-12-29 09:51:50 +01:00
mzack
5d699cdde0 Adding support for full navigation history to headless matchers 2021-12-29 09:48:46 +01:00
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