ronin-web-session_cookie 0.1.0 → 0.1.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.github/workflows/ruby.yml +1 -0
- data/ChangeLog.md +5 -0
- data/README.md +5 -3
- data/gemspec.yml +4 -3
- data/lib/ronin/web/session_cookie/cookie.rb +1 -1
- data/lib/ronin/web/session_cookie/django.rb +3 -3
- data/lib/ronin/web/session_cookie/jwt.rb +2 -2
- data/lib/ronin/web/session_cookie/rack.rb +2 -2
- data/lib/ronin/web/session_cookie/version.rb +2 -2
- data/lib/ronin/web/session_cookie.rb +4 -4
- metadata +21 -7
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 050b828b6c7e81a6283e29b308931fe8dd0af7fdcf7d0d662a539ed4d8e4a98f
|
4
|
+
data.tar.gz: 4875f991169f9be17260b542ba866186a9de1b7d05c807383f218862832ef80e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1053fe66d464df979527189603d982baf2603a1dad230df43fc964de83138b12c7eee60f18e4bde227dfbaa426d09c92f527c54ff2de3e7db318712c22c35487
|
7
|
+
data.tar.gz: 209ac126ef17423d5c188b4267a9ecde43c1bb1cbfd2ad24b26b6fefbafda17c93cfb5f60079bafafc16fee4df120c7896139b84a5ef689be7d5fb4148760f5f
|
data/.github/workflows/ruby.yml
CHANGED
data/ChangeLog.md
CHANGED
data/README.md
CHANGED
@@ -79,9 +79,10 @@ Ronin::Web::SessionCookie.parse('eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOi
|
|
79
79
|
## Requirements
|
80
80
|
|
81
81
|
* [Ruby] >= 3.0.0
|
82
|
-
* [
|
82
|
+
* [base64] ~> 0.1
|
83
83
|
* [rack-session] ~> 1.0
|
84
84
|
* [python-pickle] ~> 0.1
|
85
|
+
* [ronin-support] ~> 1.0
|
85
86
|
|
86
87
|
## Install
|
87
88
|
|
@@ -114,7 +115,7 @@ gem.add_dependency 'ronin-web-session_cookie', '~> 0.1'
|
|
114
115
|
|
115
116
|
## License
|
116
117
|
|
117
|
-
Copyright (c) 2023-
|
118
|
+
Copyright (c) 2023-2025 Hal Brodigan (postmodern.mod3@gmail.com)
|
118
119
|
|
119
120
|
ronin-web-session_cookie is free software: you can redistribute it and/or modify
|
120
121
|
it under the terms of the GNU Lesser General Public License as published
|
@@ -130,8 +131,9 @@ You should have received a copy of the GNU Lesser General Public License
|
|
130
131
|
along with ronin-web-session_cookie. If not, see <https://www.gnu.org/licenses/>.
|
131
132
|
|
132
133
|
[Ruby]: https://www.ruby-lang.org
|
133
|
-
[
|
134
|
+
[base64]: https://github.com/ruby/base64#readme
|
134
135
|
[rack-session]: https://github.com/rack/rack-session
|
135
136
|
[python-pickle]: https://github.com/postmodern/python-pickle#readme
|
137
|
+
[ronin-support]: https://github.com/ronin-rb/ronin-support#readme
|
136
138
|
[Django]: https://docs.djangoproject.com/en/4.1/topics/http/sessions/#using-cookie-based-sessions
|
137
139
|
[JWT]: https://jwt.io
|
data/gemspec.yml
CHANGED
@@ -4,7 +4,7 @@ description: |
|
|
4
4
|
ronin-web-session_cookie is a library for parsing and deserializing various
|
5
5
|
session cookie formats. It supports Rack, Django (JSON and Pickled), and JWT.
|
6
6
|
|
7
|
-
license: LGPL-3.0
|
7
|
+
license: LGPL-3.0-or-later
|
8
8
|
authors: Postmodern
|
9
9
|
email: postmodern.mod3@gmail.com
|
10
10
|
homepage: https://ronin-rb.dev/
|
@@ -20,10 +20,11 @@ metadata:
|
|
20
20
|
required_ruby_version: ">= 3.0.0"
|
21
21
|
|
22
22
|
dependencies:
|
23
|
-
|
24
|
-
ronin-support: ~> 1.1
|
23
|
+
base64: ~> 0.1
|
25
24
|
rack-session: ~> 1.0
|
26
25
|
python-pickle: ~> 0.1
|
26
|
+
# Ronin dependencies:
|
27
|
+
ronin-support: ~> 1.1
|
27
28
|
|
28
29
|
development_dependencies:
|
29
30
|
bundler: ~> 2.0
|
@@ -1,6 +1,6 @@
|
|
1
1
|
# frozen_string_literal: true
|
2
2
|
#
|
3
|
-
# Copyright (c) 2023-
|
3
|
+
# Copyright (c) 2023-2025 Hal Brodigan (postmodern.mod3@gmail.com)
|
4
4
|
#
|
5
5
|
# ronin-web-session_cookie is free software: you can redistribute it and/or modify
|
6
6
|
# it under the terms of the GNU Lesser General Public License as published
|
@@ -1,6 +1,6 @@
|
|
1
1
|
# frozen_string_literal: true
|
2
2
|
#
|
3
|
-
# Copyright (c) 2023-
|
3
|
+
# Copyright (c) 2023-2025 Hal Brodigan (postmodern.mod3@gmail.com)
|
4
4
|
#
|
5
5
|
# ronin-web-session_cookie is free software: you can redistribute it and/or modify
|
6
6
|
# it under the terms of the GNU Lesser General Public License as published
|
@@ -16,10 +16,10 @@
|
|
16
16
|
# along with ronin-web-session_cookie. If not, see <https://www.gnu.org/licenses/>.
|
17
17
|
#
|
18
18
|
|
19
|
-
|
19
|
+
require_relative 'cookie'
|
20
|
+
|
20
21
|
require 'ronin/support/encoding/base64'
|
21
22
|
require 'ronin/support/encoding/base62'
|
22
|
-
|
23
23
|
require 'python/pickle'
|
24
24
|
|
25
25
|
module Ronin
|
@@ -1,6 +1,6 @@
|
|
1
1
|
# frozen_string_literal: true
|
2
2
|
#
|
3
|
-
# Copyright (c) 2023-
|
3
|
+
# Copyright (c) 2023-2025 Hal Brodigan (postmodern.mod3@gmail.com)
|
4
4
|
#
|
5
5
|
# ronin-web-session_cookie is free software: you can redistribute it and/or modify
|
6
6
|
# it under the terms of the GNU Lesser General Public License as published
|
@@ -16,7 +16,7 @@
|
|
16
16
|
# along with ronin-web-session_cookie. If not, see <https://www.gnu.org/licenses/>.
|
17
17
|
#
|
18
18
|
|
19
|
-
|
19
|
+
require_relative 'cookie'
|
20
20
|
|
21
21
|
require 'base64'
|
22
22
|
require 'json'
|
@@ -1,6 +1,6 @@
|
|
1
1
|
# frozen_string_literal: true
|
2
2
|
#
|
3
|
-
# Copyright (c) 2023-
|
3
|
+
# Copyright (c) 2023-2025 Hal Brodigan (postmodern.mod3@gmail.com)
|
4
4
|
#
|
5
5
|
# ronin-web-session_cookie is free software: you can redistribute it and/or modify
|
6
6
|
# it under the terms of the GNU Lesser General Public License as published
|
@@ -16,7 +16,7 @@
|
|
16
16
|
# along with ronin-web-session_cookie. If not, see <https://www.gnu.org/licenses/>.
|
17
17
|
#
|
18
18
|
|
19
|
-
|
19
|
+
require_relative 'cookie'
|
20
20
|
|
21
21
|
require 'base64'
|
22
22
|
require 'delegate'
|
@@ -1,6 +1,6 @@
|
|
1
1
|
# frozen_string_literal: true
|
2
2
|
#
|
3
|
-
# Copyright (c) 2023-
|
3
|
+
# Copyright (c) 2023-2025 Hal Brodigan (postmodern.mod3@gmail.com)
|
4
4
|
#
|
5
5
|
# ronin-web-session_cookie is free software: you can redistribute it and/or modify
|
6
6
|
# it under the terms of the GNU Lesser General Public License as published
|
@@ -20,7 +20,7 @@ module Ronin
|
|
20
20
|
module Web
|
21
21
|
module SessionCookie
|
22
22
|
# ronin-web-session_cookie version
|
23
|
-
VERSION = '0.1.
|
23
|
+
VERSION = '0.1.1'
|
24
24
|
end
|
25
25
|
end
|
26
26
|
end
|
@@ -1,6 +1,6 @@
|
|
1
1
|
# frozen_string_literal: true
|
2
2
|
#
|
3
|
-
# Copyright (c) 2023-
|
3
|
+
# Copyright (c) 2023-2025 Hal Brodigan (postmodern.mod3@gmail.com)
|
4
4
|
#
|
5
5
|
# ronin-web-session_cookie is free software: you can redistribute it and/or modify
|
6
6
|
# it under the terms of the GNU Lesser General Public License as published
|
@@ -16,9 +16,9 @@
|
|
16
16
|
# along with ronin-web-session_cookie. If not, see <https://www.gnu.org/licenses/>.
|
17
17
|
#
|
18
18
|
|
19
|
-
|
20
|
-
|
21
|
-
|
19
|
+
require_relative 'session_cookie/rack'
|
20
|
+
require_relative 'session_cookie/django'
|
21
|
+
require_relative 'session_cookie/jwt'
|
22
22
|
|
23
23
|
module Ronin
|
24
24
|
module Web
|
metadata
CHANGED
@@ -1,29 +1,29 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: ronin-web-session_cookie
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Postmodern
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2025-02-15 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
|
-
name:
|
14
|
+
name: base64
|
15
15
|
requirement: !ruby/object:Gem::Requirement
|
16
16
|
requirements:
|
17
17
|
- - "~>"
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: '
|
19
|
+
version: '0.1'
|
20
20
|
type: :runtime
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
24
|
- - "~>"
|
25
25
|
- !ruby/object:Gem::Version
|
26
|
-
version: '
|
26
|
+
version: '0.1'
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: rack-session
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
@@ -52,6 +52,20 @@ dependencies:
|
|
52
52
|
- - "~>"
|
53
53
|
- !ruby/object:Gem::Version
|
54
54
|
version: '0.1'
|
55
|
+
- !ruby/object:Gem::Dependency
|
56
|
+
name: ronin-support
|
57
|
+
requirement: !ruby/object:Gem::Requirement
|
58
|
+
requirements:
|
59
|
+
- - "~>"
|
60
|
+
- !ruby/object:Gem::Version
|
61
|
+
version: '1.1'
|
62
|
+
type: :runtime
|
63
|
+
prerelease: false
|
64
|
+
version_requirements: !ruby/object:Gem::Requirement
|
65
|
+
requirements:
|
66
|
+
- - "~>"
|
67
|
+
- !ruby/object:Gem::Version
|
68
|
+
version: '1.1'
|
55
69
|
- !ruby/object:Gem::Dependency
|
56
70
|
name: bundler
|
57
71
|
requirement: !ruby/object:Gem::Requirement
|
@@ -99,7 +113,7 @@ files:
|
|
99
113
|
- ronin-web-session_cookie.gemspec
|
100
114
|
homepage: https://ronin-rb.dev/
|
101
115
|
licenses:
|
102
|
-
- LGPL-3.0
|
116
|
+
- LGPL-3.0-or-later
|
103
117
|
metadata:
|
104
118
|
documentation_uri: https://ronin-rb.dev/docs/ronin-web-session_cookie
|
105
119
|
source_code_uri: https://github.com/ronin-rb/ronin-web-session_cookie
|
@@ -121,7 +135,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
121
135
|
- !ruby/object:Gem::Version
|
122
136
|
version: '0'
|
123
137
|
requirements: []
|
124
|
-
rubygems_version: 3.5.
|
138
|
+
rubygems_version: 3.5.22
|
125
139
|
signing_key:
|
126
140
|
specification_version: 4
|
127
141
|
summary: A library for parsing and deserializing various session cookies.
|