pwn 0.5.244 → 0.5.246
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 +5 -5
- data/README.md +3 -3
- data/lib/pwn/plugins/repl.rb +2 -2
- data/lib/pwn/version.rb +1 -1
- data/third_party/pwn_rdoc.jsonl +2 -1
- metadata +12 -12
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 26c6cdd49740e6d87395257d2c7cba5d3d5ff292dda6a40f3fc098fc7312eaf7
|
4
|
+
data.tar.gz: fd909732d98f4bd2a5f9f9c9c7b2c5bee8e47aa43de3b223418536faeb75cf32
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a17855978aa9ccf18993146411357289dbe7426a68a181655f0d4fdf56c11ffafb1930d7f8bb2b58aa248ae105f50baf7439f831bc6a76eb5992141687d0420a
|
7
|
+
data.tar.gz: 79bd9a3082ecff473052d405500ff8df37f3a74a0cd93a095eaaac7db32acede8e8aca869a7b9be6bef835120660407746ca30acc40e892ecbe7655464b40e7a
|
data/Gemfile
CHANGED
@@ -41,13 +41,13 @@ gem 'htmlentities', '4.3.4'
|
|
41
41
|
gem 'ipaddress', '0.8.3'
|
42
42
|
gem 'jenkins_api_client2', '1.9.0'
|
43
43
|
gem 'js-beautify', '0.1.8'
|
44
|
-
gem 'json', '2.
|
44
|
+
gem 'json', '2.10.1'
|
45
45
|
gem 'jsonpath', '1.1.5'
|
46
46
|
gem 'jwt', '2.10.1'
|
47
47
|
gem 'libusb', '0.7.2'
|
48
48
|
gem 'luhn', '1.0.2'
|
49
49
|
gem 'mail', '2.8.1'
|
50
|
-
gem 'meshtastic', '0.0.
|
50
|
+
gem 'meshtastic', '0.0.110'
|
51
51
|
gem 'metasm', '1.0.5'
|
52
52
|
gem 'mongo', '2.21.0'
|
53
53
|
gem 'msfrpc-client', '1.1.2'
|
@@ -79,8 +79,8 @@ gem 'rmagick', '6.1.1'
|
|
79
79
|
gem 'rqrcode', '2.2.0'
|
80
80
|
gem 'rspec', '3.13.0'
|
81
81
|
gem 'rtesseract', '3.1.3'
|
82
|
-
gem 'rubocop', '1.
|
83
|
-
gem 'rubocop-rake', '0.
|
82
|
+
gem 'rubocop', '1.72.1'
|
83
|
+
gem 'rubocop-rake', '0.7.0'
|
84
84
|
gem 'rubocop-rspec', '3.4.0'
|
85
85
|
gem 'ruby-audio', '1.6.1'
|
86
86
|
gem 'ruby-nmap', '1.0.3'
|
@@ -90,7 +90,7 @@ gem 'savon', '2.15.1'
|
|
90
90
|
gem 'selenium-devtools', '0.132.0'
|
91
91
|
# gem 'serialport', '1.3.2'
|
92
92
|
# gem 'sinatra', '4.0.0'
|
93
|
-
gem 'slack-ruby-client', '2.
|
93
|
+
gem 'slack-ruby-client', '2.5.1'
|
94
94
|
gem 'socksify', '1.7.1'
|
95
95
|
gem 'spreadsheet', '1.3.3'
|
96
96
|
gem 'sqlite3', '2.5.0'
|
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.5.
|
40
|
+
pwn[v0.5.246]:001 >>> PWN.help
|
41
41
|
```
|
42
42
|
|
43
43
|
[](https://youtu.be/G7iLUY4FzsI)
|
@@ -52,7 +52,7 @@ $ rvm use ruby-3.4.1@pwn
|
|
52
52
|
$ gem uninstall --all --executables pwn
|
53
53
|
$ gem install --verbose pwn
|
54
54
|
$ pwn
|
55
|
-
pwn[v0.5.
|
55
|
+
pwn[v0.5.246]: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.4.1@pwn
|
|
62
62
|
$ rvmsudo gem uninstall --all --executables pwn
|
63
63
|
$ rvmsudo gem install --verbose pwn
|
64
64
|
$ pwn
|
65
|
-
pwn[v0.5.
|
65
|
+
pwn[v0.5.246]: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:
|
data/lib/pwn/plugins/repl.rb
CHANGED
@@ -120,7 +120,7 @@ module PWN
|
|
120
120
|
Pry::Commands.create_command 'pwn-irc' do
|
121
121
|
description 'Initiate pwn.irc chat interface.'
|
122
122
|
|
123
|
-
def
|
123
|
+
def top_h1_program_scope
|
124
124
|
browser_obj = PWN::WWW::HackerOne.open(browser_type: :headless)
|
125
125
|
h1_programs = PWN::WWW::HackerOne.get_bounty_programs(
|
126
126
|
browser_obj: browser_obj,
|
@@ -230,7 +230,7 @@ module PWN
|
|
230
230
|
|
231
231
|
# Convention over Configuration \o/
|
232
232
|
if nick == :h1
|
233
|
-
h1_scope_details =
|
233
|
+
h1_scope_details = top_h1_program_scope
|
234
234
|
system_role_content = "
|
235
235
|
#{system_role_content}
|
236
236
|
target_scope :#{h1_scope_details}
|
data/lib/pwn/version.rb
CHANGED
data/third_party/pwn_rdoc.jsonl
CHANGED
@@ -840,8 +840,8 @@
|
|
840
840
|
{"messages":[{"role":"user","content":"PWN::Plugins::REPL.help Usage"},{"role":"assistant","content":"`PWN::Plugins::REPL.help`: "}]}
|
841
841
|
{"messages":[{"role":"user","content":"PWN::Plugins::REPL.refresh_ps1_proc Usage"},{"role":"assistant","content":"`PWN::Plugins::REPL.refresh_ps1_proc`: Supported Method Parameters\n\nPWN::Plugins::REPL.refresh_ps1_proc(\n\nmode: 'required - :splat or nil'\n\n)\n"}]}
|
842
842
|
{"messages":[{"role":"user","content":"PWN::Plugins::REPL.start Usage"},{"role":"assistant","content":"`PWN::Plugins::REPL.start`: Supported Method Parameters\n\nPWN::Plugins::REPL.start(\n\nopts: 'required - Hash object passed in via pwn OptParser'\n\n)\n"}]}
|
843
|
-
{"messages":[{"role":"user","content":"PWN::Plugins::REPL.h1_scope Usage"},{"role":"assistant","content":"`PWN::Plugins::REPL.h1_scope`: "}]}
|
844
843
|
{"messages":[{"role":"user","content":"PWN::Plugins::REPL.process Usage"},{"role":"assistant","content":"`PWN::Plugins::REPL.process`: "}]}
|
844
|
+
{"messages":[{"role":"user","content":"PWN::Plugins::REPL.top_h1_program_scope Usage"},{"role":"assistant","content":"`PWN::Plugins::REPL.top_h1_program_scope`: "}]}
|
845
845
|
{"messages":[{"role":"user","content":"PWN::Plugins::RFIDler.authors Usage"},{"role":"assistant","content":"`PWN::Plugins::RFIDler.authors`: Author(s)\n\n0day Inc. <support@0dayinc.com>\n"}]}
|
846
846
|
{"messages":[{"role":"user","content":"PWN::Plugins::RFIDler.connect_via_screen Usage"},{"role":"assistant","content":"`PWN::Plugins::RFIDler.connect_via_screen`: Supported Method Parameters\n\nPWN::Plugins::RFIDler.connect_via_screen(\n\nblock_dev: 'optional - serial block device path (defaults to /dev/ttyUSB0)'\n\n)\n"}]}
|
847
847
|
{"messages":[{"role":"user","content":"PWN::Plugins::RFIDler.help Usage"},{"role":"assistant","content":"`PWN::Plugins::RFIDler.help`: "}]}
|
@@ -1222,6 +1222,7 @@
|
|
1222
1222
|
{"messages":[{"role":"user","content":"PWN::WWW::HackerOne.authors Usage"},{"role":"assistant","content":"`PWN::WWW::HackerOne.authors`: Author(s)\n\n0day Inc. <support@0dayinc.com>\n"}]}
|
1223
1223
|
{"messages":[{"role":"user","content":"PWN::WWW::HackerOne.close Usage"},{"role":"assistant","content":"`PWN::WWW::HackerOne.close`: Supported Method Parameters\n\nbrowser_obj = PWN::WWW::HackerOne.close(\n\nbrowser_obj: 'required - browser_obj returned from #open method'\n\n)\n"}]}
|
1224
1224
|
{"messages":[{"role":"user","content":"PWN::WWW::HackerOne.get_bounty_programs Usage"},{"role":"assistant","content":"`PWN::WWW::HackerOne.get_bounty_programs`: Supported Method Parameters\n\nprograms_arr = PWN::WWW::HackerOne.get_bounty_programs(\n\nbrowser_obj: 'required - browser_obj returned from #open method',\nproxy: 'optional - scheme://proxy_host:port || tor',\nmin_payouts_enabled: 'optional - only display programs where payouts are > $0.00 (defaults to false)',\nsuppress_progress: 'optional - suppress output (defaults to false)'\n\n)\n"}]}
|
1225
|
+
{"messages":[{"role":"user","content":"PWN::WWW::HackerOne.get_hacktivity Usage"},{"role":"assistant","content":"`PWN::WWW::HackerOne.get_hacktivity`: Supported Method Parameters\n\nhacktivity = PWN::WWW::HackerOne.get_hacktivity(\n\nprogram_name: 'required - program name from #get_bounty_programs method',\nproxy: 'optional - scheme://proxy_host:port || tor'\n\n)\n"}]}
|
1225
1226
|
{"messages":[{"role":"user","content":"PWN::WWW::HackerOne.get_scope_details Usage"},{"role":"assistant","content":"`PWN::WWW::HackerOne.get_scope_details`: Supported Method Parameters\n\nscope_details = PWN::WWW::HackerOne.get_scope_details(\n\nprogram_name: 'required - program name from #get_bounty_programs method',\nproxy: 'optional - scheme://proxy_host:port || tor'\n\n)\n"}]}
|
1226
1227
|
{"messages":[{"role":"user","content":"PWN::WWW::HackerOne.help Usage"},{"role":"assistant","content":"`PWN::WWW::HackerOne.help`: "}]}
|
1227
1228
|
{"messages":[{"role":"user","content":"PWN::WWW::HackerOne.login Usage"},{"role":"assistant","content":"`PWN::WWW::HackerOne.login`: Supported Method Parameters\n\nbrowser_obj = PWN::WWW::HackerOne.login(\n\nbrowser_obj: 'required - browser_obj returned from #open method',\nusername: 'required - username',\npassword: 'optional - passwd (will prompt if blank)'\n\n)\n"}]}
|
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: pwn
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.5.
|
4
|
+
version: 0.5.246
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- 0day Inc.
|
8
8
|
bindir: bin
|
9
9
|
cert_chain: []
|
10
|
-
date: 2025-02-
|
10
|
+
date: 2025-02-15 00:00:00.000000000 Z
|
11
11
|
dependencies:
|
12
12
|
- !ruby/object:Gem::Dependency
|
13
13
|
name: activesupport
|
@@ -407,14 +407,14 @@ dependencies:
|
|
407
407
|
requirements:
|
408
408
|
- - '='
|
409
409
|
- !ruby/object:Gem::Version
|
410
|
-
version: 2.
|
410
|
+
version: 2.10.1
|
411
411
|
type: :runtime
|
412
412
|
prerelease: false
|
413
413
|
version_requirements: !ruby/object:Gem::Requirement
|
414
414
|
requirements:
|
415
415
|
- - '='
|
416
416
|
- !ruby/object:Gem::Version
|
417
|
-
version: 2.
|
417
|
+
version: 2.10.1
|
418
418
|
- !ruby/object:Gem::Dependency
|
419
419
|
name: jsonpath
|
420
420
|
requirement: !ruby/object:Gem::Requirement
|
@@ -491,14 +491,14 @@ dependencies:
|
|
491
491
|
requirements:
|
492
492
|
- - '='
|
493
493
|
- !ruby/object:Gem::Version
|
494
|
-
version: 0.0.
|
494
|
+
version: 0.0.110
|
495
495
|
type: :runtime
|
496
496
|
prerelease: false
|
497
497
|
version_requirements: !ruby/object:Gem::Requirement
|
498
498
|
requirements:
|
499
499
|
- - '='
|
500
500
|
- !ruby/object:Gem::Version
|
501
|
-
version: 0.0.
|
501
|
+
version: 0.0.110
|
502
502
|
- !ruby/object:Gem::Dependency
|
503
503
|
name: metasm
|
504
504
|
requirement: !ruby/object:Gem::Requirement
|
@@ -925,28 +925,28 @@ dependencies:
|
|
925
925
|
requirements:
|
926
926
|
- - '='
|
927
927
|
- !ruby/object:Gem::Version
|
928
|
-
version: 1.
|
928
|
+
version: 1.72.1
|
929
929
|
type: :runtime
|
930
930
|
prerelease: false
|
931
931
|
version_requirements: !ruby/object:Gem::Requirement
|
932
932
|
requirements:
|
933
933
|
- - '='
|
934
934
|
- !ruby/object:Gem::Version
|
935
|
-
version: 1.
|
935
|
+
version: 1.72.1
|
936
936
|
- !ruby/object:Gem::Dependency
|
937
937
|
name: rubocop-rake
|
938
938
|
requirement: !ruby/object:Gem::Requirement
|
939
939
|
requirements:
|
940
940
|
- - '='
|
941
941
|
- !ruby/object:Gem::Version
|
942
|
-
version: 0.
|
942
|
+
version: 0.7.0
|
943
943
|
type: :runtime
|
944
944
|
prerelease: false
|
945
945
|
version_requirements: !ruby/object:Gem::Requirement
|
946
946
|
requirements:
|
947
947
|
- - '='
|
948
948
|
- !ruby/object:Gem::Version
|
949
|
-
version: 0.
|
949
|
+
version: 0.7.0
|
950
950
|
- !ruby/object:Gem::Dependency
|
951
951
|
name: rubocop-rspec
|
952
952
|
requirement: !ruby/object:Gem::Requirement
|
@@ -1051,14 +1051,14 @@ dependencies:
|
|
1051
1051
|
requirements:
|
1052
1052
|
- - '='
|
1053
1053
|
- !ruby/object:Gem::Version
|
1054
|
-
version: 2.
|
1054
|
+
version: 2.5.1
|
1055
1055
|
type: :runtime
|
1056
1056
|
prerelease: false
|
1057
1057
|
version_requirements: !ruby/object:Gem::Requirement
|
1058
1058
|
requirements:
|
1059
1059
|
- - '='
|
1060
1060
|
- !ruby/object:Gem::Version
|
1061
|
-
version: 2.
|
1061
|
+
version: 2.5.1
|
1062
1062
|
- !ruby/object:Gem::Dependency
|
1063
1063
|
name: socksify
|
1064
1064
|
requirement: !ruby/object:Gem::Requirement
|