pwn 0.4.783 → 0.4.785

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: a0d1bb24dba9a8d5d163801e5797c02ea474d9be13dff0bbce7cf1eabfed62e0
4
- data.tar.gz: d390d9ae67b2c5c6c3244896bc1725e6ea81c5468f388acd41b48592d07c529b
3
+ metadata.gz: b1b3e80cd3d63579ab5adaeb0b2906d286f4273a4674e01c939f1c0d0192809a
4
+ data.tar.gz: 3bbb6a206d0cc878401c63341a726dd7bce7a3c9eab968d10e22f1aa6834b1d3
5
5
  SHA512:
6
- metadata.gz: 47f60ff5a5635bea99bf3409c221d4e52b26f17f13d792da36a9bd87cbf3fb8fad3ec181aa48da9f5ddb4d1f952ffcd67d6241432cec86b51795dc7f399ed78c
7
- data.tar.gz: 3d9d8355bd6511753ded5e39cce81e467514a4cfc5e64d436bdddee2e334ca7c024812fd492f93622a2c0ed529c9b34ccece0a58795a77466e0701cf9abd211b
6
+ metadata.gz: b28c49b16ebe1fb6ff7ab77391563f40107683516c8fb023cc44b8ce9cb261d93a567a1e4a6c4d7e198b98d7d33a4382d337ccd0ed38ee7937342635e9c643da
7
+ data.tar.gz: 729c2bf09635f33541c5a7eca9a5a9cffd9fdce0297720068a208b5695de0d09204a4273d71303c7d1bc297f8ed759abaf2890c8650b3445c3a57658ea1dba18
data/README.md CHANGED
@@ -37,7 +37,7 @@ $ rvm use ruby-3.2.2@pwn
37
37
  $ rvm list gemsets
38
38
  $ gem install --verbose pwn
39
39
  $ pwn
40
- pwn[v0.4.783]:001 >>> PWN.help
40
+ pwn[v0.4.785]: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.2@pwn
52
52
  $ gem uninstall --all --executables pwn
53
53
  $ gem install --verbose pwn
54
54
  $ pwn
55
- pwn[v0.4.783]:001 >>> PWN.help
55
+ pwn[v0.4.785]:001 >>> PWN.help
56
56
  ```
57
57
 
58
58
 
data/bin/pwn CHANGED
@@ -245,6 +245,7 @@ begin
245
245
  yaml_config_path = opts[:yaml_config_path]
246
246
  yaml_config = YAML.load_file(yaml_config_path, symbolize_names: true)
247
247
  pi.config.chat_gpt_token = yaml_config[:bearer_token]
248
+ Pry.config.chat_gpt_token = pi.config.chat_gpt_token
248
249
  end
249
250
  end
250
251
 
@@ -48,7 +48,7 @@ module PWN
48
48
  when :delete, :get
49
49
  headers[:params] = params
50
50
  response = rest_client.execute(
51
- method: http2_method,
51
+ method: http_method,
52
52
  url: "#{base_open_ai_api_uri}/#{rest_call}",
53
53
  headers: headers,
54
54
  verify_ssl: false
@@ -124,7 +124,7 @@ module PWN
124
124
  request = opts[:request]
125
125
 
126
126
  model = opts[:model]
127
- model ||= 'gpt-3.5-turbo-0613'
127
+ model ||= 'gpt-4'
128
128
 
129
129
  temp = opts[:temp].to_f
130
130
  temp = 0 unless temp.positive?
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.783'
4
+ VERSION = '0.4.785'
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: pwn
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.783
4
+ version: 0.4.785
5
5
  platform: ruby
6
6
  authors:
7
7
  - 0day Inc.
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-07-06 00:00:00.000000000 Z
11
+ date: 2023-07-07 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activesupport