Skip to content

Commit 86c2dc2

Browse files
authored
Merge pull request #445 from ninp0/master
PWN::SAST::TypeScriptTypeJuggling && PWN::SAST::PHPTypeJuggling modul…
2 parents 714c7ea + a454bc0 commit 86c2dc2

File tree

5 files changed

+10
-10
lines changed

5 files changed

+10
-10
lines changed

Gemfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ gemspec
1111
# In some circumstances custom flags are passed to gems in order
1212
# to build appropriately. Defer to ./reinstall_pwn_gemset.sh
1313
# to review these custom flags (e.g. pg, serialport, etc).
14-
gem 'activesupport', '7.1.0'
14+
gem 'activesupport', '7.1.1'
1515
gem 'anemone', '0.7.2'
1616
gem 'authy', '3.0.1'
1717
gem 'aws-sdk', '3.1.0'

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ $ rvm use ruby-3.2.2@pwn
3737
$ rvm list gemsets
3838
$ gem install --verbose pwn
3939
$ pwn
40-
pwn[v0.4.926]:001 >>> PWN.help
40+
pwn[v0.4.927]:001 >>> PWN.help
4141
```
4242

4343
If you're using a multi-user install of RVM do:
@@ -48,7 +48,7 @@ $ rvm use ruby-3.2.2@pwn
4848
$ rvm list gemsets
4949
$ rvmsudo gem install --verbose pwn
5050
$ pwn
51-
pwn[v0.4.926]:001 >>> PWN.help
51+
pwn[v0.4.927]:001 >>> PWN.help
5252
```
5353

5454
[![Installing the pwn Security Automation Framework](https://raw.githubusercontent.com/0dayInc/pwn/master/documentation/pwn_install.png)](https://youtu.be/G7iLUY4FzsI)
@@ -63,7 +63,7 @@ $ rvm use ruby-3.2.2@pwn
6363
$ gem uninstall --all --executables pwn
6464
$ gem install --verbose pwn
6565
$ pwn
66-
pwn[v0.4.926]:001 >>> PWN.help
66+
pwn[v0.4.927]:001 >>> PWN.help
6767
```
6868

6969
If you're using a multi-user install of RVM do:
@@ -73,7 +73,7 @@ $ rvm use ruby-3.2.2@pwn
7373
$ rvmsudo gem uninstall --all --executables pwn
7474
$ rvmsudo gem install --verbose pwn
7575
$ pwn
76-
pwn[v0.4.926]:001 >>> PWN.help
76+
pwn[v0.4.927]:001 >>> PWN.help
7777
```
7878

7979

lib/pwn/sast/php_type_juggling.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,10 +35,10 @@ module PHPTypeJuggling
3535
test_case_filter = "
3636
grep -Fn \
3737
-e '==' \
38-
-e '!=' #{entry} \ |
38+
-e '!=' #{entry} | \
3939
grep -v \
4040
-e '===' \
41-
-e '!==' \
41+
-e '!=='
4242
"
4343

4444
str = `#{test_case_filter}`.to_s.scrub

lib/pwn/sast/type_script_type_juggling.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,10 +35,10 @@ module TypeScriptTypeJuggling
3535
test_case_filter = "
3636
grep -Fn \
3737
-e '==' \
38-
-e '!=' #{entry} \ |
38+
-e '!=' #{entry} | \
3939
grep -v \
4040
-e '===' \
41-
-e '!==' \
41+
-e '!=='
4242
"
4343

4444
str = `#{test_case_filter}`.to_s.scrub

lib/pwn/version.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# frozen_string_literal: true
22

33
module PWN
4-
VERSION = '0.4.926'
4+
VERSION = '0.4.927'
55
end

0 commit comments

Comments
 (0)