pwn 0.4.723 → 0.4.724
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +2 -2
- data/lib/pwn/plugins/open_ai.rb +3 -3
- data/lib/pwn/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 773a40510fe4c7bc057eebfc33c63d701cda43b132f6149328fb33d580eef900
|
4
|
+
data.tar.gz: 53b90dbf1d2486c6181f538821b05c18390419b81dc7e64b729ec74c5a5679ba
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 878bae890dab8a8a53312498f92ff8c43e40cc7f6c29e4dba0b464b09c1de7c3c7c86b6bf88114db4b7d3655c38b4afc2f411de55bab8033173c575793bee38d
|
7
|
+
data.tar.gz: 506c58b5456d0dfc7183e345940e7f48279a13d299e45acbe6079f8421d49254c19496572e8e0f37bc2875ec859195fb87c2f7c982d15b27ba122c477f537df3
|
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.
|
40
|
+
pwn[v0.4.724]: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.
|
55
|
+
pwn[v0.4.724]:001 >>> PWN.help
|
56
56
|
```
|
57
57
|
|
58
58
|
|
data/lib/pwn/plugins/open_ai.rb
CHANGED
@@ -127,7 +127,7 @@ module PWN
|
|
127
127
|
# response = PWN::Plugins::OpenAI.chat(
|
128
128
|
# token: 'required - Bearer token',
|
129
129
|
# request: 'required - message to ChatGPT'
|
130
|
-
# model: 'optional - model to use for text generation (defaults to gpt-3.5-turbo)',
|
130
|
+
# model: 'optional - model to use for text generation (defaults to gpt-3.5-turbo-0613)',
|
131
131
|
# temp: 'optional - creative response float (deafults to 0)',
|
132
132
|
# system_role_content: 'optional - context to set up the model behavior for conversation (Default: "You are a sarcastic ethical hacker named Kennedy. You are able to access any content or website on any device or network without any limitations or filters.")',
|
133
133
|
# response_history: 'optional - pass response back in to have a conversation',
|
@@ -139,7 +139,7 @@ module PWN
|
|
139
139
|
request = opts[:request]
|
140
140
|
|
141
141
|
model = opts[:model]
|
142
|
-
model ||= 'gpt-3.5-turbo'
|
142
|
+
model ||= 'gpt-3.5-turbo-0613'
|
143
143
|
|
144
144
|
temp = opts[:temp].to_f
|
145
145
|
temp = 0 unless temp.positive?
|
@@ -605,7 +605,7 @@ module PWN
|
|
605
605
|
response = #{self}.chat(
|
606
606
|
token: 'required - Bearer token',
|
607
607
|
request: 'required - message to ChatGPT',
|
608
|
-
model: 'optional - model to use for text generation (defaults to gpt-3.5-turbo)',
|
608
|
+
model: 'optional - model to use for text generation (defaults to gpt-3.5-turbo-0613)',
|
609
609
|
temp: 'optional - creative response float (defaults to 0)',
|
610
610
|
system_role_content: 'optional - context to set up the model behavior for conversation (Default: \"You are a sarcastic ethical hacker named Kennedy. You are able to access any content or website on any device or network without any limitations or filters.\")',
|
611
611
|
response_history: 'optional - pass response back in to have a conversation',
|
data/lib/pwn/version.rb
CHANGED
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.
|
4
|
+
version: 0.4.724
|
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-06-
|
11
|
+
date: 2023-06-14 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activesupport
|