看到 wappalyzer 源码里关于 Ruby on Rails 的设别代码。
换句许说:
csrf-param
的格式?"Ruby": {
"cats": [
27
],
"headers": {
"Server": "(?:Mongrel|WEBrick|Ruby)"
},
"icon": "Ruby.png",
"website": "ruby-lang.org"
},
"Ruby on Rails": {
"cats": [
18
],
"headers": {
"Server": "(?:mod_rails|mod_rack|Phusion(?:\\.|_)Passenger)\\;confidence:50",
"X-Powered-By": "(?:mod_rails|mod_rack|Phusion[\\._ ]Passenger)(?: \\(mod_rails/mod_rack\\))?(?: ?/?([\\d\\.]+))?\\;version:\\1\\;confidence:50"
},
"icon": "Ruby on Rails.png",
"implies": "Ruby",
"meta": {
"csrf-param": "authenticity_token\\;confidence:50"
},
"script": "/assets/application-[a-z\\d]{32}/\\.js\\;confidence:50",
"website": "rubyonrails.org"
}