Support pulling the server version through the REST API

This commit is contained in:
Spencer McIntyre
2014-04-28 15:35:01 -04:00
parent fe14601dfc
commit 76c09aa38a

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