1
0
mirror of https://github.com/zu1k/nali.git synced 2025-01-22 21:29:02 +08:00
Commit Graph

146 Commits

Author SHA1 Message Date
zu1k
592a2eabb5 color print 2021-08-03 07:54:35 +08:00
zu1k
40274f64a4 go fmt 2021-08-02 12:03:06 +08:00
zu1k
8cb2d500f1 feat: Define DB interface 2021-08-02 12:01:25 +08:00
zu1k
7a03f1589f Add ParseLine 2021-07-30 22:30:27 +08:00
zu1k
e7ea663d27 Add type Entity 2021-07-30 21:46:06 +08:00
zu1k
a788bf35bb update deps 2021-07-30 20:23:44 +08:00
dependabot[bot]
6d669ba733 Bump github.com/spf13/cobra from 1.1.3 to 1.2.1 (#54)
Bumps [github.com/spf13/cobra](https://github.com/spf13/cobra) from 1.1.3 to 1.2.1.
- [Release notes](https://github.com/spf13/cobra/releases)
- [Changelog](https://github.com/spf13/cobra/blob/master/CHANGELOG.md)
- [Commits](https://github.com/spf13/cobra/compare/v1.1.3...v1.2.1)

---
updated-dependencies:
- dependency-name: github.com/spf13/cobra
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-07-30 19:25:56 +08:00
dependabot[bot]
6b3ccc32a8 Bump docker/build-push-action from 2.4.0 to 2.6.1 (#52)
Bumps [docker/build-push-action](https://github.com/docker/build-push-action) from 2.4.0 to 2.6.1.
- [Release notes](https://github.com/docker/build-push-action/releases)
- [Commits](https://github.com/docker/build-push-action/compare/v2.4.0...v2.6.1)

---
updated-dependencies:
- dependency-name: docker/build-push-action
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-07-30 19:25:43 +08:00
dependabot[bot]
833763e385 Bump actions/upload-artifact from 2.2.3 to 2.2.4 (#51)
Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact) from 2.2.3 to 2.2.4.
- [Release notes](https://github.com/actions/upload-artifact/releases)
- [Commits](https://github.com/actions/upload-artifact/compare/v2.2.3...v2.2.4)

---
updated-dependencies:
- dependency-name: actions/upload-artifact
  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>
2021-07-30 19:25:30 +08:00
dependabot[bot]
a202fbde86 Bump actions/cache from 2.1.5 to 2.1.6 (#50)
Bumps [actions/cache](https://github.com/actions/cache) from 2.1.5 to 2.1.6.
- [Release notes](https://github.com/actions/cache/releases)
- [Commits](https://github.com/actions/cache/compare/v2.1.5...v2.1.6)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-07-30 19:25:16 +08:00
zu1k
c2868d7a5e Update FUNDING.yml 2021-05-16 10:35:47 +08:00
zu1k
ca9005a506 Merge pull request #48 from zu1k/dependabot/github_actions/docker/build-push-action-2.4.0
Bump docker/build-push-action from 2 to 2.4.0
2021-05-16 10:32:30 +08:00
dependabot[bot]
badfff11ab Bump docker/build-push-action from 2 to 2.4.0
Bumps [docker/build-push-action](https://github.com/docker/build-push-action) from 2 to 2.4.0.
- [Release notes](https://github.com/docker/build-push-action/releases)
- [Commits](https://github.com/docker/build-push-action/compare/v2...v2.4.0)

Signed-off-by: dependabot[bot] <support@github.com>
2021-05-12 05:04:04 +00:00
zu1k
f64b16a7f4 Merge pull request #47 from huyz-git/master
更新 ZX IPV6 数据库的下载地址
2021-04-19 16:10:22 +08:00
huyz-git
5433ce446e update zx ipv6 database address 2021-04-19 15:11:11 +08:00
dependabot[bot]
0c4408dd23 Bump actions/cache from v2.1.4 to v2.1.5 (#44)
Bumps [actions/cache](https://github.com/actions/cache) from v2.1.4 to v2.1.5.
- [Release notes](https://github.com/actions/cache/releases)
- [Commits](https://github.com/actions/cache/compare/v2.1.4...1a9e2138d905efd099035b49d8b7a3888c653ca8)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-04-16 19:02:14 +08:00
dependabot[bot]
043185d09c Bump actions/upload-artifact from v2.2.2 to v2.2.3 (#42)
Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact) from v2.2.2 to v2.2.3.
- [Release notes](https://github.com/actions/upload-artifact/releases)
- [Commits](https://github.com/actions/upload-artifact/compare/v2.2.2...ee69f02b3dfdecd58bb31b4d133da38ba6fe3700)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-04-10 14:26:14 +08:00
zu1k
fb7cb77806 Fix: nil pointer when use GeoIP2 to find IPv6 #43 2021-04-10 14:23:57 +08:00
dependabot[bot]
c57ead2281 Bump golang.org/x/text from 0.3.5 to 0.3.6 (#41)
Bumps [golang.org/x/text](https://github.com/golang/text) from 0.3.5 to 0.3.6.
- [Release notes](https://github.com/golang/text/releases)
- [Commits](https://github.com/golang/text/compare/v0.3.5...v0.3.6)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-04-07 12:45:46 +08:00
zu1k
710597802b fix domain re 2021-03-26 16:28:41 +08:00
dependabot[bot]
8319d3591d Bump github.com/oschwald/geoip2-golang from 1.4.0 to 1.5.0 (#39)
Bumps [github.com/oschwald/geoip2-golang](https://github.com/oschwald/geoip2-golang) from 1.4.0 to 1.5.0.
- [Release notes](https://github.com/oschwald/geoip2-golang/releases)
- [Commits](https://github.com/oschwald/geoip2-golang/compare/v1.4.0...v1.5.0)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-02-23 11:01:38 +08:00
dependabot[bot]
3dda35a92f Bump github.com/spf13/cobra from 1.1.1 to 1.1.3 (#38)
Bumps [github.com/spf13/cobra](https://github.com/spf13/cobra) from 1.1.1 to 1.1.3.
- [Release notes](https://github.com/spf13/cobra/releases)
- [Changelog](https://github.com/spf13/cobra/blob/master/CHANGELOG.md)
- [Commits](https://github.com/spf13/cobra/compare/v1.1.1...v1.1.3)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-02-21 08:24:19 +08:00
dependabot[bot]
21fdfe90b6 Bump actions/cache from v2 to v2.1.4 (#36)
Bumps [actions/cache](https://github.com/actions/cache) from v2 to v2.1.4.
- [Release notes](https://github.com/actions/cache/releases)
- [Commits](https://github.com/actions/cache/compare/v2...26968a09c0ea4f3e233fdddbafd1166051a095f6)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-02-21 08:24:03 +08:00
dependabot[bot]
a1795174d2 Bump golang.org/x/text from 0.3.4 to 0.3.5
Bumps [golang.org/x/text](https://github.com/golang/text) from 0.3.4 to 0.3.5.
- [Release notes](https://github.com/golang/text/releases)
- [Commits](https://github.com/golang/text/compare/v0.3.4...v0.3.5)

Signed-off-by: dependabot[bot] <support@github.com>
2021-01-15 18:07:58 +08:00
dependabot[bot]
79bef72f28 Bump actions/upload-artifact from v2.2.1 to v2.2.2
Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact) from v2.2.1 to v2.2.2.
- [Release notes](https://github.com/actions/upload-artifact/releases)
- [Commits](https://github.com/actions/upload-artifact/compare/v2.2.1...e448a9b857ee2131e752b06002bf0e093c65e571)

Signed-off-by: dependabot[bot] <support@github.com>
2021-01-15 18:07:41 +08:00
zu1k
db9ec42b71 Merge pull request #32 from zu1k/dependabot/github_actions/actions/upload-artifact-v2.2.1
Bump actions/upload-artifact from v2.2.0 to v2.2.1
2020-11-17 13:30:16 +08:00
zu1k
d28d9ef1d3 Merge pull request #31 from zu1k/dependabot/go_modules/github.com/ipipdotnet/ipdb-go-1.3.1
Bump github.com/ipipdotnet/ipdb-go from 1.3.0 to 1.3.1
2020-11-17 13:30:07 +08:00
dependabot[bot]
4b11baec0d Bump actions/upload-artifact from v2.2.0 to v2.2.1
Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact) from v2.2.0 to v2.2.1.
- [Release notes](https://github.com/actions/upload-artifact/releases)
- [Commits](https://github.com/actions/upload-artifact/compare/v2.2.0...726a6dcd0199f578459862705eed35cda05af50b)

Signed-off-by: dependabot[bot] <support@github.com>
2020-11-16 06:33:29 +00:00
dependabot[bot]
44f662e326 Bump github.com/ipipdotnet/ipdb-go from 1.3.0 to 1.3.1
Bumps [github.com/ipipdotnet/ipdb-go](https://github.com/ipipdotnet/ipdb-go) from 1.3.0 to 1.3.1.
- [Release notes](https://github.com/ipipdotnet/ipdb-go/releases)
- [Commits](https://github.com/ipipdotnet/ipdb-go/compare/v1.3.0...v1.3.1)

Signed-off-by: dependabot[bot] <support@github.com>
2020-11-10 05:57:24 +00:00
zu1k
d16a6df2d3 Merge pull request #30 from zu1k/dependabot/github_actions/actions/checkout-v2.3.4
Bump actions/checkout from v2.3.3 to v2.3.4
2020-11-04 19:03:53 +08:00
zu1k
5d9c7d0a7b Merge pull request #29 from zu1k/dependabot/go_modules/golang.org/x/text-0.3.4
Bump golang.org/x/text from 0.3.3 to 0.3.4
2020-11-04 19:03:40 +08:00
dependabot[bot]
85568e6ce7 Bump actions/checkout from v2.3.3 to v2.3.4
Bumps [actions/checkout](https://github.com/actions/checkout) from v2.3.3 to v2.3.4.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v2.3.3...5a4ac9002d0be2fb38bd78e4b4dbde5606d7042f)

Signed-off-by: dependabot[bot] <support@github.com>
2020-11-04 05:51:38 +00:00
dependabot[bot]
a8065e5e92 Bump golang.org/x/text from 0.3.3 to 0.3.4
Bumps [golang.org/x/text](https://github.com/golang/text) from 0.3.3 to 0.3.4.
- [Release notes](https://github.com/golang/text/releases)
- [Commits](https://github.com/golang/text/compare/v0.3.3...v0.3.4)

Signed-off-by: dependabot[bot] <support@github.com>
2020-10-28 06:05:52 +00:00
zu1k
220c306e0f Merge pull request #28 from zu1k/dependabot/go_modules/github.com/spf13/cobra-1.1.1
Bump github.com/spf13/cobra from 1.1.0 to 1.1.1
2020-10-27 15:08:57 +08:00
dependabot[bot]
a90787b14e Bump github.com/spf13/cobra from 1.1.0 to 1.1.1
Bumps [github.com/spf13/cobra](https://github.com/spf13/cobra) from 1.1.0 to 1.1.1.
- [Release notes](https://github.com/spf13/cobra/releases)
- [Changelog](https://github.com/spf13/cobra/blob/master/CHANGELOG.md)
- [Commits](https://github.com/spf13/cobra/compare/v1.1.0...v1.1.1)

Signed-off-by: dependabot[bot] <support@github.com>
2020-10-19 06:36:12 +00:00
zu1k
7c355f3371 Merge pull request #27 from zu1k/dependabot/go_modules/github.com/spf13/cobra-1.1.0
Bump github.com/spf13/cobra from 1.0.0 to 1.1.0
2020-10-15 14:33:34 +08:00
dependabot[bot]
7c790023e9 Bump github.com/spf13/cobra from 1.0.0 to 1.1.0
Bumps [github.com/spf13/cobra](https://github.com/spf13/cobra) from 1.0.0 to 1.1.0.
- [Release notes](https://github.com/spf13/cobra/releases)
- [Changelog](https://github.com/spf13/cobra/blob/master/CHANGELOG.md)
- [Commits](https://github.com/spf13/cobra/compare/v1.0.0...v1.1.0)

Signed-off-by: dependabot[bot] <support@github.com>
2020-10-15 05:58:43 +00:00
zu1k
756e6c7a66 Merge pull request #25 from zu1k/dependabot/github_actions/actions/upload-artifact-v2.2.0
Bump actions/upload-artifact from v2.1.4 to v2.2.0
2020-10-08 14:48:24 +08:00
dependabot[bot]
27ea990010 Bump actions/upload-artifact from v2.1.4 to v2.2.0
Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact) from v2.1.4 to v2.2.0.
- [Release notes](https://github.com/actions/upload-artifact/releases)
- [Commits](https://github.com/actions/upload-artifact/compare/v2.1.4...27bce4eee761b5bc643f46a8dfb41b430c8d05f6)

Signed-off-by: dependabot[bot] <support@github.com>
2020-10-02 05:49:06 +00:00
zu1k
1607184601 better ValidIP 2020-09-28 08:26:08 +08:00
zu1k
ba4f91c878 Merge pull request #23 from hyliang96/issue22
fix issue #22: replace ip4/ip6/domain with regexp with lookahead and lookback
2020-09-27 10:51:51 +08:00
hyliang96
2d7d50b7b8 fix issue 22: replace ip4/ip6/domain with regexp with lookahead and lookback 2020-09-27 00:37:55 +08:00
zu1k
dccf73d76c Merge pull request #21 from zu1k/dependabot/github_actions/actions/checkout-v2.3.3
Bump actions/checkout from v2.3.2 to v2.3.3
2020-09-25 22:28:08 +08:00
dependabot[bot]
7cd2908a15 Bump actions/checkout from v2.3.2 to v2.3.3
Bumps [actions/checkout](https://github.com/actions/checkout) from v2.3.2 to v2.3.3.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v2.3.2...a81bbbf8298c0fa03ea29cdc473d45769f953675)

Signed-off-by: dependabot[bot] <support@github.com>
2020-09-24 05:50:56 +00:00
zu1k
4e2b4719a7 Fix #18 2020-09-09 09:58:52 +08:00
zu1k
29ce0ec4a6 Merge pull request #16 from oldthreefeng/master
Optimized ip checking algorithm for ipv6
2020-09-07 21:08:16 +08:00
louisehong
40c8fbdba4 Optimized ip checking algorithm for ipv6
IPv6 parser should fail with 8 groups plus one blank
2020-09-07 19:47:53 +08:00
zu1k
7903f81b87 Merge pull request #15 from zu1k/dependabot/github_actions/docker/build-push-action-v2
Bump docker/build-push-action from v1.1.0 to v2
2020-09-07 14:07:12 +08:00
dependabot[bot]
ebb0893551 Bump docker/build-push-action from v1.1.0 to v2
Bumps [docker/build-push-action](https://github.com/docker/build-push-action) from v1.1.0 to v2.
- [Release notes](https://github.com/docker/build-push-action/releases)
- [Changelog](85d408708d/CHANGELOG.md)
- [Commits](https://github.com/docker/build-push-action/compare/v1.1.0...85d408708d8c09e8991e7b18899e77d7aee89287)

Signed-off-by: dependabot[bot] <support@github.com>
2020-09-07 05:27:22 +00:00
zu1k
9752db597b Optimized ip checking algorithm 2020-09-07 10:23:35 +08:00