Skip to content

Commit

Permalink
add browser support
Browse files Browse the repository at this point in the history
  • Loading branch information
masasron committed Feb 25, 2022
1 parent e7e0de5 commit e780dd7
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 5 deletions.
7 changes: 6 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,12 +1,17 @@
# Chrome Bandit

Programmatically extract saved passwords from Chromium based browsers.
Currently Bandit supports Google Chrome, Microsoft Edge, and Opera on macOS.

<p align="center">
<img src="./resources/images/logo.svg" width="200" />
</p>

## Support

| [<img src="https://raw.githubusercontent.com/alrra/browser-logos/master/src/edge/edge_48x48.png" alt="IE / Edge" width="24px" height="24px" />](http://godban.github.io/browsers-support-badges/)<br/>IE / Edge | [<img src="https://raw.githubusercontent.com/alrra/browser-logos/master/src/chrome/chrome_48x48.png" alt="Chrome" width="24px" height="24px" />](http://godban.github.io/browsers-support-badges/)<br/>Chrome | [<img src="https://raw.githubusercontent.com/alrra/browser-logos/master/src/opera/opera_48x48.png" alt="Opera" width="24px" height="24px" />](http://godban.github.io/browsers-support-badges/)<br/>Opera |
| --------- | --------- | --------- |
| macOS only | macOS only | macOS only

## Usage

```sh
Expand Down
8 changes: 4 additions & 4 deletions utils/rprint.rb
Original file line number Diff line number Diff line change
@@ -1,21 +1,21 @@
def rprint(rows, space = 10)
str = ""
maxCellSize = 0
max_cell_size = 0

for row in rows
for cell in row
cell = cell.to_s
maxCellSize = [maxCellSize, cell.length].max
max_cell_size = [max_cell_size, cell.length].max
end
end

maxCellSize = maxCellSize + space
max_cell_size = max_cell_size + space

for row in rows
str = ""
for cell in row
cell = cell.to_s
n = maxCellSize-cell.length
n = max_cell_size-cell.length
suffix = " " * n
str += cell + suffix
end
Expand Down

0 comments on commit e780dd7

Please sign in to comment.