Skip to content

Commit 64c16be

Browse files
committed
pwn_bdba_groups Driver - #bugfix
1 parent 6d4bd20 commit 64c16be

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

README.md

Lines changed: 2 additions & 2 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.761]:001 >>> PWN.help
40+
pwn[v0.4.762]:001 >>> PWN.help
4141
```
4242

4343
[![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.2.2@pwn
5252
$ gem uninstall --all --executables pwn
5353
$ gem install --verbose pwn
5454
$ pwn
55-
pwn[v0.4.761]:001 >>> PWN.help
55+
pwn[v0.4.762]:001 >>> PWN.help
5656
```
5757

5858

bin/pwn_bdba_groups

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ begin
5555

5656
group_arr = groups_resp[:groups].select { |g| g[:name] == list_group_name }
5757

58-
unless group_arr.nil?
58+
unless group_arr.empty?
5959
group_arr_sorted = group_arr.sort_by { |g| g[:id] }
6060
group_id = group_arr_sorted.last[:id]
6161

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.761'
4+
VERSION = '0.4.762'
55
end

0 commit comments

Comments
 (0)