File tree Expand file tree Collapse file tree 4 files changed +5
-9
lines changed Expand file tree Collapse file tree 4 files changed +5
-9
lines changed Original file line number Diff line number Diff line change @@ -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
Original file line number Diff line number Diff line change @@ -32,16 +32,14 @@ module BlackDuckBinaryAnalysis
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
39
39
http_body = opts [ :http_body ]
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
Original file line number Diff line number Diff line change @@ -30,16 +30,14 @@ module OpenAI
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
37
37
http_body = opts [ :http_body ]
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
Original file line number Diff line number Diff line change 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
You can’t perform that action at this time.
0 commit comments