Merge pull request #1005 from zeroSteiner/rest-api-version

Support pulling the server version through the REST API
This commit is contained in:
Michele Orru
2014-04-29 11:18:24 +02:00

View File

@@ -35,7 +35,11 @@ module BeEF
error 400
end
end
get '/version' do
{ 'version' => config.get('beef.version') }.to_json
end
end
end
end
end
end