pwn 0.5.325 → 0.5.326

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: 6b4cfc42fbf4443b1d9c8f228234c7b30bf95cc96ba8e0f770d52e26dcb2b86d
4
- data.tar.gz: dd28c2feabc577aa90c9659ce6e22720fc7c5c54c42daef2dd1e753f0b976ecd
3
+ metadata.gz: eaee0cf8475a37f6ad58e73a48077f73f54d22e2ffeba53a64dab1706c69767e
4
+ data.tar.gz: c759da95da613fea22e621887e6d8578abe648c5ce624af9cf43f03679b0e504
5
5
  SHA512:
6
- metadata.gz: f2a74daf3fcd9ca7b57b7f5e6e4a7c8c6af2a839172c32def63171341aa6a6b0f6f4b29c3cc752433cb76347788365c0600efa859a18d9f57acb1de3d384f640
7
- data.tar.gz: 65ab796ce1eb7ed21de5586eb3f1e90c683d98067ec00040b50fc26c2d33334a52430fb98ca6ef4281040cec9df0d979bcb83472ab274feadc95c616400c0f5d
6
+ metadata.gz: 90eb8852961830f22e34dbab2e834f2bd6570ecb0fe67a82fd04029c052f0180c2fd8fcd60f63670a7752d61426e6a1c9b1607edbf8dea1c57b4f08099a1599b
7
+ data.tar.gz: 39d6e1c9b5b5665972595d6c8e763c60102848d466130fcc61d8f556ff8b9c60b210994978434d33859be58aec6d60920a8bc16bda11563b1da139dcd5a2a90e
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.325]:001 >>> PWN.help
40
+ pwn[v0.5.326]: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.325]:001 >>> PWN.help
55
+ pwn[v0.5.326]: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.325]:001 >>> PWN.help
65
+ pwn[v0.5.326]: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:
@@ -96,6 +96,10 @@ begin
96
96
  browser.goto(target_url)
97
97
 
98
98
  File.read(navigation_instruct).each_line do |instruction|
99
+ # Look for any set method in this instruction and replace its value w/ asterisks
100
+ redact_regex = /\.set\(['"]([^'"]*)['"]\)/
101
+ redacted_instruction = instruction.gsub(redact_regex, ".set('********')")
102
+ puts "Executing Instruction: #{redacted_instruction}"
99
103
  browser.instance_eval(instruction.to_s.scrub.strip.chomp)
100
104
  end
101
105
 
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.325'
4
+ VERSION = '0.5.326'
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.325
4
+ version: 0.5.326
5
5
  platform: ruby
6
6
  authors:
7
7
  - 0day Inc.
@@ -2352,7 +2352,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
2352
2352
  - !ruby/object:Gem::Version
2353
2353
  version: '0'
2354
2354
  requirements: []
2355
- rubygems_version: 3.7.0
2355
+ rubygems_version: 3.7.1
2356
2356
  specification_version: 4
2357
2357
  summary: Automated Security Testing for CI/CD Pipelines & Beyond
2358
2358
  test_files: []