Skip to content

Commit

Permalink
Update credentials_extractor.rb
Browse files Browse the repository at this point in the history
  • Loading branch information
masasron authored Jan 25, 2022
1 parent ef4bd5d commit 26a5747
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions credentials_extractor.rb
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,6 @@ def _close_chrome
def _open_chrome_with_extension(trustedUrl)
pid = nil
reader, writer = IO.pipe

_close_chrome

cmd = "\"/Applications/Google Chrome.app/Contents/MacOS/Google Chrome\" --load-extension=#{Dir.getwd}/extension #{trustedUrl} --window-size=200,200 > /dev/null"
pid = Process.spawn(cmd, [:out, :err] => writer)
Process.detach(pid)
Expand Down

0 comments on commit 26a5747

Please sign in to comment.