pwn 0.5.386 → 0.5.387
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/README.md +3 -3
- data/lib/pwn/reports/sast.rb +6 -6
- data/lib/pwn/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 6276f7133a84a10851a85b44e5b21543de34abaec589011698c04667ede52f35
|
4
|
+
data.tar.gz: b632de2f5bf6957b5ab1ce5f4408403a935a4fce1709bbcaa223d56962cef613
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: bdc09c6f2b768550ab1c288bccab9e02c8008eb09769313f350719c19b8a4d87b6121116f481f013ee2ba2b978b79ccf5a81ec7a177f0f966103b810887e367b
|
7
|
+
data.tar.gz: f6911fdab5cffa4038412815b4b8a1f5ccba48d6bd0b645900aa65b79138322c00945b6740c0f5f165bcb3169b2c54582ad0c5735b19d07ac68081e60eff2f23
|
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.387]:001 >>> PWN.help
|
41
41
|
```
|
42
42
|
|
43
43
|
[](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.
|
55
|
+
pwn[v0.5.387]: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.
|
65
|
+
pwn[v0.5.387]: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/reports/sast.rb
CHANGED
@@ -612,8 +612,8 @@ module PWN
|
|
612
612
|
flatData.push({
|
613
613
|
timestamp: row.timestamp,
|
614
614
|
test_case: row.security_references.sast_module.split('::')[2],
|
615
|
-
|
616
|
-
cwe: row.security_references.
|
615
|
+
nist_800_53_security_control: row.security_references.nist_800_53_uri,
|
616
|
+
cwe: row.security_references.cwe_uri,
|
617
617
|
path: row.filename.entry,
|
618
618
|
line_no: line.line_no,
|
619
619
|
contents: line.contents,
|
@@ -639,12 +639,12 @@ module PWN
|
|
639
639
|
|
640
640
|
// Set column widths by dividing desired column inches by 0.135
|
641
641
|
// column inches observed with Exce
|
642
|
-
// e.g 2.83 inches / 0.
|
642
|
+
// e.g 2.83 inches / 0.0135 ~ 209px
|
643
643
|
ws['!cols'] = [
|
644
644
|
{wpx: 209},
|
645
645
|
{wpx: 130},
|
646
|
-
{wpx:
|
647
|
-
{wpx:
|
646
|
+
{wpx: 580},
|
647
|
+
{wpx: 256},
|
648
648
|
{wpx: 110},
|
649
649
|
{wpx: 40},
|
650
650
|
{wpx: 370},
|
@@ -716,7 +716,7 @@ module PWN
|
|
716
716
|
...flatData.map(r => [
|
717
717
|
r.timestamp,
|
718
718
|
r.test_case,
|
719
|
-
r.
|
719
|
+
r.nist_800_53_security_control,
|
720
720
|
r.cwe,
|
721
721
|
r.path,
|
722
722
|
r.line_no,
|
data/lib/pwn/version.rb
CHANGED