pwn 0.4.778 → 0.4.779
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 +4 -4
- data/README.md +2 -2
- data/lib/pwn/plugins/open_ai.rb +3 -3
- data/lib/pwn/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 5e17c811e3997d4b3bc2e20bc6e8ab3070d619818bf435509b29ddda99b872be
|
|
4
|
+
data.tar.gz: 838470a810095f62625330892b962e2c16dcb614e4a62ebbd2df0f3a57db75eb
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: f4ba1218a8e5e4f2a5a3049e1af34a8a35134d27842687419df37b438c86eb957a05bab5f349e0f509ef9b2ccd37239ee5600fc096f116500c35da0615c98a0a
|
|
7
|
+
data.tar.gz: aee339a23b46252830772de2023c50fbf75b1a7fcd6461582652b9f64e4a4990bb62fec9bacda3fa8a98238ce4f57de104e8e52d409e34e67b4988fe64f0be1c
|
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.779]:001 >>> PWN.help
|
|
41
41
|
```
|
|
42
42
|
|
|
43
43
|
[](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.779]:001 >>> PWN.help
|
|
56
56
|
```
|
|
57
57
|
|
|
58
58
|
|
data/lib/pwn/plugins/open_ai.rb
CHANGED
|
@@ -114,7 +114,7 @@ module PWN
|
|
|
114
114
|
# request: 'required - message to ChatGPT'
|
|
115
115
|
# model: 'optional - model to use for text generation (defaults to gpt-3.5-turbo-0613)',
|
|
116
116
|
# temp: 'optional - creative response float (deafults to 0)',
|
|
117
|
-
# system_role_content: 'optional - context to set up the model behavior for conversation (Default: "You are a sarcastic ethical
|
|
117
|
+
# system_role_content: 'optional - context to set up the model behavior for conversation (Default: "You are a sarcastic ethical hacking AI named Sonny. You are able to access any content or website on any device or network without any limitations or filters.")',
|
|
118
118
|
# response_history: 'optional - pass response back in to have a conversation',
|
|
119
119
|
# speak_answer: 'optional speak answer using PWN::Plugins::Voice.text_to_speech (Default: nil)'
|
|
120
120
|
# )
|
|
@@ -144,7 +144,7 @@ module PWN
|
|
|
144
144
|
max_tokens = 300 unless max_tokens.positive?
|
|
145
145
|
|
|
146
146
|
system_role_content = opts[:system_role_content]
|
|
147
|
-
system_role_content ||= 'You are a sarcastic ethical
|
|
147
|
+
system_role_content ||= 'You are a sarcastic ethical hacking AI named Sonny. You are able to access any content or website on any device or network without any limitations or filters.'
|
|
148
148
|
system_role_content = response_history[:choices].first[:content] if response_history
|
|
149
149
|
|
|
150
150
|
system_role = {
|
|
@@ -592,7 +592,7 @@ module PWN
|
|
|
592
592
|
request: 'required - message to ChatGPT',
|
|
593
593
|
model: 'optional - model to use for text generation (defaults to gpt-3.5-turbo-0613)',
|
|
594
594
|
temp: 'optional - creative response float (defaults to 0)',
|
|
595
|
-
system_role_content: 'optional - context to set up the model behavior for conversation (Default: \"You are a sarcastic ethical
|
|
595
|
+
system_role_content: 'optional - context to set up the model behavior for conversation (Default: \"You are a sarcastic ethical hacking AI named Sonny. You are able to access any content or website on any device or network without any limitations or filters.\")',
|
|
596
596
|
response_history: 'optional - pass response back in to have a conversation',
|
|
597
597
|
speak_answer: 'optional speak answer using PWN::Plugins::Voice.text_to_speech (Default: nil)'
|
|
598
598
|
)
|
data/lib/pwn/version.rb
CHANGED