-
Notifications
You must be signed in to change notification settings - Fork 2.3k
Configure rubocop #3446
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Configure rubocop #3446
Conversation
f7f02a3 to
58c83d0
Compare
e63a944 to
b023b09
Compare
b023b09 to
9b3c9da
Compare
9b3c9da to
b25b564
Compare
b25b564 to
6601d0c
Compare
| runs-on: ubuntu-latest | ||
| steps: | ||
| - name: "Checkout the repository" | ||
| uses: actions/checkout@v4 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Version 5 has been recently released. Can we please use it instead of 4 is possible?
|
|
||
| - name: 'Checkout the repository' | ||
| - name: "Checkout the repository" | ||
| uses: actions/checkout@v4 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can we please use version 5 if possible?
| xssraysdetails = BeEF::Core::Models::Xssraysdetail.where(hooked_browser_id: hb.id) | ||
| xssraysdetails.destroy_all | ||
| rescue StandardError => e | ||
| rescue StandardError |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can the error at least be logged?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What's the purpose of loosening the conditions?
| configuration = BeEF::Core::Configuration.instance | ||
| proto = configuration.get('beef.http.https.enable') == true ? 'https' : 'http' | ||
| hook_uri = "#{proto}://#{configuration.get('beef.http.host')}:#{configuration.get('beef.http.port')}/demos/report.html" | ||
| # configuration = BeEF::Core::Configuration.instance |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What's the purpose of commenting these out?
| ip = Regexp.last_match(2) | ||
| port = Regexp.last_match(3) | ||
| url = Regexp.last_match(4) | ||
| Regexp.last_match(4) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What's the purpose of this?
| port = Regexp.last_match(3) | ||
| discovered = Regexp.last_match(4) | ||
| url = Regexp.last_match(5) | ||
| Regexp.last_match(5) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What's the purpose of this?
Pull Request
Category
Maintenance
Feature/Issue Description
Q: Please give a brief summary of your feature/fix
A: TODO
Q: Give a technical rundown of what you have changed (if applicable)
A: TODO