pwn 0.4.736 → 0.4.737

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: 7fa87d4cde380f39c1615a4a34496608c6634cb4971a8d0c1b94972669a5ed24
4
- data.tar.gz: ad164d84cf4d4b929af8fc32f01a255a753073060cad5d5f66c039a508221e0e
3
+ metadata.gz: '01249a06b7f5f3b1bcd331c75d9946a1f1aedfa947cb72ca492e97191229ad10'
4
+ data.tar.gz: cfbbfb84754859f5e9b2e2727bcc02c2c392682027d58764d1abb70f83334e7f
5
5
  SHA512:
6
- metadata.gz: 950ddc535f1a67c26e3fe805734da25982d743b025bd22c63fb368c4f48296c16e40520ebb8a8a53532a48039103b230b02f00b5796c5631d963796bd7e0352c
7
- data.tar.gz: e523580ad64849eb87f4da01ee96565a45fba96c976d4ad091bec5a9010aad324ba8a50fe2e7a745ba43a4282d095ba4609ed6c840efcb343b499a79ac18d94a
6
+ metadata.gz: b45b7cd565ddab92c10e5187b750f30533727b0ead8e94ee1e808c669b789ff4cd87122535eb424ad262496bb2f203822c89cb2808ff07b98985a1050496ed90
7
+ data.tar.gz: 8a56c95492231605c2bce0e2cf141655e2374b0810cc51ccb445781b5c77b01438ab5d50680b1646c2bdf0d3f2c48c42c86c3d046fbd50edc8f0b1e626566237
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.736]:001 >>> PWN.help
40
+ pwn[v0.4.737]: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.736]:001 >>> PWN.help
55
+ pwn[v0.4.737]:001 >>> PWN.help
56
56
  ```
57
57
 
58
58
 
@@ -32,7 +32,7 @@ module PWN
32
32
 
33
33
  headers = opts[:http_headers]
34
34
  headers ||= {
35
- content_type: content_type,
35
+ content_type: 'application/json; charset=UTF-8',
36
36
  authorization: "Bearer #{token}"
37
37
  }
38
38
 
@@ -40,8 +40,6 @@ module PWN
40
40
  base_bd_bin_analysis_api_uri = 'https://protecode-sc.com/api'
41
41
  token = opts[:token]
42
42
 
43
- content_type = 'application/json; charset=UTF-8'
44
-
45
43
  browser_obj = PWN::Plugins::TransparentBrowser.open(browser_type: :rest)
46
44
  rest_client = browser_obj[:browser]::Request
47
45
 
@@ -30,7 +30,7 @@ module PWN
30
30
  rest_call = opts[:rest_call].to_s.scrub
31
31
  params = opts[:params]
32
32
  headers = {
33
- content_type: content_type,
33
+ content_type: 'application/json; charset=UTF-8',
34
34
  authorization: "Bearer #{token}"
35
35
  }
36
36
 
@@ -38,8 +38,6 @@ module PWN
38
38
  http_body ||= {}
39
39
  base_open_ai_api_uri = 'https://api.openai.com/v1'
40
40
 
41
- content_type = 'application/json; charset=UTF-8'
42
-
43
41
  browser_obj = PWN::Plugins::TransparentBrowser.open(browser_type: :rest)
44
42
  rest_client = browser_obj[:browser]::Request
45
43
 
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.736'
4
+ VERSION = '0.4.737'
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.736
4
+ version: 0.4.737
5
5
  platform: ruby
6
6
  authors:
7
7
  - 0day Inc.