Commit Graph

4664 Commits (6bf8f8769b848330edcc82a9deebf2be045af180)

Author SHA1 Message Date
5amu 6bf8f8769b define frequently used filters and AD UAC filters 2024-01-21 12:53:41 +01:00
5amu cb0d98e4b2 do not append an empty map when generating output in Search() 2024-01-20 23:59:26 +01:00
5amu 9821700f8e simplify CollectMetadata and remove session creation at runtime 2024-01-20 23:57:57 +01:00
5amu bd1238d27e implement authentication methods and change underlying connection because of bugs 2024-01-20 21:02:08 +01:00
5amu fe59057c0d implement a generic search that returns a list of objects given a filter and desired attributes 2024-01-20 12:22:36 +01:00
5amu 73a73eeeac implement method to connect to and verify the ldap server (IsLdap -> Connect) 2024-01-20 01:50:54 +01:00
5amu a167e6c57b make protocolstate.IsHostAllowed check the domaincontroller, not the domain 2024-01-20 00:39:29 +01:00
dependabot[bot] 44745cb0c9
Merge pull request #4636 from projectdiscovery/dependabot/go_modules/dev/github.com/projectdiscovery/rawhttp-0.1.34 2024-01-15 06:21:51 +00:00
dependabot[bot] bbc9ca4904
chore(deps): bump github.com/projectdiscovery/rawhttp
Bumps [github.com/projectdiscovery/rawhttp](https://github.com/projectdiscovery/rawhttp) from 0.1.33 to 0.1.34.
- [Release notes](https://github.com/projectdiscovery/rawhttp/releases)
- [Commits](https://github.com/projectdiscovery/rawhttp/compare/v0.1.33...v0.1.34)

---
updated-dependencies:
- dependency-name: github.com/projectdiscovery/rawhttp
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-01-15 05:59:11 +00:00
dependabot[bot] 67bdc92722
Merge pull request #4639 from projectdiscovery/dependabot/go_modules/dev/github.com/projectdiscovery/hmap-0.0.34 2024-01-15 05:56:57 +00:00
dependabot[bot] 76e6677e68
Merge pull request #4640 from projectdiscovery/dependabot/go_modules/dev/github.com/projectdiscovery/ratelimit-0.0.24 2024-01-15 05:37:03 +00:00
dependabot[bot] 180c82b2fd
chore(deps): bump github.com/projectdiscovery/hmap from 0.0.33 to 0.0.34
Bumps [github.com/projectdiscovery/hmap](https://github.com/projectdiscovery/hmap) from 0.0.33 to 0.0.34.
- [Release notes](https://github.com/projectdiscovery/hmap/releases)
- [Commits](https://github.com/projectdiscovery/hmap/compare/v0.0.33...v0.0.34)

---
updated-dependencies:
- dependency-name: github.com/projectdiscovery/hmap
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-01-15 05:32:12 +00:00
dependabot[bot] 1bc5d82927
Merge pull request #4638 from projectdiscovery/dependabot/go_modules/dev/github.com/projectdiscovery/fastdialer-0.0.53 2024-01-15 05:30:37 +00:00
dependabot[bot] 90f6c8d5f5
Merge pull request #4637 from projectdiscovery/dependabot/go_modules/dev/github.com/projectdiscovery/goflags-0.1.35 2024-01-15 05:28:29 +00:00
dependabot[bot] 126a9f9c09
chore(deps): bump github.com/projectdiscovery/ratelimit
Bumps [github.com/projectdiscovery/ratelimit](https://github.com/projectdiscovery/ratelimit) from 0.0.23 to 0.0.24.
- [Release notes](https://github.com/projectdiscovery/ratelimit/releases)
- [Commits](https://github.com/projectdiscovery/ratelimit/compare/v0.0.23...v0.0.24)

---
updated-dependencies:
- dependency-name: github.com/projectdiscovery/ratelimit
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-01-15 05:09:29 +00:00
dependabot[bot] 4812565e7b
chore(deps): bump github.com/projectdiscovery/fastdialer
Bumps [github.com/projectdiscovery/fastdialer](https://github.com/projectdiscovery/fastdialer) from 0.0.52 to 0.0.53.
- [Release notes](https://github.com/projectdiscovery/fastdialer/releases)
- [Commits](https://github.com/projectdiscovery/fastdialer/compare/v0.0.52...v0.0.53)

---
updated-dependencies:
- dependency-name: github.com/projectdiscovery/fastdialer
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-01-15 05:09:15 +00:00
dependabot[bot] fd275d7dc6
chore(deps): bump github.com/projectdiscovery/goflags
Bumps [github.com/projectdiscovery/goflags](https://github.com/projectdiscovery/goflags) from 0.1.34 to 0.1.35.
- [Release notes](https://github.com/projectdiscovery/goflags/releases)
- [Commits](https://github.com/projectdiscovery/goflags/compare/v0.1.34...v0.1.35)

---
updated-dependencies:
- dependency-name: github.com/projectdiscovery/goflags
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-01-15 05:09:09 +00:00
Dogan Can Bakir 76f7c0c903
fix panic in interactsh process interaction ( nil check on compiled operators) (#4511)
* nil check

* misc updates

---------

Co-authored-by: Tarun Koyalwar <tarun@projectdiscovery.io>
2024-01-13 03:24:52 +05:30
Jean Rougé 39d25c3d4f
Adding an option to dump resume files when a runner hangs (#4440)
* Adding an option to dump resume files when a runner hangs

Signed-off-by: Jean Rouge <rougej+github@gmail.com>

* Adding new option to README

* Removing unfinished comment

* always create resume file on hang

---------

Signed-off-by: Jean Rouge <rougej+github@gmail.com>
Co-authored-by: Tarun Koyalwar <tarun@projectdiscovery.io>
2024-01-13 01:46:57 +05:30
Tarun Koyalwar 619396a6b8
flow: flatten dynamic values array if len is 1 (#4625)
* flow: flatten dynamic values array if len is 1

* wait for exporters when closing

* misc updates
2024-01-13 00:44:25 +05:30
Valerio Casalino edae2f4ec4
implement GetKerberoastableUsers in ldap module (#4420)
* add method 'GetKerberoastableUsers()'

* add more attributes to KerberostableUser in ldap module
2024-01-13 00:32:00 +05:30
Tarun Koyalwar a8cdd21120
code: fix variables merge order (#4623)
* fix variables merge order

* format screen: quote and trim extracted result

* code: interpret env vars in debug mode

* update integration test
2024-01-12 23:10:00 +05:30
Valerio Casalino 70452efec1
add method GetServiceTicket to the kerberos module (#4422)
* add method GetServiceTicket to the kerberos module

* add target username to service ticket

* destroy kerberos client when function returns
2024-01-12 14:24:39 +05:30
Dogan Can Bakir 829b7b5a2d
Add headers option to sdk (#4601)
* add headers option to sdk

* remove test template
2024-01-11 22:39:28 +05:30
Ramana Reddy 53207a0bb0
Use auth helpers from utils (#4620) 2024-01-11 19:51:54 +05:30
dependabot[bot] 5a430a31e5
Merge pull request #4615 from projectdiscovery/dependabot/go_modules/github.com/quic-go/quic-go-0.40.1 2024-01-10 15:32:25 +00:00
dependabot[bot] bd9bd84a91
chore(deps): bump github.com/quic-go/quic-go from 0.40.0 to 0.40.1
Bumps [github.com/quic-go/quic-go](https://github.com/quic-go/quic-go) from 0.40.0 to 0.40.1.
- [Release notes](https://github.com/quic-go/quic-go/releases)
- [Changelog](https://github.com/quic-go/quic-go/blob/master/Changelog.md)
- [Commits](https://github.com/quic-go/quic-go/compare/v0.40.0...v0.40.1)

---
updated-dependencies:
- dependency-name: github.com/quic-go/quic-go
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-01-10 15:10:23 +00:00
sandeep 99775e0392 version update 2024-01-10 18:53:02 +05:30
Tarun Koyalwar 1d246329ea
add logical check before creating result: #4603 (#4608) 2024-01-10 16:34:40 +05:30
dependabot[bot] 3978d5dd59
Merge pull request #4602 from projectdiscovery/dependabot/go_modules/github.com/cloudflare/circl-1.3.7 2024-01-08 17:17:45 +00:00
dependabot[bot] 325deddbda
chore(deps): bump github.com/cloudflare/circl from 1.3.6 to 1.3.7
Bumps [github.com/cloudflare/circl](https://github.com/cloudflare/circl) from 1.3.6 to 1.3.7.
- [Release notes](https://github.com/cloudflare/circl/releases)
- [Commits](https://github.com/cloudflare/circl/compare/v1.3.6...v1.3.7)

---
updated-dependencies:
- dependency-name: github.com/cloudflare/circl
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-01-08 16:53:45 +00:00
dependabot[bot] 887b20ad45
Merge pull request #4597 from projectdiscovery/dependabot/go_modules/dev/github.com/projectdiscovery/hmap-0.0.33 2024-01-08 06:09:01 +00:00
dependabot[bot] a00ebc4a77
Merge pull request #4598 from projectdiscovery/dependabot/go_modules/dev/github.com/projectdiscovery/retryabledns-1.0.50 2024-01-08 06:08:43 +00:00
dependabot[bot] 72a724f827
Merge pull request #4596 from projectdiscovery/dependabot/go_modules/dev/github.com/projectdiscovery/dsl-0.0.38 2024-01-08 06:07:35 +00:00
dependabot[bot] 4847bb9712
chore(deps): bump github.com/projectdiscovery/retryabledns
Bumps [github.com/projectdiscovery/retryabledns](https://github.com/projectdiscovery/retryabledns) from 1.0.49 to 1.0.50.
- [Release notes](https://github.com/projectdiscovery/retryabledns/releases)
- [Commits](https://github.com/projectdiscovery/retryabledns/compare/v1.0.49...v1.0.50)

---
updated-dependencies:
- dependency-name: github.com/projectdiscovery/retryabledns
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-01-08 05:47:34 +00:00
dependabot[bot] eb919df3b4
chore(deps): bump github.com/projectdiscovery/hmap from 0.0.32 to 0.0.33
Bumps [github.com/projectdiscovery/hmap](https://github.com/projectdiscovery/hmap) from 0.0.32 to 0.0.33.
- [Release notes](https://github.com/projectdiscovery/hmap/releases)
- [Commits](https://github.com/projectdiscovery/hmap/compare/v0.0.32...v0.0.33)

---
updated-dependencies:
- dependency-name: github.com/projectdiscovery/hmap
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-01-08 05:47:29 +00:00
dependabot[bot] 6d549672d8
chore(deps): bump github.com/projectdiscovery/dsl from 0.0.36 to 0.0.38
Bumps [github.com/projectdiscovery/dsl](https://github.com/projectdiscovery/dsl) from 0.0.36 to 0.0.38.
- [Release notes](https://github.com/projectdiscovery/dsl/releases)
- [Commits](https://github.com/projectdiscovery/dsl/compare/v0.0.36...v0.0.38)

---
updated-dependencies:
- dependency-name: github.com/projectdiscovery/dsl
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-01-08 05:47:24 +00:00
dependabot[bot] ec7854267f
Merge pull request #4590 from projectdiscovery/dependabot/go_modules/dev/github.com/projectdiscovery/ratelimit-0.0.23 2024-01-08 00:33:19 +00:00
Sandeep Singh 6aed3af404
Merge branch 'dev' into dependabot/go_modules/dev/github.com/projectdiscovery/ratelimit-0.0.23 2024-01-08 05:41:58 +05:30
dependabot[bot] 2c542245f7
chore(deps): bump github.com/projectdiscovery/goflags (#4594)
Bumps [github.com/projectdiscovery/goflags](https://github.com/projectdiscovery/goflags) from 0.1.29 to 0.1.34.
- [Release notes](https://github.com/projectdiscovery/goflags/releases)
- [Commits](https://github.com/projectdiscovery/goflags/compare/v0.1.29...v0.1.34)

---
updated-dependencies:
- dependency-name: github.com/projectdiscovery/goflags
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-01-08 05:40:54 +05:30
dependabot[bot] 9bb4427742
chore(deps): bump github.com/projectdiscovery/rawhttp (#4591)
Bumps [github.com/projectdiscovery/rawhttp](https://github.com/projectdiscovery/rawhttp) from 0.1.28 to 0.1.33.
- [Release notes](https://github.com/projectdiscovery/rawhttp/releases)
- [Commits](https://github.com/projectdiscovery/rawhttp/compare/v0.1.28...v0.1.33)

---
updated-dependencies:
- dependency-name: github.com/projectdiscovery/rawhttp
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-01-08 05:38:56 +05:30
dependabot[bot] 717baed689
Merge pull request #4593 from projectdiscovery/dependabot/go_modules/dev/github.com/projectdiscovery/retryablehttp-go-1.0.42 2024-01-08 00:08:28 +00:00
dependabot[bot] 8d5f20e5eb
Merge pull request #4592 from projectdiscovery/dependabot/go_modules/dev/github.com/projectdiscovery/networkpolicy-0.0.7 2024-01-08 00:06:14 +00:00
sandeep 018aecfbae version update 2024-01-08 05:25:58 +05:30
dependabot[bot] 0e7bc396bd
chore(deps): bump github.com/projectdiscovery/retryablehttp-go
Bumps [github.com/projectdiscovery/retryablehttp-go](https://github.com/projectdiscovery/retryablehttp-go) from 1.0.41 to 1.0.42.
- [Release notes](https://github.com/projectdiscovery/retryablehttp-go/releases)
- [Commits](https://github.com/projectdiscovery/retryablehttp-go/compare/v1.0.41...v1.0.42)

---
updated-dependencies:
- dependency-name: github.com/projectdiscovery/retryablehttp-go
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-01-07 23:47:28 +00:00
dependabot[bot] 7fade18d3a
chore(deps): bump github.com/projectdiscovery/networkpolicy
Bumps [github.com/projectdiscovery/networkpolicy](https://github.com/projectdiscovery/networkpolicy) from 0.0.6 to 0.0.7.
- [Release notes](https://github.com/projectdiscovery/networkpolicy/releases)
- [Commits](https://github.com/projectdiscovery/networkpolicy/compare/v0.0.6...v0.0.7)

---
updated-dependencies:
- dependency-name: github.com/projectdiscovery/networkpolicy
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-01-07 23:47:20 +00:00
dependabot[bot] bb288d4f24
chore(deps): bump github.com/projectdiscovery/ratelimit
Bumps [github.com/projectdiscovery/ratelimit](https://github.com/projectdiscovery/ratelimit) from 0.0.21 to 0.0.23.
- [Release notes](https://github.com/projectdiscovery/ratelimit/releases)
- [Commits](https://github.com/projectdiscovery/ratelimit/compare/v0.0.21...v0.0.23)

---
updated-dependencies:
- dependency-name: github.com/projectdiscovery/ratelimit
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-01-07 23:47:01 +00:00
Tarun Koyalwar 02a9b86dd7
fix missing results in flow template + feature: internal matchers using `internal: true` (#4582)
* log warnings + use scanContext in flow

* refactor flow to use scanContext + log all events

* feat: internal matcher

* fix integration test

* bug fix extractor: merge dynamic values, fix missing extractors in file

* flow: fix 'No Results Found' if last statement output is false

* fix unit test
2024-01-08 05:12:11 +05:30
Mzack9999 5e48aed29b
Using network policy everywhere (#4578)
* Using network policy everywhere

* fixing bool param

* fixing websocket parsing issue

* fixing other schemes

* go mod tidy

---------

Co-authored-by: sandeep <8293321+ehsandeep@users.noreply.github.com>
2024-01-08 05:09:11 +05:30
Anemys 9b2b7ad3ad
Add SourceIP in NetworkConfig (#4566)
Co-authored-by: Abdelmalik KERBADOU <abdelmalik.kerbadou@intrinsec.com>
Co-authored-by: Sandeep Singh <sandeep@projectdiscovery.io>
2024-01-08 04:06:08 +05:30