Skip to content

Commit c417114

Browse files
authored
Merge pull request #458 from ninp0/master
PWN::Plugins::DefectDojo module - testing http_body.to_json for multi…
2 parents a79d157 + 2296148 commit c417114

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ $ cd /opt/pwn
3737
$ ./install.sh
3838
$ ./install.sh ruby-gem
3939
$ pwn
40-
pwn[v0.4.940]:001 >>> PWN.help
40+
pwn[v0.4.941]:001 >>> PWN.help
4141
```
4242

4343
[![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
5252
$ gem uninstall --all --executables pwn
5353
$ gem install --verbose pwn
5454
$ pwn
55-
pwn[v0.4.940]:001 >>> PWN.help
55+
pwn[v0.4.941]:001 >>> PWN.help
5656
```
5757

5858
If you're using a multi-user install of RVM do:
@@ -62,7 +62,7 @@ $ rvm use ruby-3.2.2@pwn
6262
$ rvmsudo gem uninstall --all --executables pwn
6363
$ rvmsudo gem install --verbose pwn
6464
$ pwn
65-
pwn[v0.4.940]:001 >>> PWN.help
65+
pwn[v0.4.941]:001 >>> PWN.help
6666
```
6767

6868

lib/pwn/plugins/defect_dojo.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ module DefectDojo
101101
headers: {
102102
authorization: dd_obj[:authz_header]
103103
},
104-
payload: http_body.to_json,
104+
payload: http_body,
105105
verify_ssl: false,
106106
timeout: request_timeout,
107107
open_timeout: request_timeout

lib/pwn/version.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# frozen_string_literal: true
22

33
module PWN
4-
VERSION = '0.4.940'
4+
VERSION = '0.4.941'
55
end

0 commit comments

Comments
 (0)