Skip to content

Commit 1ce978e

Browse files
author
arkadiyt
committed
Fix intigriti again
1 parent d5fb75f commit 1ce978e

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

lib/bounty-targets/intigriti.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ def directory_index
112112

113113
def program_scopes(program)
114114
url = "https://app.intigriti.com/api/core/public/programs/#{encode(program[:company_handle])}/#{encode(program[:handle])}"
115-
targets = (JSON.parse(SsrfFilter.get(url).body)['assets'].max_by do |domains|
115+
targets = (JSON.parse(SsrfFilter.get(url).body)['assetsAndGroups'].max_by do |domains|
116116
domains['createdAt']
117117
end)['content'].map do |content|
118118
{

spec/fixtures/intigriti/scopes.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
"handle": "intel",
88
"name": "Intel®",
99
"description": "Intel® Bug Bounty Program\nIntel Corporation believes that forging relationships with security researchers and fostering security research is a crucial part of our Security First Pledge. We encourage security researchers to work with us to mitigate and coordinate the disclosure of potential security vulnerabilities. By submitting your report, you agree to the terms of the Intel® Bug Bounty Program. Intel reserves the right to alter the terms and conditions of this program at its sole discretion.\n",
10-
"assets": [
10+
"assetsAndGroups": [
1111
{
1212
"content": [
1313
{

0 commit comments

Comments
 (0)