hansmach1ne / LFImap

Local File Inclusion discovery and exploitation tool
Apache License 2.0
214 stars 32 forks source link

Multiple fixes to httpHeaders.py #87

Closed nrathaus closed 3 months ago

nrathaus commented 3 months ago
  1. docstring
  2. Remove unused import
  3. Use sqlmap user_agents.txt file for expanded list of user agents
nrathaus commented 3 months ago

You want to not pick one from the list?

Or just not keep it around the array?

Or keep the small list of user agents you had before?

hansmach1ne commented 3 months ago

I'd prefer to keep the small list of user agents we had before.

nrathaus commented 3 months ago

I removed the user-agents.txt loading - I think the user agents you picked aren't ideal, I would go with current Firefox, Chrome and Safari user-agents, you can use: https://www.whatismybrowser.com/guides/the-latest-user-agent/firefox https://www.whatismybrowser.com/guides/the-latest-user-agent/safari https://www.whatismybrowser.com/guides/the-latest-user-agent/chrome

The idea of using current user-agent, is that it looks less suspicious than older outdated versions - and less likely to get blocked