pwn 0.4.990 → 0.4.991
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/Gemfile +1 -1
- data/README.md +3 -3
- data/lib/pwn/plugins/black_duck_binary_analysis.rb +4 -5
- data/lib/pwn/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 4ecf9fa3d872261c7c0cb2bc084cb9c13186b60bf12eb5fdf87add74575a4b64
|
4
|
+
data.tar.gz: 4957a0b3ea98c7150134bed70f458fb991af3174902d6b2f8b59aef23b776696
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c91e809d196b2fbf524c27c3436d05b0005ae36803b31ebcd5fe88c9f2edebea45c88e24f3b8dc92099fbd8f21cb5818d477a9db9aabad0fc69b2f69d97dad78
|
7
|
+
data.tar.gz: 6f06c9520d19cb7ab9c5006a21f939bfb279df01e9539c6f62f213a5983fd413eb35ac7c858b1864fcbc0fa33bd807b2c4081059d97700e6192bd03a57e584ef
|
data/Gemfile
CHANGED
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.
|
40
|
+
pwn[v0.4.991]:001 >>> PWN.help
|
41
41
|
```
|
42
42
|
|
43
43
|
[](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.
|
55
|
+
pwn[v0.4.991]: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.
|
65
|
+
pwn[v0.4.991]: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:
|
@@ -60,14 +60,13 @@ module PWN
|
|
60
60
|
|
61
61
|
when :post, :put
|
62
62
|
if http_body.is_a?(Hash)
|
63
|
-
|
64
|
-
when :multipart
|
65
|
-
headers[:content_type] = 'multipart/form-data'
|
66
|
-
when :raw
|
63
|
+
if http_body.key?(:raw)
|
67
64
|
headers[:content_type] = nil
|
68
65
|
http_body = http_body[:file]
|
66
|
+
elsif http_body.key?(:multipart)
|
67
|
+
headers[:content_type] = 'multipart/form-data'
|
69
68
|
else
|
70
|
-
http_body = http_body.to_json
|
69
|
+
http_body = http_body.to_json
|
71
70
|
end
|
72
71
|
end
|
73
72
|
|
data/lib/pwn/version.rb
CHANGED
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.
|
4
|
+
version: 0.4.991
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- 0day Inc.
|
@@ -1038,14 +1038,14 @@ dependencies:
|
|
1038
1038
|
requirements:
|
1039
1039
|
- - '='
|
1040
1040
|
- !ruby/object:Gem::Version
|
1041
|
-
version: 1.7.
|
1041
|
+
version: 1.7.1
|
1042
1042
|
type: :runtime
|
1043
1043
|
prerelease: false
|
1044
1044
|
version_requirements: !ruby/object:Gem::Requirement
|
1045
1045
|
requirements:
|
1046
1046
|
- - '='
|
1047
1047
|
- !ruby/object:Gem::Version
|
1048
|
-
version: 1.7.
|
1048
|
+
version: 1.7.1
|
1049
1049
|
- !ruby/object:Gem::Dependency
|
1050
1050
|
name: thin
|
1051
1051
|
requirement: !ruby/object:Gem::Requirement
|