Skip to content

Commit

Permalink
(1.4 / Closed #53) 코드 반영하여 테스트한 결과 기존 로직이 훨씬 빨라서 변경하지 않을 예정
Browse files Browse the repository at this point in the history
  • Loading branch information
hahwul committed Feb 12, 2020
1 parent 88bed2a commit efde162
Show file tree
Hide file tree
Showing 2 changed files with 74 additions and 60 deletions.
129 changes: 71 additions & 58 deletions .idea/workspace.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 3 additions & 2 deletions lib/XSpear.rb
Original file line number Diff line number Diff line change
Expand Up @@ -495,6 +495,7 @@ def run
end
end.each(&:join)
end

if @all == true
log('s',"used test-all-params mode(-a)")
if @blind_url.nil?
Expand Down Expand Up @@ -615,7 +616,8 @@ def run
if @verbose.to_i == 1
@progress_bar = ProgressBar.new(r.length)
end
threads = []


r.each_slice(@thread) do |jobs|
jobs.map do |node|
Thread.new do
Expand All @@ -639,7 +641,6 @@ def run
end.each(&:join)
end


@report.set_filtered @filtered_objects
@report.set_endtime
log('s', "finish scan. the report is being generated..")
Expand Down

0 comments on commit efde162

Please sign in to comment.