pwn 0.5.347 → 0.5.348

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 4904a3ab143208330e103303af2d96d37aa4b87f96971226233379c3a38032e4
4
- data.tar.gz: c6cf2214ec3f527650d2ef680f6e84aa23245e5e08a8d9284a955df0cb7aeb92
3
+ metadata.gz: 1da4b99ee1485d7a74130a89106043014290a5d7fd624c406be6628153159327
4
+ data.tar.gz: 8eadab13c9cd93eb934f885b3e56b5a7df929097f97e3ef8b5096664e69c463f
5
5
  SHA512:
6
- metadata.gz: 275f814664786c2d9f34e55ced00af91cfd687bb5e51cfcc714f41b1a285a969f4f0fb20a9467fb45d747d9799f2dba6e9d861d052611b99931a1480ebd85359
7
- data.tar.gz: 4b17d44690ead6e1b40be536802e210918d99b73d62be6030f3d661129c69bb651a83f4900265039b738477339473f5f4ae8b4b3d97e385c2c8c2195f23d974b
6
+ metadata.gz: 80b4257f60f4f5851a9c70b70fa443da4cd102018b0fc8614e3793a3dcc84771496a27c51cad3fb02612a73bd88baf792784f972fe9a689e041c238a718e8a50
7
+ data.tar.gz: ee044f9832707d85649f22ffcd59ed9b897ee4ddac739b229bfd5623dc8cfb2c2faee8c5343361d2d5306107fc6df4113b1fe33139389f472c97a7f8d5c6169d
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.347]:001 >>> PWN.help
40
+ pwn[v0.5.348]: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.4.4@pwn
52
52
  $ gem uninstall --all --executables pwn
53
53
  $ gem install --verbose pwn
54
54
  $ pwn
55
- pwn[v0.5.347]:001 >>> PWN.help
55
+ pwn[v0.5.348]: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.4@pwn
62
62
  $ rvmsudo gem uninstall --all --executables pwn
63
63
  $ rvmsudo gem install --verbose pwn
64
64
  $ pwn
65
- pwn[v0.5.347]:001 >>> PWN.help
65
+ pwn[v0.5.348]: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:
@@ -106,6 +106,7 @@ begin
106
106
  duration = 9
107
107
  print "Waiting #{duration} seconds prior to kicking off active scan..."
108
108
  sleep duration # Sleep for now so everything loads the way we expect - blech.
109
+ print "\n"
109
110
 
110
111
  PWN::Plugins::BurpSuite.invoke_active_scan(burp_obj: burp_obj, target_url: in_scope)
111
112
 
@@ -167,7 +167,7 @@ module PWN
167
167
  end
168
168
 
169
169
  # Supported Method Parameters::
170
- # json_in_scope = PWN::Plugins::BurpSuite.spider(
170
+ # json_spider = PWN::Plugins::BurpSuite.spider(
171
171
  # burp_obj: 'required - burp_obj returned by #start method',
172
172
  # target_url: 'required - target url to add to crawl / spider'
173
173
  # )
@@ -683,7 +683,7 @@ module PWN
683
683
  )
684
684
  puts " => #{resp.code}"
685
685
  rescue RestClient::ExceptionWithResponse => e
686
- puts " => #{e.response.code}"
686
+ puts " => #{e.response.code}" if e.respond_to?(:response) && e.response
687
687
  next
688
688
  end
689
689
 
@@ -937,6 +937,11 @@ module PWN
937
937
  target_url: 'required - target url to add to scope'
938
938
  )
939
939
 
940
+ json_spider = #{self}.spider(
941
+ burp_obj: 'required - burp_obj returned by #start method',
942
+ target_url: 'required - target url to spider in scope'
943
+ )
944
+
940
945
  #{self}.enable_proxy(
941
946
  burp_obj: 'required - burp_obj returned by #start method'
942
947
  )
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.5.347'
4
+ VERSION = '0.5.348'
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.5.347
4
+ version: 0.5.348
5
5
  platform: ruby
6
6
  authors:
7
7
  - 0day Inc.