Skip to content

Commit

Permalink
changed user-agent and accept/accept-encoding to make Talos reverse-p…
Browse files Browse the repository at this point in the history
…roxy happy
  • Loading branch information
0xmilkmix committed Oct 18, 2019
1 parent 9d926b1 commit 1ef46f5
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions analyzers/TalosReputation/TalosReputation.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,12 +30,13 @@ def run(self):
if self.data_type == 'ip':
try:
data = self.get_data()

headers={
'Host':'talosintelligence.com',
'Referer':'https://talosintelligence.com/reputation_center/lookup?search={}'.format(data),
'User-Agent':'Mozilla/5.0 (Windows NT 10.0; WOW64; rv:52.0) Gecko/20100101 Firefox/52.0',
'Accept':'*/*'
'User-Agent':'Mozilla/5.0 (Macintosh; Intel Mac OS X 10.14; rv:69.0) Gecko/20100101 Firefox/69.0',
'Accept':'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8',
'Accept-Encoding': 'gzip, deflate'
}

response_details = requests.get('https://talosintelligence.com/sb_api/query_lookup',
Expand Down

0 comments on commit 1ef46f5

Please sign in to comment.