Skip to content

Commit 11ed148

Browse files
committed
pwn_bdba_scan Driver - #performance particularly when just generating reports
1 parent 4d71f49 commit 11ed148

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
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.791]:001 >>> PWN.help
40+
pwn[v0.4.792]: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.791]:001 >>> PWN.help
55+
pwn[v0.4.792]:001 >>> PWN.help
5656
```
5757

5858

bin/pwn_bdba_scan

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -94,12 +94,12 @@ begin
9494
group_id: parent_id
9595
)
9696

97-
30.times do
97+
break if scan_progress_resp[:products].none? { |p| p[:status] == 'B' }
98+
99+
10.times do
98100
print '.'
99101
sleep 1
100102
end
101-
102-
break if scan_progress_resp[:products].none? { |p| p[:status] == 'B' }
103103
end
104104

105105
product_id = scan_progress_resp[:products].find { |p| p[:name] == CGI.escape(File.basename(target_file)) }[:product_id]

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

0 commit comments

Comments
 (0)