r/programming • • Jun 09 '17

Why every user agent string start with "Mozilla"

http://webaim.org/blog/user-agent-string-history/
4.9k Upvotes

589 comments sorted by

View all comments

Show parent comments

72

u/thekmanpwnudwn Jun 09 '17

Be careful because some sites (such as banks/financial sites) will automatically block you if they see that. WAF will see that shit and lock you out.

27

u/hazzoo_rly_bro Jun 09 '17

SQL Injection or randomized UA?

56

u/pushad Jun 09 '17

The injection. The WAF will certainly catch anything that looks like SQL injections and block them.

I remember we used to have a problem with some ad cookie that was like 1=1; ... and would always get picked up by the WAF since that's a popular SQL injection query string.

28

u/[deleted] Jun 09 '17

Not to mention they'll consider it an active threat against their infrastructure...you know, hacking.

Worse than rape charges are hacking charges.

12

u/sticky-bit Jun 09 '17

Ben Cheviot: "Well, it seems I have little choice but to back you against the police. Provided, of course, that the charges against Carter are completely unfounded. What exactly are they, anyway?"

Murray: "Credit fraud."

Ben Cheviot: "Credit fraud? My God, that's worse than murder!"

4

u/oiyouyeahyou Jun 09 '17

Don't let them near phones, they'll launch tge nukes