pwn 0.4.963 → 0.4.964

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 7af047b57225c39708c482e365e975ab21c17cb46b45865afe12f1d361692faf
4
- data.tar.gz: 138c3b3ec15f6c3c5a30e1e051a81c4b94f3a4c20b6a630acbf60d5e6162c6d1
3
+ metadata.gz: cfff3bdc94db055d78c72e6926f5c3b3f2797226bc4c0f69094f1d55603cd20f
4
+ data.tar.gz: 882c642be55cdbd18d1949f1b7f675c53c45aed38566c3bad78613d5eed53d60
5
5
  SHA512:
6
- metadata.gz: 317434aeb96cd682b4887ec232b757ea61be646780ddfac91ea28bb4384cd713b17c406d2df4d56a95399b8ee31c8c822878b8b41fd818f518ba7f362eff1c21
7
- data.tar.gz: d1c6b16907745ff6a90e1aa599534efa454b16fe1fb8dd234472db8d7d4cdb0ef73b6d0a9fc25bd3c5e6ad1a4887444db9cf13ddac4355f8d600203f65ca3779
6
+ metadata.gz: dd1306565a23583d4aa1e39720287af419dd568f85365cad931ce9c78c53200cc1313595b310ed5fd702c03bb37562b7a3c582cd6503c87c12f72f0203a19ea8
7
+ data.tar.gz: f4202c3488c84e86772e11da6235c1d4565f20905c6f4460816834a921d3ad2200b0ae55343068bc2e429465b2ca7995b53595b8af6093247148ea1da0d23b45
data/README.md CHANGED
@@ -37,7 +37,7 @@ $ cd /opt/pwn
37
37
  $ ./install.sh
38
38
  $ ./install.sh ruby-gem
39
39
  $ pwn
40
- pwn[v0.4.963]:001 >>> PWN.help
40
+ pwn[v0.4.964]: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.3.0@pwn
52
52
  $ gem uninstall --all --executables pwn
53
53
  $ gem install --verbose pwn
54
54
  $ pwn
55
- pwn[v0.4.963]:001 >>> PWN.help
55
+ pwn[v0.4.964]:001 >>> PWN.help
56
56
  ```
57
57
 
58
58
  If you're using a multi-user install of RVM do:
@@ -62,7 +62,7 @@ $ rvm use ruby-3.3.0@pwn
62
62
  $ rvmsudo gem uninstall --all --executables pwn
63
63
  $ rvmsudo gem install --verbose pwn
64
64
  $ pwn
65
- pwn[v0.4.963]:001 >>> PWN.help
65
+ pwn[v0.4.964]:001 >>> PWN.help
66
66
  ```
67
67
 
68
68
  PWN periodically upgrades to the latest version of Ruby which is reflected in `/opt/pwn/.ruby-version`. The easiest way to upgrade to the latest version of Ruby from a previous PWN installation is to run the following script:
@@ -350,7 +350,10 @@ module PWN
350
350
  role: 'user',
351
351
  content: [
352
352
  { type: 'text', text: request },
353
- { type: 'image_url', img_url: { url: "data:image/jpeg;base64,#{base64_encoded_img}" } }
353
+ {
354
+ type: 'image_url',
355
+ img_url: { url: "data:image/jpeg;base64,#{base64_encoded_img}" }
356
+ }
354
357
  ]
355
358
  }
356
359
 
@@ -360,7 +363,7 @@ module PWN
360
363
  # TODO: Include max_tokens when sending chat requests
361
364
  http_body = {
362
365
  model: model,
363
- messages: [system_role],
366
+ messages: [],
364
367
  temperature: temp
365
368
  }
366
369
 
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.963'
4
+ VERSION = '0.4.964'
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.963
4
+ version: 0.4.964
5
5
  platform: ruby
6
6
  authors:
7
7
  - 0day Inc.