Skip to content

Commit

Permalink
Merge pull request #91 from wp-media/MathieuLamiot/issue87
Browse files Browse the repository at this point in the history
Add SaaS User Agents when generating IPs
  • Loading branch information
MathieuLamiot authored Mar 11, 2024
2 parents 780adf2 + 4188f99 commit d7bc2f4
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions sources/handlers/ServerListHandler.py
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,10 @@ def generate_wp_rocket_ips(self, app_context):
ovh_ipv6 += server_ips[IpAddress.IP_ADDRESS_IPV6] + "\n"
text += ovh_ipv4
text += ovh_ipv6
# SaaS User Agents
text += "User Agents:\n"
text += "WP-Rocket/SaaS Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/106.0.0.0 Safari/537.36\n"
text += "WP-Rocket/SaaS Mozilla/5.0 (Linux; Android 13; Pixel 5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/106.0.0.0 Mobile Safari/537.36\n"
text += "\n"

text += "Dynamic exclusions and inclusions:\n"
Expand Down

0 comments on commit d7bc2f4

Please sign in to comment.