pwn 0.4.607 → 0.4.608

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: '082e02cddd5ff3d28e757ff1d71f2303d168b224f3c06b9f36affeccc29c5908'
4
- data.tar.gz: a9d8d042aa809dfe9ceeb75580848f59d8f3902f984df92e74330cad06553beb
3
+ metadata.gz: 5701ac1fc25623a9994b67165973d28989585ad0dc0ede0c90727d0cd58e8129
4
+ data.tar.gz: a688dc9fad3e2a32f46a1cef10a4034992954f27b2523214d6674baadddeed6a
5
5
  SHA512:
6
- metadata.gz: 682f516807cb60526b3660cd3aedb2c010318ce1d7e20594503c11c9e1d99825aaac5bea965aa321b9cdf72005fc529d48bc8712107363923c487dbc98840534
7
- data.tar.gz: 3732c6ecdc89e48dfd57c750cd1e283e73e84d20471b39fc78f1c0a3407bd2e84c8c443b47b7a9b1c6dc0606c76809ff2071e638990db55de464fe10eed0778c
6
+ metadata.gz: 8bfea4bf2d06ef518cf6af85f46b460f7b7015550cfed6881817c6439355506e256fc3f7e140035bd32f4fe8912a72388b68c748ef0fc484e547bab811b09c6e
7
+ data.tar.gz: 23e229d93d46e4e38a586d5a435277e24726aef672230478c18f5395f6d25cda701870414bd53db9d39eaa274af718a67cc3871addff65a72171118fba6c8648
data/README.md CHANGED
@@ -37,7 +37,7 @@ $ rvm use ruby-3.2.0@pwn
37
37
  $ rvm list gemsets
38
38
  $ gem install --verbose pwn
39
39
  $ pwn
40
- pwn[v0.4.607]:001 >>> PWN.help
40
+ pwn[v0.4.608]:001 >>> PWN.help
41
41
  ```
42
42
 
43
43
  [![Installing the pwn Security Automation Framework](https://raw.githubusercontent.com/0dayInc/pwn/master/documentation/pwn_install.png)](https://youtu.be/G7iLUY4FzsI)
@@ -52,7 +52,7 @@ $ rvm use ruby-3.2.0@pwn
52
52
  $ gem uninstall --all --executables pwn
53
53
  $ gem install --verbose pwn
54
54
  $ pwn
55
- pwn[v0.4.607]:001 >>> PWN.help
55
+ pwn[v0.4.608]:001 >>> PWN.help
56
56
  ```
57
57
 
58
58
 
@@ -107,6 +107,7 @@ module PWN
107
107
  temp = opts[:temp].to_f
108
108
  temp = 0 unless temp.positive?
109
109
  max_tokens = opts[:max_tokens].to_i
110
+ max_tokens = 4_097 - request.to_s.length
110
111
  max_tokens = 3_072 unless max_tokens.positive?
111
112
 
112
113
  rest_call = 'completions'
data/lib/pwn/version.rb CHANGED
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module PWN
4
- VERSION = '0.4.607'
4
+ VERSION = '0.4.608'
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: pwn
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.607
4
+ version: 0.4.608
5
5
  platform: ruby
6
6
  authors:
7
7
  - 0day Inc.